/* ============================================
   Tamil Brothers Game Studio - Global Styles
   Inspired by elegant, cohesive Indian gaming aesthetics
   ============================================ */

:root {
    --primary-gold: #D4AF37;
    --primary-dark: #1a1614;
    --primary-burgundy: #6B2D2D;
    --accent-copper: #B87333;
    --accent-teal: #2C5F5D;
    
    --bg-primary: #0F0D0C;
    --bg-secondary: #1a1614;
    --bg-tertiary: #2d2622;
    --bg-card: #221e1a;
    
    --text-primary: #F5F1E8;
    --text-secondary: #C5BFB2;
    --text-muted: #8C857A;
    
    --border-color: #3d3630;
    --border-accent: #524940;
    
    --font-display: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* ============================================
   Reset & Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

html {
    scroll-behavior: smooth;
    cursor: none !important;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 18px;
    overflow-x: hidden;
    opacity: 0;
    animation: siteFade 1.2s ease forwards;
}

body:not(.torch-on) {
    cursor: none !important;
}

@keyframes siteFade {
    from { opacity: 0; background: black; }
    to   { opacity: 1; }
}

*, *:hover, a, button, .nav-link, .cta-button, .secondary-button, .logo-placeholder,
input, textarea, select, [role="button"], .image-placeholder,
.submit-button, .form-select {
    cursor: none !important;
}

button:active, .cta-button:active, .secondary-button:active,
.submit-button:active {
    cursor: none !important;
}

::selection {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 13, 12, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-medium);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Navbar logo image size */
.logo-section img {
    width: 70px !important;
    height: 70px !important;
    object-fit: contain;
}

.logo-placeholder {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-gold));
    border: 2px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
    position: relative;
    transition: var(--transition-medium);
}

.logo-placeholder::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-copper));
    opacity: 0;
    transition: var(--transition-medium);
    z-index: -1;
    filter: blur(8px);
}

.logo-placeholder:hover::before {
    opacity: 0.5;
}

.logo-placeholder.small {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-gold);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    transition: var(--transition-fast);
    cursor: none !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* ============================================
   Nav Dropdown
   ============================================ */

.nav-dropdown-wrap {
    position: relative;
}
.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 8, 7, 0.98);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    min-width: 220px;
    padding: 6px;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,175,55,0.08);
}
/* invisible bridge so moving cursor down to dropdown doesn't lose hover */
.nav-dropdown-wrap::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 14px;
}
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: rgba(10,8,7,0.98);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}
.nav-dropdown-wrap:hover .nav-dropdown {
    display: block;
}
.nav-drop-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}
.nav-drop-item:hover {
    background: rgba(212,175,55,0.07);
    border-color: rgba(212,175,55,0.18);
}
.nav-drop-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.nav-drop-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}
.nav-drop-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.nav-drop-name {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--primary-gold);
    text-transform: uppercase;
}
.nav-drop-sub {
    font-family: var(--font-display);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;

    padding-top: 220px;
    padding-bottom: 140px;
    padding-left: 40px;
    padding-right: 40px;

    background: 
        radial-gradient(ellipse at top, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(107, 45, 45, 0.15) 0%, transparent 50%),
        var(--bg-primary);

    overflow: hidden;
}

.hero-ornament {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid var(--border-color);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.hero-ornament-left {
    top: 10%;
    left: -150px;
    border-radius: 50%;
    transform: rotate(45deg);
}

.hero-ornament-right {
    bottom: 10%;
    right: -150px;
    border-radius: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-30px) rotate(65deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    padding-left: 60px;
    padding-right: 60px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* FIX: overflow changed from hidden to visible so the "T" serif is never clipped.
   The light-sweep ::after uses clip-path: inset(0) to self-contain its animation. */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: visible;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.studio-name {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.2vw, 6.2rem);
    letter-spacing: 0.16em;
    text-align: center;

    background: linear-gradient(90deg, #FFE566, #FFD700, #FFF0A0, #FFD700, #FFEC4F, #FFD700);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: goldFlow 8s linear infinite;

    filter: drop-shadow(0 0 8px rgba(255, 220, 50, 0.25));

    white-space: nowrap;

    /* Contain the gold shine sweep precisely over the text */
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* Gold shine — starts exactly at T, sweeps to S, snaps off */
.studio-name::after {
    content: "";
    position: absolute;
    top: -10%;
    left: -20%;
    width: 18%;
    height: 120%;
    background: linear-gradient(
        108deg,
        transparent 0%,
        transparent 10%,
        rgba(255, 210, 60, 0.05) 25%,
        rgba(255, 230, 100, 0.35) 38%,
        rgba(255, 250, 180, 0.82) 50%,
        rgba(255, 230, 100, 0.35) 62%,
        rgba(255, 210, 60, 0.05) 75%,
        transparent 90%,
        transparent 100%
    );
    transform: skewX(-14deg);
    animation: goldShine 5s cubic-bezier(0.35, 0, 0.65, 1) 2 forwards;
    pointer-events: none;
    mix-blend-mode: screen;
}

@keyframes goldShine {
    0%   { left: -20%; opacity: 1; }
    75%  { left: 108%;  opacity: 1; }
    76%  { left: 108%;  opacity: 0; }
    100% { left: 108%;  opacity: 0; }
}

@keyframes goldFlow {
    0%   { background-position: 0%; }
    100% { background-position: 200%; }
}

/* hero-title::after no longer used — shine is on studio-name directly */
.hero-title::after {
    display: none;
}


.tagline {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #e6dcc6;
    text-align: center;
    margin-top: 22px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.title-line {
    display: block;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-copper), var(--primary-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s ease-in-out 3;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-gold));
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--primary-gold);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    cursor: none !important;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.cta-button:hover::before { left: 100%; }

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition-fast);
}

