/* =========================
   HERO (Premium + Responsive)
   ========================= */

.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 920px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #07070a;
}

/* Background image (Option B logic) */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}

/* Item 4: Refined Hero Gradient (Reduced bottom darkness) */
/* .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(1000px 600px at 50% 45%, rgba(255, 193, 92, 0.08), transparent 60%),
        linear-gradient(to bottom, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.60) 100%);
    pointer-events: none;
    z-index: 1;
} */
 

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Layer 1: Warm Golden Highlight on the character */
    /* Layer 2: Deep Left-to-Right gradient to anchor the text */
    /* Layer 3: Subtle bottom vignette to blend into the background color */
    background: 
        radial-gradient(1000px 700px at 60% 40%, rgba(255, 193, 92, 0.10), transparent 70%),
        linear-gradient(to right, rgba(7, 7, 11, 0.90) 0%, rgba(7, 7, 11, 0.40) 50%, transparent 100%),
        linear-gradient(to bottom, transparent 70%, var(--bg) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Layout container */
.hero__inner {
  position: relative;
  z-index: 3;
  width: min(1160px, 100%);
  padding: clamp(24px, 5vw, 72px) clamp(16px, 4vw, 48px);
}

.hero__content {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.hero__title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0 0 16px;
  font-size: clamp(34px, 5.6vw, 78px);
  color: rgba(245, 236, 214, 0.98); 
  text-shadow: 0 0 18px rgba(255, 193, 92, 0.18), 0 0 42px rgba(255, 193, 92, 0.10);
}

.hero__subtitle {
  margin: 0 auto;
  max-width: 700px;
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}

.hero__buttons {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Item 5: Mobile Optimized Buttons */
.btn {
    min-height: 48px; /* Touch target optimization */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px; /* Horizontal breathing room */
    border-radius: 14px;
    font-weight: 650;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* Item 3: CA Fixes & High Contrast */
.hero__ca {
    margin-top: 28px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 193, 92, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.92);
    z-index: 5;
}

.hero__ca code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    color: rgba(255, 220, 160, 0.95); /* High contrast wheat gold */
    word-break: break-all;
    letter-spacing: 0.5px;
}

.hero__ca button {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__ca button:hover {
    background: rgba(255, 193, 92, 0.15);
    border-color: rgba(255, 193, 92, 0.45);
    color: var(--gold-2);
}

@media (max-width: 640px) {
    .hero__ca {
        padding: 10px 14px;
        max-width: 90%;
    }
    .hero__ca code {
        font-size: 10px;
    }
}


/* =========================
   ABOUT PAGE REFINEMENT
   ========================= */

.hero--about .hero__content {
    text-align: left;
    margin-inline: 0;
    max-width: 640px;
}

.hero--about .hero__subtitle {
    text-align: left;
    margin-inline: 0;
    line-height: 1.6;
}

.about-features-container {
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-header {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 18px;
    margin-bottom: 16px;
}

.about-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text);
    text-align: left;
}

.about-features i {
    color: var(--gold);
    font-size: 16px;
}

.about-hook {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(20px, 2.5vw, 26px);
    margin: 24px 0 32px;
    text-align: left;
}

.hero--about .hero__buttons {
    justify-content: flex-start;
}

/* Mobile Polish: Maintain Left Alignment */
@media (max-width: 900px) {
    .hero--about .hero__inner {
        padding-top: 120px; /* Space for fixed nav */
    }
    
    .hero--about .hero__content {
        max-width: 100%;
        padding-left: 10px; /* Slight gutter for edges */
    }

    .hero__title {
        font-size: 40px;
    }

    .about-hook {
        font-size: 22px;
    }
}

/* =========================
   COMMUNITY PAGE UI
   ========================= */

.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
    max-width: 900px;
    margin-inline: auto;
}

.community-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 193, 92, 0.05);
    border-color: rgba(255, 193, 92, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.community-icon {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(216, 178, 92, 0.3));
}

.community-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.community-info span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
}

@media (max-width: 900px) {
    .community-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .community-card {
        flex-direction: row;
        text-align: left;
        gap: 20px;
        padding: 20px;
    }

    .community-icon {
        margin-bottom: 0;
    }
}

/* =========================
   ROADMAP PAGE UI
   ========================= */

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
}

.roadmap-card {
    padding: 40px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    transition: transform 0.3s ease;
}

.roadmap-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 193, 92, 0.4);
}

.phase-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.roadmap-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
    color: #fff;
    margin-bottom: 24px;
}

.roadmap-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.roadmap-list li {
    font-size: 14px;
    color: var(--muted);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.roadmap-list li::before {
    content: "•";
    color: var(--gold);
    font-weight: 900;
}

/* Responsive Roadmap */
@media (max-width: 900px) {
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
    .roadmap-card {
        padding: 30px 20px;
    }
}

/* =========================
   GAME PAGE UI (Ref: game-ui.webp)
   ========================= */

.hero--game .hero__inner {
    padding-top: 140px;
}

.game-feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.game-feature-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.bullet-gold {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--gold);
    flex-shrink: 0;
}

/* Shooter Terminal Styling */
.game-terminal-wrap {
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow);
}

.terminal-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.terminal-dots {
    display: flex;
    gap: 8px;
}

.terminal-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.terminal-title {
    font-family: monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--muted);
}

@media (max-width: 900px) {
    .hero--game .hero__content {
        text-align: center !important;
        margin-inline: auto !important;
    }
    .game-feature-list li {
        justify-content: center;
        font-size: 15px;
    }
    .hero--game .hero__buttons {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 100dvh;
        padding-top: 100px;
    }

    .hero__bg {
        /* Focuses on the right side where the character sits in your 16:9 images */
        object-position: 80% center; 
        transform: scale(1.1); /* Extra zoom for impact */
    }

    .hero__title {
        font-size: 42px; /* Precision clamp */
        text-shadow: 0 4px 15px rgba(0,0,0,0.9);
    }

    .hero__ca {
        width: 100%;
        flex-direction: column;
        padding: 16px;
    }

    /* Stack buttons for easier thumb access */
    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        min-height: 52px; /* Slightly taller for mobile comfort */
    }
}

.mobile-nav-links a {
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
}

.mobile-nav-links a:hover, 
.mobile-nav-links a:active {
    color: var(--gold);
    padding-left: 10px;
}