/* ----------------------------------------------------------------------------------------
* Eraleas Landing Page - Custom Styles
* Using color scheme from custom.css
* Dark theme with constellation and star motifs
* ---------------------------------------------------------------------------------------- */

:root {
    --primary-color: #FFFFFF;
    --secondary-color: #150529;
    --text-color: #C5C5C7;
    --accent-color: #C42091;
    --accent-secondary-color: #6617CA;
    --black-color: #110422;
    --divider-color: #FFFFFF24;
    --default-font: "Didact Gothic", sans-serif;
    --accent-font: "Jost", sans-serif;
}

/* ----------------------------------------------------------------------------------------
* Custom Scrollbar - Pink/Purple Gradient
* Works in Chrome, Safari, and Firefox
* ---------------------------------------------------------------------------------------- */

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #C42091 rgba(17, 4, 34, 0.3);
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(17, 4, 34, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #C42091 0%, #6617CA 100%);
    border-radius: 10px;
    border: 2px solid rgba(17, 4, 34, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #d4269d 0%, #7419db 100%);
    border: 2px solid rgba(17, 4, 34, 0.5);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #e02ba9 0%, #8220ed 100%);
}

/* Horizontal scrollbar */
::-webkit-scrollbar-thumb:horizontal {
    background: linear-gradient(90deg, #C42091 0%, #6617CA 100%);
}

::-webkit-scrollbar-thumb:horizontal:hover {
    background: linear-gradient(90deg, #d4269d 0%, #7419db 100%);
}

::-webkit-scrollbar-thumb:horizontal:active {
    background: linear-gradient(90deg, #e02ba9 0%, #8220ed 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--default-font);
    font-size: 18px;
    color: var(--text-color);
    background: var(--black-color);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----------------------------------------------------------------------------------------
* Preloader
* ---------------------------------------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease 1.5s, visibility 0.5s ease 1.5s;
    pointer-events: none;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: url('../galaxy/images/stars-sky.png') center/cover no-repeat;
    transition: none;
}

.preloader-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 4, 34, 0.7);
    z-index: 0.5;
    pointer-events: none;
}

.preloader::before {
    display: none;
}

.preloader.expand::before {
    display: none;
}

#preloader-canvas {
    display: none;
}

.portal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    pointer-events: none;
}

.portal {
    width: 400px;
    height: 400px;
    position: relative;
    margin: 0 auto 2rem;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    border: 4px solid var(--accent-secondary-color);
    box-shadow: 
        0 0 30px rgba(102, 23, 202, 0.8),
        0 0 60px rgba(102, 23, 202, 0.6),
        0 0 90px rgba(196, 32, 145, 0.4),
        inset 0 0 30px rgba(102, 23, 202, 0.2),
        0 20px 60px rgba(102, 23, 202, 0.4);
    animation: none;
    z-index: 3;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Only animate after page loads */
.preloader:not(.expand) .portal {
    animation: morphPortalShape 8s ease-in-out infinite, portalGlowPurple 3s ease-in-out infinite;
}

.portal-text {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--accent-font);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--accent-secondary-color), var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: gradientShift 8s ease infinite;
    position: relative;
    z-index: 10;
    text-align: center;
    pointer-events: none;
    transition: opacity 0.8s ease;
}

.preloader.ready .portal-text {
    opacity: 0;
}

.portal::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: url('../images/background.png') center/cover no-repeat;
    z-index: -2;
    opacity: 0.6;
    pointer-events: none;
    border-radius: inherit;
}

.portal::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: rgba(17, 4, 34, 0.4);
    z-index: -1;
    pointer-events: none;
    border-radius: inherit;
    transition: opacity 0.8s ease;
}

.preloader.ready .portal::after {
    opacity: 0;
}

@keyframes portalGradientMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.9;
    }
    33% {
        transform: translate(3%, -3%) scale(1.02);
        opacity: 1;
    }
    66% {
        transform: translate(-3%, 3%) scale(1.02);
        opacity: 0.95;
    }
}

@keyframes portalShimmer {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.7;
    }
    50% {
        background-position: 100% 50%;
        opacity: 1;
    }
}

.preloader.ready .portal::before,
.preloader.ready .portal::after {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.preloader.ready .portal {
    animation: morphPortalShape 12s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite, portalGlowPurple 4s ease-in-out infinite;
}

.portal-ring {
    display: none;
}

.portal-center {
    display: none;
}

.portal-icon {
    display: none;
}

.loading-text {
    color: var(--primary-color);
    font-family: var(--accent-font);
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textPulse 1.5s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(196, 32, 145, 0.5);
}

@keyframes morphPortalShape {
    0%, 100% { 
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; 
    }
    50% { 
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; 
    }
}

@keyframes portalGlowPurple {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(102, 23, 202, 0.8),
            0 0 60px rgba(102, 23, 202, 0.6),
            0 0 90px rgba(196, 32, 145, 0.4),
            inset 0 0 30px rgba(102, 23, 202, 0.2),
            0 20px 60px rgba(102, 23, 202, 0.4);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(102, 23, 202, 1),
            0 0 80px rgba(102, 23, 202, 0.8),
            0 0 120px rgba(196, 32, 145, 0.6),
            inset 0 0 40px rgba(102, 23, 202, 0.3),
            0 25px 70px rgba(102, 23, 202, 0.5);
    }
}

@keyframes textPulse {
    0%, 100% { 
        opacity: 0.8;
        text-shadow: 0 0 20px rgba(196, 32, 145, 0.5);
    }
    50% { 
        opacity: 1;
        text-shadow: 0 0 30px rgba(196, 32, 145, 0.8), 0 0 50px rgba(102, 23, 202, 0.6);
    }
}