.cta-button:hover .arrow-icon {
    transform: translateX(5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-10px); }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
}

/* ============================================
   Section Containers
   ============================================ */

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    position: relative;
    white-space: nowrap;
}

.section-title::after {
    content: "";
    display: block;
    width: 120px;
    height: 2px;
    margin: 10px 0;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
    animation: dividerGlow 3s ease-in-out 4;
}

.section-title.centered::after {
    margin: 10px auto;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

@keyframes dividerGlow {
    0%   { opacity: 0.3; width: 80px; }
    50%  { opacity: 1;   width: 140px; }
    100% { opacity: 0.3; width: 80px; }
}

.section-title.centered {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ============================================
   Studio Introduction
   ============================================ */

.studio-intro {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: var(--transition-fast);
}

.link-arrow {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}

.text-link:hover { gap: 0.8rem; }

.visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    padding: 3rem;
    position: relative;
}

.card-ornament {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 60px;
    height: 60px;
    border-top: 2px solid var(--primary-gold);
    border-left: 2px solid var(--primary-gold);
}

.visual-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.visual-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ============================================
   Featured Game
   ============================================ */

.featured-game {
    background: var(--bg-secondary);
}

.section-header {
    margin-bottom: 3rem;
}

.game-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 3rem 3rem;
    align-items: start;
}

.game-image-wrapper {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
}

.game-details {
    grid-column: 2;
    grid-row: 1;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    position: relative;
    z-index: 2;
    align-self: start;
    margin: 0;
    padding: 0;
}

.game-image-container {
    position: relative;
    overflow: hidden;
    cursor: none !important;
    transition: all 0.5s ease;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 5px 30px rgba(212, 175, 55, 0.2);
}

.game-image-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
}

.game-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.start-button-overlay {
    position: absolute !important;
    top: 50% !important;
    left: 70% !important;
    height: 120px !important;
    width: auto !important;
    z-index: 5;
    transform: translate(-50%, -50%) rotate(-12deg);
    transform-origin: top center;
    animation: swing 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes swing {
    0%   { transform: translate(-50%, -50%) rotate(-12deg); }
    50%  { transform: translate(-50%, -50%) rotate(12deg); }
    100% { transform: translate(-50%, -50%) rotate(-12deg); }
}

.image-placeholder {
    background: var(--bg-card);
    border: 2px dashed var(--border-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: 400px;
    transition: var(--transition-medium);
}

.image-placeholder:hover {
    border-color: var(--primary-gold);
    background: var(--bg-tertiary);
}

.game-title {
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--primary-gold);
    margin: 0;
    padding: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.15;
}

.game-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-top: 6px;
    max-width: 520px;
}

.game-features {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    border: 2px solid var(--primary-gold);
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border-right: 1px solid var(--primary-gold);
    text-align: center;
    transition: all 0.3s ease;
    min-height: 180px;
}

.feature-item:last-child { border-right: none; }

.feature-item:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    z-index: 1;
}

.feature-icon {
    font-size: 2.2rem;
    animation: floatUpDown 3s ease-in-out infinite;
}

.feature-item:nth-child(2) .feature-icon { animation-delay: 0.5s; }
.feature-item:nth-child(3) .feature-icon { animation-delay: 1s; }

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

.feature-item span {
    font-size: 1rem;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    color: var(--text-primary);
    text-transform: uppercase;
    font-weight: 600;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--primary-gold);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    align-self: flex-start;
    margin-top: 1rem;
}

.secondary-button:hover {
    background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-gold));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: 
        radial-gradient(ellipse at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%),
        linear-gradient(135deg, var(--primary-burgundy), var(--bg-primary));
    padding: 6rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(212, 175, 55, 0.03) 10px,
        rgba(212, 175, 55, 0.03) 20px
    );
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.cta-text {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-gold));
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-gold);
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-gold));
}

/* ============================================
   Page Header (for About & Games pages)
   ============================================ */

.page-header {
    padding: 10rem 3rem 6rem;
    text-align: center;
    background: 
        radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%),
        var(--bg-primary);
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.header-ornament {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 400px; height: 400px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    opacity: 0.2;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.header-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.page-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.page-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* ============================================
   Content Sections
   ============================================ */

.content-section { background: var(--bg-secondary); }

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.content-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
}

.content-text p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-medium);
}

.info-card:hover {
    border-color: var(--primary-gold);
    transform: translateX(5px);
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.info-value {
    font-size: 1.5rem;
    color: var(--primary-gold);
    font-weight: 500;
}

/* ============================================
   Vision Section
   ============================================ */

.vision-section { background: var(--bg-primary); }

.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.vision-card {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition-medium);
    position: relative;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    opacity: 0;
    transition: var(--transition-medium);
}

.vision-card:hover::before { opacity: 1; }
.vision-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
}

.vision-icon {
    width: 60px; height: 60px;
    margin: 0 auto 1.5rem;
    stroke: var(--primary-gold);
}

.vision-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.vision-card p { color: var(--text-secondary); line-height: 1.8; }

/* ============================================
   Philosophy Section
   ============================================ */

.philosophy-section { background: var(--bg-secondary); }

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.philosophy-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.philosophy-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--primary-gold);
    opacity: 0.3;
    line-height: 1;
}

.philosophy-item h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.philosophy-item p { color: var(--text-secondary); line-height: 1.8; }

/* ============================================
   Join Section
   ============================================ */

.join-section {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-tertiary));
    padding: 6rem 3rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.join-content { max-width: 700px; margin: 0 auto; }

.join-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.join-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* ============================================
   Games Page Specific
   ============================================ */

.games-section { background: var(--bg-secondary); }

