/* ==========================================================================
   Hwantastic Games - Mega Crit Inspired Web Application Stylesheet
   Theme: Dark Slate & Neon Cyberpunk (Fira Code / Outfit / Inter)
   ========================================================================== */

:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(18, 22, 31, 0.75);
    --bg-card-hover: rgba(26, 32, 45, 0.9);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-neon: rgba(79, 255, 219, 0.4);
    
    --neon-pink: #ff2a75;
    --neon-pink-glow: rgba(255, 42, 117, 0.5);
    --neon-cyan: #4fffdb;
    --neon-cyan-glow: rgba(79, 255, 219, 0.5);
    --neon-purple: #9d4edd;
    
    --steam-color: #171a21;
    --steam-accent: #66c0f4;
    --steam-gradient: linear-gradient(135deg, #171a21 0%, #2a475e 100%);
    --steam-btn-gradient: linear-gradient(90deg, #47bfff 0%, #1a9fff 100%);
    --discord-btn-gradient: linear-gradient(90deg, #5865f2 0%, #4752c4 100%);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Type system — shared with the games.
       Outfit is reserved for game titles; the studio logo uses Fira Code. */
    --font-logo: 'Fira Code', ui-monospace, monospace;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', ui-monospace, monospace;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body.megacrit-theme {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Section Common */
.section {
    padding: 90px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-header.center {
    text-align: center;
}

.section-tag-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(79, 255, 219, 0.1);
    border: 1px solid rgba(79, 255, 219, 0.3);
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
    color: var(--text-main);
    line-height: 1.2;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 8px;
    max-width: 600px;
}

/* Typography Helpers */
.neon-text {
    color: var(--neon-pink);
    text-shadow: 0 0 15px var(--neon-pink-glow);
}

.neon-text-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px var(--neon-cyan-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn-steam {
    background: var(--steam-btn-gradient);
    color: #fff;
    box-shadow: 0 0 20px rgba(26, 159, 255, 0.4);
}

.btn-steam:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(26, 159, 255, 0.8);
}

.btn-discord {
    background: var(--discord-btn-gradient);
    color: #fff;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.8);
}

.btn-glass {
    background: rgba(255, 42, 117, 0.15);
    color: #fff;
    border: 1px solid var(--neon-pink);
    box-shadow: 0 0 15px var(--neon-pink-glow);
}

.btn-glass:hover {
    background: var(--neon-pink);
    box-shadow: 0 0 25px var(--neon-pink);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-text {
    background: none;
    border: none;
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-text:hover {
    color: #fff;
    transform: translateX(4px);
}

.pulse-btn {
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(26, 159, 255, 0.4); }
    100% { box-shadow: 0 0 30px rgba(26, 159, 255, 0.9); }
}

/* Badge Tag */
.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 42, 117, 0.12);
    border: 1px solid rgba(255, 42, 117, 0.3);
    color: var(--neon-pink);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-pink);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-pink);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Mega Crit Style Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 12, 16, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.brand-logo:hover {
    opacity: 0.85;
}

/* Brand mark — three tiers, picked by the space available.
   Tier 1 (grid)  : width >= 120px and room for height   -> footer, presskit
   Tier 2 (wide)  : short and wide                       -> header, banners
   Tier 3 (icon)  : square under 120px                   -> favicon, avatars
   The <span class="logo-line"> text stays in the DOM for a11y/SEO and is
   visually hidden; the mark itself is the SVG. */
.brand-name.square-logo {
    position: relative;   /* anchors the visually-hidden text below */
    display: block;
    width: 169px;
    height: 32px;
    background: url("assets/brand/logo-horizontal.svg") no-repeat left center / contain;
    user-select: none;
}

.brand-name.square-logo .logo-line {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Footer has vertical room — use the primary card grid. */
.footer-brand .brand-name.square-logo {
    width: 108px;
    height: 88px;
    background-image: url("assets/brand/logo-primary.svg");
}

@media (max-width: 768px) {
    .brand-name.square-logo {
        width: 143px;
        height: 27px;
    }
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 36px;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 6px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--neon-cyan);
    background: rgba(79, 255, 219, 0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan-glow);
    border-radius: 2px;
}

.social-links-header {
    display: flex;
    list-style: none;
    gap: 14px;
    align-items: center;
    border-left: 1px solid var(--glass-border);
    padding-left: 24px;
}

.social-links-header a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links-header a:hover {
    color: var(--neon-pink);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mega Crit Hero Banner Section */
.hero-banner {
    position: relative;
    min-height: 88vh;
    padding-top: 100px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-key-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.85);
}

.hero-vignette-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 12, 16, 0.4) 0%, rgba(10, 12, 16, 0.95) 90%),
                linear-gradient(to bottom, rgba(10,12,16,0.5) 0%, transparent 40%, #0a0c10 100%);
}

.hero-content-inner {
    position: relative;
    z-index: 2;
    margin: auto;
    text-align: center;
}

