/* =========================================================
   KLASROYAL — MOBİL DRAWER
   Masaüstünde yeni drawer içeriği ve sabit işlem çubuğu kapalıdır.
   ========================================================= */
.gc-mobile-drawer,
.gc-drawer-footer { display:none; }

@media (max-width:850px) {
  .drawer {
    width:100vw!important;
    max-width:none!important;
    height:100dvh!important;
    padding:0!important;
    bottom:0!important;
    overflow:auto!important;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:#b79552 #0c1425;
  }
  body.drawer-open { overflow:hidden!important; }

  .drawer-legacy { display:none!important; }

  .gc-mobile-drawer {
    display:block;
    min-height:100%;
    padding:16px 16px 110px;
    color:#f8f3e6;
    background:
      radial-gradient(360px 460px at 0 8%,rgba(129, 96, 52,.20),transparent 64%),
      radial-gradient(310px 420px at 100% 56%,rgba(46,71,108,.20),transparent 69%),
      linear-gradient(180deg,#0d1628 0%,#080e1a 100%);
    box-sizing:border-box;
  }

  .gc-md-toolbar {
    position:sticky;
    top:0;
    z-index:4;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:48px;
    margin:-16px -16px 14px;
    padding:6px 16px;
    background:rgba(10,19,35,.96);
    border-bottom:1px solid rgba(213,183,105,.22);
    color:#ead688;
    font:800 15px/1 var(--font-display,Montserrat,Arial,sans-serif);
  }
  .gc-md-toolbar button {
    display:grid;
    width:38px;
    height:38px;
    place-items:center;
    border:1px solid rgba(213,183,105,.46);
    border-radius:10px;
    background:#111f38;
    color:#fff7dc;
    cursor:pointer;
  }
  .gc-md-toolbar button svg { width:20px; height:20px; }
  .gc-md-toolbar button:focus-visible { outline:2px solid #f4d889; outline-offset:2px; }

  body.drawer-open .gc-bottom-dock { display:none!important; }

  .gc-md-top { margin-bottom:14px; }
  .gc-md-join-promo {
    position:relative;
    min-height:107px;
    padding:13px 89px 11px 15px;
    overflow:hidden;
    border:1px solid rgba(213, 183, 105,.52);
    border-radius:13px;
    background:
      radial-gradient(circle at 84% 38%,rgba(157, 120, 64,.35),transparent 30%),
      linear-gradient(118deg,#0f1d3a 0%,#0e1a33 55%,#251329 100%);
    box-shadow:inset 0 1px 0 rgba(251, 236, 181,.14),0 7px 16px rgba(0,0,0,.28);
  }
  .gc-md-join-copy { position:relative; z-index:1; }
  .gc-md-join-copy strong,
  .gc-md-join-copy b,
  .gc-md-dev-promo strong,
  .gc-md-dev-promo b {
    display:block;
    font-family:var(--font-display,Montserrat,Arial,sans-serif);
    font-weight:900;
    line-height:1.06;
    text-transform:uppercase;
  }
  .gc-md-join-copy strong { color:#ead688; font-size:21px; }
  .gc-md-join-copy b { margin-top:3px; color:#fffdf5; font-size:19px; letter-spacing:-.35px; }
  .gc-md-join-actions { display:flex; align-items:center; gap:7px; margin-top:9px; }
  .gc-md-join-cta {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:27px;
    padding:0 10px;
    border-radius:999px;
    background:linear-gradient(180deg,#fbf0b8,#d4af53);
    color:#0c1933;
    font-family:var(--font-display,Montserrat,Arial,sans-serif);
    font-size:10px;
    font-weight:900;
    line-height:1;
    text-decoration:none;
    white-space:nowrap;
  }
  .gc-md-odds { display:flex; align-items:center; gap:5px; min-width:0; }
  .gc-md-odd {
    display:grid;
    flex:1 1 0;
    min-width:0;
    min-height:27px!important;
    padding:0 4px!important;
    border:1px solid rgba(240, 223, 154,.30);
    border-radius:8px!important;
    background:rgba(7, 12, 22,.44)!important;
    color:#f6e8ad!important;
    font-family:var(--font-display,Montserrat,Arial,sans-serif);
    font-size:10px!important;
    font-weight:800!important;
    line-height:1;
    place-items:center;
    text-decoration:none;
  }
  .gc-md-motion-brand {
    position:absolute;
    top:8px;
    right:7px;
    display:grid;
    width:76px;
    height:76px;
    place-items:center;
    filter:drop-shadow(0 3px 6px rgba(0,0,0,.62));
  }
  .gc-md-motion-brand img { display:block; width:76px; height:76px; object-fit:contain; }

  .gc-md-dev-promo {
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:61px;
    margin:8px 1px 10px;
    padding:7px 17px;
    border-left:3px solid #d9b863;
    border-radius:10px;
    background:linear-gradient(100deg,rgba(180, 143, 68,.22),rgba(39,59,90,.22));
    color:#fffdf5;
    text-decoration:none;
  }
  .gc-md-dev-promo strong { color:#e3c675; font-size:19px; }
  .gc-md-dev-promo b { margin-top:2px; font-size:17px; letter-spacing:-.25px; }
  .gc-md-chevrons { display:grid; width:30px; color:#e4c576; }
  .gc-md-chevrons svg { width:27px; height:18px; margin:-5px 0; animation:gc-md-chevron-rise 1.9s ease-in-out infinite; }
  .gc-md-chevrons svg:last-child { animation-delay:.13s; opacity:.66; }

  .gc-md-quick { display:grid; gap:8px; }
  .gc-md-section { margin:0 0 13px; }
  .gc-md-heading {
    display:flex;
    align-items:center;
    min-height:48px;
    margin:0 0 5px;
    padding:0 0 0 18px;
    border-left:3px solid #d6b463;
    background:linear-gradient(90deg,rgba(185, 150, 73,.20),rgba(35,23,35,.03));
    color:#dac487;
    font-family:var(--font-display,Montserrat,Arial,sans-serif);
    font-size:13px;
    font-weight:900;
    letter-spacing:3px;
    line-height:1.15;
    text-transform:uppercase;
  }
  .gc-md-rows { display:grid; gap:8px; }
  .gc-md-row {
    display:flex;
    align-items:center;
    gap:8px;
    width:100%;
    min-height:46px;
    padding:3px 9px 3px 4px;
    border:1px solid rgba(184, 153, 80,.16);
    border-radius:10px;
    box-sizing:border-box;
    background:linear-gradient(105deg,rgba(26, 50, 99,.79),rgba(26,22,21,.92));
    box-shadow:inset 0 1px 0 rgba(251, 234, 182,.05),0 3px 7px rgba(0,0,0,.19);
    color:#fbf8ef;
    font-family:var(--font-display,Montserrat,Arial,sans-serif);
    font-size:12px;
    font-weight:800;
    line-height:1.18;
    text-align:left;
    text-decoration:none;
    text-transform:uppercase;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  .gc-md-row:hover,
  .gc-md-row.is-active { border-color:rgba(230, 200, 121,.76); color:#fbe8ae; background:linear-gradient(105deg,rgba(104, 81, 42,.88),rgba(34,48,69,.90)); }
  .gc-md-row:focus-visible,
  .gc-md-join-cta:focus-visible,
  .gc-md-dev-promo:focus-visible,
  .gc-md-discover-card:focus-visible,
  .gc-md-store:focus-visible,
  .gc-md-app-promo:focus-visible,
  .gc-md-deposit:focus-visible,
  .gc-drawer-footer a:focus-visible,
  .gc-drawer-footer button:focus-visible { outline:2px solid #fbf0b4; outline-offset:2px; }
  .gc-md-iconbox {
    display:grid;
    flex:0 0 40px;
    width:40px;
    height:40px;
    border-radius:8px;
    background:linear-gradient(135deg,#3c4c6c,#182b51);
    color:#fff;
    place-items:center;
  }
  .gc-md-iconbox svg { width:22px; height:22px; }
  .gc-md-label { min-width:0; overflow-wrap:anywhere; }

  .gc-md-row--bronze { background:linear-gradient(105deg,#9e6530,#284889 58%,#1d3055); }
  .gc-md-row--purple { background:linear-gradient(105deg,#354763,#27374f 58%,#26213e); }
  .gc-md-row--gold { background:linear-gradient(105deg,#9b8b40,#264990 58%,#1b3059); }
  .gc-md-row--bronze .gc-md-iconbox,
  .gc-md-row--gold .gc-md-iconbox { background:rgba(15, 28, 53,.36); }
  .gc-md-row--purple .gc-md-iconbox { background:rgba(24,16,41,.40); }

  .gc-md-discover-cards { display:grid; gap:8px; }
  .gc-md-discover-card {
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:74px;
    padding:10px 76px 10px 15px;
    overflow:hidden;
    border:1px solid rgba(210, 178, 98,.47);
    border-radius:10px;
    background-color:#0c1425;
    background-position:center right;
    background-repeat:no-repeat;
    background-size:auto 100%;
    box-shadow:inset 0 0 0 1px rgba(251, 234, 182,.04),0 4px 10px rgba(0,0,0,.22);
    color:#fff8db;
    text-decoration:none;
  }
  .gc-md-discover-card::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(11, 20, 36,.98) 0%,rgba(11, 20, 36,.82) 41%,rgba(11, 20, 36,.09) 100%); pointer-events:none; }
  .gc-md-discover-card span,
  .gc-md-discover-card strong { position:relative; z-index:1; font-family:var(--font-display,Montserrat,Arial,sans-serif); font-weight:900; line-height:1.02; text-transform:uppercase; }
  .gc-md-discover-card span { color:#dcc076; font-size:14px; }
  .gc-md-discover-card strong { margin-top:3px; color:#fffdf5; font-size:23px; letter-spacing:-.45px; }
  .gc-md-discover-card--puzzle { background-image:url('/assets/special/kelime-bulmaca.webp?v=kr-2'); }
  .gc-md-discover-card--million { background-image:url('/assets/special/milyonerler.webp?v=kr-2'); }
  .gc-md-discover-card--million img { position:absolute; z-index:1; right:13px; bottom:8px; width:48px; height:48px; object-fit:contain; filter:drop-shadow(0 3px 4px rgba(0,0,0,.65)); }

  .gc-md-apps { display:grid; gap:10px; margin-top:2px; }
  .gc-md-store-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .gc-md-store {
    justify-content:center;
    min-height:44px!important;
    height:44px;
    padding:0 9px!important;
    border-color:#ddc277;
    background:linear-gradient(105deg,#152648,#0c1527)!important;
    text-align:center;
  }
  .gc-md-store:last-child { background:linear-gradient(105deg,#ecdfa3,#c7a04c)!important; color:#101d39; }
  .gc-md-store img { width:27px; height:27px; object-fit:contain; }
  .gc-md-store span { font-size:13px; font-weight:900; text-transform:uppercase; }
  .gc-md-app-promo {
    position:relative;
    display:block;
    min-height:96px;
    overflow:hidden;
    border-radius:12px;
    background:#0c1526;
    border:1px solid rgba(210, 178, 98,.42);
    color:#fff8dd;
    text-decoration:none;
  }
  .gc-md-app-promo::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#0b1222 0%,#0b1222 55%,rgba(11, 18, 34,.94) 62%,rgba(11, 18, 34,.05) 100%); }
  .gc-md-app-promo > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:69% center; }
  .gc-md-app-promo > span { position:relative; z-index:1; display:flex; flex-direction:column; max-width:172px; padding:20px 13px; font-family:var(--font-display,Montserrat,Arial,sans-serif); font-size:16px; font-weight:900; line-height:1.08; text-transform:uppercase; }
  .gc-md-app-promo strong { margin-top:3px; color:#ebd48a; font-size:18px; }
  .gc-md-deposit {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 12px;
    border:1px solid #d5ba71;
    border-radius:10px;
    color:#f3e7b8;
    font-family:var(--font-display,Montserrat,Arial,sans-serif);
    font-size:12px;
    font-weight:900;
    letter-spacing:.25px;
    text-align:center;
    text-decoration:none;
    text-transform:uppercase;
  }
  .gc-md-deposit:hover { background:rgba(206, 175, 93,.13); }

  .gc-drawer-footer {
    position:fixed;
    z-index:171;
    left:12px;
    bottom:8px;
    width:calc(100% - 24px);
    max-width:600px;
    height:66px;
    align-items:center;
    justify-content:flex-start;
    padding:0 10px;
    box-sizing:border-box;
    border:1px solid #b89b53;
    border-radius:18px;
    background:linear-gradient(100deg,#0e182d,#070d18 74%,#1b1230);
    box-shadow:0 9px 24px rgba(0,0,0,.64),inset 0 1px 0 rgba(251, 227, 160,.14);
  }
  body.drawer-open .gc-drawer-footer { display:none!important; }
  .gc-drawer-footer button,
  .gc-drawer-footer a { display:grid; width:40px; height:40px; padding:0; border:0; border-radius:50%; color:#f9efd0; place-items:center; }
  .gc-drawer-footer button { background:rgba(16, 27, 48,.84); box-shadow:inset 0 0 0 1px rgba(224, 197, 121,.22); cursor:pointer; }
  .gc-drawer-footer button svg { width:20px; height:20px; }
  .gc-drawer-footer a { position:absolute; left:50%; width:70px; height:44px; transform:translateX(-50%); border-radius:999px; background:linear-gradient(180deg,#edd988,#be9944); color:#122242; box-shadow:0 3px 9px rgba(0,0,0,.35); }
  .gc-drawer-footer a svg { width:23px; height:23px; stroke-width:2.5; }

  @keyframes gc-md-chevron-rise {
    0%,100% { transform:translateY(2px); opacity:.48; }
    50% { transform:translateY(-3px); opacity:1; }
  }
}

@media (prefers-reduced-motion:reduce) {
  .gc-mobile-drawer *,
  .gc-drawer-footer * { animation:none!important; transition:none!important; }
}