.preloader.expand .portal {
    animation: portalExpand 1.2s ease-out forwards;
}

.preloader.expand .preloader-background {
    animation: backgroundFadeOut 1.2s ease-out forwards;
}

.preloader.expand .loading-text {
    animation: textFadeOut 0.3s ease-out forwards;
}

@keyframes portalExpand {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    100% { 
        transform: scale(20);
        opacity: 0;
        border-radius: 50%;
    }
}

@keyframes backgroundFadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes textFadeOut {
    0% { 
        opacity: 1;
        transform: translateY(0);
    }
    100% { 
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Note: Starfield is now handled by galaxy/js/background.js */

/* ----------------------------------------------------------------------------------------
* Constellation Overlay
* ---------------------------------------------------------------------------------------- */
.constellation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.3;
}

.constellation {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0;
    animation: fadeInOut 20s ease-in-out infinite;
}

.dice-constellation {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.castle-constellation {
    top: 60%;
    right: 15%;
    animation-delay: 10s;
}

.constellation .star {
    fill: var(--primary-color);
    filter: drop-shadow(0 0 4px var(--accent-color));
}

.constellation .star.bright {
    fill: var(--accent-color);
    filter: drop-shadow(0 0 8px var(--accent-color));
}

.constellation-line {
    stroke: var(--accent-secondary-color);
    stroke-width: 1;
    opacity: 0.6;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 3s ease-out forwards;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 0.3; }
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* ----------------------------------------------------------------------------------------
* Navigation
* ---------------------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: linear-gradient(145deg, rgba(21, 5, 41, 0.85), rgba(17, 4, 34, 0.95));
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(196, 32, 145, 0.3);
    padding: 0.75rem 2rem;
    padding-left: 2.5rem;
    transition: all 0.3s ease;
    border-radius: 50px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(196, 32, 145, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: fit-content;
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(196, 32, 145, 0.4), rgba(102, 23, 202, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.navbar.scrolled {
    top: 1rem;
    background: linear-gradient(145deg, rgba(21, 5, 41, 0.95), rgba(17, 4, 34, 1));
    border-color: rgba(196, 32, 145, 0.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6), 
        0 0 30px rgba(196, 32, 145, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    margin-left: -1.5rem;
    padding-left: 0;
}

.logo-image {
    height: 60px;
    width: 60px;
    display: block;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.logo-text {
    font-family: var(--accent-font);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partner-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary-color));
    color: var(--primary-color);
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary-color));
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 32, 145, 0.3);
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 32, 145, 0.5);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
}

.mobile-menu-toggle .logo-image {
    height: 45px;
    width: auto;
}

.mobile-menu-toggle .logo-text {
    font-family: var(--accent-font);
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--accent-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ----------------------------------------------------------------------------------------
* Hero Section
* ---------------------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem 2rem 2rem !important;
    z-index: 10;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.greeting {
    display: block;
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-family: var(--default-font);
}

.name {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--accent-font);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--accent-secondary-color), var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary-color));
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(196, 32, 145, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(196, 32, 145, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Hero Footer */
.hero-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: left;
}

.hero-footer p {
    color: var(--text-color);
    opacity: 0.7;
    margin: 0;
    font-size: 0.95rem;
}

.hero-footer .footer-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.hero-footer .footer-link:hover {
    color: var(--accent-secondary-color);
    text-shadow: 0 0 8px rgba(196, 32, 145, 0.6);
}

/* Hero Image / Stream Preview Card */
.hero-image {
    position: relative;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.floating-card {
    position: relative;
    background: linear-gradient(145deg, rgba(21, 5, 41, 0.8), rgba(17, 4, 34, 0.9));
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--divider-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: gentleFloat 6s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary-color));
    border-radius: 20px;
    opacity: 0.3;
    filter: blur(15px);
    z-index: -1;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.status-text {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.twitch-embed {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 35% 65% 60% 40% / 45% 55% 45% 55%;
    aspect-ratio: 16 / 9;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
    border: 4px solid var(--accent-color);
    box-shadow: 
        0 0 30px rgba(196, 32, 145, 0.8),
        0 0 60px rgba(196, 32, 145, 0.6),
        0 0 90px rgba(102, 23, 202, 0.4),
        inset 0 0 30px rgba(196, 32, 145, 0.2),
        0 20px 60px rgba(196, 32, 145, 0.4);
    animation: morphTwitchPortal 10s ease-in-out infinite, portalGlow 3s ease-in-out infinite;
}

@keyframes portalGlow {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(196, 32, 145, 0.8),
            0 0 60px rgba(196, 32, 145, 0.6),
            0 0 90px rgba(102, 23, 202, 0.4),
            inset 0 0 30px rgba(196, 32, 145, 0.2),
            0 20px 60px rgba(196, 32, 145, 0.4);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(196, 32, 145, 1),
            0 0 80px rgba(196, 32, 145, 0.8),
            0 0 120px rgba(102, 23, 202, 0.6),
            inset 0 0 40px rgba(196, 32, 145, 0.3),
            0 20px 80px rgba(196, 32, 145, 0.6);
    }
}

@keyframes morphTwitchPortal {
    0%, 100% { 
        border-radius: 35% 65% 60% 40% / 45% 55% 45% 55%;
    }
    33% { 
        border-radius: 60% 40% 35% 65% / 55% 45% 55% 45%;
    }
    66% { 
        border-radius: 45% 55% 50% 50% / 65% 35% 60% 40%;
    }
}

.twitch-embed iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    animation: portalContentFloat 6s ease-in-out infinite;
}

