@font-face {
    font-family: 'Gluten';
    src: url('fonts/Gluten-Regular.ttf') format('truetype'), /* TTF file */
         url('fonts/Gluten-Regular.woff') format('woff'); /* WOFF file */
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HoltwoodOneSC';
    src: url('fonts/HoltwoodOneSC-Regular.ttf') format('truetype'),
         url('fonts/HoltwoodOneSC-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'LilitaOne';
    src: url('fonts/LilitaOne-Regular.ttf') format('truetype'),
         url('fonts/LilitaOne-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'LuckiestGuy';
    src: url('fonts/LuckiestGuy-Regular.ttf') format('truetype'),
         url('fonts/LuckiestGuy-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Righteous';
    src: url('fonts/Righteous-Regular.ttf') format('truetype'),
         url('fonts/Righteous-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Quicksand';
    src: url('fonts/Quicksand-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Quicksand';
    src: url('fonts/Quicksand-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Quicksand';
    src: url('fonts/Quicksand-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/PlayfairDisplay-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

:root {
    --deep-green: #012c13; /* Your base color */
    --fog-green: #023a1c;
    --clear-green: #025a1c;
    --starlight: #e2e8f0;
    --accent-gold: #fce732; /* Your logo gold */
    --glass-white: rgba(255, 255, 255, 0.05);
    --elegant-bronze: #a89f91;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--deep-green);
    color: var(--starlight);
    font-family: 'Quicksand', sans-serif;
    overflow-x: hidden;
    height: 100vh;
    width: 100vw;
    /* Disable scroll initially for the "Opening" effect */
    overflow-y: auto; 
}

/* --- The Atmospheric Layer (Background) --- */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, var(--fog-green) 0%, #001a0a 80%);
    z-index: -2;
    transition: transform 0.2s ease-out;
}

/* Subtle animated grain for texture (Avoids the 'flat plastic' look) */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 100;
    /* Blends text into the atmosphere */
    /* mix-blend-mode: overlay; */
}

.nav-logo {
    font-family: 'Gluten', cursive;
    font-size: 1.2rem;
    color: var(--fog-green);
    text-decoration: none;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: opacity 0.3s;
    mix-blend-mode: overlay;
}

.nav-logo:hover { opacity: 1; }

#nav-topright {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 101;
    /* background-color: var(--glass-white); */
}

#chosenLanguage {
    font-family: 'Quicksand', sans-serif;
    font-size: small;
    text-decoration: none;
    color: var(--clear-green);
    background-color: var(--deep-green);
    border-color: var(--fog-green);
    padding: 6px;
    letter-spacing: 2px;
    transition: border 0.3s;
    width: 120px;
    mix-blend-mode: overlay;
    margin-bottom: 20px;
}

.glow-button-top {
    padding: 10px 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-gold);
    font-family: 'Gluten', cursive;
    font-size: medium;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.glow-button-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.glow-button-top:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 0 30px rgba(252, 231, 50, 0.1);
}

.glow-button-top:hover::before {
    left: 100%;
}

/* .login-link:hover {
    border-bottom: 1px solid var(--accent-gold);
} */

/* --- The Stage (Main Content) --- */
main {
    position: relative;
    z-index: 10;
}

/* SECTION 1: The Portal (Hero) */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1000px; /* Enables 3D space */
    position: relative;
}

/* The glowing center content */
.hero-content {
    text-align: center;
    transform-style: preserve-3d;
}

.mascot-wrapper {
    width: 200px; /* Small and precious, not huge */
    height: 200px;
    margin: 0 auto 40px;
    position: relative;
    border-radius: 50%;
    /* Soft vignette around the image to blend it */
    box-shadow: 0 0 60px 20px rgba(1, 44, 19, 0.8) inset; 
    transition: transform 0.1s ease-out; /* For parallax */
}

.mascot-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(252, 231, 50, 0.15));
    animation: breathe 6s ease-in-out infinite;
}

h1 {
    font-family: 'Gluten', cursive;
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.1;
    /* Gradient Text for subtle shimmer */
    background: linear-gradient(180deg, #fff 0%, #aabdc6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeUp 1.5s ease-out 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #8da399;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0;
    animation: fadeUp 1.5s ease-out 0.8s forwards;
}

/* The "Scroll" Indicator - Minimalist Line */
.scroll-line {
    position: absolute;
    bottom: 0;
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, var(--starlight), transparent);
    left: 50%;
    opacity: 0.3;
}

/* SECTION 2: The Experience (Floating Panels) */
.experience-section {
    padding: 150px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 200px; /* Massive spacing = Luxury/Calm */
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    width: 100%;
    align-items: center;
    gap: 80px;
    opacity: 0; /* Hidden for scroll reveal */
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.feature-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-block.reversed {
    direction: rtl; /* Switch image/text side */
}

.feature-block.reversed .text-content {
    direction: ltr; /* Reset text direction */
}

/* Image handling: "The Window" */
.image-window {
    position: relative;
    border-radius: 200px 200px 20px 20px; /* Arch shape */
    overflow: hidden;
    height: 400px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.image-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.feature-block:hover .image-window img {
    transform: scale(1.05); /* Slow zoom on hover */
}

.text-content h2 {
    font-family: 'Gluten', cursive;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--starlight);
}

.text-content p {
    font-size: 1.1rem;
    color: #94a3b8;
    line-height: 1.8;
    font-weight: 300;
}

/* SECTION 3: The Invitation (Footer) */
.invitation-section {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.glow-button {
    margin-top: 40px;
    padding: 20px 50px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--starlight);
    font-family: 'Gluten', cursive;
    font-size: 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.glow-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.glow-button:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 0 30px rgba(252, 231, 50, 0.1);
}

.glow-button:hover::before {
    left: 100%;
}

.about-button {
    display: inline-block;
    margin-top: 20px;
    padding: 6px 24px;
    border: 1px solid var(--elegant-bronze);
    color: var(--elegant-bronze);
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: x-small;
    font-weight: 600;
    transition: all 0.3s;
}

.about-button:hover {
    background: var(--elegant-bronze);
    color: var(--deep-green);
}

.footer-section {
    margin-top: 12px;
    text-align: center;
    margin-bottom: 24px;
}

#copyrightText {
    font-family: 'Gluten', cursive;
    font-size: medium;
    color: var(--clear-green);
    text-decoration: none;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

/* Animations */
@keyframes breathe {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(252, 231, 50, 0.15)); }
    50% { transform: scale(1.03); filter: drop-shadow(0 0 40px rgba(252, 231, 50, 0.25)); }
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) { 
    h1 { font-size: 2.5rem; }
    .feature-block { grid-template-columns: 1fr; gap: 40px; }
    .image-window { height: 300px; }
    nav { padding: 30px; }
}