.hero-center-box {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title-logo {
    max-width: 520px;
    width: 90%;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
    animation: floatingLogo 4s ease-in-out infinite alternate;
}

@keyframes floatingLogo {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-main);
    max-width: 680px;
    margin: 0 auto 32px auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats-bar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-pill {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(18, 22, 31, 0.85);
}

.stat-icon {
    font-size: 2rem;
    color: var(--neon-cyan);
}

.stat-pill strong {
    display: block;
    font-size: 1.4rem;
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.1;
}

.stat-pill span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Mega Crit Studio Intro Section */
.home-intro {
    background: #07080b;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 80px 0;
}

.intro-container {
    text-align: center;
    max-width: 900px;
}

.intro-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.1rem;
    color: var(--text-main);
    line-height: 1.35;
    margin-bottom: 16px;
}

.intro-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* Decks Showcase Section */
.decks-section {
    padding: 100px 0;
}

.deck-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.deck-tab-btn {
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.deck-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.deck-tab-btn.active {
    background: rgba(79, 255, 219, 0.15);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan-glow);
}

.deck-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    align-items: center;
}

.deck-tag {
    display: inline-block;
    color: var(--neon-pink);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.deck-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 16px;
}

.deck-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

.deck-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: var(--radius-sm);
}

.spec-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.spec-item strong {
    font-size: 0.95rem;
    color: var(--neon-cyan);
}

.deck-art-img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Gameplay Screenshots Gallery */
.gallery-section {
    padding: 90px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(79, 255, 219, 0.2);
    transform: translateY(-4px);
}

.gallery-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img-wrapper img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 16, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 1.8rem;
    color: var(--neon-cyan);
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.gallery-caption {
    padding: 16px 20px;
}

.gallery-caption h4 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.gallery-caption p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Lightbox Modal */
.lightbox-content {
    position: relative;
    max-width: 1100px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border-neon);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.lightbox-title {
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--neon-cyan);
    text-align: center;
}

/* Mega Crit Style News Section & Category Tag Pills */
.latest-news {
    padding: 70px 0;
}

.news-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}

.all-tags {
    margin-bottom: 20px;
}

.styled-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.styled-list li {
    margin: 0;
}

.styled-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
    background-color: #334155;
}

.styled-tag.active {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.styled-tag.styled-all { background-color: #f2f0c4; color: #1e293b; }
.styled-tag.styled-hwantastic { background-color: #6d95ac; color: #ffffff; }
.styled-tag.styled-hearts { background-color: #4fffdb; color: #0f172a; }
.styled-tag.styled-devlog { background-color: #b588e2; color: #ffffff; }

/* News Cards Container & Card (Mega Crit Style) */
.news-cards-container {
    background-color: rgba(15, 28, 36, 0.75);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 24px;
    margin-top: 15px;
    margin-bottom: 40px;
}

.news-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: var(--transition);
    padding: 16px;
    gap: 24px;
}

.news-card:last-child {
    margin-bottom: 0;
}

.news-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 8px 24px rgba(79, 255, 219, 0.15);
    transform: translateY(-2px);
}

.post-thumbnail {
    flex: 0 0 320px;
    width: 320px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.news-card:hover .post-thumbnail img {
    transform: scale(1.04);
}

.post-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.entry-header .tags {
    margin-bottom: 8px;
}

.entry-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.entry-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.entry-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

.entry-title a:hover {
    color: var(--neon-cyan);
}

.entry-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .news-card {
        flex-direction: column;
        padding: 12px;
        gap: 16px;
    }
    .post-thumbnail {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
}

/* Mega Crit Style Community Hub Section */
.community-section {
    padding: 80px 0;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.community-card {
    padding: 44px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.community-header-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.discord-card .community-header-icon { color: #5865f2; }
.steam-card .community-header-icon { color: var(--steam-accent); }

.community-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.community-card p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 440px;
    margin-bottom: 28px;
}

/* Contact & Support Section */
.support-section {
    padding: 90px 0;
}

.support-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px;
}

.support-info h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 16px 0;
}

.contact-methods {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--neon-cyan);
}

.contact-item strong {
    display: block;
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--neon-pink);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan-glow);
}

.btn-block {
    width: 100%;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 90%;
    max-width: 720px;
    max-height: 82vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--neon-pink);
}

/* Footer */
.site-footer {
    background: #050608;
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 0 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
}

.footer-brand p {
    color: var(--text-dim);
    max-width: 400px;
    margin-top: 12px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--neon-pink);
    color: #fff;
    border-color: var(--neon-pink);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .main-navigation {
        gap: 20px;
    }

    .hero-stats-bar {
        grid-template-columns: 1fr;
    }

    .deck-showcase,
    .community-grid,
    .support-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    .main-navigation.active {
        display: flex;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        height: calc(100vh - 65px);
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
    }

    .social-links-header {
        border-left: none;
        padding-left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title-logo {
        max-width: 320px;
    }

    .intro-title {
        font-size: 1.6rem;
    }

    .community-card, .support-wrapper {
        padding: 28px;
    }
}

/* ==========================================================================
   Tab Panel Switcher System
   ========================================================================== */
.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.tab-panel.active {
    display: block;
    animation: tabFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Press Kit Section — presskit() Layout
   ========================================================================== */
.presskit-section {
    padding: 90px 0;
}

.presskit-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 30px;
    align-items: start;
}