.twitch-cta {
    text-align: center;
}

.twitch-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.twitch-cta a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.viewer-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: scrollDown 2s ease-in-out infinite;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    50% { opacity: 0.8; box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
}

@keyframes scrollDown {
    0% { top: 10px; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* ----------------------------------------------------------------------------------------
* Section Styles
* ---------------------------------------------------------------------------------------- */
section {
    position: relative;
    padding: 6rem 2rem;
    z-index: 10;
}

/* Hero section needs special padding to center properly */
section.hero,
.hero.section-content {
    padding: 0 2rem !important;
}

section::before {
    content: '✦';
    position: absolute;
    top: 10%;
    right: 5%;
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

section::after {
    content: '★';
    position: absolute;
    bottom: 15%;
    left: 8%;
    font-size: 2rem;
    color: var(--accent-secondary-color);
    opacity: 0.15;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--accent-font);
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--accent-secondary-color), var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: gradientShift 8s ease infinite;
    position: relative;
    display: inline-block;
    padding: 0.75rem 2.5rem;
}

.section-title::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(21, 5, 41, 0.7), rgba(17, 4, 34, 0.8));
    border-radius: 50px;
    border: 1px solid rgba(196, 32, 145, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(196, 32, 145, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: -1;
}

.section-title::after {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 170px;
    height: 170px;
    background-image: url('../images/kai_overlook.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 10;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.about .section-title::after {
    background-image: url('../images/kai_love.png');
}

.meet-kai .section-title::after {
    background-image: url('../images/kai_shy.png');
}

.eldareth .section-title::after {
    background-image: url('../images/kai_magic.png');
}

.schedule .section-title::after {
    background-image: url('../images/kai_shock.png');
}

.community .section-title::after {
    background-image: url('../images/kai_stars.png');
}

@keyframes kaiPeek {
    0%, 100% { 
        transform: translateY(0);
    }
    50% { 
        transform: translateY(-5px);
    }
}

/* ----------------------------------------------------------------------------------------
* About Section
* ---------------------------------------------------------------------------------------- */
.about {
    background: linear-gradient(180deg, transparent, rgba(21, 5, 41, 0.3), transparent);
    overflow: hidden;
}

.about-main {
    display: block;
    margin-bottom: 4rem;
    position: relative;
}

.about-main::after {
    content: '';
    display: table;
    clear: both;
}

.about-image-container {
    float: right;
    width: 45%;
    margin-left: 3rem;
    margin-bottom: 2rem;
    position: relative;
    transform: rotate(-3deg);
    --base-rotation: -3deg;
}

.about-text h3 {
    font-family: var(--accent-font);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--accent-secondary-color), var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    line-height: 1.2;
    animation: gradientShift 8s ease infinite;
}

.about-text h4 {
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--accent-font);
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.about-text h3::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--accent-color);
    font-size: 1rem;
    opacity: 0.8;
    text-shadow: 0 0 10px var(--accent-color);
    transform-origin: center;
    animation: orbitClockwise 15s linear infinite;
}

.about-text h3::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--accent-secondary-color);
    font-size: 0.8rem;
    opacity: 0.8;
    text-shadow: 0 0 10px var(--accent-secondary-color);
    transform-origin: center;
    animation: orbitCounterClockwise 18s linear infinite;
}

.about-text p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-text p:last-of-type {
    margin-bottom: 0;
}

.about-text strong {
    font-weight: 600;
}

.about-text em {
    color: var(--accent-secondary-color);
    font-style: italic;
}

/* About Section - Expandable Content */
.about-preview {
    position: relative;
    overflow: visible;
}

.about-expandable {
    max-height: 0;
    overflow: visible; /* Changed from hidden to visible to allow text wrapping */
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-expandable.expanded {
    max-height: 2000px;
}

.about-expandable-content {
    padding-top: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
    pointer-events: none; /* Prevent interaction when collapsed */
}

.about-expandable-content p:first-child {
    margin-top: 1rem; /* Add space between preview and expanded content */
}

.about-expandable.expanded .about-expandable-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto; /* Allow interaction when expanded */
}

/* Portal Read More Button - clear float so button appears below image */
.portal-read-more {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0 1rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(145deg, rgba(21, 5, 41, 0.4), rgba(17, 4, 34, 0.6));
    border: 1px solid var(--accent-secondary-color);
    border-radius: 30px 10px 30px 10px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: var(--accent-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    z-index: 1;
    clear: both;
}

.portal-read-more:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(196, 32, 145, 0.4);
    border-width: 2px;
    border-radius: 10px 30px 10px 30px;
}

.portal-read-more:hover .read-more-icon {
    animation: twinkle 0.6s ease-in-out infinite;
}

.portal-read-more-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.read-more-icon {
    font-size: 1.2rem;
    display: inline-block;
}

.read-more-label {
    transition: opacity 0.3s ease;
}

/* Expanded state */
.portal-read-more.expanded .read-more-icon {
    animation: rotatePortal 2s linear infinite;
}

/* Animations */
@keyframes twinkle {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}

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

.about-highlights {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    clear: both;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(145deg, rgba(196, 32, 145, 0.1), rgba(102, 23, 202, 0.1));
    border: 1px solid var(--accent-color);
    border-radius: 20px 5px 20px 5px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    border-radius: 5px 20px 5px 20px;
    box-shadow: 0 5px 20px rgba(196, 32, 145, 0.4);
}

