:root {
    --bg-outer: #4d2b18;
    --bg-inner-top: #ff7426;
    --bg-inner-bottom: #c04206;
    --text-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.1);
}

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

html {
    background-color: #111111;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 45% 40%, #ffb03a 0%, #e35d0e 40%, #761d00 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

.page-content {
    padding-bottom: 5rem;
    flex: 1;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: fadeIn 1s ease-out;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 4rem;
    z-index: 2000;
    background: transparent;
    transition: transform 0.35s ease, background 0.35s ease;
}

.header.nav-hidden {
    transform: translateY(-100%);
}

.logo {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding-left: 1.5rem;
}

.logo a {
    color: #111111 !important;
    text-decoration: none;
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 0.3rem;
    list-style: none;
    background: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
}

.main-nav a {
    text-decoration: none;
    color: rgba(17, 17, 17, 0.7);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #111111;
    transform: translateY(-2px);
}

/* Nav social icons */
.nav-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 0.5rem;
    margin-left: auto;
}

.nav-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(17,17,17,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(17,17,17,0.75);
    transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s;
    text-decoration: none;
}

.nav-social a:hover {
    border-color: #111111;
    background: rgba(0,0,0,0.1);
    color: #111111;
    transform: translateY(-2px);
}

.nav-social a svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Social icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.3);
    color: #111111;
    text-decoration: none;
    background: rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-icon:hover {
    background: rgba(0,0,0,0.22);
    border-color: rgba(0,0,0,0.6);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 14px;
    height: 14px;
    display: block;
}

.btn-talk {
    background-color: transparent;
    color: #e35d0e;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.95rem;
    padding: 0.8rem 2.4rem;
    border-radius: 50px;
    border: 2px solid #111111;
    transition: color 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
    z-index: 1;
    letter-spacing: 1px;
}

.btn-talk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111111;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.8, 0, 0.2, 1);
    z-index: -1;
}

.btn-talk:hover {
    color: #e35d0e; /* Stays orange as requested */
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-talk:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 4rem 4rem 4rem;
    position: relative;
    z-index: 20; /* Sits above the hero image */
}

/* Attributes */
.hero-attributes {
    position: absolute;
    top: 35%; /* Shifted up so the bottom pill aligns nicely with the name */
    right: 4rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align to the right */
    gap: 1rem;
    z-index: 25; /* Above everything except text */
    animation: slideUp 1s ease-out 0.3s both;
}

.attribute-pill {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    width: fit-content;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: default;
    color: #111111;
}

.attribute-pill:hover {
    background: rgba(0, 0, 0, 0.25);
    transform: translateX(10px);
}

.dot {
    width: 6px;
    height: 6px;
    background-color: var(--text-white);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-title {
    position: absolute;
    top: 50%;
    left: 3rem; /* Shifted left as requested */
    transform: translateY(-50%);
    line-height: 0.85;
    animation: slideRightTitle 1s ease-out 0.5s both;
    z-index: 30; /* PLACED IN FRONT OF THE IMAGE */
}

.hero-title h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Reduced font size for better readability and portability */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0;
    color: #111111;
}

.hero-title .filled {
    color: #111111;
}

/* Image */
.hero-image-container {
    position: absolute;
    inset: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
    z-index: 15; /* overlaps text */
    animation: fadeInImage 1.5s ease-out 0.2s both;
}

