    *, *::before, *::after {
      box-sizing: border-box;
    }
    html, body {
      overflow-x: hidden !important;
      width: 100% !important;
      max-width: 100vw !important;
      position: relative;
    }
    @media (max-width: 767px) {
      #desktopNav {
        display: none !important;
      }
    }
    body {
      background-color: #0f172a;
      color: #f8fafc;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      -webkit-tap-highlight-color: transparent;
    }
    .bottom-nav-active {
      color: #38bdf8 !important;
    }
    .bottom-nav-active div {
      background: rgba(56, 189, 248, 0.18) !important;
      color: #38bdf8 !important;
      box-shadow: 0 0 12px rgba(56, 189, 248, 0.4) !important;
      transform: translateY(-2px);
    }
    .bottom-nav-active span {
      color: #ffffff !important;
      font-weight: 800 !important;
    }
    .custom-scrollbar::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
      background: #334155;
      border-radius: 4px;
    }
    .glassmorphism {
      background: rgba(30, 41, 59, 0.88);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }
    .alchemy-glow-sos {
      box-shadow: 0 0 15px rgba(56, 189, 248, 0.6), inset 0 0 10px rgba(56, 189, 248, 0.4);
    }
    .alchemy-glow-som {
      box-shadow: 0 0 18px rgba(168, 85, 247, 0.7), inset 0 0 12px rgba(168, 85, 247, 0.5);
    }
    .alchemy-glow-sun {
      box-shadow: 0 0 25px rgba(245, 158, 11, 0.8), inset 0 0 15px rgba(245, 158, 11, 0.6);
      animation: sunPulse 2s infinite alternate ease-in-out;
    }
    @keyframes sunPulse {
      0% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.6); }
      100% { box-shadow: 0 0 30px rgba(245, 158, 11, 1), 0 0 45px rgba(239, 68, 68, 0.6); }
    }
    /* SRO ORIGIN MOBILE ALCHEMY EFFECTS */
    @keyframes sroGoldLightPillar {
      0% { transform: scaleY(0) scaleX(0.4); opacity: 0; filter: brightness(2); }
      30% { transform: scaleY(1.3) scaleX(1.4); opacity: 1; filter: brightness(3) drop-shadow(0 0 40px #fbbf24); }
      70% { transform: scaleY(1.1) scaleX(1.1); opacity: 0.9; filter: brightness(2); }
      100% { transform: scaleY(1.4) scaleX(1.8); opacity: 0; filter: blur(8px); }
    }
    @keyframes sroLightningZap {
      0% { opacity: 0; transform: scale(0.6) rotate(0deg); }
      20% { opacity: 1; transform: scale(1.2) rotate(15deg); filter: drop-shadow(0 0 25px #ef4444); }
      40% { opacity: 0.3; transform: scale(0.9) rotate(-10deg); }
      60% { opacity: 1; transform: scale(1.3) rotate(8deg); filter: drop-shadow(0 0 35px #991b1b); }
      100% { opacity: 0; transform: scale(1.6) rotate(25deg); }
    }
    @keyframes sroItemShatterBurn {
      0% { transform: scale(1); filter: brightness(1); }
      25% { transform: scale(1.15) rotate(4deg); filter: brightness(2.5) contrast(200%) drop-shadow(0 0 20px #ef4444); }
      50% { transform: scale(0.8) rotate(-6deg); filter: brightness(0.2) saturate(0%); opacity: 0.9; }
      80% { transform: scale(0.4) rotate(12deg); opacity: 0.3; }
      100% { transform: scale(1) rotate(0deg); filter: none; opacity: 1; }
    }
    @keyframes sroSuccessAscend {
      0% { transform: scale(0.85); filter: brightness(1.2); }
      40% { transform: scale(1.25); filter: brightness(2.2) drop-shadow(0 0 30px #f59e0b); }
      70% { transform: scale(1.08); filter: brightness(1.6) drop-shadow(0 0 20px #f59e0b); }
      100% { transform: scale(1); filter: brightness(1); }
    }
    @keyframes sroScreenQuake {
      0%, 100% { transform: translate(0, 0); }
      10% { transform: translate(-8px, -6px); }
      20% { transform: translate(8px, 6px); }
      30% { transform: translate(-7px, 5px); }
      40% { transform: translate(7px, -5px); }
      55% { transform: translate(-4px, 3px); }
      70% { transform: translate(4px, -3px); }
      85% { transform: translate(-2px, 1px); }
    }
    /* ELEGANT SUBTLE ACTIVE BORDER HIGHLIGHTS & CIRCLE FX */
    .stone-active-astral {
      border: 2px solid #34d399 !important;
      box-shadow: 0 0 10px rgba(52, 211, 153, 0.4) !important;
      background: rgba(16, 185, 129, 0.15) !important;
    }
    .stone-active-celestial {
      border: 2px solid #e879f9 !important;
      box-shadow: 0 0 10px rgba(232, 121, 249, 0.4) !important;
      background: rgba(217, 70, 239, 0.15) !important;
    }
    .material-active-powder {
      border: 2px solid #f59e0b !important;
      box-shadow: 0 0 10px rgba(245, 158, 11, 0.4) !important;
      background: rgba(245, 158, 11, 0.15) !important;
    }
    .material-active-elixir {
      border: 2px solid #38bdf8 !important;
      box-shadow: 0 0 10px rgba(56, 189, 248, 0.4) !important;
      background: rgba(56, 189, 248, 0.15) !important;
    }
    @keyframes runeRotateSlow {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    @keyframes runeRotateReverse {
      0% { transform: rotate(360deg); }
      100% { transform: rotate(0deg); }
    }
    @keyframes circleEnergyGlow {
      0%, 100% { opacity: 0.35; transform: scale(0.98); }
      50% { opacity: 0.75; transform: scale(1.02); }
    }
    @keyframes circleFuseSpark {
      0% { transform: scale(0.7) rotate(0deg); opacity: 0; }
      50% { transform: scale(1.2) rotate(180deg); opacity: 0.9; }
      100% { transform: scale(1.5) rotate(360deg); opacity: 0; }
    }
    .circle-rune-spin {
      animation: runeRotateSlow 16s linear infinite;
    }
    .circle-rune-reverse {
      animation: runeRotateReverse 24s linear infinite;
    }
    .circle-ambient-energy {
      animation: circleEnergyGlow 3s ease-in-out infinite;
    }
    .circle-fuse-pulse {
      animation: circleFuseSpark 0.7s ease-out forwards;
    }
  

    /* iOS: yazı alanına dokununca sayfanın kendiliğinden büyümesini önler */
    @media (max-width: 767px) {
      input, select, textarea { font-size: 16px !important; }
    }