.highlight-icon {
    font-size: 1.5rem;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.about-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    border: 4px solid var(--accent-secondary-color);
    box-shadow: 
        0 0 30px rgba(102, 23, 202, 0.8),
        0 0 60px rgba(102, 23, 202, 0.6),
        0 0 90px rgba(196, 32, 145, 0.4),
        inset 0 0 30px rgba(102, 23, 202, 0.2),
        0 20px 60px rgba(102, 23, 202, 0.4);
    aspect-ratio: 1;
    animation: morphAboutImage 8s ease-in-out infinite, portalGlowPurple 3s ease-in-out infinite;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: portalContentFloat 6s ease-in-out infinite;
}

@keyframes portalContentFloat {
    0%, 100% { 
        transform: scale(1) translate(0, 0);
    }
    33% { 
        transform: scale(1.02) translate(1%, -1%);
    }
    66% { 
        transform: scale(1.01) translate(-1%, 1%);
    }
}

@keyframes morphAboutImage {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.about-content {
    margin-top: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.about-card {
    background: linear-gradient(145deg, rgba(21, 5, 41, 0.3), rgba(17, 4, 34, 0.5));
    border: 1px solid var(--accent-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
    box-shadow: 0 5px 20px rgba(196, 32, 145, 0.2);
}

.about-card:nth-child(1) {
    border-radius: 30px 10px 30px 10px;
    transform: translateY(-20px);
}

.about-card:nth-child(2) {
    border-radius: 10px 30px 10px 30px;
    transform: translateY(20px);
}

.about-card:nth-child(3) {
    border-radius: 25px 15px 25px 15px;
    transform: translateY(-10px);
}

.about-card:nth-child(4) {
    border-radius: 15px 25px 15px 25px;
    transform: translateY(15px);
}

.about-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(196, 32, 145, 0.4);
}

.about-card:nth-child(1):hover {
    border-radius: 10px 30px 10px 30px;
    transform: translateY(-20px) translateX(10px);
}

.about-card:nth-child(2):hover {
    border-radius: 30px 10px 30px 10px;
    transform: translateY(20px) translateX(10px);
}

.about-card:nth-child(3):hover {
    border-radius: 15px 25px 15px 25px;
    transform: translateY(-10px) translateX(10px);
}

.about-card:nth-child(4):hover {
    border-radius: 25px 15px 25px 15px;
    transform: translateY(15px) translateX(10px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--accent-color));
}

.about-card h3 {
    font-family: var(--accent-font);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

/* ----------------------------------------------------------------------------------------
* Meet Kai Section
* ---------------------------------------------------------------------------------------- */
.meet-kai {
    background: linear-gradient(180deg, transparent, rgba(21, 5, 41, 0.3), transparent);
    position: relative;
}

.kai-content {
    display: block;
    margin-bottom: 4rem;
    position: relative;
}

.kai-content::after {
    content: '';
    display: table;
    clear: both;
}

.kai-image-container {
    float: left;
    width: 45%;
    margin-right: 3rem;
    margin-bottom: 2rem;
    position: relative;
    transform: rotate(3deg);
    --base-rotation: 3deg;
}

.kai-image {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    box-shadow: 
        0 0 30px rgba(196, 32, 145, 0.8),
        0 0 60px rgba(196, 32, 145, 0.6),
        0 0 90px rgba(102, 23, 202, 0.4),
        inset 0 0 30px rgba(196, 32, 145, 0.2),
        0 20px 60px rgba(196, 32, 145, 0.4);
    aspect-ratio: 1;
    animation: morphAboutImage 8s ease-in-out infinite, portalGlow 3s ease-in-out infinite;
    background: linear-gradient(135deg, 
        #C42091 0%, 
        #6617CA 50%, 
        #C42091 100%);
}

.kai-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: portalContentFloat 6s ease-in-out infinite;
}

@keyframes morphShape {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(21, 5, 41, 0.6), rgba(17, 4, 34, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    font-size: 8rem;
    opacity: 0.5;
}

.kai-text h3 {
    font-family: var(--accent-font);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--accent-secondary-color), var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    line-height: 1.2;
    animation: gradientShift 8s ease infinite;
}

.kai-text h3::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--accent-color);
    font-size: 1rem;
    opacity: 0.8;
    text-shadow: 0 0 10px var(--accent-color);
    transform-origin: center;
    animation: orbitClockwise 15s linear infinite;
}

.kai-text h3::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--accent-secondary-color);
    font-size: 0.8rem;
    opacity: 0.8;
    text-shadow: 0 0 10px var(--accent-secondary-color);
    transform-origin: center;
    animation: orbitCounterClockwise 18s linear infinite;
}

.kai-text p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Kai Section - Expandable Content */
.kai-preview {
    position: relative;
    overflow: visible;
}

.kai-expandable {
    max-height: 0;
    overflow: visible; /* Changed from hidden to visible to allow text wrapping */
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.kai-expandable.expanded {
    max-height: 2000px;
}

.kai-expandable-content {
    padding-top: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
    pointer-events: none;
}

.kai-expandable-content p:first-child {
    margin-top: 1rem;
}

.kai-expandable.expanded .kai-expandable-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Kai Read More Button - align right */
.kai-text .portal-read-more {
    display: block;
    margin-left: auto;
    margin-right: 0;
    clear: none;
}

.kai-text .portal-read-more:hover {
    transform: translateX(-10px); /* Slide left instead of right */
}

.kai-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(145deg, rgba(196, 32, 145, 0.1), rgba(102, 23, 202, 0.1));
    border: 1px solid var(--accent-color);
    border-radius: 20px 5px 20px 5px;
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateX(10px);
    border-radius: 5px 20px 5px 20px;
    box-shadow: 0 5px 20px rgba(196, 32, 145, 0.4);
}