.hero-img {
    height: 90vh;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    /* Removed drop-shadow to prevent it from creating dark halos along the straight cutoffs */
    
    /* Fade out both the right edge (the arm cutoff) AND the bottom edge with a much tighter gradient (last 5%) */
    -webkit-mask-image: linear-gradient(to right, black 95%, transparent 100%), linear-gradient(to bottom, black 95%, transparent 100%);
    -webkit-mask-composite: destination-in;
    mask-image: linear-gradient(to right, black 95%, transparent 100%), linear-gradient(to bottom, black 95%, transparent 100%);
    mask-composite: intersect;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRightTitle {
    from { opacity: 0; transform: translate(-30px, -50%); }
    to { opacity: 1; transform: translate(0, -50%); }
}

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

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



/* Responsive */
@media (max-width: 1024px) {
    .header {
        padding: 1.5rem 2rem;
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    .hero-image-container {
        width: 60%;
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }
    
    .site-wrapper {
        height: 100vh;
        border-radius: 0;
    }
    
    .hero-section {
        border-radius: 0;
        border: none;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title h1 {
        font-size: clamp(2rem, 8vw, 5rem);
    }
    
    .hero-image-container {
        height: 60%;
        width: 100%;
        right: 0;
    }
}

/* Content Sections */
.cta-sections {
    margin-top: 0;
}

.content-section {
    padding: 8rem 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cta-sections .content-section:nth-child(even) {
    background: rgba(0, 0, 0, 0.12);
}

.section-container {
    max-width: 900px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: #111111;
}

.section-desc {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    color: #111111;
}

.btn-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #111111;
    color: #e35d0e;
    border: none;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(227, 93, 14, 0.4);
    background-color: #1a1a1a;
}

.light-section {
    background-color: #ffffff;
    color: #1a1a1a;
}

.dark-section {
    background-color: #111111;
    color: #ffffff;
}

/* Flex layout for sections with images */
.section-content-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    text-align: left;
    width: 100%;
}

.section-content-flex .text-content,
.section-content-flex .image-content {
    min-width: 0;
}

.reverse-flex {
    flex-direction: row-reverse;
}

.section-content-flex .text-content {
    flex: 1;
}

.section-content-flex .image-content {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0,0,0,0.06);
}

.section-content-flex .image-content img {
    width: 100%;
    height: 520px;
    display: block;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    object-fit: cover;
    object-position: top center;
}

.wide-container {
    max-width: 1200px;
}

/* Drama Grid */
.drama-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.drama-card {
    text-align: left;
}

.drama-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.drama-card:hover img {
    transform: translateY(-5px);
}

.drama-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.drama-card p {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Gallery Preview */
.gallery-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.gallery-img {
    width: 30%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.center-img {
    width: 35%;
    transform: scale(1.05);
    opacity: 1;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.gallery-preview:hover .gallery-img {
    opacity: 0.5;
}

.gallery-preview .gallery-img:hover {
    opacity: 1;
    transform: scale(1.05);
    z-index: 3;
}

/* Fanclub Box */
.fanclub-box {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 4rem;
}

.fanclub-box h3 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 5px;
    margin-bottom: 1.5rem;
    color: #111111;
}

.perks-list {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    line-height: 2;
}

.perks-list li {
    opacity: 0.8;
}

/* Contact Info */
.contact-info {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}
/* OST Player (Floating) */
.ost-player {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 60px;
    padding: 0.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    min-width: 320px;
}

.ost-cover {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e35d0e;
    animation: rotate 10s linear infinite;
    animation-play-state: paused;
}

.ost-player.playing .ost-cover {
    animation-play-state: running;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ost-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ost-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
}

.ost-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ost-artist {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.ost-play-btn {
    background: #e35d0e;
    color: #111111;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.ost-play-btn:hover {
    transform: scale(1.1);
    background: #f06820;
}

@media (max-width: 768px) {
    .ost-player {
        right: 1rem;
        left: 1rem;
        bottom: 1rem;
        min-width: 0;
    }
}

/* Filmography Filters */
.filter-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #111111;
    color: #ffffff;
    border: 2px solid #111111;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    background: transparent;
    color: #111111;
}

.filter-btn.active {
    background: #e35d0e;
    color: #111111;
    border-color: #e35d0e;
}

.drama-card.hidden {
    display: none;
}

/* News Ticker */
.news-ticker {
    background: #111111;
    color: #e35d0e;
    overflow: hidden;
    white-space: nowrap;
    padding: 0.8rem 0;
    border-bottom: 2px solid rgba(227, 93, 14, 0.2);
    position: relative;
    z-index: 90;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 30s linear infinite;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ticker-sep {
    margin: 0 2rem;
    opacity: 0.5;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.news-ticker:hover .ticker-content {
    animation-play-state: paused;
}

/* Member Portal Mockup */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.portal-card {
    background: #111111;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(227, 93, 14, 0.1);
}

.portal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(227, 93, 14, 0.3);
}

.portal-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    opacity: 0.8;
}

.portal-card-content {
    padding: 2rem;
}

.portal-card h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portal-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-portal {
    color: #e35d0e;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.btn-portal:hover {
    border-color: #e35d0e;
}




/* Language Toggle */
.lang-toggle {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1px;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-right: 2rem;
    color: #111111;
}

.lang-toggle span {
    cursor: pointer;
    color: #111111;
    opacity: 0.45;
    transition: opacity 0.3s, color 0.3s;
}

.lang-toggle span.active {
    opacity: 1;
    color: #111111;
}

.lang-toggle span:hover {
    opacity: 0.75;
}

.lang-toggle .sep {
    cursor: default;
    opacity: 0.25;
}


/* ===== SITE FOOTER ===== */
.site-footer {
    background: #111111;
    color: #ffffff;
    padding: 5rem 4rem 3rem; /* Reduced bottom padding as floating nav is removed */
    margin-top: 0;
    border-top: 2px solid rgba(227, 93, 14, 0.15);
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .footer-logo {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 6px;
    color: #ffffff;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.2rem;
    text-decoration: none;
}

.footer-brand p {
    font-size: 0.82rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.45);
    max-width: 260px;
    font-weight: 500;
}

.footer-col h4 {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #e35d0e;
    margin-bottom: 1.4rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.footer-social a:hover {
    border-color: #e35d0e;
    color: #e35d0e;
    background: rgba(227, 93, 14, 0.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-tag {
    display: none;
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .site-footer {
        padding: 4rem 2rem 2rem;
    }
}

@media (max-width: 560px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* --- MOBILE OPTIMIZATION OVERRIDES --- */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2500;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: #111111;
    transition: all 0.3s ease;
    border-radius: 3px;
}

@media (max-width: 768px) {
    /* Header & Navigation */
    .header {
        padding: 1rem 1.5rem;
    }
    .hamburger {
        display: flex;
        margin-left: auto;
    }
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.8, 0, 0.2, 1);
        z-index: 2400;
        display: flex;
    }
    .main-nav.active {
        transform: translateY(0);
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        background: transparent;
    }
    .main-nav a {
        font-size: 1.5rem;
        padding: 0;
        color: #111111;
    }
    .nav-social {
        display: none;
    }
    .nav-social.active {
        display: flex;
        position: fixed;
        bottom: 3rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2400;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Hero Section */
    .hero-content {
        padding: 6rem 1.5rem 2rem 1.5rem;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }
    .hero-title {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-top: 4rem;
        animation: slideUp 1s ease-out both;
        z-index: 30;
    }
    .hero-attributes {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        align-items: center;
        margin-top: 2rem;
        gap: 0.8rem;
    }
    .attribute-pill {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    .hero-left-tag {
        position: relative;
        left: auto;
        bottom: auto;
        align-items: center;
        margin-top: 2rem;
        text-align: center;
    }
    .hero-img {
        height: 65vh;
        width: 100%;
        object-fit: contain;
        object-position: bottom;
        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%);
        mask-image: linear-gradient(to top, transparent 0%, black 15%);
    }
    
    /* Content Layouts */
    .section-content-flex {
        flex-direction: column !important;
        gap: 3rem;
        text-align: center;
    }
    .section-content-flex.reverse-flex {
        flex-direction: column !important;
    }
    .content-section {
        padding: 4rem 1.5rem;
    }
    .section-content-flex .image-content img {
        height: auto;
        aspect-ratio: 4/5;
        width: 100%;
    }
    
    .about-layout {
        flex-direction: column-reverse;
        gap: 3rem;
    }
    .about-image-col {
        position: relative;
        top: auto;
    }
    .about-image-col img {
        max-height: none;
    }
    
    /* Contact */
    .contact-layout {
        flex-direction: column;
        gap: 3rem;
    }
    .contact-form-box {
        padding: 2rem 1.5rem;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-brand .footer-logo {
        margin: 0 auto 1.2rem auto;
    }
    .footer-brand p {
        margin: 0 auto;
    }
    
    /* Misc */
    .ost-player {
        min-width: auto;
        padding: 0.4rem;
        bottom: 1rem;
        right: 1rem;
        border-radius: 50%;
    }
    .ost-info {
        display: none;
    }
    .page-content {
        padding: 6rem 1.5rem 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    .page-subtitle {
        font-size: 0.75rem;
    }
    .contact-intro {
        gap: 2rem;
    }
}

/* --- HEADER SCROLLED STATE --- */
.header.scrolled {
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled .logo a {
    color: #ffffff !important;
}

.header.scrolled .main-nav a {
    color: rgba(255, 255, 255, 0.8);
}

.header.scrolled .main-nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.header.scrolled .nav-social a {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.header.scrolled .nav-social a:hover {
    color: #111111;
    background: #ffffff;
    border-color: #ffffff;
}

.header.scrolled .lang-toggle span {
    color: rgba(255, 255, 255, 0.5);
}

.header.scrolled .lang-toggle span.active {
    color: #ffffff;
}

.header.scrolled .lang-toggle .sep {
    color: rgba(255, 255, 255, 0.2);
}

.header.scrolled .hamburger span {
    background: #ffffff;
}

@media (max-width: 768px) {
    .header.scrolled .main-nav {
        background: rgba(20, 20, 20, 0.98);
    }
}

/* --- HERO MOBILE FIXES: REMOVE OVERLAYS & HIDE TITLE --- */
@media (max-width: 768px) {
    .hero-section {
        height: auto !important;
        min-height: 100vh;
        overflow: visible !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 5rem;
    }
    
    .hero-title {
        display: none !important;
    }
    
    .hero-image-container {
        position: relative !important;
        height: 55vh !important;
        width: 100% !important;
        order: 1;
        inset: auto !important;
        margin-top: 0;
        pointer-events: auto; /* enable interactions if needed */
        z-index: 1;
    }
    
    .hero-img {
        height: 100% !important;
        width: 100% !important;
        object-fit: contain;
        object-position: bottom;
        /* Optionally soften or remove the aggressive mask for mobile since it doesn't overlap text anymore */
        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 5%) !important;
        mask-image: linear-gradient(to top, transparent 0%, black 5%) !important;
    }
    
    .hero-content {
        position: relative !important;
        order: 2;
        padding: 2rem 1.5rem 1rem 1.5rem !important;
        height: auto !important;
        z-index: 2;
    }
    
    .hero-attributes {
        position: relative !important;
        margin-top: 0 !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        align-items: center;
        gap: 1rem !important;
    }
    
    .hero-left-tag {
        position: relative !important;
        order: 3;
        left: auto !important;
        bottom: auto !important;
        text-align: center;
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
        padding: 0 1.5rem;
        z-index: 2;
    }
    
    .scroll-indicator {
        position: relative !important;
        order: 4;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 auto 3rem auto !important;
        z-index: 2;
    }
}

/* --- ABOUT PAGE MOBILE FIXES --- */
@media (max-width: 768px) {
    .about-layout {
        flex-direction: column-reverse !important;
        gap: 2rem !important;
    }
    .about-image-col {
        position: relative !important;
        top: auto !important;
        align-self: center !important;
        width: 100% !important;
        z-index: 1 !important;
    }
    .about-image-col img {
        max-height: 50vh !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
    }
    /* Contact page inline styles fix too just in case */
    .contact-layout {
        flex-direction: column !important;
    }
}

/* --- FANCLUB PAGE MOBILE FIXES --- */
@media (max-width: 768px) {
    .page-content {
        padding: 6rem 1.5rem 2rem !important;
    }
    .fanclub-hero {
        flex-direction: column !important;
        gap: 2rem !important;
        margin-bottom: 3rem !important;
    }
    .fanclub-hero-text {
        text-align: center !important;
    }
    .page-title {
        font-size: 2.8rem !important;
    }
    .perk-card {
        padding: 1.5rem !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.8rem !important;
    }
    .join-section {
        padding: 2.5rem 1.5rem !important;
        text-align: center !important;
        gap: 2rem !important;
    }
    .join-form {
        width: 100% !important;
    }
    .join-form form {
        width: 100% !important;
    }
    .join-form input, .join-form button {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   ACCESSIBILITY & UI SYSTEM UPGRADES (older demographics, screen readers & millennials+)
   ========================================================================== */

/* Skip Link style for keyboard navigators */
.skip-to-content {
    position: fixed;
    top: -100px;
    left: 20px;
    background: #e35d0e;
    color: #111111;
    padding: 0.8rem 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.72rem;
    border-radius: 4px;
    z-index: 999999;
    transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 30px rgba(227, 93, 14, 0.45);
    text-decoration: none;
}
.skip-to-content:focus {
    top: 20px;
    outline: 3px solid #ffffff;
}

/* Keyboard accessibility focus outlines */
a:focus, button:focus, input:focus, select:focus, textarea:focus, .lang-toggle span:focus {
    outline: 3px solid #e35d0e !important;
    outline-offset: 4px !important;
}

/* CSS variables for Font Scaling */
:root {
    --scale-factor: 1;
}

body {
    font-size: calc(1rem * var(--scale-factor)) !important;
}
.page-text, p, li, input, select, textarea, .section-desc, .timeline-desc, .perk-card p, .join-text p {
    font-size: calc(0.92rem * var(--scale-factor)) !important;
}
h1, .page-title {
    font-size: calc(2.4rem * var(--scale-factor)) !important;
}
h2, .section-title, .join-text h2 {
    font-size: calc(1.8rem * var(--scale-factor)) !important;
}
h3, h4, .timeline-title, .perk-card h4 {
    font-size: calc(1.1rem * var(--scale-factor)) !important;
}

/* Sizing Overrides */
body.font-large {
    --scale-factor: 1.15;
}
body.font-xlarge {
    --scale-factor: 1.30;
}

/* Pure Stark High Contrast Mode Override */
body.high-contrast {
    background: #000000 !important;
    background-image: none !important;
    color: #ffffff !important;
}
body.high-contrast * {
    background-color: transparent !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    text-shadow: none !important;
}
body.high-contrast a, 
body.high-contrast a *, 
body.high-contrast button, 
body.high-contrast button *,
body.high-contrast .btn-talk,
body.high-contrast .btn-cta,
body.high-contrast .submit-btn {
    color: #ffb700 !important;
    text-decoration: underline !important;
    border: 2px solid #ffffff !important;
    opacity: 1 !important;
}
body.high-contrast input, 
body.high-contrast select, 
body.high-contrast textarea {
    border: 2px solid #ffffff !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    opacity: 1 !important;
}
body.high-contrast .a11y-widget, 
body.high-contrast .a11y-widget * {
    background-color: #000000 !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}
body.high-contrast .a11y-btn.active {
    background: #ffffff !important;
    color: #000000 !important;
}

/* Floating Accessibility Control Widget */
.a11y-widget {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 99999;
}

.a11y-trigger {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.92);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    color: #e35d0e;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.a11y-trigger:hover {
    transform: scale(1.08) translateY(-2px);
    border-color: #e35d0e;
    box-shadow: 0 15px 35px rgba(227, 93, 14, 0.5);
}
.a11y-trigger svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.a11y-panel {
    position: absolute;
    bottom: 4rem;
    left: 0;
    width: 290px;
    background: rgba(17, 17, 17, 0.96);
    backdrop-filter: blur(25px);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
    display: none;
    flex-direction: column;
    gap: 1.4rem;
    animation: a11ySlideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.a11y-panel.active {
    display: flex;
}
@keyframes a11ySlideUp {
    from { opacity: 0; transform: translateY(15px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.a11y-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.7rem;
}
.a11y-header h3 {
    font-size: 0.8rem !important;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
}
.a11y-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.2s;
}
.a11y-close:hover {
    color: #ffffff;
}

.a11y-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.a11y-section label {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.a11y-options {
    display: flex;
    gap: 0.4rem;
}
.a11y-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.55rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.a11y-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}
.a11y-btn.active {
    background: #e35d0e;
    color: #111111;
    border-color: #e35d0e;
}

.a11y-toggle-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
}
.a11y-toggle-container span {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
}

/* Slider Toggle switch styling */
.a11y-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}
.a11y-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.a11y-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: .3s;
    border-radius: 34px;
}
.a11y-slider:before {
    position: absolute;
    content: "";
    height: 14px; width: 14px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
input:checked + .a11y-slider {
    background-color: #e35d0e;
}
input:checked + .a11y-slider:before {
    transform: translateX(20px);
}

@media (max-width: 900px) {
    .a11y-widget {
        bottom: 1.5rem;
        left: 1.5rem;
    }
    .a11y-panel {
        width: calc(100vw - 3rem);
        bottom: 4.5rem;
    }
}