.game-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    padding: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.feature-badge {
    position: absolute;
    top: 2rem; right: 2rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-burgundy);
    border: 1px solid var(--primary-gold);
}

.badge-text {
    color: var(--primary-gold);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.game-feature-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.game-feature-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.primary-image .image-placeholder,
.image-placeholder.large {
    min-height: 500px;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.thumbnail .image-placeholder {
    min-height: 150px;
    padding: 1rem;
}

.game-feature-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-feature-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--primary-gold);
}

.game-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-style: italic;
}

.game-meta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.meta-value {
    color: var(--primary-gold);
    font-weight: 500;
}

.game-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   Updates Section
   ============================================ */

.updates-section { margin: 4rem 0; }

.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.update-card {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    padding: 2rem;
    transition: var(--transition-medium);
}

.update-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

.update-date {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--primary-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.update-card h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.update-card p { color: var(--text-secondary); line-height: 1.7; }

/* ============================================
   Features Showcase
   ============================================ */

.features-showcase { margin: 4rem 0; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    padding: 2.5rem;
    transition: var(--transition-medium);
}

.feature-card:hover { border-color: var(--primary-gold); }

.feature-icon-large {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p { color: var(--text-secondary); line-height: 1.7; }

/* ============================================
   Newsletter Section
   ============================================ */

.newsletter-section {
    background: linear-gradient(135deg, var(--primary-burgundy), var(--bg-primary));
    padding: 6rem 3rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.newsletter-content { max-width: 600px; margin: 0 auto; }

.newsletter-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.newsletter-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.newsletter-input::placeholder { color: var(--text-muted); }

.newsletter-privacy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 3rem 2rem;
}

.footer-container { max-width: 1400px; margin: 0 auto; }

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    align-items: start;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin: 1rem 0 0.5rem;
}

.footer-brand p { color: var(--text-muted); font-size: 0.95rem; }

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 0.8rem; }

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-column a:hover { color: var(--primary-gold); }

.footer-bottom { text-align: center; }
.footer-bottom p { color: var(--text-muted); font-size: 0.9rem; }

/* ============================================
   Play Store Release Button
   ============================================ */

.playstore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.95rem 2rem;
    background: transparent;
    border: 1.5px solid #c0392b;
    color: #e8e0d8;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    cursor: none !important;
    box-shadow:
        0 0 10px rgba(192, 57, 43, 0.25),
        inset 0 0 12px rgba(192, 57, 43, 0.06);
}

.playstore-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(192, 57, 43, 0.0) 0%,
        rgba(192, 57, 43, 0.08) 100%
    );
    transition: opacity 0.35s ease;
    opacity: 0;
}

.playstore-btn:hover {
    border-color: #e74c3c;
    color: #fff;
    box-shadow:
        0 0 22px rgba(231, 76, 60, 0.45),
        0 0 6px rgba(231, 76, 60, 0.25),
        inset 0 0 20px rgba(192, 57, 43, 0.12);
    transform: translateY(-2px);
}

.playstore-btn:hover::before {
    opacity: 1;
}

.playstore-btn-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.playstore-btn span {
    position: relative;
    z-index: 1;
}

/* Subtle animated border glow */
@keyframes redPulse {
    0%, 100% {
        box-shadow:
            0 0 10px rgba(192, 57, 43, 0.25),
            inset 0 0 12px rgba(192, 57, 43, 0.06);
    }
    50% {
        box-shadow:
            0 0 18px rgba(192, 57, 43, 0.40),
            inset 0 0 18px rgba(192, 57, 43, 0.10);
    }
}

.playstore-btn {
    animation: redPulse 3s ease-in-out infinite;
}

.playstore-btn:hover {
    animation: none;
}


/* ============================================
   Social Links
   ============================================ */

.social-links { list-style: none; padding: 0; margin: 0; }

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.social-item:hover {
    color: var(--primary-gold);
    transform: translateX(6px);
}

.social-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: 0.3s;
}

.social-item:hover .social-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 6px gold);
}

/* ============================================
   Recruitment Application Form
   ============================================ */

.recruitment-section {
    background: 
        linear-gradient(135deg, rgba(107, 45, 45, 0.2) 0%, rgba(15, 13, 12, 0.9) 100%),
        var(--bg-secondary);
    padding: 6rem 3rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.recruitment-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    opacity: 0.1;
}

.recruitment-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.recruitment-header { text-align: center; margin-bottom: 4rem; }

.recruitment-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.recruitment-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.recruitment-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.application-form {
    background: var(--bg-card);
    border: 2px solid var(--border-accent);
    padding: 3rem;
    position: relative;
}

.application-form::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px;
    width: 80px; height: 80px;
    border-top: 3px solid var(--primary-gold);
    border-left: 3px solid var(--primary-gold);
}

.application-form::after {
    content: '';
    position: absolute;
    bottom: -2px; right: -2px;
    width: 80px; height: 80px;
    border-bottom: 3px solid var(--primary-gold);
    border-right: 3px solid var(--primary-gold);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.required-mark { color: var(--primary-gold); font-size: 1.2rem; }

.optional-mark {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-style: italic;
    font-family: var(--font-body);
}

.form-input,
.form-select,
.form-textarea {
    padding: 1rem 1.2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-accent);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-textarea {
    min-height: 150px;
    resize: vertical;
    font-family: var(--font-body);
    line-height: 1.6;
}

.form-select {
    cursor: none !important;
}

.form-helper {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.submit-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.3rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-gold));
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--primary-gold);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    cursor: none !important;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.submit-button:disabled { opacity: 0.6; cursor: none !important; }