.stat-icon {
    font-size: 2rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
}

.stat-value {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* ----------------------------------------------------------------------------------------
* Eldareth Section
* ---------------------------------------------------------------------------------------- */
.eldareth {
    background: linear-gradient(180deg, transparent, rgba(102, 23, 202, 0.1), transparent);
    position: relative;
}

.eldareth-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.eldareth-image-container {
    position: relative;
}

.eldareth-image {
    position: relative;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    border: 4px solid var(--accent-secondary-color);
    box-shadow: 
        0 0 30px rgba(102, 23, 202, 0.8),
        0 0 60px rgba(102, 23, 202, 0.6),
        0 0 90px rgba(196, 32, 145, 0.4),
        inset 0 0 30px rgba(102, 23, 202, 0.2),
        0 20px 60px rgba(102, 23, 202, 0.4);
    aspect-ratio: 1;
    animation: morphAboutImage 8s ease-in-out infinite, portalGlowPurple 3s ease-in-out infinite;
}

@keyframes portalGlowPurple {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(102, 23, 202, 0.8),
            0 0 60px rgba(102, 23, 202, 0.6),
            0 0 90px rgba(196, 32, 145, 0.4),
            inset 0 0 30px rgba(102, 23, 202, 0.2),
            0 20px 60px rgba(102, 23, 202, 0.4);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(102, 23, 202, 1),
            0 0 80px rgba(102, 23, 202, 0.8),
            0 0 120px rgba(196, 32, 145, 0.6),
            inset 0 0 40px rgba(102, 23, 202, 0.3),
            0 20px 80px rgba(102, 23, 202, 0.6);
    }
}

@keyframes morphShapeReverse {
    0%, 100% { border-radius: 40% 60% 60% 40% / 40% 60% 40% 60%; }
    50% { border-radius: 60% 40% 40% 60% / 60% 40% 60% 40%; }
}

.eldareth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: portalContentFloat 6s ease-in-out infinite;
}

.eldareth-text h3 {
    font-family: var(--accent-font);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--accent-secondary-color), var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    line-height: 1.2;
    animation: gradientShift 8s ease infinite;
}

.eldareth-text h3::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--accent-color);
    font-size: 1rem;
    opacity: 0.8;
    text-shadow: 0 0 10px var(--accent-color);
    transform-origin: center;
    animation: orbitClockwise 15s linear infinite;
}

.eldareth-text h3::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--accent-secondary-color);
    font-size: 0.8rem;
    opacity: 0.8;
    text-shadow: 0 0 10px var(--accent-secondary-color);
    transform-origin: center;
    animation: orbitCounterClockwise 18s linear infinite;
}

.eldareth-text p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.eldareth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 3rem;
    margin-top: 2rem;
    background: linear-gradient(145deg, rgba(21, 5, 41, 0.6), rgba(17, 4, 34, 0.8));
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(196, 32, 145, 0.3);
}

.eldareth-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 32, 145, 0.3), transparent);
    transition: left 0.5s ease;
}

.eldareth-button:hover::before {
    left: 100%;
}

.eldareth-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(196, 32, 145, 0.6), 0 0 40px rgba(102, 23, 202, 0.4);
    border-color: var(--accent-secondary-color);
}

.eldareth-button .button-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 8px var(--accent-color));
    animation: iconPulse 2s ease-in-out infinite;
}

.eldareth-button .button-text {
    font-family: var(--accent-font);
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--accent-secondary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    position: relative;
    z-index: 1;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.feature-card {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(21, 5, 41, 0.4), rgba(17, 4, 34, 0.6));
    border: 1px solid var(--accent-secondary-color);
    border-radius: 15px;
    transition: all 0.4s ease;
    position: relative;
}

.feature-card:nth-child(1) {
    border-radius: 30px 10px 30px 10px;
}

.feature-card:nth-child(2) {
    border-radius: 10px 30px 10px 30px;
}

.feature-card:nth-child(3) {
    border-radius: 25px 15px 25px 15px;
}

.feature-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 40px rgba(102, 23, 202, 0.5);
    border-width: 2px;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.feature-card h4 {
    font-family: var(--accent-font);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

/* ----------------------------------------------------------------------------------------
* Merch Section
* ---------------------------------------------------------------------------------------- */
.merch {
    background: linear-gradient(180deg, transparent, rgba(21, 5, 41, 0.3), transparent);
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.merch-grid {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.merch-card-full {
    background: transparent;
    border: none;
    padding: 3rem 4rem;
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 800px;
}

.merch-card-full::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--accent-color);
    font-size: 1.5rem;
    opacity: 0.8;
    text-shadow: 0 0 10px var(--accent-color);
    transform-origin: center;
    animation: orbitClockwise 15s linear infinite;
}

.merch-card-full::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--accent-secondary-color);
    font-size: 1.2rem;
    opacity: 0.8;
    text-shadow: 0 0 10px var(--accent-secondary-color);
    transform-origin: center;
    animation: orbitCounterClockwise 18s linear infinite;
}

.coming-soon-text {
    font-family: var(--accent-font);
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary-color), var(--primary-color));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    letter-spacing: 0.2em;
    filter: drop-shadow(0 0 20px rgba(196, 32, 145, 0.6));
    margin-bottom: 1rem;
}

.coming-soon-subtitle {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 0;
}

