/* ===== RESET ===== */
    * { box-sizing: border-box; margin: 0; padding: 0; }

    html, body {
      height: 100%;
      background-color: transparent;
      color: #e8e0ff;
      font-family: 'Poppins', sans-serif;
      line-height: 1.6;
      font-size: 16px;
    }

    /* Dark base so content stays readable without video */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background: #080512;
      z-index: -2;
    }

    /* ===== BACKGROUND VIDEO ===== */
    #bgVideo {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      object-fit: cover;
      z-index: -1;
      filter: brightness(0.22);
    }

    /* ===== AGE OVERLAY ===== */
    #age-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: rgba(4, 2, 12, 0.97);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }
    .age-modal {
      background: #0f0b1e;
      border: 1px solid rgba(157, 46, 255, 0.45);
      border-radius: 20px;
      padding: 40px;
      max-width: 540px;
      text-align: center;
      box-shadow: 0 0 48px rgba(120, 30, 240, 0.3);
    }
    .age-modal h2 {
      font-size: 1.6rem;
      font-weight: 800;
      background: linear-gradient(135deg, #b060ff, #00d4f0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 16px;
    }
    .age-modal p {
      font-size: 1rem;
      color: #c0a0f0;
      line-height: 1.7;
      margin-bottom: 28px;
    }
    .age-buttons { display: flex; gap: 14px; justify-content: center; }
    .age-buttons button {
      padding: 12px 30px;
      font-size: 1rem;
      font-weight: 700;
      border: none;
      border-radius: 12px;
      cursor: pointer;
      font-family: 'Poppins', sans-serif;
      transition: all 0.25s;
    }
    #age-continue {
      background: linear-gradient(135deg, #7b1fff, #00c8e0);
      color: #fff;
    }
    #age-continue:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(120,30,240,0.5); }
    #age-exit {
      background: #1a1230;
      color: #8070b0;
      border: 1px solid rgba(157,46,255,0.2);
    }
    #age-exit:hover { background: #2a1a40; color: #b090d0; }

    /* ===== LAYOUT SHELL ===== */
    .app-shell {
      display: flex;
      min-height: 100vh;
    }

    /* ===== SIDEBAR ===== */
    .sidebar {
      position: fixed;
      top: 0; left: 0;
      width: 220px;
      height: 100vh;
      background: rgba(10, 6, 22, 0.97);
      border-right: 1px solid rgba(157, 46, 255, 0.18);
      display: flex;
      flex-direction: column;
      z-index: 1000;
      backdrop-filter: blur(20px);
      overflow-y: auto;
      overflow-x: hidden;
    }

    .sidebar-brand {
      padding: 22px 18px 18px;
      border-bottom: 1px solid rgba(157, 46, 255, 0.12);
    }
    .sidebar-brand img {
      width: 100%;
      max-height: 52px;
      object-fit: contain;
      filter: drop-shadow(0 0 12px rgba(157, 46, 255, 0.4));
    }
    .sidebar-brand .brand-text {
      font-size: 1.3rem;
      font-weight: 900;
      letter-spacing: 0.06em;
      background: linear-gradient(135deg, #b060ff, #00d4f0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-align: center;
      margin-top: 6px;
    }

    .sidebar-nav {
      padding: 18px 12px;
      flex: 1;
    }

    .sidebar-section-label {
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: rgba(140, 100, 220, 0.55);
      padding: 0 10px;
      margin-bottom: 8px;
      margin-top: 16px;
    }
    .sidebar-section-label:first-child { margin-top: 0; }

    .sidebar-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 11px 14px;
      border-radius: 12px;
      color: #9070c8;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.22s ease;
      border: 1px solid transparent;
      margin-bottom: 3px;
      background: transparent;
      width: 100%;
      text-align: left;
    }
    .sidebar-link i {
      width: 18px;
      text-align: center;
      font-size: 0.95rem;
      flex-shrink: 0;
    }
    .sidebar-link:hover {
      color: #d0b8ff;
      background: rgba(120, 50, 220, 0.1);
      border-color: rgba(157, 46, 255, 0.15);
    }
    .sidebar-link.active {
      color: #fff;
      background: linear-gradient(135deg, rgba(123, 31, 255, 0.25), rgba(0, 200, 224, 0.12));
      border-color: rgba(157, 46, 255, 0.35);
      box-shadow: 0 2px 12px rgba(120, 30, 240, 0.2);
    }
    .sidebar-link.active i { color: #b060ff; }

    .sidebar-external {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 11px 14px;
      border-radius: 12px;
      color: #9070c8;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 600;
      transition: all 0.22s ease;
      border: 1px solid transparent;
      margin-bottom: 3px;
    }
    .sidebar-external i { width: 18px; text-align: center; font-size: 0.95rem; flex-shrink: 0; }
    .sidebar-external:hover {
      color: #d0b8ff;
      background: rgba(120, 50, 220, 0.1);
      border-color: rgba(157, 46, 255, 0.15);
    }

    .sidebar-discord-btn {
      margin: 16px 12px 18px;
      background: linear-gradient(135deg, #5865F2, #4752C4);
      color: #fff;
      border: none;
      border-radius: 12px;
      padding: 12px 16px;
      font-size: 0.88rem;
      font-weight: 700;
      font-family: 'Poppins', sans-serif;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      transition: all 0.25s;
      text-decoration: none;
      letter-spacing: 0.04em;
    }
    .sidebar-discord-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(88, 101, 242, 0.45);
    }

    .sidebar-age-note {
      padding: 10px 16px 14px;
      font-size: 0.72rem;
      color: rgba(120, 100, 160, 0.6);
      text-align: center;
      border-top: 1px solid rgba(157, 46, 255, 0.08);
    }

    /* ===== MOBILE TOP BAR ===== */
    .topbar {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0;
      height: 58px;
      background: rgba(10, 6, 22, 0.97);
      border-bottom: 1px solid rgba(157, 46, 255, 0.18);
      z-index: 1000;
      align-items: center;
      justify-content: space-between;
      padding: 0 16px;
      backdrop-filter: blur(20px);
    }
    .topbar-brand-block {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .topbar-logo {
      height: 28px;
      width: auto;
      object-fit: contain;
      filter: drop-shadow(0 0 8px rgba(157, 46, 255, 0.5));
    }
    .topbar-brand-text {
      display: flex;
      flex-direction: column;
      line-height: 1.1;
    }
    .topbar-brand-sub {
      font-size: 0.55rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      color: rgba(176, 96, 255, 0.7);
      text-transform: uppercase;
    }
    .topbar-brand-name {
      font-size: 1rem;
      font-weight: 900;
      letter-spacing: 0.06em;
      background: linear-gradient(135deg, #b060ff, #00d4f0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .topbar-toggle {
      background: none;
      border: none;
      color: #a070e0;
      font-size: 20px;
      cursor: pointer;
      padding: 6px;
    }

    /* ===== LANGUAGE SWITCHER ===== */
    .lang-switcher {
      display: flex;
      align-items: center;
      gap: 4px;
      background: rgba(20, 12, 40, 0.8);
      border: 1px solid rgba(157, 46, 255, 0.2);
      border-radius: 10px;
      padding: 4px;
    }
    .lang-btn {
      background: none;
      border: none;
      color: rgba(160, 120, 220, 0.6);
      font-size: 0.72rem;
      font-weight: 700;
      font-family: 'Poppins', sans-serif;
      cursor: pointer;
      padding: 4px 8px;
      border-radius: 7px;
      transition: all 0.2s ease;
      letter-spacing: 0.04em;
      white-space: nowrap;
    }
    .lang-btn:hover {
      color: #d0b8ff;
      background: rgba(120, 50, 220, 0.15);
    }
    .lang-flag {
      width: 18px;
      height: 13px;
      object-fit: cover;
      border-radius: 2px;
      vertical-align: middle;
      margin-right: 2px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    }
      background: linear-gradient(135deg, rgba(123, 31, 255, 0.3), rgba(0, 200, 224, 0.15));
      color: #fff;
      box-shadow: 0 1px 6px rgba(120, 30, 240, 0.3);
    }

    /* Mobile drawer overlay */
    .sidebar-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      z-index: 999;
    }
    .sidebar-overlay.visible { display: block; }

    /* ===== MAIN CONTENT ===== */
    .main-content {
      margin-left: 220px;
      flex: 1;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    /* ===== CONTENT TOPBAR ===== */
    .content-topbar {
      background: rgba(8, 4, 18, 0.92);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(157, 46, 255, 0.18);
      padding: 0 30px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      z-index: 100;
      gap: 20px;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .content-topbar.hidden {
      transform: translateY(-100%);
      opacity: 0;
      pointer-events: none;
    }
    .content-topbar-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
    .content-topbar-right {
      display: flex;
      align-items: center;
      flex-shrink: 0;
      margin-left: auto;
    }

    /* ===== PAGE BODY ===== */
    .page-body {
      padding: 30px 30px 50px;
      flex: 1;
    }

    /* ===== CONTENT SECTIONS ===== */
    .content-section { display: none; animation: fadeIn 0.35s ease; }
    .content-section.active { display: block; }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(12px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* ===== SECTION HEADING ===== */
    .section-heading {
      margin-bottom: 24px;
    }
    .section-heading .overline {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: rgba(157, 46, 255, 0.7);
      margin-bottom: 4px;
    }
    .section-heading h1 {
      font-size: 1.8rem;
      font-weight: 800;
      color: #f0e8ff;
      letter-spacing: 0.02em;
    }

    /* ===== FILTER TABS ===== */
    .filter-tabs {
      display: flex;
      gap: 8px;
      margin-bottom: 26px;
      flex-wrap: wrap;
    }
    .filter-tab {
      padding: 7px 18px;
      border-radius: 20px;
      font-size: 0.83rem;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid rgba(157, 46, 255, 0.22);
      background: rgba(120, 50, 220, 0.06);
      color: #9070c8;
      transition: all 0.2s;
      font-family: 'Poppins', sans-serif;
    }
    .filter-tab:hover { background: rgba(120, 50, 220, 0.14); color: #c0a0f0; }
    .filter-tab.active {
      background: linear-gradient(135deg, #7b1fff, #00c8e0);
      color: #fff;
      border-color: transparent;
      box-shadow: 0 3px 14px rgba(120, 30, 240, 0.4);
    }

    /* ===== CASINO GRID ===== */
    .casino-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 22px;
    }
    @media (min-width: 1400px) {
      .casino-grid { grid-template-columns: repeat(3, 1fr); }
    }

    /* ===== CASINO CARD ===== */
    .casino-card {
      background: rgba(14, 10, 30, 0.55);
      border: 1px solid rgba(157, 46, 255, 0.22);
      border-radius: 20px;
      overflow: hidden;
      transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
      display: flex;
      flex-direction: column;
    }
    .casino-card:hover {
      transform: translateY(-5px);
      border-color: rgba(0, 210, 240, 0.5);
      box-shadow: 0 16px 44px rgba(100, 30, 200, 0.3), 0 0 0 1px rgba(0, 200, 220, 0.18);
    }

    .casino-card-top {
      padding: 22px 24px 18px;
      background: rgba(19, 14, 38, 0.65);
      border-bottom: 1px solid rgba(157, 46, 255, 0.12);
      display: flex;
      align-items: center;
      gap: 18px;
    }
    .casino-logo {
      width: 80px;
      height: 80px;
      border-radius: 14px;
      background: rgba(8, 4, 18, 0.55);
      padding: 10px;
      object-fit: contain;
      border: 1px solid rgba(157, 46, 255, 0.2);
      flex-shrink: 0;
    }
    .casino-meta { flex: 1; min-width: 0; }
    .casino-name {
      font-size: 1.35rem;
      font-weight: 800;
      color: #fff;
      letter-spacing: 0.04em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .casino-sub {
      font-size: 0.85rem;
      color: #7a68a8;
      font-weight: 500;
      margin-top: 3px;
    }
    .casino-rank {
      width: 34px; height: 34px;
      border-radius: 50%;
      background: rgba(120, 50, 220, 0.18);
      border: 1px solid rgba(157, 46, 255, 0.3);
      display: flex; align-items: center; justify-content: center;
      font-size: 0.85rem;
      font-weight: 800;
      color: #b080e0;
      flex-shrink: 0;
    }

    /* Bonus badge strip */
    .casino-badges {
      padding: 14px 24px;
      background: rgba(8, 4, 18, 0.55);
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 20px;
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.04em;
    }
    .badge-bonus {
      background: rgba(50, 180, 80, 0.12);
      color: #50e080;
      border: 1px solid rgba(50, 180, 80, 0.25);
    }
    .badge-spins {
      background: rgba(255, 160, 0, 0.1);
      color: #ffb830;
      border: 1px solid rgba(255, 160, 0, 0.2);
    }
    .badge-code {
      background: rgba(157, 46, 255, 0.1);
      color: #b080e0;
      border: 1px solid rgba(157, 46, 255, 0.22);
    }

    /* Stats row */
    .casino-stats-row {
      padding: 16px 24px;
      background: rgba(8, 4, 18, 0.55);
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      border-top: 1px solid rgba(157, 46, 255, 0.08);
    }
    .stat-box {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 12px 8px;
      background: rgba(120, 50, 220, 0.06);
      border: 1px solid rgba(157, 46, 255, 0.12);
      border-radius: 12px;
    }
    .stat-label {
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #5a4880;
      margin-bottom: 5px;
    }
    .stat-value {
      font-size: 1.05rem;
      font-weight: 800;
      color: #c0b0e0;
    }
    .stat-value.highlight {
      font-size: 1.2rem;
      background: linear-gradient(135deg, #b060ff, #00d4f0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .casino-card-bottom {
      padding: 18px 24px;
      background: rgba(19, 14, 38, 0.65);
      border-top: 1px solid rgba(157, 46, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: auto;
    }

    /* Play button */
    .card-actions {
      display: flex;
      gap: 10px;
      flex-shrink: 0;
      width: 100%;
    }
    .btn-play {
      flex: 1;
      padding: 14px 24px;
      border-radius: 14px;
      background: linear-gradient(135deg, #7b1fff 0%, #00c8e0 100%);
      color: #fff;
      font-size: 0.95rem;
      font-weight: 700;
      cursor: pointer;
      border: none;
      font-family: 'Poppins', sans-serif;
      transition: all 0.25s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      box-shadow: 0 5px 18px rgba(120, 30, 240, 0.4);
    }
    .btn-play:hover {
      background: linear-gradient(135deg, #9535ff 0%, #00dff5 100%);
      box-shadow: 0 8px 26px rgba(0, 200, 224, 0.45);
      transform: translateY(-2px);
    }

    /* ===== FEATURED CASINO CARD ===== */
    .featured-casino {
      position: relative;
      background: rgba(14, 10, 30, 0.55);
      border: 1px solid rgba(157, 46, 255, 0.0);
      border-radius: 24px;
      overflow: hidden;
      margin-bottom: 30px;
      animation: featuredGlow 3s ease-in-out infinite alternate;
    }
    @keyframes featuredGlow {
      from { box-shadow: 0 0 0 1px rgba(123,31,255,0.5), 0 16px 50px rgba(100,30,200,0.3); }
      to   { box-shadow: 0 0 0 1px rgba(0,200,224,0.5), 0 20px 60px rgba(0,180,220,0.35); }
    }

    /* Animated border via pseudo-element */
    .featured-casino::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 24px;
      padding: 1.5px;
      background: linear-gradient(135deg, #7b1fff, #00c8e0, #7b1fff);
      background-size: 200% 200%;
      animation: borderMove 4s linear infinite;
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
      z-index: 1;
    }
    @keyframes borderMove {
      0%   { background-position: 0% 50%; }
      50%  { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    .featured-badge {
      position: absolute;
      top: 18px;
      right: 18px;
      z-index: 2;
      background: linear-gradient(135deg, #7b1fff, #00c8e0);
      color: #fff;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 6px 14px;
      border-radius: 20px;
      box-shadow: 0 4px 16px rgba(120, 30, 240, 0.5);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .featured-inner {
      display: flex;
      align-items: stretch;
      position: relative;
      z-index: 0;
    }

    /* Left accent bar */
    .featured-accent {
      width: 6px;
      background: linear-gradient(180deg, #7b1fff 0%, #00c8e0 100%);
      flex-shrink: 0;
    }

    .featured-body {
      display: flex;
      flex: 1;
      gap: 0;
      flex-direction: column;
    }

    .featured-top {
      display: flex;
      align-items: center;
      gap: 24px;
      padding: 28px 30px 22px;
      background: linear-gradient(135deg, #130e26 0%, #0d0920 100%);
      border-bottom: 1px solid rgba(157, 46, 255, 0.12);
    }

    .featured-logo {
      width: 100px;
      height: 100px;
      border-radius: 18px;
      background: rgba(8, 4, 18, 0.55);
      padding: 12px;
      object-fit: contain;
      border: 1px solid rgba(157, 46, 255, 0.25);
      flex-shrink: 0;
      box-shadow: 0 6px 24px rgba(120, 30, 240, 0.2);
    }

    .featured-title-block { flex: 1; }
    .featured-rank-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(120, 50, 220, 0.15);
      border: 1px solid rgba(157, 46, 255, 0.3);
      border-radius: 20px;
      padding: 4px 12px;
      font-size: 0.72rem;
      font-weight: 700;
      color: #b080e0;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 8px;
    }
    .featured-name {
      font-size: 2rem;
      font-weight: 900;
      color: #fff;
      letter-spacing: 0.05em;
      margin-bottom: 4px;
      line-height: 1.1;
    }
    .featured-sub {
      font-size: 0.9rem;
      color: #7a68a8;
      font-weight: 500;
    }

    .featured-middle {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      padding: 22px 30px;
      background: rgba(8, 4, 18, 0.55);
    }

    .featured-stat {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 16px 10px;
      background: rgba(120, 50, 220, 0.07);
      border: 1px solid rgba(157, 46, 255, 0.14);
      border-radius: 14px;
      transition: background 0.2s;
    }
    .featured-stat:hover { background: rgba(120, 50, 220, 0.14); }
    .featured-stat .stat-label { font-size: 0.72rem; margin-bottom: 6px; }
    .featured-stat .stat-value { font-size: 1.25rem; font-weight: 900; }

    .featured-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 20px 30px;
      background: rgba(19, 14, 38, 0.65);
      border-top: 1px solid rgba(157, 46, 255, 0.1);
      flex-wrap: wrap;
    }
    .featured-badges { display: flex; gap: 10px; flex-wrap: wrap; }

    .featured-play-btn {
      padding: 15px 40px;
      border-radius: 14px;
      background: linear-gradient(135deg, #7b1fff 0%, #00c8e0 100%);
      color: #fff;
      font-size: 1rem;
      font-weight: 800;
      border: none;
      font-family: 'Poppins', sans-serif;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      box-shadow: 0 6px 24px rgba(120, 30, 240, 0.5);
      transition: all 0.25s;
      flex-shrink: 0;
    }
    .featured-play-btn:hover {
      background: linear-gradient(135deg, #9535ff 0%, #00dff5 100%);
      box-shadow: 0 10px 32px rgba(0, 200, 224, 0.5);
      transform: translateY(-2px);
    }

    @media (max-width: 860px) {
      .featured-middle { grid-template-columns: repeat(2, 1fr); }
      .featured-name { font-size: 1.5rem; }
      .featured-logo { width: 70px; height: 70px; }
      .featured-top { padding: 20px; gap: 16px; }
      .featured-middle, .featured-bottom { padding: 18px 20px; }
      .featured-play-btn { width: 100%; justify-content: center; }
    }
    /* ===== GIVEAWAY — FULL WIDTH REDESIGN ===== */
    #giveaway-section {
      display: none;
    }
    #giveaway-section.active {
      display: flex;
      flex-direction: column;
      min-height: calc(100vh - 80px);
    }

    /* Hero banner replaces the topbar heading on giveaway */

    .giveaway-hero {
      position: relative;
      overflow: hidden;
      border-radius: 20px;
      margin-bottom: 24px;
      padding: 28px 32px 24px;
      display: flex;
      align-items: center;
      gap: 18px;
      background: linear-gradient(135deg, #4a0aac 0%, #0a7a9a 60%, #0e0422 100%);
    }
    .giveaway-hero::before {
      content: '';
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse at 20% 50%, rgba(123,31,255,0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 50%, rgba(0,200,224,0.28) 0%, transparent 55%);
      pointer-events: none;
    }
    .giveaway-hero::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 24px;
      padding: 1.5px;
      background: linear-gradient(135deg, #7b1fff, #00c8e0, #7b1fff);
      background-size: 200% 200%;
      animation: borderMove 4s linear infinite;
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }
    .giveaway-hero-trophy {
      font-size: 2.6rem;
      display: block;
      flex-shrink: 0;
      animation: bounce 2s infinite;
      position: relative;
      z-index: 1;
    }
    .giveaway-hero-title {
      font-size: 2.2rem;
      font-weight: 900;
      color: #fff;
      letter-spacing: 0.05em;
      text-shadow: 0 0 40px rgba(123,31,255,0.6), 0 0 80px rgba(0,200,224,0.3);
      margin-bottom: 4px;
      position: relative;
      z-index: 1;
      line-height: 1.1;
    }
    .giveaway-hero-sub {
      font-size: 0.95rem;
      font-weight: 600;
      color: rgba(255,255,255,0.75);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      position: relative;
      z-index: 1;
    }
    .giveaway-hero-text {
      position: relative;
      z-index: 1;
    }

    @keyframes glowPulse {
      from { box-shadow: 0 10px 40px rgba(100, 30, 200, 0.2); }
      to   { box-shadow: 0 10px 50px rgba(0, 200, 224, 0.28); }
    }
    @keyframes bounce {
      0%,20%,50%,80%,100% { transform: translateY(0); }
      40% { transform: translateY(-10px); }
      60% { transform: translateY(-5px); }
    }

    /* Two-column layout for prizes + deadline */
    .giveaway-top-row {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 24px;
      margin-bottom: 24px;
    }

    .prizes-section {
      background: rgba(15, 11, 30, 0.9);
      border: 1px solid rgba(157, 46, 255, 0.22);
      border-radius: 20px;
      padding: 28px;
    }
    .prizes-title {
      font-size: 1.3rem;
      font-weight: 700;
      color: #c080ff;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .prizes-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .prize-item {
      background: linear-gradient(160deg, #1a1035 0%, #100c25 100%);
      border: 1px solid rgba(157, 46, 255, 0.28);
      border-radius: 16px;
      padding: 22px 14px;
      text-align: center;
      transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    }
    .prize-item:hover {
      transform: translateY(-4px);
      border-color: rgba(0, 210, 240, 0.5);
      box-shadow: 0 12px 30px rgba(0,180,220,0.18);
    }
    .prize-place {
      font-size: 0.88rem;
      color: #9060d0;
      font-weight: 600;
      margin-bottom: 10px;
    }
    .prize-amount {
      font-size: 2.2rem;
      font-weight: 900;
      background: linear-gradient(135deg, #b060ff, #00d4f0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .deadline-section {
      background: linear-gradient(160deg, #2a0050 0%, #001828 100%);
      border: 1px solid rgba(157, 46, 255, 0.35);
      border-radius: 20px;
      padding: 28px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .deadline-title {
      font-size: 1rem;
      font-weight: 700;
      color: #c080ff;
      margin-bottom: 14px;
    }
    .deadline-date {
      font-size: 2.4rem;
      font-weight: 900;
      background: linear-gradient(135deg, #b060ff, #00d4f0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1;
      margin-bottom: 12px;
    }
    .deadline-note {
      color: #7050a8;
      font-size: 0.85rem;
    }

    /* Steps + Notes row */
    .giveaway-bottom-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-bottom: 24px;
    }

    .steps-section {
      background: rgba(15, 11, 30, 0.9);
      border: 1px solid rgba(157, 46, 255, 0.22);
      border-radius: 20px;
      padding: 28px;
    }
    .steps-title {
      font-size: 1.3rem;
      font-weight: 700;
      color: #c080ff;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .step {
      background: rgba(120, 50, 220, 0.06);
      border-left: 3px solid #7b1fff;
      padding: 16px 18px 16px 22px;
      margin-bottom: 14px;
      border-radius: 10px;
      position: relative;
    }
    .step:last-child { margin-bottom: 0; }
    .step-number {
      position: absolute; left: -14px; top: 14px;
      background: linear-gradient(135deg, #7b1fff, #00c8e0);
      color: #fff; width: 28px; height: 28px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-weight: 700; font-size: 0.82rem;
      box-shadow: 0 2px 10px rgba(120,30,240,0.4);
    }
    .step-content { margin-left: 14px; color: #b0a0d0; font-size: 0.9rem; line-height: 1.6; }
    .step-content strong { color: #fff; display: block; margin-bottom: 4px; }

    .important-notes {
      background: rgba(120, 50, 220, 0.06);
      border: 1px solid rgba(157, 46, 255, 0.2);
      border-radius: 20px;
      padding: 28px;
    }
    .notes-title {
      font-size: 1.3rem;
      color: #c080ff;
      margin-bottom: 20px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .note-item {
      margin-bottom: 12px;
      padding: 12px 14px 12px 36px;
      position: relative;
      color: #a090c0;
      font-size: 0.88rem;
      background: rgba(120, 50, 220, 0.05);
      border-radius: 10px;
      border: 1px solid rgba(157, 46, 255, 0.1);
      line-height: 1.5;
    }
    .note-item:last-child { margin-bottom: 0; }
    .note-item::before { content: "⚠️"; position: absolute; left: 10px; top: 11px; }

    .giveaway-footer-msg {
      text-align: center;
      padding: 20px;
      background: rgba(15, 11, 30, 0.6);
      border: 1px solid rgba(157, 46, 255, 0.15);
      border-radius: 16px;
      font-weight: 700;
      font-size: 1.1rem;
      background-clip: text;
      -webkit-background-clip: text;
    }
    .giveaway-footer-msg span {
      background: linear-gradient(135deg, #b060ff, #00d4f0);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    @media (max-width: 860px) {
      .giveaway-hero-title { font-size: 2.4rem; }
      .giveaway-top-row { grid-template-columns: 1fr; }
      .giveaway-bottom-row { grid-template-columns: 1fr; }
      .prizes-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 500px) {
      .prizes-grid { grid-template-columns: 1fr; }
      .giveaway-hero-title { font-size: 1.8rem; }
      .giveaway-hero { padding: 40px 20px 34px; }
    }

    /* CTA + Discord buttons */
    .cta-button {
      background: linear-gradient(135deg, #7b1fff 0%, #00c8e0 100%);
      color: #fff;
      padding: 11px 26px;
      border-radius: 22px;
      text-decoration: none;
      font-weight: 700;
      font-size: 0.92rem;
      display: inline-block;
      box-shadow: 0 5px 18px rgba(120, 30, 240, 0.38);
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }
    .cta-button:hover { background: linear-gradient(135deg, #9535ff 0%, #00dff5 100%); box-shadow: 0 8px 24px rgba(0, 200, 224, 0.4); transform: translateY(-2px); }

    .discord-link {
      background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
      color: white;
      padding: 11px 24px;
      border-radius: 22px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.92rem;
      display: inline-block;
      margin: 8px 4px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 14px rgba(88, 101, 242, 0.3);
    }
    .discord-link:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(88, 101, 242, 0.5); }

    /* ===== FOOTER ===== */
    .main-footer {
      border-top: 1px solid rgba(157, 46, 255, 0.12);
      padding: 30px;
      text-align: center;
      color: #5a4880;
      font-size: 0.85rem;
    }
    .footer-socials { display: flex; justify-content: center; gap: 20px; margin-bottom: 14px; }
    .footer-socials a {
      color: #7050a8;
      font-size: 1.4rem;
      text-decoration: none;
      transition: color 0.2s, transform 0.2s;
      display: inline-block;
    }
    .footer-socials a:hover { color: #00d4f0; transform: translateY(-3px); }
    .footer-contact {
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(140, 100, 200, 0.5);
      margin-bottom: 14px;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 860px) {
      .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 240px;
      }
      .sidebar.open { transform: translateX(0); }
      .topbar { display: flex; }
      .main-content { margin-left: 0; padding-top: 58px; }
      .casino-grid { grid-template-columns: 1fr; }
      .casino-stats-row { grid-template-columns: repeat(3,1fr); }
      .prizes-grid { grid-template-columns: 1fr; gap: 10px; }
      .giveaway-title { font-size: 2rem; }
      .content-topbar { display: none; }
      .page-body { padding: 20px 16px 40px; }
    }

    @media (max-width: 500px) {
      .casino-card-bottom { flex-direction: column; align-items: stretch; }
      .card-actions { justify-content: stretch; }
      .btn-play, .btn-info { flex: 1; justify-content: center; }
    }