.submit-button.success {
    background: linear-gradient(135deg, #2C5F5D, #1a3a38);
    border-color: #2C5F5D;
}

.submit-button.error {
    background: linear-gradient(135deg, #8B2D2D, #6B2D2D);
    border-color: #8B2D2D;
}

.form-status {
    padding: 1.5rem;
    margin-top: 2rem;
    display: none;
    border: 2px solid;
}

.form-status.success {
    background: rgba(44, 95, 93, 0.2);
    border-color: #2C5F5D;
    color: var(--text-primary);
    display: block;
}

.form-status.error {
    background: rgba(139, 45, 45, 0.2);
    border-color: #8B2D2D;
    color: var(--text-primary);
    display: block;
}

.status-icon { font-size: 1.5rem; margin-right: 0.8rem; }

.role-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.role-badge {
    padding: 0.6rem 1.2rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-accent);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.role-badge:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateY(-2px);
}

/* ============================================
   Page Fade Overlay
   ============================================ */

#pageFade {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: black;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    z-index: 99999;
}

/* ============================================
   Devil Fear AAA Horror Atmosphere
   ============================================ */

.devil-page::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 20%, rgba(120,0,0,0.08), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(60,0,0,0.08), transparent 60%);
    z-index: 0;
    animation: fogMove 20s linear infinite;
}

@keyframes fogMove {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-40px); }
    100% { transform: translateY(0); }
}

.devil-page .game-feature-title { position: relative; }

.devil-page .game-feature-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: -8px;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, #7a0000, transparent);
    opacity: 0.6;
}

.devil-page .main-showcase img { filter: brightness(0.9) contrast(1.05); }
.devil-page .feature-badge { animation: badgePulse 3s ease-in-out infinite; }

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 15px rgba(122, 0, 0, 0.2); }
    50%       { box-shadow: 0 0 30px rgba(122, 0, 0, 0.4); }
}

.devil-page .game-feature-card {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.devil-page .game-feature-card::before {
    content: "";
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, rgba(122, 0, 0, 0.1), transparent, rgba(122, 0, 0, 0.1));
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
    z-index: -1;
}

.devil-page .game-feature-card:hover::before { opacity: 1; }
.devil-page .update-card { transition: all 0.3s; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); }
.devil-page .update-card:hover { box-shadow: 0 10px 40px rgba(122, 0, 0, 0.2); }
.devil-page .feature-card { box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); transition: all 0.4s; }
.devil-page .feature-card:hover { box-shadow: 0 15px 50px rgba(58, 0, 0, 0.3); transform: translateY(-8px); }
.devil-page .cta-button { box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2); }
.devil-page .cta-button:hover { box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4); }
.devil-page .secondary-button:hover { box-shadow: 0 5px 25px rgba(212, 175, 55, 0.3); }

.devil-page .page-header {
    background: 
        radial-gradient(ellipse at center, rgba(58, 0, 0, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse at top right, rgba(122, 0, 0, 0.08) 0%, transparent 50%),
        var(--bg-primary);
}

.devil-page .newsletter-section {
    background: linear-gradient(135deg, rgba(107, 45, 45, 0.4), var(--bg-primary) 50%, rgba(15, 13, 12, 0.95));
    box-shadow: inset 0 10px 50px rgba(0, 0, 0, 0.5);
}

/* ============================================
   AAA Image Showcase (Devil Fear)
   ============================================ */

.main-showcase {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    max-height: 520px;
    height: auto;
    overflow: hidden;
    border: 1px solid #3a0000;
    background: black;
}

.main-showcase img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.6s, opacity 0.3s ease;
    filter: brightness(0.75) contrast(1.2);
}

.main-showcase:hover img {
    transform: scale(1.04);
    filter: brightness(0.9) contrast(1.25);
}

.img-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    cursor: none !important;
    user-select: none;
    transition: 0.3s;
    z-index: 10;
    line-height: 1;
    border: 1px solid rgba(122, 0, 0, 0.3);
}

.img-nav:hover {
    background: rgba(58, 0, 0, 0.8);
    border-color: rgba(122, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.img-nav.left  { left: 10px; }
.img-nav.right { right: 10px; }

.thumb-row {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.thumb-row img {
    width: 110px; height: 70px;
    object-fit: cover;
    cursor: none !important;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: 0.3s;
    filter: brightness(0.7) contrast(1.15);
}

.thumb-row img:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: brightness(0.9) contrast(1.25);
}

.active-thumb {
    opacity: 1 !important;
    border: 2px solid #7a0000 !important;
    box-shadow: 0 0 15px rgba(122, 0, 0, 0.4);
    filter: brightness(0.9) contrast(1.25) !important;
}

/* ============================================
   UV Flashlight Torch Effect
   ============================================ */

#torchOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: black;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity .25s;
    overflow: hidden;
}

body.torch-on #torchOverlay { opacity: 1; }

body.torch-on #torchOverlay {
    background:
        radial-gradient(
            circle 320px at var(--x,50%) var(--y,50%),
            rgba(140,185,255,0.50) 0%,
            rgba(90,140,255,0.20) 30%,
            rgba(0,0,0,0.97) 65%,
            black 100%
        );
}
/* ::after beam removed — was causing shadow bleed at screen edges */

/* ============================================
   Responsive — 1200px
   ============================================ */

@media (max-width: 1200px) {
    .intro-grid,
    .game-showcase,
    .content-grid,
    .game-feature-grid {
        grid-template-columns: 1fr;
    }
    .game-details { position: static; }
}

/* ============================================
   Responsive — 968px
   ============================================ */