/* ----------------------------------------------------------------------------------------
* Schedule Section
* ---------------------------------------------------------------------------------------- *//* ----------------------------------------------------------------------------------------
* Schedule Section
* ---------------------------------------------------------------------------------------- */
.schedule-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
    position: relative;
}

/* Scattered stars around schedule */
.schedule-grid::after {
    content: '✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: space-around;
    color: rgba(196, 32, 145, 0.3);
    font-size: 1rem;
    letter-spacing: 3rem;
    line-height: 8rem;
    z-index: 0;
    pointer-events: none;
    animation: starfieldTwinkle 4s ease-in-out infinite;
}

@keyframes starfieldTwinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.schedule-card {
    background: radial-gradient(circle at center, rgba(196, 32, 145, 0.05), transparent 70%);
    border: none;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
    min-width: 180px;
    flex: 1;
    max-width: 220px;
}

/* Central star burst */
.schedule-card::before {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-color);
    font-size: 8rem;
    opacity: 0.1;
    z-index: 0;
    animation: starPulse 3s ease-in-out infinite;
}

/* Orbiting constellation stars */
.schedule-card::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--accent-secondary-color);
    font-size: 1.2rem;
    opacity: 0.8;
    text-shadow: 0 0 10px var(--accent-secondary-color);
    transform-origin: center;
}

.schedule-card:nth-child(1)::after {
    animation: orbitClockwise 15s linear infinite;
}

.schedule-card:nth-child(2)::after {
    animation: orbitCounterClockwise 18s linear infinite;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

.schedule-card:nth-child(3)::after {
    animation: orbitClockwise 20s linear infinite;
    animation-delay: -5s;
}

.schedule-card:nth-child(4)::after {
    animation: orbitCounterClockwise 22s linear infinite;
    animation-delay: -8s;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

@keyframes orbitClockwise {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(80px) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) translateX(80px) rotate(-180deg);
        opacity: 0.8;
    }
    75% {
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(80px) rotate(-360deg);
        opacity: 0.8;
    }
}

@keyframes orbitCounterClockwise {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(70px) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) rotate(-180deg) translateX(70px) rotate(180deg);
        opacity: 1;
    }
    75% {
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg) translateX(70px) rotate(360deg);
        opacity: 0.8;
    }
}