/* Sidebar */
.presskit-sidebar {
    padding: 28px;
    position: sticky;
    top: 90px;
}

.presskit-heading {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--neon-cyan);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.presskit-heading i {
    font-size: 0.95rem;
}

/* Factsheet Table */
.factsheet-table {
    width: 100%;
    border-collapse: collapse;
}

.factsheet-table th,
.factsheet-table td {
    text-align: left;
    padding: 8px 0;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
}

.factsheet-table th {
    color: var(--text-muted);
    font-weight: 600;
    width: 42%;
    padding-right: 12px;
    white-space: nowrap;
}

.factsheet-table td {
    color: var(--text-main);
    font-weight: 500;
}

.factsheet-table tr:last-child th,
.factsheet-table tr:last-child td {
    border-bottom: none;
}

/* Contact block */
.presskit-contact-block {
    font-size: 0.9rem;
}

.presskit-contact-block p {
    margin-bottom: 4px;
    color: var(--text-muted);
}

.presskit-contact-block a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: var(--transition);
}

.presskit-contact-block a:hover {
    color: #fff;
}

/* Links list */
.presskit-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.presskit-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.presskit-links a:hover {
    color: var(--neon-cyan);
    transform: translateX(4px);
}

.presskit-links a i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

/* Main content area */
.presskit-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.presskit-block {
    padding: 28px;
}

.presskit-block-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.65;
}

/* Logo grid */
.presskit-logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.presskit-logo-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    padding: 16px;
    text-align: center;
    transition: var(--transition);
}

.presskit-logo-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.presskit-logo-item img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 10px;
}

.presskit-logo-item span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dim);
    font-weight: 600;
}

/* Screenshots in presskit (compact grid) */
.presskit-block .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.presskit-block .gallery-item {
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.presskit-block .gallery-item:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 6px 20px rgba(79, 255, 219, 0.15);
    transform: translateY(-2px);
}

/* Trailer Video Player */
.presskit-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border-neon);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
    background: #000;
}

.presskit-video {
    width: 100%;
    height: auto;
    max-height: 540px;
    display: block;
    border-radius: var(--radius-md);
}

/* Preview key form */
.presskit-key-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.presskit-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.presskit-key-form .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.presskit-key-form .form-group input,
.presskit-key-form .form-group select,
.presskit-key-form .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.presskit-key-form .form-group input:focus,
.presskit-key-form .form-group select:focus,
.presskit-key-form .form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan-glow);
}

/* Custom File Upload Styling (100% English Across All Browsers/OS) */
.custom-file-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed var(--glass-border-neon);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.custom-file-upload:hover {
    border-color: var(--neon-cyan);
    background: rgba(79, 255, 219, 0.05);
}

.custom-file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.custom-file-btn {
    background: rgba(79, 255, 219, 0.15);
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    padding: 6px 14px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    pointer-events: none;
}

.custom-file-upload:hover .custom-file-btn {
    background: var(--neon-cyan);
    color: #07080b;
    box-shadow: 0 0 12px var(--neon-cyan-glow);
}

.file-name-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

/* Presskit responsive */
@media (max-width: 992px) {
    .presskit-layout {
        grid-template-columns: 1fr;
    }

    .presskit-sidebar {
        position: static;
    }

    .presskit-block .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .presskit-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .presskit-form-row {
        grid-template-columns: 1fr;
    }

    .presskit-block .gallery-grid {
        grid-template-columns: 1fr;
    }

    .presskit-logo-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   About Studio Profile & Origin Story Styles
   ========================================================================== */
.intro-desc {
    max-width: 680px;
    margin: 16px auto 0 auto;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.about-story-container {
    padding: 48px;
    margin-top: 36px;
}

.about-story-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.about-story-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-main);
}

.about-story-body p {
    margin-bottom: 22px;
    color: #e2e8f0;
}

.about-story-body p strong {
    color: var(--neon-cyan);
}

.about-highlight-box {
    background: rgba(79, 255, 219, 0.05);
    border-left: 4px solid var(--neon-cyan);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
    font-size: 1rem;
    color: #f1f5f9;
}

.album-showcase-card {
    background: rgba(10, 12, 16, 0.85);
    border: 1px solid var(--glass-border-neon);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(79, 255, 219, 0.15);
    transition: var(--transition);
}

.album-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(79, 255, 219, 0.25);
    border-color: var(--neon-cyan);
}

.album-image-wrapper {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.album-cover-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

.album-showcase-card:hover .album-cover-img {
    transform: scale(1.03);
}

.album-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 42, 117, 0.9);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.album-caption {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.album-subcaption {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-features-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.about-feature-card {
    padding: 30px;
    text-align: left;
    transition: var(--transition);
}

.about-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.about-feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.about-feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .about-story-layout {
        grid-template-columns: 1fr;
    }
    
    .album-showcase-card {
        max-width: 360px;
        margin: 0 auto 20px auto;
    }
    
    .about-story-container {
        padding: 28px;
    }
}


