/* ============================================================
     CSS VARIABLES
  ============================================================ */
  :root {
    --sky-top:       #4A95CC;
    --sky-mid:       #78BFDF;
    --sky-horizon:   #B8DFF0;
    --ocean-bright:  #2EA8D8;
    --ocean-mid:     #1A80B0;
    --ocean-deep:    #0E5585;
    --sand-bright:   #F5D98C;
    --sand-mid:      #E8C36A;
    --sand-dark:     #C4983A;
    --wood-brown:    #7A4E2A;
    --grass-bright:  #5CC91E;
    --grass-dark:    #3A8A0A;
    --stone:         #888888;
    --stone-dark:    #555555;
    --night-deep:    #06090F;
    --night-mid:     #0A0E1A;
    --night-panel:   rgba(8, 14, 28, 0.94);
    --panel-border:  #000000;
    --panel-hi:      rgba(255,255,255,0.13);
    --panel-sh:      rgba(0,0,0,0.55);
    --text-white:    #FFFFFF;
    --text-sand:     #F5D98C;
    --text-muted:    #88AACC;
    --text-dark:     #1E1008;
    --accent-green:  #5CC91E;
    --accent-aqua:   #22D4CC;
    --accent-gold:   #FFD700;
    --accent-coral:  #FF6B4A;
    --accent-red:    #E34A2F;    /* subtle red from logo */
    --accent-red-dim: rgba(227, 74, 47, 0.18);
    --btn-green:     #4A8E1A;
    --btn-green-hi:  #5CB025;
    --btn-green-dk:  #2E6010;
    --btn-red:       #9B2E1A;
    --btn-red-hi:    #C43D22;
    --font-pixel:   'Press Start 2P', monospace;
    --font-vt:      'VT323', monospace;
    --font-body:    'Nunito', sans-serif;
  }

  /* ============================================================
     RESET & BASE (larger base font)
  ============================================================ */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; font-size: 18px; } /* increased base */
  body {
    font-family: var(--font-body);
    background: var(--night-deep);
    color: var(--text-white);
    overflow-x: hidden;
    font-size: 1.1rem;
    line-height: 1.5;
  }
  img { max-width: 100%; height: auto; display: block; }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }

  /* ============================================================
     ACCESSIBILITY
  ============================================================ */
  .visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }
  #skip-navigation-link {
    position: absolute; top: -100px; left: 0;
    background: var(--btn-green);
    color: white;
    padding: 12px 20px;          /* larger */
    font-family: var(--font-pixel);
    font-size: 11px;             /* larger */
    z-index: 10000;
    transition: top 0.2s;
  }
  #skip-navigation-link:focus { top: 0; }

  /* ============================================================
     LOADING SCREEN
  ============================================================ */
  #loading {
    position: fixed; inset: 0;
    background: var(--night-mid);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    z-index: 9999; gap: 28px;
  }
  .loading-crab {
    font-size: 72px;              /* bigger */
    animation: crabBob 0.9s ease-in-out infinite alternate;
    filter: drop-shadow(0 6px 18px rgba(34,212,204,0.5));
  }
  @keyframes crabBob {
    from { transform: translateY(0) rotate(-5deg); }
    to   { transform: translateY(-16px) rotate(5deg); }
  }
  .loading-text {
    font-family: var(--font-pixel);
    font-size: 12px;              /* bigger */
    color: var(--text-sand);
    text-shadow: 2px 2px 0 #000; letter-spacing: 1.5px;
  }
  .loading-bar-outer {
    width: 420px;                 /* wider */
    height: 28px;                /* taller */
    background: #111;
    border: 3px solid #000;
    box-shadow: inset 0 0 0 2px #222, 4px 4px 0 #000;
    overflow: hidden;
  }
  .loading-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, var(--btn-green), var(--accent-aqua));
    width: 0%;
    animation: fillBar 1.8s cubic-bezier(.4,0,.2,1) forwards;
  }

  /* ============================================================
     HEADER — BIGGER & MORE PROMINENT
  ============================================================ */
  header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(6, 9, 18, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 4px solid #000;
    box-shadow: 0 4px 0 #0A1830, 0 8px 28px rgba(0,0,0,0.7);
    padding: 0.5rem 0;
  }
  /* Desktop nav */
  header nav ul {
    display: flex; align-items: center;
    height: 88px;                 /* taller header */
    padding: 0 32px; gap: 8px;
  }
  header nav ul li a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 18px;
    font-family: var(--font-pixel);
    font-size: 10px;              /* bigger nav text */
    color: #88AACC;
    text-shadow: 1px 1px 0 #000;
    white-space: nowrap;
    transition: color 0.15s;
  }
  header nav ul li a:hover { color: var(--text-sand); }
  .header-logo-outer {
    margin-right: 24px;
    background: rgba(0,0,0,0.2);
    padding: 6px 14px;
    border-radius: 4px;
  }
  .header-logo-outer a { display: flex; align-items: center; }
  .header-logo {
    height: 58px;                 /* much bigger logo */
    width: auto;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  }
  .header-icon { font-size: 14px; }
  .header-small-icon { font-size: 9px; opacity: 0.65; margin-left: 3px; }
  .header-cta-outer { margin-left: auto; }
  .header-cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px;
    background: var(--btn-green);
    color: var(--text-white) !important;
    font-family: var(--font-pixel) !important;
    font-size: 10px !important;   /* bigger CTA */
    border: 3px solid #000;
    box-shadow:
      inset 2px 2px 0 rgba(255,255,255,0.3),
      inset -2px -2px 0 rgba(0,0,0,0.4),
      5px 5px 0 #000;
    text-shadow: 1px 1px 0 #000 !important;
    cursor: pointer; transition: background 0.12s, transform 0.1s;
    letter-spacing: 0.5px;
  }
  .header-cta:hover { background: var(--btn-green-hi); }
  .header-cta:active {
    transform: translate(3px,3px);
    box-shadow: inset -2px -2px 0 rgba(255,255,255,0.15), inset 2px 2px 0 rgba(0,0,0,0.3), 2px 2px 0 #000;
  }
  /* Mobile bar adjustments */
  .mobile-bar {
    display: none;
    height: 80px; padding: 0 24px;
    align-items: center; justify-content: space-between;
  }
  .header-mobile-logo { height: 50px; image-rendering: pixelated; }
  .header-mobile-toggle {
    background: none; border: none;
    color: var(--text-white); font-size: 28px;
    cursor: pointer; padding: 12px;
    display: flex; align-items: center;
  }
  @media (max-width: 880px) {
    .mobile-bar { display: flex; }
    header nav {
      display: none; position: absolute;
      top: 100%; left: 0; right: 0;
      background: rgba(6,9,18,0.99);
      border-bottom: 3px solid #000;
      box-shadow: 0 12px 28px rgba(0,0,0,0.9);
      z-index: 300;
    }
    header.navigation-open nav { display: block; }
    header nav ul {
      flex-direction: column; height: auto;
      padding: 20px; gap: 8px; align-items: stretch;
    }
    header nav ul li a { padding: 14px 20px; font-size: 11px; }
    .header-logo-outer { display: none; }
    .header-cta-outer { margin-left: 0; }
    .header-cta { width: 100%; justify-content: center; }
  }

  /* ============================================================
     HERO — MINECRAFT BEACH SCENE (bigger elements)
  ============================================================ */
  .hero-section {
    min-height: 100vh; position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 120px 32px 160px;
    background: var(--night-deep);
  }
  /* Background image with blur + dark overlay */
  .hero-bg-img {
    position: absolute; inset: 0;
    background: url('../media/assets/background.jpg') center / cover no-repeat;
    filter: blur(6px);
    transform: scale(1.08);
  }
  .hero-bg-img::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.58);
    filter: none;
  }
  /* Content */
  .hero-content {
    position: relative; z-index: 5;
    display: flex; flex-direction: column;
    align-items: center; gap: 32px;
    text-align: center; max-width: 1080px;
  }
  .hero-logo-img {
    height: 110px;                 /* much bigger logo in hero */
    image-rendering: pixelated;
    filter: drop-shadow(0 8px 28px rgba(0,0,0,0.7));
  }
  .hero-title {
    font-family: var(--font-pixel);
    font-size: clamp(12px, 2.2vw, 16px);  /* bigger */
    color: var(--text-white);
    text-shadow: 4px 4px 0 rgba(0,0,0,0.8);
    line-height: 2; letter-spacing: 1.5px;
  }
  .hero-desc {
    font-family: var(--font-body);
    font-size: 1.25rem;          /* larger description */
    color: rgba(255,255,255,0.94);
    max-width: 700px;
    line-height: 1.8;
    background: rgba(0,0,0,0.5);
    padding: 24px 32px;
    border-left: 6px solid var(--accent-aqua);
    text-align: left;
  }
  /* Join panels */
  .hero-join-container {
    display: flex; gap: 28px;
    flex-wrap: wrap; justify-content: center;
  }
  .hero-join-panel {
    background: var(--night-panel);
    border: 4px solid #000;
    box-shadow:
      inset 3px 3px 0 var(--panel-hi),
      inset -3px -3px 0 var(--panel-sh),
      7px 7px 0 #000;
    padding: 32px 36px; min-width: 280px;
    text-align: center;
  }
  .hero-join-panel h3 {
    font-family: var(--font-pixel); font-size: 12px;
    color: var(--text-sand); text-shadow: 2px 2px 0 #000;
    margin-bottom: 18px; letter-spacing: 1px;
  }
  .hero-join-panel p {
    font-family: var(--font-body); font-size: 1rem;
    color: var(--text-muted); margin-bottom: 8px; line-height: 1.6;
  }
  .join-value {
    display: block;
    font-family: var(--font-vt); font-size: 36px;
    color: var(--accent-aqua); letter-spacing: 4px;
    margin: 14px 0 20px;
  }

  /* ============================================================
     MINECRAFT BUTTONS (bigger)
  ============================================================ */
  .mc-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 14px 26px;
    background: var(--btn-green);
    color: var(--text-white);
    font-family: var(--font-pixel); font-size: 10px;
    border: 3px solid #000;
    box-shadow:
      inset 2px 2px 0 rgba(255,255,255,0.3),
      inset -2px -2px 0 rgba(0,0,0,0.45),
      5px 5px 0 #000;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.8);
    cursor: pointer; letter-spacing: 0.8px;
    transition: background 0.1s, transform 0.1s;
  }
  .mc-btn:hover { background: var(--btn-green-hi); }
  .mc-btn:active {
    transform: translate(3px,3px);
    box-shadow:
      inset -2px -2px 0 rgba(255,255,255,0.15),
      inset 2px 2px 0 rgba(0,0,0,0.35),
      2px 2px 0 #000;
  }
  .mc-btn.success {
    background: #2A6C2A; pointer-events: none;
  }
  .mc-btn.discord-variant {
    background: #5865F2; font-size: 11px;
    padding: 18px 30px; width: 100%;
    justify-content: center;
  }
  .mc-btn.discord-variant:hover { background: #7289DA; }
  /* subtle red accent button */
  .mc-btn.red-accent {
    background: var(--btn-red);
    box-shadow: inset 2px 2px 0 rgba(255,100,80,0.3), inset -2px -2px 0 rgba(0,0,0,0.45), 5px 5px 0 #000;
  }
  .mc-btn.red-accent:hover { background: var(--btn-red-hi); }

  /* ============================================================
     PIXEL WAVE DIVIDERS
  ============================================================ */
  .divider { display: block; width: 100%; overflow: hidden; line-height: 0; }
  .divider svg { display: block; width: 100%; }

  /* ============================================================
     SECTION COMMONS (bigger spacing)
  ============================================================ */
  .s-headline {
    font-family: var(--font-pixel);
    font-size: clamp(14px, 2.5vw, 22px);
    text-align: center; text-shadow: 4px 4px 0 rgba(0,0,0,0.7);
    margin-bottom: 60px; display: inline-block;
    position: relative;
  }
  .s-headline::after {
    content: ''; display: block; width: 60%; height: 4px;
    background: var(--accent-aqua);
    margin: 16px auto 0;
    box-shadow: 0 2px 0 rgba(0,0,0,0.4);
  }
  .s-center { text-align: center; }

  .fade-up {
    opacity: 0; transform: translateY(36px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }
  .fade-up.in-view { opacity: 1; transform: translateY(0); }

  /* ============================================================
     FEATURES SECTION
  ============================================================ */
  .features-section {
    background: linear-gradient(to bottom, var(--sand-bright), var(--sand-dark));
    padding: 100px 32px 110px;
    position: relative;
  }
  .features-section .s-headline {
    color: var(--text-dark); text-shadow: 3px 3px 0 rgba(255,255,255,0.3);
  }
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px; max-width: 1280px; margin: 0 auto;
  }
  .feature-card {
    background: rgba(10, 16, 32, 0.94);
    border: 4px solid #000;
    box-shadow:
      inset 3px 3px 0 var(--panel-hi),
      inset -3px -3px 0 var(--panel-sh),
      7px 7px 0 rgba(0,0,0,0.5);
    padding: 0 0 28px 0;
    position: relative; overflow: hidden;
    transition: box-shadow 0.22s, transform 0.22s;
  }
  .feature-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(227,74,47,0.05) 0%, transparent 55%);
    pointer-events: none; z-index: 0;
  }
  .feature-card:hover {
    transform: translate(-3px,-4px);
    box-shadow:
      0 0 28px rgba(227,74,47,0.3),
      inset 3px 3px 0 var(--panel-hi),
      inset -3px -3px 0 var(--panel-sh),
      9px 9px 0 rgba(0,0,0,0.4);
  }
  .feature-img {
    width: 100%; height: 190px; object-fit: cover;
    image-rendering: pixelated;
    border-bottom: 3px solid #000;
    display: block; position: relative; z-index: 1;
  }
  .feature-body { padding: 24px 26px 0; position: relative; z-index: 1; }
  .feature-title {
    font-family: var(--font-pixel); font-size: 11px;
    color: var(--text-sand); text-shadow: 2px 2px 0 #000;
    margin-bottom: 14px; letter-spacing: 0.8px;
    display: flex; align-items: center; gap: 12px;
  }
  .feature-title::before {
    content: '▶';
    font-size: 10px; color: var(--accent-red);
    flex-shrink: 0;
  }
  .feature-desc {
    font-family: var(--font-body); font-size: 1rem;
    color: #9ABEDC; line-height: 1.7;
  }
  .feature-num {
    position: absolute; bottom: 12px; right: 18px;
    font-family: var(--font-vt); font-size: 40px;
    color: rgba(255,255,255,0.06);
    pointer-events: none; z-index: 0;
  }

  /* ============================================================
     REVIEWS SECTION (bigger)
  ============================================================ */
  .reviews-section {
    background: linear-gradient(to bottom, #B87E2A, #7A501A);
    padding: 100px 32px;
  }
  .reviews-section .s-headline { color: var(--text-white); }
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px,1fr));
    gap: 32px; max-width: 1100px; margin: 0 auto;
  }
  .review-card {
    background: rgba(8,14,30,0.92);
    border: 4px solid #000;
    box-shadow:
      inset 3px 3px 0 var(--panel-hi),
      inset -3px -3px 0 var(--panel-sh),
      7px 7px 0 rgba(0,0,0,0.5);
    padding: 32px;
  }
  .review-header {
    display: flex; align-items: center;
    gap: 18px; margin-bottom: 22px;
  }
  .review-avatar {
    width: 70px; height: 70px;
    border: 3px solid #222;
    image-rendering: pixelated; flex-shrink: 0;
    box-shadow: 3px 3px 0 #000;
  }
  .review-username {
    font-family: var(--font-vt); font-size: 30px;
    color: var(--text-white); flex: 1;
  }
  .review-stars {
    font-size: 20px; color: var(--accent-gold);
    text-shadow: 2px 2px 0 #000; flex-shrink: 0;
  }
  .review-text {
    font-family: var(--font-body); font-size: 1rem;
    color: #9ABEDC; line-height: 1.8; font-style: italic;
  }

  /* ============================================================
     TEAM SECTION
  ============================================================ */
  .team-section {
    background: linear-gradient(to bottom, #2E2E2E, #1A1A1A);
    padding: 100px 32px; position: relative;
  }
  .team-section::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(0,0,0,0.08) 20px, rgba(0,0,0,0.08) 21px),
      repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(0,0,0,0.05) 20px, rgba(0,0,0,0.05) 21px);
    pointer-events: none;
  }
  .team-section .s-headline {
    color: var(--text-sand); position: relative;
  }
  .team-grid {
    display: flex; flex-direction: column;
    gap: 36px; max-width: 960px; margin: 0 auto;
    position: relative;
  }
  .team-card {
    background: rgba(8,14,28,0.94);
    border: 4px solid #000;
    box-shadow:
      inset 3px 3px 0 var(--panel-hi),
      inset -3px -3px 0 var(--panel-sh),
      7px 7px 0 rgba(0,0,0,0.6);
    padding: 36px; display: flex; gap: 32px;
    align-items: flex-start;
  }
  .team-avatar {
    width: 130px; height: 130px; flex-shrink: 0;
    border: 4px solid #000; object-fit: cover;
    image-rendering: pixelated;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.5);
  }
  .team-info { flex: 1; }
  .team-badge {
    display: inline-block;
    font-family: var(--font-pixel); font-size: 10px;
    padding: 8px 16px; border: 2px solid #000;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.8);
    margin-bottom: 16px; letter-spacing: 0.8px;
    box-shadow: 3px 3px 0 #000;
  }
  .team-badge.owner {
    background: #7A1A1A; color: #FFBBBB;
    box-shadow: 3px 3px 0 #000, 0 0 14px rgba(200,50,50,0.3);
  }
  .team-badge.dev {
    background: #1A3A7A; color: #AACCFF;
    box-shadow: 3px 3px 0 #000, 0 0 14px rgba(50,80,200,0.3);
  }
  .team-name {
    font-family: var(--font-vt); font-size: 38px;
    color: var(--text-white); display: block;
    margin-bottom: 16px;
    transition: color 0.15s;
  }
  a.team-name:hover { color: var(--accent-red); }
  .team-desc {
    font-family: var(--font-body); font-size: 1rem;
    color: #9ABEDC; line-height: 1.75;
  }

  /* ============================================================
     DISCORD SECTION
  ============================================================ */
  .discord-section {
    background: linear-gradient(to bottom, #0A1528, #050B18);
    padding: 100px 32px; position: relative; overflow: hidden;
  }
  .discord-section::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(ellipse at 15% 60%, rgba(227,74,47,0.08) 0%, transparent 55%),
      radial-gradient(ellipse at 85% 40%, rgba(58,159,204,0.08) 0%, transparent 55%);
    pointer-events: none;
  }
  .bubble {
    position: absolute; border-radius: 0;
    background: rgba(227,74,47,0.1);
    border: 1px solid rgba(227,74,47,0.2);
    animation: bubbleRise linear infinite;
    pointer-events: none;
  }
  @keyframes bubbleRise {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.4; }
    100% { transform: translateY(-80vh) translateX(30px); opacity: 0; }
  }
  .discord-section .s-headline { color: var(--text-sand); position: relative; }
  .discord-inner {
    display: flex; gap: 64px; align-items: flex-start;
    max-width: 1200px; margin: 0 auto;
    flex-wrap: wrap; justify-content: center;
    position: relative;
  }
  .discord-widget-wrap { flex-shrink: 0; }
  .discord-widget {
    border: 4px solid #000; display: block;
    box-shadow:
      inset 3px 3px 0 var(--panel-hi),
      7px 7px 0 #000;
    width: 400px; height: 300px;
  }
  .discord-widget-note {
    font-family: var(--font-pixel); font-size: 8px;
    color: var(--text-muted); text-align: center;
    margin-top: 12px; letter-spacing: 0.8px;
  }
  .discord-features-wrap { flex: 1; min-width: 300px; }
  .discord-title {
    font-family: var(--font-pixel); font-size: 14px;
    color: var(--text-sand); text-shadow: 3px 3px 0 #000;
    margin-bottom: 32px; line-height: 1.9; letter-spacing: 0.8px;
  }
  .discord-feat-list {
    list-style: none; display: flex;
    flex-direction: column; gap: 18px; margin-bottom: 36px;
  }
  .discord-feat-list li {
    display: flex; align-items: center; gap: 16px;
    font-family: var(--font-body); font-size: 1.05rem; color: #9ABEDC;
  }
  .discord-feat-list li i { color: var(--accent-red); width: 20px; text-align: center; }
  .discord-more {
    font-family: var(--font-pixel); font-size: 9px;
    color: var(--text-muted); margin-bottom: 32px; letter-spacing: 0.8px;
  }
  .already-member {
    margin-top: 16px; text-align: center;
    font-family: var(--font-body); font-size: 0.95rem; color: var(--text-muted);
  }
  .already-member a { color: var(--accent-red); }
  .already-member a:hover { text-decoration: underline; }

  /* ============================================================
     RULES SECTION
  ============================================================ */
  .rules-section {
    background: linear-gradient(to bottom, #182408, #0E1606);
    padding: 100px 32px;
  }
  .rules-section .s-headline { color: var(--text-sand); }
  .rules-container { max-width: 1100px; margin: 0 auto; }
  .rules-tabs { display: flex; gap: 10px; margin-bottom: 0; flex-wrap: wrap; }
  .rules-tab-btn {
    background: #2A2A2A;
    border: 2px solid #000; border-bottom: 2px solid #000;
    color: #888888;
    font-family: var(--font-pixel); font-size: 10px;
    padding: 16px 24px; cursor: pointer;
    box-shadow: inset 2px 2px 0 rgba(255,255,255,0.08), 3px 3px 0 #000;
    transition: background 0.15s, color 0.15s;
    text-shadow: 1px 1px 0 #000; letter-spacing: 0.8px;
    position: relative; bottom: 0;
  }
  .rules-tab-btn.active {
    background: var(--btn-green); color: var(--text-white);
    box-shadow: inset 2px 2px 0 rgba(255,255,255,0.25), 3px 0 0 #000;
    border-bottom-color: var(--btn-green);
  }
  .rules-tab-btn:hover:not(.active) { background: #3A3A3A; color: #CCCCCC; }
  .rules-body {
    background: rgba(8,14,26,0.94);
    border: 4px solid #000;
    box-shadow:
      inset 3px 3px 0 var(--panel-hi),
      inset -3px -3px 0 var(--panel-sh),
      7px 7px 0 rgba(0,0,0,0.5);
    padding: 40px; display: none;
  }
  .rules-body.active { display: block; }
  .rule-entry {
    display: flex; gap: 24px; align-items: flex-start;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .rule-entry:last-child { border-bottom: none; }
  .rule-num {
    font-family: var(--font-pixel); font-size: 13px;
    color: var(--accent-red); text-shadow: 1px 1px 0 #000;
    min-width: 38px; flex-shrink: 0; margin-top: 2px;
  }
  .rule-entry h3 {
    font-family: var(--font-pixel); font-size: 11px;
    color: var(--text-sand); text-shadow: 2px 2px 0 #000;
    margin-bottom: 10px; letter-spacing: 0.8px;
  }
  .rule-entry p {
    font-family: var(--font-body); font-size: 1rem;
    color: #9ABEDC; line-height: 1.7;
  }
  .rules-hr { border: none; border-top: 3px solid rgba(255,255,255,0.12); margin: 32px 0; }
  .rules-special-title {
    font-family: var(--font-pixel); font-size: 11px;
    color: var(--accent-gold); text-shadow: 2px 2px 0 #000;
    margin-bottom: 18px; letter-spacing: 0.8px;
  }
  .rules-special-item {
    font-family: var(--font-body); font-size: 1rem;
    color: #9ABEDC; padding: 12px 0 12px 24px;
    border-left: 4px solid rgba(227,74,47,0.5);
    margin-bottom: 12px; line-height: 1.6;
  }

  /* ============================================================
     FOOTER
  ============================================================ */
  footer {
    background: #03050C;
    border-top: 4px solid #000;
    box-shadow: inset 0 3px 0 #0A1020;
    padding: 48px 32px; text-align: center;
  }
  .footer-links {
    display: flex; justify-content: center;
    flex-wrap: wrap; gap: 16px; margin-bottom: 32px;
  }
  .footer-link {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.12);
    font-family: var(--font-pixel); font-size: 10px;
    color: #88AACC; text-shadow: 2px 2px 0 #000;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.4);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
  }
  .footer-link:hover {
    background: rgba(227,74,47,0.15);
    color: var(--text-white);
    border-color: rgba(227,74,47,0.4);
  }
  .footer-copy {
    font-family: var(--font-pixel); font-size: 8px;
    color: rgba(255,255,255,0.3); letter-spacing: 0.8px; line-height: 2.2;
  }

  /* ============================================================
     DIALOG (bigger)
  ============================================================ */
  dialog {
    background: var(--night-panel); border: 4px solid #000;
    box-shadow: 8px 8px 0 #000;
    color: var(--text-white); padding: 40px; max-width: 520px; width: 90%;
  }
  dialog::backdrop { background: rgba(0,0,0,0.85); }
  dialog h1 {
    font-family: var(--font-pixel); font-size: 12px;
    color: var(--text-sand); text-shadow: 3px 3px 0 #000;
    margin-bottom: 22px; line-height: 2;
  }
  dialog p {
    font-family: var(--font-body); font-size: 1rem;
    color: #9ABEDC; line-height: 1.7; margin-bottom: 28px;
  }
  .dialog-close {
    float: right; margin-bottom: 16px;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 20px;
    background: #8C1C1C; border: 2px solid #000;
    box-shadow: 3px 3px 0 #000;
    color: white; font-family: var(--font-pixel); font-size: 10px;
    cursor: pointer; transition: background 0.15s;
  }
  .dialog-close:hover { background: #B02020; }

  /* ============================================================
     RESPONSIVE (adjust for larger base)
  ============================================================ */
  @media (max-width: 700px) {
    .hero-join-container { flex-direction: column; }
    .hero-join-panel { min-width: unset; width: 100%; }
    .discord-inner { flex-direction: column; align-items: center; }
    .team-card { flex-direction: column; }
    .team-avatar { width: 100px; height: 100px; }
    .features-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .hero-sun { right: 5%; width: 56px; height: 56px; top: 60px; }
    .hero-logo-img { height: 80px; }
    .rules-tabs { justify-content: center; }
    .rules-tab-btn { padding: 12px 18px; font-size: 8px; }
    .discord-widget { width: 100%; max-width: 380px; height: auto; min-height: 260px; }
  }