@keyframes starPulse {
    0%, 100% { 
        opacity: 0.05; 
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.15; 
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.schedule-card .day {
    font-family: var(--accent-font);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 30px rgba(196, 32, 145, 0.5);
}

.schedule-card .time {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.schedule-card .time::before {
    content: '★';
    display: inline-block;
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.schedule-card .activity {
    color: var(--text-color);
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.schedule-note {
    text-align: center;
    color: var(--text-color);
    font-style: italic;
    opacity: 0.8;
}

/* ----------------------------------------------------------------------------------------
* Community Section
* ---------------------------------------------------------------------------------------- */
.community {
    background: linear-gradient(180deg, transparent, rgba(21, 5, 41, 0.3), transparent);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    background: linear-gradient(145deg, rgba(21, 5, 41, 0.4), rgba(17, 4, 34, 0.6));
    border: 1px solid var(--accent-secondary-color);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
}

/* Top row - each card spans 2 columns */
.social-card:nth-child(1),
.social-card:nth-child(2),
.social-card:nth-child(3) {
    grid-column: span 2;
}

/* Bottom row - centered cards span 2 columns each, with 1 column gap on each side */
.social-card:nth-child(4) {
    grid-column: 2 / 4;
}

.social-card:nth-child(5) {
    grid-column: 4 / 6;
}

.social-card:nth-child(1) {
    border-radius: 30px 10px 30px 10px;
}

.social-card:nth-child(2) {
    border-radius: 10px 30px 10px 30px;
}

.social-card:nth-child(3) {
    border-radius: 25px 15px 25px 15px;
}

.social-card:nth-child(4) {
    border-radius: 15px 25px 15px 25px;
}

.social-card:nth-child(5) {
    border-radius: 20px 12px 20px 12px;
}

.social-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(196, 32, 145, 0.4);
    border-width: 2px;
}

.social-card:nth-child(1):hover {
    border-radius: 10px 30px 10px 30px;
}

.social-card:nth-child(2):hover {
    border-radius: 30px 10px 30px 10px;
}

.social-card:nth-child(3):hover {
    border-radius: 15px 25px 15px 25px;
}

.social-card:nth-child(4):hover {
    border-radius: 25px 15px 25px 15px;
}

.social-card:nth-child(5):hover {
    border-radius: 12px 20px 12px 20px;
}

.social-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.social-icon svg {
    width: 40px;
    height: 40px;
}

/* Platform-specific hover colors */
.social-card.twitch:hover {
    border-color: #9146FF;
}

.social-card.youtube:hover {
    border-color: #FF0000;
}

.social-card.bluesky:hover {
    border-color: #1185FE;
}

.social-card.kofi:hover {
    border-color: #FF5E5B;
}

.social-card.throne:hover {
    border-color: #FFD700;
}

.social-card h3 {
    font-family: var(--accent-font);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.social-card p {
    color: var(--text-color);
    margin: 0;
}

/* Profile Dashboard Section */
.profile-dashboard-section {
    margin-top: 4rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.profile-dashboard-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.profile-dashboard-divider::before,
.profile-dashboard-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(196, 32, 145, 0.5), transparent);
}

.divider-stars {
    font-size: 1rem;
    padding: 0 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.profile-dashboard-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary-color), #9146ff);
    background-size: 200% 200%;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: var(--accent-font);
    transition: all 0.4s ease;
    box-shadow: 0 6px 25px rgba(196, 32, 145, 0.4);
    position: relative;
    overflow: hidden;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.profile-dashboard-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.profile-dashboard-button:hover::before {
    left: 100%;
}

.profile-dashboard-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(196, 32, 145, 0.6);
}

.profile-dashboard-button svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.button-text {
    white-space: nowrap;
}

.button-sparkle {
    font-size: 1.2rem;
    animation: sparkle-rotate 2s ease-in-out infinite;
}

@keyframes sparkle-rotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

.profile-dashboard-description {
    margin-top: 1.25rem;
    color: var(--text-color);
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* ----------------------------------------------------------------------------------------
* Tab-Based Navigation (Desktop Only)
* ---------------------------------------------------------------------------------------- */
.main-content {
    position: relative;
}

/* Desktop: Hide all sections except active one */
@media (min-width: 769px) {
    .section-content {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow: hidden;
        min-height: 100vh;
    }
    
    .section-content.active {
        position: relative;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
    
    /* Hero needs to keep flex display for centering */
    .hero.section-content {
        display: flex;
    }
    
    .hero.section-content:not(.active) {
        display: flex;
    }
    
    /* Scramble transition styles */
    .section-content .container,
    .section-content .hero-content {
        opacity: 1;
    }
    
    /* Scramble out animation */
    .section-content.scramble-out {
        pointer-events: none;
    }
    
    /* Target specific elements for scramble animation */
    .section-content.scramble-out h1,
    .section-content.scramble-out h2,
    .section-content.scramble-out h3,
    .section-content.scramble-out h4,
    .section-content.scramble-out p,
    .section-content.scramble-out .btn,
    .section-content.scramble-out .greeting,
    .section-content.scramble-out img,
    .section-content.scramble-out .hero-image,
    .section-content.scramble-out .about-image,
    .section-content.scramble-out .about-image-container,
    .section-content.scramble-out .twitch-embed,
    .section-content.scramble-out .section-header,
    .section-content.scramble-out .about-text,
    .section-content.scramble-out .kai-header,
    .section-content.scramble-out .kai-image,
    .section-content.scramble-out .kai-image-container,
    .section-content.scramble-out .character-details,
    .section-content.scramble-out .eldareth-image,
    .section-content.scramble-out .eldareth-image-container,
    .section-content.scramble-out .merch-item,
    .section-content.scramble-out .coming-soon-text,
    .section-content.scramble-out .coming-soon-subtitle,
    .section-content.scramble-out .schedule-card,
    .section-content.scramble-out .schedule-note,
    .section-content.scramble-out .schedule-day,
    .section-content.scramble-out .portal-read-more,
    .section-content.scramble-out .eldareth-button,
    .section-content.scramble-out .community-links {
        animation: scrambleOut 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
    }
    
    /* Scramble in animation */
    .section-content.scramble-in h1,
    .section-content.scramble-in h2,
    .section-content.scramble-in h3,
    .section-content.scramble-in h4,
    .section-content.scramble-in p,
    .section-content.scramble-in .btn,
    .section-content.scramble-in .greeting,
    .section-content.scramble-in img,
    .section-content.scramble-in .hero-image,
    .section-content.scramble-in .about-image,
    .section-content.scramble-in .about-image-container,
    .section-content.scramble-in .twitch-embed,
    .section-content.scramble-in .section-header,
    .section-content.scramble-in .about-text,
    .section-content.scramble-in .kai-header,
    .section-content.scramble-in .kai-image,
    .section-content.scramble-in .kai-image-container,
    .section-content.scramble-in .character-details,
    .section-content.scramble-in .eldareth-image,
    .section-content.scramble-in .eldareth-image-container,
    .section-content.scramble-in .merch-item,
    .section-content.scramble-in .coming-soon-text,
    .section-content.scramble-in .coming-soon-subtitle,
    .section-content.scramble-in .schedule-card,
    .section-content.scramble-in .schedule-note,
    .section-content.scramble-in .schedule-day,
    .section-content.scramble-in .portal-read-more,
    .section-content.scramble-in .eldareth-button,
    .section-content.scramble-in .community-links {
        animation: scrambleIn 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
    }
    
    /* Keyframe animations for smooth floating scramble effect */
    @keyframes scrambleOut {
        0% {
            opacity: 1;
            transform: translate(0, 0) rotate(0deg) scale(1);
            filter: blur(0px);
        }
        100% {
            opacity: 0;
            transform: translate(var(--scramble-x, 50px), var(--scramble-y, 50px)) 
                       rotate(var(--scramble-rotate, 5deg)) 
                       scale(0.95);
            filter: blur(8px);
        }
    }
    
    @keyframes scrambleIn {
        0% {
            opacity: 0;
            transform: translate(calc(var(--scramble-x, 50px) * -1), calc(var(--scramble-y, 50px) * -1)) 
                       rotate(calc(var(--scramble-rotate, 5deg) * -1)) 
                       scale(0.95);
            filter: blur(8px);
        }
        100% {
            opacity: 1;
            transform: translate(0, 0) rotate(0deg) scale(1);
            filter: blur(0px);
        }
    }
    
    /* Special animations for image containers with base rotation */
    @keyframes scrambleOutRotated {
        0% {
            opacity: 1;
            transform: translate(0, 0) rotate(var(--base-rotation, 0deg)) scale(1);
            filter: blur(0px);
        }
        100% {
            opacity: 0;
            transform: translate(var(--scramble-x, 50px), var(--scramble-y, 50px)) 
                       rotate(calc(var(--base-rotation, 0deg) + var(--scramble-rotate, 5deg))) 
                       scale(0.95);
            filter: blur(8px);
        }
    }
    
    @keyframes scrambleInRotated {
        0% {
            opacity: 0;
            transform: translate(calc(var(--scramble-x, 50px) * -1), calc(var(--scramble-y, 50px) * -1)) 
                       rotate(calc(var(--base-rotation, 0deg) + calc(var(--scramble-rotate, 5deg) * -1))) 
                       scale(0.95);
            filter: blur(8px);
        }
        100% {
            opacity: 1;
            transform: translate(0, 0) rotate(var(--base-rotation, 0deg)) scale(1);
            filter: blur(0px);
        }
    }
    
    /* Apply special animations to rotated image containers */
    .section-content.scramble-out .about-image-container,
    .section-content.scramble-out .kai-image-container {
        animation: scrambleOutRotated 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) forwards !important;
    }
    
    .section-content.scramble-in .about-image-container,
    .section-content.scramble-in .kai-image-container {
        animation: scrambleInRotated 0.8s cubic-bezier(0.4, 0.0, 0.2, 1) forwards !important;
    }
    
    /* Adjust padding for non-hero sections to account for fixed navbar */
    .section-content:not(.hero) {
        padding-top: 14rem;
        padding-bottom: 4rem;
    }
    
    /* Active navigation link styling */
    .nav-link.active {
        color: var(--accent-color);
    }
    
    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
        box-shadow: 0 0 8px var(--accent-color);
    }
}

/* Mobile: Show all sections in scroll layout */
@media (max-width: 768px) {
    .section-content {
        display: block;
        opacity: 1;
        position: relative;
    }
    
    .main-content {
        min-height: 0;
    }
}

/* ----------------------------------------------------------------------------------------
* Responsive Design
* ---------------------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .name {
        font-size: 3rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .navbar {
        padding: 0.75rem 1.5rem;
    }
    
    .nav-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 1rem;
        padding: 0.75rem 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .logo {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-top: 1rem;
        background: linear-gradient(145deg, rgba(21, 5, 41, 0.98), rgba(17, 4, 34, 1));
        border: 1px solid rgba(196, 32, 145, 0.3);
        border-radius: 20px;
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.6),
            0 0 30px rgba(196, 32, 145, 0.3);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: 0.75rem;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(196, 32, 145, 0.1);
    }
    
    .nav-container {
        gap: 1rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 8rem 1rem 2rem 1rem !important; /* Use full shorthand with top padding first */
        align-items: flex-start !important; /* Align to top instead of center */
        padding-top: 14rem !important; /* Extra padding to clear navbar - override previous value */
        min-height: 0 !important;
    }
    
    .hero-content {
        margin-top: 2rem; /* Additional spacing from top */
    }
    
    .hero-text {
        margin-top: 3rem !important; /* Push hero text down specifically */
        padding-top: 2rem !important;
    }
    
    .hero-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        padding: 1rem;
        text-align: center;
        background: linear-gradient(to top, rgba(17, 4, 34, 0.95), transparent);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        z-index: 100;
    }
    
    .hero-footer p {
        font-size: 0.85rem;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .about-main,
    .kai-content,
    .eldareth-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image-container,
    .kai-image-container,
    .eldareth-image-container {
        float: none;
        width: 80%;
        max-width: 350px;
        margin: 0 auto 2rem;
        transform: rotate(0deg);
    }
    
    .eldareth-image-container {
        order: -1;
    }
    
    .portal-read-more {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
        margin-left: auto !important; /* Override any left/right alignment */
        margin-right: auto !important;
        display: flex !important; /* Changed from inline-flex to flex for centering */
        justify-content: center; /* Center the content inside the button */
    }
    
    /* Ensure Kai read more button is also centered on mobile */
    .kai-text .portal-read-more {
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex !important;
        justify-content: center;
    }
    
    .portal-read-more-text {
        justify-content: center; /* Center the text and icon */
    }
    
    .merch-grid {
        grid-template-columns: 1fr;
    }
    
    .kai-stats {
        flex-direction: column;
    }
    
    .stat-item {
        min-width: 100%;
    }
    
    .about-highlights {
        justify-content: center;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Reset social card grid positioning for tablet */
    .social-card:nth-child(4),
    .social-card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }
    
    .greeting {
        font-size: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .about-text h3,
    .kai-text h3,
    .eldareth-text h3 {
        font-size: 1.75rem;
    }
    
    /* Hide Twitch embed on mobile */
    .hero-image,
    .twitch-embed {
        display: none;
    }
    
    /* Fix coming soon text wrapping */
    .coming-soon-text {
        font-size: 2rem;
        letter-spacing: 0.05em;
        word-spacing: 100vw;
    }
    
    .coming-soon-subtitle {
        font-size: 1rem;
    }
    
    /* Stack social cards in single column on mobile */
    .social-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    /* Reset all social card grid positioning for mobile - make them all single column */
    .social-card:nth-child(1),
    .social-card:nth-child(2),
    .social-card:nth-child(3),
    .social-card:nth-child(4),
    .social-card:nth-child(5) {
        grid-column: auto !important;
    }
    
    /* Center Eldareth button on mobile */
    .eldareth-text {
        text-align: center;
    }
    
    .eldareth-button {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Profile dashboard button mobile styles */
    .profile-dashboard-button {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .profile-dashboard-button svg {
        width: 20px;
        height: 20px;
    }
    
    .profile-dashboard-section p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
}