@media (max-width: 968px) {
    .game-showcase {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .game-image-wrapper { grid-column: 1; grid-row: 1; }
    .game-details       { grid-column: 1; grid-row: 2; padding-top: 2rem; }
    .game-features      { grid-column: 1; grid-row: 3; grid-template-columns: 1fr; }

    .feature-item {
        border-right: none;
        border-bottom: 1px solid var(--primary-gold);
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        gap: 1.5rem;
    }
    .feature-item:last-child { border-bottom: none; }
    .feature-icon { font-size: 2rem; }

    .vision-grid,
    .philosophy-grid,
    .updates-grid,
    .features-grid { grid-template-columns: 1fr; }

    .nav-menu { gap: 1.5rem; }
    .footer-main { grid-template-columns: 1fr; }
}

/* ============================================
   Responsive — 768px (Mobile)
   ============================================ */

@media (max-width: 768px) {

    /* ── NAVBAR ── */
    .navbar { padding: 0; }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 16px;
        gap: 8px;
    }

    .brand-name { font-size: 1rem; }

    .nav-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 14px;
        font-size: 0.82rem;
        width: 100%;
        padding-bottom: 4px;
    }

    .nav-link { font-size: 0.82rem; letter-spacing: 0.03em; }

    /* ── HERO ── */
    .hero {
        align-items: flex-start;
        min-height: 100svh;
        padding-top: 150px;
        padding-bottom: 80px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
        padding: 0 8px;
        gap: 6px;
    }

    .studio-name {
        font-size: clamp(1.9rem, 8.5vw, 3rem);
        white-space: normal;
        word-break: break-word;
        letter-spacing: 0.12em;
        line-height: 1.25;
    }

    .tagline {
        font-size: 0.8rem;
        letter-spacing: 0.14em;
        margin-top: 14px;
        padding: 0 6px;
        line-height: 1.55;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 4px;
        margin-bottom: 2.2rem;
    }

    /* hide decorative ornaments to prevent overflow */
    .hero-ornament { display: none; }

    /* ── HERO CTA ── */
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    /* ── SCROLL INDICATOR ── */
    .scroll-indicator { display: none; }

    /* ── SECTIONS ── */
    .section-container { padding: 3rem 1rem; }
    .section-title { font-size: 1.6rem; white-space: normal; }
    .section-tag { font-size: 0.7rem; }

    /* ── STUDIO INTRO ── */
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .visual-card { padding: 2rem 1.5rem; }
    .visual-card h3 { font-size: 1.4rem; }

    /* ── FEATURED GAME ── */
    .game-showcase {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .game-image-wrapper,
    .game-details,
    .game-features {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .game-details {
        padding: 0;
        align-items: center;
        text-align: center;
    }

    .game-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .game-description {
        font-size: 0.95rem;
        text-align: center;
        max-width: 100%;
    }

    .start-button-overlay {
        left: 50% !important;
        top: 50% !important;
        height: 70px !important;
    }

    .secondary-button {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
        align-self: center;
    }

    /* features bar */
    .game-features {
        grid-template-columns: 1fr;
        border: 2px solid var(--primary-gold);
    }

    .feature-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 1.2rem;
        padding: 1.5rem 1.2rem;
        border-right: none;
        border-bottom: 1px solid var(--primary-gold);
        min-height: unset;
    }

    .feature-item:last-child { border-bottom: none; }

    /* ── CTA SECTION ── */
    .cta-section { padding: 4rem 1.2rem; }
    .cta-title { font-size: 1.9rem; }
    .cta-text { font-size: 1rem; }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button.primary,
    .cta-button.secondary {
        width: 100%;
        justify-content: center;
    }

    /* ── PAGE HEADER ── */
    .page-header { padding: 8rem 1.2rem 4rem; }
    .page-title { font-size: 2.2rem; }
    .page-subtitle { font-size: 0.9rem; }

    /* ── GAME FEATURE PAGE ── */
    .game-feature-card { padding: 18px; }
    .game-feature-grid { grid-template-columns: 1fr; gap: 20px; }
    .main-showcase { aspect-ratio: 16/9; height: auto; max-height: 240px; }
    .thumb-row { overflow-x: auto; padding-bottom: 6px; gap: 8px; }
    .thumb-row img { width: 75px; height: 50px; flex-shrink: 0; }
    .img-nav { font-size: 30px; padding: 6px 12px; }
    .game-feature-title { font-size: 2rem !important; text-align: center; }
    .game-subtitle { text-align: center; }
    .meta-item { justify-content: center; gap: 8px; }
    .game-actions { flex-direction: column; }

    /* ── JOIN / NEWSLETTER ── */
    .join-section { padding: 4rem 1.2rem; }
    .join-title { font-size: 2rem; }
    .newsletter-section { padding: 4rem 1.2rem; }
    .newsletter-title { font-size: 2rem; }
    .newsletter-text { font-size: 1rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-input { width: 100%; }

    /* ── FOOTER ── */
    .footer { padding: 3rem 1.2rem 2rem; }
    .footer-main { grid-template-columns: 1fr; gap: 2rem; }
    .footer-links { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand h3 { font-size: 1.2rem; }

    /* ── RECRUITMENT ── */
    .recruitment-section { padding: 4rem 1.5rem; }
    .recruitment-title { font-size: 2.5rem; }
    .application-form { padding: 2rem 1.5rem; }
    .form-actions { flex-direction: column; }
    .form-grid { gap: 1.5rem; grid-template-columns: 1fr; }

    /* ── UPDATES / FEATURES ── */
    .updates-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .update-card { padding: 1.5rem; }
}

/* ============================================
   Extra Small Phones — 380px
   ============================================ */

@media (max-width: 380px) {
    .studio-name {
        font-size: clamp(1.6rem, 7.5vw, 2.2rem);
        letter-spacing: 0.08em;
    }

    .nav-menu { gap: 8px 12px; }
    .nav-link { font-size: 0.75rem; }
    .hero { padding-top: 130px; }
    .game-title { font-size: 1.5rem; }
}
/* ============================================
   TB FM Bot — Complete Theme + Live Music Animations v3
   Navy Blue · Electric Blue · Gold
   ============================================ */

/* ── CSS Variables on :root so ALL elements inherit ── */
:root {
    --fm-bg-primary:   #050812;
    --fm-bg-secondary: #080e1c;
    --fm-bg-card:      #0c1428;
    --fm-blue:         #1E90FF;
    --fm-blue-bright:  #4FC3F7;
    --fm-border:       rgba(30,144,255,0.20);
    --fm-border-mid:   rgba(30,144,255,0.38);
}

body.fm-page { background: var(--fm-bg-primary) !important; }

/* ── All sections float above the music bg ── */
body.fm-page .navbar       { position: relative; z-index: 1000; }
body.fm-page section       { position: relative; z-index: 10; }
body.fm-page .cta-section  { position: relative; z-index: 10; }
body.fm-page footer.footer { position: relative; z-index: 10; }
body.fm-page #pageFade     { z-index: 99999; }

/* Sections semi-transparent so bg glows through */
body.fm-page .games-section    { background: rgba(8,14,28,0.65) !important; }
body.fm-page .cmd-section      { background: rgba(8,14,28,0.65) !important; }
body.fm-page section#shortcuts { background: rgba(5,8,18,0.85) !important; }
body.fm-page .cta-section      {
    background:
        radial-gradient(ellipse at center, rgba(30,144,255,0.10) 0%, transparent 65%),
        linear-gradient(135deg, rgba(6,13,31,0.92), rgba(5,8,18,0.92)) !important;
}
body.fm-page footer.footer {
    background: rgba(5,8,18,0.96) !important;
    border-top-color: var(--fm-border) !important;
}

/* ════════════════════════════════════════════
   MUSIC BACKGROUND CONTAINER
   ════════════════════════════════════════════ */
.fm-music-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* ════════════════════════════════════════════
   A. AMBIENT ORB GLOWS
   ════════════════════════════════════════════ */
.fm-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.fm-orb.orb-blue-left {
    width: 700px; height: 700px;
    top: -200px; left: -200px;
    background: radial-gradient(circle, rgba(30,144,255,0.18) 0%, transparent 65%);
    animation: orbBreath 10s ease-in-out infinite;
}
.fm-orb.orb-blue-right {
    width: 600px; height: 600px;
    bottom: -150px; right: -150px;
    background: radial-gradient(circle, rgba(79,195,247,0.14) 0%, transparent 65%);
    animation: orbBreath 14s ease-in-out infinite;
    animation-delay: -6s;
}
.fm-orb.orb-gold-center {
    width: 500px; height: 500px;
    top: 50%; left: 50%;
    margin: -250px 0 0 -250px;
    background: radial-gradient(circle, rgba(212,175,55,0.07) 0%, transparent 65%);
    animation: orbBreath 9s ease-in-out infinite;
    animation-delay: -3s;
}
@keyframes orbBreath {
    0%,100% { transform: scale(0.88);  opacity: 0.65; }
    50%      { transform: scale(1.18); opacity: 1; }
}

/* ════════════════════════════════════════════
   B. EQ BARS — colorful cityscape shape
      Each bar has its own color stop so bars
      have a rainbow tint like your banner's EQ
   ════════════════════════════════════════════ */
.fm-eq-bg {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 300px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    padding: 0 1%;
    opacity: 0.40;
}
.fm-eq-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    transform-origin: bottom center;
    animation: eqBeat var(--d,1s) ease-in-out infinite alternate;
    min-height: 6px;
}
/* Color groups — vivid spectrum like a real EQ */
.fm-eq-bar:nth-child(-n+6)   { background: linear-gradient(to top, #00BFFF, #4FC3F7); }
.fm-eq-bar:nth-child(n+7):nth-child(-n+12)  { background: linear-gradient(to top, #1E90FF, #7EB8FF); }
.fm-eq-bar:nth-child(n+13):nth-child(-n+18) { background: linear-gradient(to top, #7B2FBE, #B06FFF); }
.fm-eq-bar:nth-child(n+19):nth-child(-n+24) { background: linear-gradient(to top, #1E90FF, #00E5FF); }
.fm-eq-bar:nth-child(n+25):nth-child(-n+32) { background: linear-gradient(to top, #0056b3, #4FC3F7); }

/* Cityscape heights — tall peaks in the middle */
.fm-eq-bar:nth-child(1)  { height:20%; --d:.85s; animation-delay:-.10s }
.fm-eq-bar:nth-child(2)  { height:35%; --d:1.1s; animation-delay:-.30s }
.fm-eq-bar:nth-child(3)  { height:25%; --d:.75s; animation-delay:-.55s }
.fm-eq-bar:nth-child(4)  { height:50%; --d:1.3s; animation-delay:-.70s }
.fm-eq-bar:nth-child(5)  { height:40%; --d:.95s; animation-delay:-.20s }
.fm-eq-bar:nth-child(6)  { height:65%; --d:.70s; animation-delay:-.90s }
.fm-eq-bar:nth-child(7)  { height:55%; --d:1.2s; animation-delay:-.40s }
.fm-eq-bar:nth-child(8)  { height:80%; --d:.88s; animation-delay:-.65s }
.fm-eq-bar:nth-child(9)  { height:72%; --d:1.4s; animation-delay:-.15s }
.fm-eq-bar:nth-child(10) { height:90%; --d:.80s; animation-delay:-.80s }
.fm-eq-bar:nth-child(11) { height:85%; --d:1.1s; animation-delay:-.35s }
.fm-eq-bar:nth-child(12) { height:95%; --d:.65s; animation-delay:-.50s }
.fm-eq-bar:nth-child(13) { height:100%;--d:1.25s;animation-delay:-.25s }
.fm-eq-bar:nth-child(14) { height:95%; --d:1.0s; animation-delay:-.75s }
.fm-eq-bar:nth-child(15) { height:88%; --d:.92s; animation-delay:-.45s }
.fm-eq-bar:nth-child(16) { height:92%; --d:1.18s;animation-delay:-.88s }
.fm-eq-bar:nth-child(17) { height:98%; --d:.72s; animation-delay:-.12s }
.fm-eq-bar:nth-child(18) { height:90%; --d:1.35s;animation-delay:-.60s }
.fm-eq-bar:nth-child(19) { height:82%; --d:1.05s;animation-delay:-.32s }
.fm-eq-bar:nth-child(20) { height:88%; --d:.82s; animation-delay:-.52s }
.fm-eq-bar:nth-child(21) { height:75%; --d:1.15s;animation-delay:-.22s }
.fm-eq-bar:nth-child(22) { height:68%; --d:.90s; animation-delay:-.82s }
.fm-eq-bar:nth-child(23) { height:58%; --d:1.28s;animation-delay:-.42s }
.fm-eq-bar:nth-child(24) { height:50%; --d:.68s; animation-delay:-.72s }
.fm-eq-bar:nth-child(25) { height:42%; --d:1.22s;animation-delay:-.18s }
.fm-eq-bar:nth-child(26) { height:35%; --d:1.02s;animation-delay:-.38s }
.fm-eq-bar:nth-child(27) { height:28%; --d:.78s; animation-delay:-.58s }
.fm-eq-bar:nth-child(28) { height:44%; --d:1.38s;animation-delay:-.92s }
.fm-eq-bar:nth-child(29) { height:32%; --d:.72s; animation-delay:-.28s }
.fm-eq-bar:nth-child(30) { height:22%; --d:1.08s;animation-delay:-.48s }
.fm-eq-bar:nth-child(31) { height:30%; --d:.95s; animation-delay:-.68s }
.fm-eq-bar:nth-child(32) { height:18%; --d:1.32s;animation-delay:-.38s }

@keyframes eqBeat {
    0%   { transform: scaleY(0.08); }
    100% { transform: scaleY(1); }
}

/* ════════════════════════════════════════════
   E. SCATTERED PARTICLES — radiate in all directions
      Each particle has its own angle via transform
   ════════════════════════════════════════════ */
.fm-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.fm-particle {
    position: absolute;
    border-radius: 50%;
    animation: particleScatter var(--pt,8s) ease-in-out infinite;
    opacity: 0;
}
.fm-particle.blue {
    background: radial-gradient(circle, rgba(79,195,247,1), transparent 65%);
    box-shadow: 0 0 5px rgba(79,195,247,0.9);
}
.fm-particle.gold {
    background: radial-gradient(circle, rgba(240,192,64,1), transparent 65%);
    box-shadow: 0 0 5px rgba(240,192,64,0.9);
}
/* --tx/--ty set scatter direction per particle */
.fm-particle:nth-child(1)  {width:3px;height:3px;left:15%;top:70%;--pt:6s; animation-delay:-0.5s; --tx:40px;  --ty:-90px;  }
.fm-particle:nth-child(2)  {width:2px;height:2px;left:28%;top:60%;--pt:8s; animation-delay:-2.0s; --tx:-30px; --ty:-110px; }
.fm-particle:nth-child(3)  {width:4px;height:4px;left:42%;top:75%;--pt:5s; animation-delay:-4.0s; --tx:20px;  --ty:-80px;  }
.fm-particle:nth-child(4)  {width:2px;height:2px;left:55%;top:65%;--pt:9s; animation-delay:-1.5s; --tx:-50px; --ty:-100px; }
.fm-particle:nth-child(5)  {width:3px;height:3px;left:70%;top:72%;--pt:7s; animation-delay:-3.5s; --tx:35px;  --ty:-95px;  }
.fm-particle:nth-child(6)  {width:2px;height:2px;left:85%;top:68%;--pt:10s;animation-delay:-5.0s; --tx:-25px; --ty:-85px;  }
.fm-particle:nth-child(7)  {width:4px;height:4px;left:10%;top:45%;--pt:6s; animation-delay:-1.0s; --tx:60px;  --ty:-60px;  }
.fm-particle:nth-child(8)  {width:2px;height:2px;left:35%;top:40%;--pt:8s; animation-delay:-3.0s; --tx:-40px; --ty:-70px;  }
.fm-particle:nth-child(9)  {width:3px;height:3px;left:60%;top:50%;--pt:5s; animation-delay:-0.8s; --tx:30px;  --ty:-50px;  }
.fm-particle:nth-child(10) {width:2px;height:2px;left:78%;top:35%;--pt:11s;animation-delay:-2.5s; --tx:-55px; --ty:-40px;  }
.fm-particle:nth-child(11) {width:3px;height:3px;left:22%;top:30%;--pt:7s; animation-delay:-4.5s; --tx:45px;  --ty:-30px;  }
.fm-particle:nth-child(12) {width:2px;height:2px;left:48%;top:25%;--pt:6s; animation-delay:-6.0s; --tx:-35px; --ty:20px;   }
.fm-particle:nth-child(13) {width:4px;height:4px;left:72%;top:20%;--pt:8s; animation-delay:-1.8s; --tx:25px;  --ty:35px;   }
.fm-particle:nth-child(14) {width:2px;height:2px;left:90%;top:55%;--pt:5s; animation-delay:-3.8s; --tx:-60px; --ty:-75px;  }
.fm-particle:nth-child(15) {width:3px;height:3px;left: 5%;top:80%;--pt:9s; animation-delay:-5.5s; --tx:70px;  --ty:-55px;  }
.fm-particle:nth-child(16) {width:2px;height:2px;left:50%;top:85%;--pt:7s; animation-delay:-0.3s; --tx:-45px; --ty:-120px; }
.fm-particle:nth-child(17) {width:4px;height:4px;left:30%;top:15%;--pt:6s; animation-delay:-2.3s; --tx:55px;  --ty:50px;   }
.fm-particle:nth-child(18) {width:2px;height:2px;left:65%;top:90%;--pt:8s; animation-delay:-4.3s; --tx:-20px; --ty:-140px; }
.fm-particle:nth-child(19) {width:3px;height:3px;left:80%;top:10%;--pt:5s; animation-delay:-6.5s; --tx:30px;  --ty:60px;   }
.fm-particle:nth-child(20) {width:2px;height:2px;left:20%;top:90%;--pt:10s;animation-delay:-1.2s; --tx:-65px; --ty:-130px; }

@keyframes particleScatter {
    0%   { opacity:0;   transform: translate(0,0)                    scale(0.5); }
    15%  { opacity:0.9; }
    50%  { opacity:1;   transform: translate(var(--tx),var(--ty))    scale(1.4); }
    85%  { opacity:0.5; }
    100% { opacity:0;   transform: translate(calc(var(--tx)*1.6), calc(var(--ty)*1.6)) scale(0.3); }
}

/* ════════════════════════════════════════════
   NAVBAR + HERO + BUTTONS + CARDS (same as before)
   ════════════════════════════════════════════ */
body.fm-page .navbar {
    background: rgba(5,8,18,0.97) !important;
    border-bottom: 1px solid var(--fm-border) !important;
}
body.fm-page .hero-live-badge {
    background: rgba(30,144,255,0.10);
    border-color: var(--fm-border-mid);
    color: var(--fm-blue-bright);
}
body.fm-page .bot-icon-wrap {
    background: radial-gradient(circle, rgba(30,144,255,0.18), transparent 70%);
    border-color: var(--fm-border-mid);
    animation: fadeUp 0.7s 0.08s ease both, fmIconPulse 3s ease-in-out 0.8s infinite;
}
body.fm-page .bot-icon-wrap::before { border-color: rgba(30,144,255,0.28); }
@keyframes fmIconPulse {
    0%,100%{ box-shadow: 0 0 20px rgba(30,144,255,0.15), 0 0 0 1px rgba(30,144,255,0.22); }
    50%    { box-shadow: 0 0 55px rgba(30,144,255,0.40), 0 0 0 1px rgba(79,195,247,0.45); }
}
body.fm-page .bot-stats {
    border-color: var(--fm-border-mid);
    background: rgba(12,20,40,0.75);
    backdrop-filter: blur(8px);
}
body.fm-page .bot-stat { border-right-color: var(--fm-border); }

body.fm-page .cta-button,
body.fm-page .cta-button.primary {
    background: linear-gradient(135deg, #0a3a6e, #1E90FF) !important;
    border-color: #1E90FF !important;
}
body.fm-page .cta-button:hover { box-shadow: 0 10px 35px rgba(30,144,255,0.40) !important; }
body.fm-page .cta-button.secondary {
    background: transparent !important; border-color: #1E90FF !important; color: var(--fm-blue-bright) !important;
}
body.fm-page .cta-button.secondary:hover,
body.fm-page .secondary-button:hover {
    background: linear-gradient(135deg, #0a3a6e, #1E90FF) !important;
    color: #fff !important; box-shadow: 0 10px 30px rgba(30,144,255,0.35) !important;
}
body.fm-page .secondary-button { border-color: #1E90FF !important; color: var(--fm-blue-bright) !important; }

body.fm-page .feature-card,
body.fm-page .shortcut-card,
body.fm-page .eq-card {
    background: rgba(12,20,40,0.85) !important;
    border-color: rgba(30,144,255,0.22) !important;
}
body.fm-page .feature-card:hover,
body.fm-page .shortcut-card:hover,
body.fm-page .eq-card:hover {
    border-color: #1E90FF !important;
    box-shadow: 0 8px 30px rgba(30,144,255,0.25) !important;
    transform: translateY(-6px);
}
body.fm-page .feature-card:hover .feature-icon-large {
    filter: drop-shadow(0 0 10px rgba(79,195,247,0.7));
}
body.fm-page .section-tag {
    background: rgba(30,144,255,0.10) !important; border-color: #1E90FF !important; color: var(--fm-blue-bright) !important;
}
body.fm-page .sec-tag  { color: rgba(79,195,247,0.75) !important; }
body.fm-page .section-title::after { background: linear-gradient(90deg, #1E90FF, transparent) !important; }
body.fm-page .cmd-group-title { color: var(--fm-blue-bright) !important; }
body.fm-page .cmd-group-title::after { background: linear-gradient(to right, rgba(30,144,255,0.3), transparent) !important; }
body.fm-page .cmd-table tr:hover { background: rgba(30,144,255,0.05) !important; }
body.fm-page .footer-main { border-bottom-color: rgba(30,144,255,0.15) !important; }


/* ════════════════════════════════════════════
   SUBTLE GOLD HORIZON GLOW (replaces arc line)
   Just a soft glow at the hero bottom edge
   ════════════════════════════════════════════ */
/* bot-hero::before removed */

@keyframes horizonGlow {
    0%,100% { opacity: 0.5; }
    50%      { opacity: 1; }
}

/* Make EQ bars sit inside hero overflow only — not bleed into sections */
.fm-eq-bg {
    position: absolute !important;
    overflow: hidden !important;
    max-width: 100vw !important;
}

/* Prevent horizontal scroll from FM page elements */
body.fm-page {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}