/* --- Global Variables & Reset --- */
:root {
    --neon-purple: #bc13fe;
    --dark-bg: #05010a;
    --glass-bg: rgba(20, 0, 40, 0.6);
    --text-light: #f4f4f4;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-pixel: 'VT323', monospace;
    /* Required for the arcade look */
}

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

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 50%, #1a022b 0%, var(--dark-bg) 100%);
}

/* --- Navigation --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: rgba(5, 1, 10, 0.9);
    border-bottom: 1px solid var(--neon-purple);
    position: absolute;
    /* CHANGED: This makes it stay at the top (disappears on scroll) */
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
}

.mini-logo {
    width: 50px;
    /* Adjust the size of the mini-logo */
    height: auto;
}

.auth-links {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
}

/* --- Hero Section Container --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    /* The base background image */
    background: url('assets/gamedevbg.png') center/cover no-repeat;
    overflow: hidden;
    /* Ensures all text/buttons stay on top of the background layers */
    z-index: 1;
}

/* --- Background Overlay & Glowing Stripes --- */
.purple-stripes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(188, 19, 254, 0.15);
    background-image: linear-gradient(225deg,
            #ff32ff 0%, #ff32ff 2%,
            transparent 5%, transparent 4%,
            #ff32ff 4%, #ff32ff 6%,
            transparent 10%, transparent 8%,
            #ff32ff 8%, #ff32ff 10%,
            transparent 15%);
    background-repeat: no-repeat;
    pointer-events: none;

    /* This sits ABOVE the gifs but BELOW the text */
    z-index: 5;
    filter: drop-shadow(0 0 15px #ff32ff) drop-shadow(0 0 30px rgba(255, 50, 255, 0.5));
}

/* --- 3. Text, Buttons, & Center Logo (Top Layer) --- */
.hero-text,
.pixel-heading,
.main-cta,
.center-logo {
    position: relative;
    /* This ensures they stay on the very top */
    z-index: 10;
}

.pixel-heading {
    font-family: var(--font-pixel);
    font-size: 4.5rem;
    line-height: 1.1;
    text-shadow: 4px 4px 0px #000;
    margin-bottom: 15px;
    z-index: 10;
}

.center-logo img {
    width: 200px;
    /* Adjust the size of the center logo */
    height: auto;
    margin-bottom: 20px;
}

/* --- Overlay Graphic Adjustments --- */
.overlay-graphic {
    position: absolute;
    /* CHANGED: Set to 1 so it sits UNDER the purple-stripes (z-index: 2) */
    z-index: 1;
    pointer-events: none;
}

.upper-left {
    top: 100px;
    left: 50px;
    width: 220px;
    opacity: 1;
    /* Keeping your 100% opacity request */
}

.lower-left {
    bottom: 40px;
    left: 40px;
    width: 300px;
    opacity: 1;
    /* Keeping your 100% opacity request */
}

.overlay-graphic img {
    width: 100%;
    /* Keeping your "5 full corner" radius request */
    border-radius: 15px;
    display: block;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.main-cta {
    display: inline-block;
    background: black;
    color: white;
    padding: 18px 45px;
    border: 3px solid var(--neon-purple);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.6);
    transition: all 0.3s ease;
    z-index: 10;
}

.main-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--neon-purple);
}

.contact-btn {
    position: fixed;
    /* CHANGED: This makes it float and follow the user when scrolling */
    bottom: 40px;
    right: 40px;
    background: black;
    color: white;
    padding: 12px 25px;
    border: 1px solid var(--neon-purple);
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 15px var(--neon-purple);
    z-index: 2000;
    /* Increased to ensure it stays above everything */
    transition: all 0.3s ease;
}

.contact-btn span {
    font-size: 1.5rem;
}

.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--neon-purple);
}

/* --- Utility Layouts --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 5%;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid rgba(188, 19, 254, 0.3);
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: 0.3s ease;
    overflow: hidden;
    /* This is crucial to keep the image corners rounded */
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-purple);
}

/* --- Merch Image Fixes --- */
.glass-card img {
    width: 100%;
    /* Makes image span the card width */
    height: 200px;
    /* Sets a uniform height for the "landscape" look */
    object-fit: cover;
    /* CHANGED: Fulfills the image area with no gaps */
    margin-bottom: 0px;
    /* Reduced to allow image to sit flush if desired */
    display: block;
    /* Removes bottom white space/gap */
    transition: transform 0.3s ease;
}

.glass-card:hover img {
    transform: scale(1.1);
    /* Zoom effect on hover */
}

/* Adjusting the grid for better spacing */
.page-container {
    padding-top: 80px;
    /* Prevents header from covering content */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--neon-purple);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: 0.3s;
}

.btn:hover {
    background: var(--neon-purple);
    box-shadow: 0 0 20px var(--neon-purple);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo-container img {
    height: 40px;
    /* Keeps the navigation bar slim */
    width: auto;
}

/* --- Footer --- */
footer {
    background: #e08cfc;
    color: black;
    padding: 40px 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 5px solid var(--neon-purple);
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logos img {
    width: 170px;
    /* Adjust the size of the footer logos */
    height: auto;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    font-weight: bold;
}

/* --- Info Teaser Section Fix --- */
.info-teaser {
    position: relative;
    width: 100%;
    /* This creates the 'width greater than height' look */
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    /* Align text to left like the image */
    padding: 60px 10%;

    /* Background Setup */
    background-color: var(--dark-purple);
    /* Make sure to name your background image this */
    background-size: cover;
    background-position: center;
    border-top: 3px solid var(--neon-purple);
    /* CHANGED from blue to purple */
    border-bottom: 3px solid var(--neon-purple);
}

.info-content {
    max-width: 900px;
    z-index: 2;
}

.info-teaser h2 {
    font-family: var(--font-pixel);
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.info-teaser p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: 500;
}

/* --- Scroll Down Pill Button --- */
.scroll-pill {
    /* Centering Logic */
    display: table;
    /* Shrinks to fit text width */
    margin: 30px auto;
    /* Centers horizontally with space above/below */

    /* Matching Styling with Merch Button */
    background: black;
    color: white;
    padding: 16px 45px;
    /* Increased to match previous button size */
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    /* Scaled up text */
    border: 2px solid var(--neon-purple-bright);
    box-shadow: 0 0 20px var(--neon-purple-glow), inset 0 0 10px rgba(208, 0, 255, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    text-transform: uppercase;
    white-space: nowrap;
}

.scroll-pill:hover {
    /* Matching Hover with Merch Button */
    background: rgba(208, 0, 255, 0.15);
    box-shadow: 0 0 30px var(--neon-purple-glow), inset 0 0 20px rgba(208, 0, 255, 0.6);
    transform: translateY(-2px) scale(1.02);
}

/* --- Why Become a Game Developer: Image Match --- */
.why-section {
    position: relative;
    padding: 120px 5%;
    /* Update this path to your uploaded background image */
    background: linear-gradient(rgba(5, 1, 10, 0.4), rgba(5, 1, 10, 0.4)),
        url('assets/whybg.png') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.why-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 10;
}

.why-title {
    font-family: var(--font-pixel);
    font-size: 4rem;
    text-align: center;
    margin-bottom: 80px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.neon-text {
    color: #ff32ff;
    text-shadow: 0 0 10px #ff32ff, 0 0 30px rgba(255, 50, 255, 0.6);
}

/* Row Layout for 4 Items */
.why-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Forces 4 cards in one horizontal row */
    gap: 20px;
    align-items: stretch;
}

/* The Vertical Glass Cards */
.why-card {
    background: rgba(30, 0, 60, 0.35);
    /* Transparent purple-tinted glass */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(188, 19, 254, 0.3);
    border-radius: 25px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 450px;
    /* Makes the cards tall and uniform */
}

.why-card:hover {
    transform: translateY(-15px);
    background: rgba(188, 19, 254, 0.15);
    border-color: #ff32ff;
    box-shadow: 0 0 40px rgba(188, 19, 254, 0.4);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.why-card h3 {
    font-family: var(--font-pixel);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.why-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* Button & Footer Styling */
.why-footer {
    text-align: center;
    margin-top: 60px;
}

.go-to-info-neon {
    display: inline-block;
    padding: 16px 50px;
    background: #000;
    color: #fff;
    border: 2px solid var(--neon-purple);
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-pixel);
    font-size: 1.3rem;
    box-shadow: 0 0 20px var(--neon-purple);
    transition: 0.3s;
}

.go-to-info-neon:hover {
    background: var(--neon-purple);
    transform: scale(1.1);
    box-shadow: 0 0 40px var(--neon-purple);
}

/* Responsiveness: Switch to 2x2 or 1x4 on smaller screens */
@media (max-width: 1100px) {
    .why-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-title {
        font-size: 3rem;
    }
}

@media (max-width: 650px) {
    .why-row {
        grid-template-columns: 1fr;
    }

    .why-card {
        min-height: auto;
    }
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .why-title {
        font-size: 2.2rem;
    }

    .why-container {
        padding: 25px;
        border-radius: 20px;
    }
}

/* --- Game Developer Cursor & Effects --- */
html,
body,
a,
button,
.glass-card,
.main-cta,
.contact-btn,
.scroll-pill,
.go-to-info,
.btn {
    cursor: none !important;
    /* This kills the default white arrow everywhere */
}

#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    background: url('assets/cursor2.png') no-repeat center/contain;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    will-change: transform;
    opacity: 1;
    /* Always visible */
}

/* The "Glowing Black" Dust Trail */
.dust {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: dust-fade 1.2s forwards ease-out;
}

@keyframes dust-fade {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        opacity: 0;
        transform: translate(var(--dx), var(--dy)) rotate(var(--dr));
    }
}

/* --- Button Style Overrides --- */

.main-cta:hover,
.contact-btn:hover,
.scroll-pill:hover,
.go-to-info:hover,
.btn:hover {
    background: #ff32ff;
    color: white;
    box-shadow: 0 0 15px #ff32ff, 0 0 30px rgba(255, 50, 255, 0.5);
    transform: translateY(-3px);
}

#oneko {
    z-index: 10000;
    pointer-events: none;
}

/* =========================================
   THE LATEST SECTION (CAROUSEL)
========================================= */
.latest-section {
    padding: 80px 5%;
    position: relative;
    /* Adding subtle starry background effect matching your image */
    background: radial-gradient(circle at 50% 50%, #1a022b 0%, var(--dark-bg) 80%);
    border-top: 2px solid rgba(188, 19, 254, 0.2);
}

.text-center {
    text-align: center;
    margin-bottom: 30px;
}

/* --- CONTINUOUS SCROLL CAROUSEL --- */
.carousel-glass {
    position: relative;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    max-width: 1200px; /* Bounds the carousel in the center of the screen */
    margin: 0 auto;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    /* Fades the left and right edges so cards don't abruptly cut off */
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.carousel-track {
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
    padding: 20px 0;
    width: max-content; /* Critical: allows the track to size itself to the cards */
    will-change: transform; /* Hardware acceleration for smooth scrolling */
    list-style: none; /* Removes default bullet points */
    margin: 0;
}

/* Ensure the cards don't shrink and are wide enough for the images */
.carousel-slide {
    flex: 0 0 300px; 
}

/* Optional: Add a glass effect to the individual cards to match the theme */
.carousel-card {
    background: rgba(30, 0, 60, 0.35);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(188, 19, 254, 0.3);
    text-align: center;
    color: white;
    height: 100%;
}

.carousel-img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Go To News Button */
.latest-footer {
    display: flex;
    justify-content: center;
    /* Changed from flex-end to center */
    max-width: 1200px;
    margin: 30px auto 0 auto;
    padding: 0;
    /* Remove right padding that offsets the center */
}

.go-to-news {
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border: 2px solid var(--neon-purple);
    transition: 0.3s ease;
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.5);
    backdrop-filter: blur(5px);
}

.go-to-news:hover {
    background: rgba(188, 19, 254, 0.2);
    box-shadow: 0 0 25px var(--neon-purple), inset 0 0 10px var(--neon-purple);
    text-shadow: 0 0 5px white;
    transform: translateX(5px);
}

/* Carousel Responsiveness */
@media (max-width: 900px) {
    .carousel-slide {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        min-width: 100%;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

/* =========================================
   THE SOUVENIR SECTION (FIXED LAYOUT)
========================================= */
:root {
    --neon-purple-bright: #d000ff;
    /* Bright purple for lines */
    --neon-purple-glow: rgba(208, 0, 255, 0.7);
    /* Glow color */
}

.souvenir-section.fixed-layout {
    position: relative;
    padding: 60px 0;
    /* Vertical padding */
    background: radial-gradient(circle at 50% 50%, #1a022b 0%, #05010a 100%);
    text-align: center;
    overflow: hidden;
    /* Contains elements */
}

/* 1. Missing Neon Lines (Fixed Position) */
.neon-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--neon-purple-bright);
    box-shadow: 0 0 15px var(--neon-purple-glow), 0 0 30px rgba(208, 0, 255, 0.3);
    z-index: 5;
}

.neon-line.top {
    top: 0;
}

.neon-line.bottom {
    bottom: 0;
}

/* 2. Scaled Container and Title */
.souvenir-container {
    max-width: 1400px;
    /* Limits overall size for fix */
    margin: 0 auto;
    padding: 0 40px;
    /* Horizontal cushion */
}

.pixel-heading.scale-title {
    font-size: 3rem;
    /* Slightly smaller title */
    margin-bottom: 20px;
}

/* 3. Main Content Grid (Scale & Layout) */
.souvenir-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.souvenir-sub-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    /* Left/Right take even space */
}

/* Card Scaling (Small Fix) */
.souvenir-item.scale-card {
    border: 1px solid rgba(188, 19, 254, 0.4);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
}

.souvenir-item.scale-card:hover {
    transform: translateY(-3px);
    border-color: var(--neon-purple-bright);
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.3);
}

.souvenir-item.scale-card img {
    width: 100%;
    height: 160px;
    /* Reduced fixed height for small fix */
    object-fit: cover;
    display: block;
}

.souvenir-item.scale-card p {
    padding: 10px;
    font-size: 0.85rem;
    /* Smaller text */
    color: var(--text-light);
    margin: 0;
}

/* 4. Center Spot (New Layout Insertion) */
.souvenir-center-spot.scale-center {
    flex: 1.2;
    /* Center area takes more width */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.merch-focus-img {
    max-width: 85%;
    /* Scaled smaller insertion */
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

.merch-focus-img:hover {
    transform: scale(1.02);
}

.center-logo-small {
    height: 50px;
    /* Adjust logo height */
    width: auto;
}

.souvenir-lower-layout {
    display: flex;
    flex-direction: column;
    /* This stacks text on top, button on bottom */
    align-items: center;
    /* This centers both the text block and the button block */
    text-align: center;
    /* This centers the actual lines of text */
    gap: 30px;
    /* Space between the text and the button */
    max-width: 1200px;
    margin: 40px auto 0 auto;
}

.souvenir-text-wrapper {
    width: 100%;
    /* Allows text to use the full width before centering */
    max-width: 800px;
    /* Keeps the text from getting too wide/ugly */
}

.souvenir-btn-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* --- Shared Button Design (The "Merch" Look) --- */
.go-to-merch-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: black;
    color: white !important;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid var(--neon-purple-bright);
    box-shadow: 0 0 20px var(--neon-purple-glow), inset 0 0 10px rgba(208, 0, 255, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    text-transform: uppercase;
}

.go-to-merch-glow:hover {
    background: rgba(208, 0, 255, 0.15);
    box-shadow: 0 0 30px var(--neon-purple-glow), inset 0 0 20px rgba(208, 0, 255, 0.6);
    transform: translateY(-3px) scale(1.02);
}

/* --- Individual Positioning Logic --- */

.main-cta {
    margin-top: 20px;
    /* Space in Hero section */
}

.contact-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 2000;
    padding: 12px 25px;
    /* Slightly smaller for floating */
}

.scroll-pill {
    display: table;
    margin: 30px auto;
}

/* 6. Responsiveness (Crucial for Fixed-Size Request) */
@media (max-width: 1000px) {
    .souvenir-main-content {
        flex-direction: column;
        gap: 20px;
    }

    .souvenir-sub-grid {
        flex-direction: row;
        width: 100%;
        gap: 15px;
    }

    .souvenir-center-spot.scale-center {
        width: 80%;
        margin: 0 auto;
    }

    .souvenir-lower-layout {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .souvenir-btn-wrapper {
        justify-content: center;
    }
}

/* --- CTA Banner Styling --- */
.cta-banner {
    position: relative;
    background: url('assets/cta-bg.jpg') no-repeat center center/cover;
    /* Use the background image from your screenshot */
    background-color: #2a0033;
    /* Dark purple fallback */
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.cta-banner .pixel-heading {
    font-family: 'Pixel Font', sans-serif;
    /* Use your specific pixel font */
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px #000;
}

.cta-banner .pixel-subheading {
    font-family: 'Pixel Font', sans-serif;
    font-size: 2.2rem;
    text-transform: uppercase;
}

/* --- Exact Image-Match Footer Layout --- */
.dark-footer.anti-vacant {
    background: transparent;
    /* Keeping your existing background as requested */
    padding: 80px 5%;
    position: relative;
    color: rgb(255, 255, 255);
    /* Text color in your photo is dark against the pink */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* --- LEFT SIDE: Logos & Buttons --- */
.footer-col.left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Aligned to the left per photo */
    gap: 40px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
}

.partner-logo {
    height: 140px;
    /* Scaled to match the large presence in your photo */
    width: auto;
    object-fit: contain;
}

.handshake-emoji {
    font-size: 3rem;
    display: flex;
    align-items: center;
}

/* --- Updated Footer Button Sizes --- */
.footer-contact-btns {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
    /* Ensure the container doesn't collapse so buttons can expand */
    width: 100%;
    max-width: 300px;
}

.footer-btn {
    background: #000;
    color: white !important;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 20px;
    font-weight: bold;
    font-family: var(--font-pixel);
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centers the text and icon inside the button */
    gap: 12px;
    border: 1px solid var(--neon-purple);
    box-shadow: 0 0 25px rgba(188, 19, 254, 0.7);
    transition: 0.3s ease;

    /* CHANGE THIS: Set a fixed width or use 100% of the container */
    width: 100%;
    box-sizing: border-box;
    /* Ensures padding doesn't add to the width */
}

.footer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--neon-purple);
}

/* --- RIGHT SIDE: Institution Info & Links --- */
.footer-col.right {
    flex: 1.5;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    /* Subtle divider */
    padding-left: 60px;
    display: flex;
    flex-direction: column;
    /* Stacks info and links vertically */
    justify-content: flex-start;
    align-items: flex-start;
    /* Aligns both children to the left */
    gap: 30px;
    /* Space between the address and the links */
}

.institution-info {
    width: 100%;
}

.institution-info h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.address-text {
    font-family: 'Times New Roman', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* The Link Grid now sits directly under the address */
.footer-link-grid {
    display: flex;
    gap: 80px;
    /* Spreads the two columns of links apart */
    margin-top: 10px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-group a {
    color: white;
    text-decoration: none;
    font-family: 'Times New Roman', serif;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

.link-group a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* --- Social Icons & Copyright --- */
.social-icons {
    margin-top: 20px;
}

.social-img {
    height: 60px;
    /* Scale icons to match image */
    width: auto;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 40px 0 20px 0;
    font-weight: bold;
    color: #ffffff;
    font-size: 1rem;
    border-top: none;
    /* Removed border to match photo */
}

/* Neon Borders (The Purple Lines) */
.neon-line {
    width: 100%;
    height: 5px;
    background-color: #d000ff;
    box-shadow: 0 0 15px #d000ff;
}

/* 1. The Blue Neon Line from your image */
.neon-divider-blue {
    width: 100%;
    height: 4px;
    background: #0084ff;
    box-shadow: 0 0 15px #0084ff, 0 0 5px #fff;
    position: relative;
    z-index: 10;
}

/* --- CTA Banner Styling --- */
.cta-banner.enhanced-height {
    position: relative;
    padding: 85px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/Shirt & Mug.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    text-align: center;
    color: white;
}

/* Updated Fonts to match Hero Section */
.cta-banner .pixel-heading {
    font-family: var(--font-pixel);
    /* Matches hero font */
    font-size: 5.5rem;
    margin-bottom: 10px;
    text-shadow: 4px 4px 0px #000;
    /* Matches hero shadow depth */
    text-transform: uppercase;
}

.cta-banner .pixel-subheading {
    font-family: var(--font-pixel);
    /* Matches hero font */
    font-size: 3.2rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #000;
    color: var(--text-light);
}

/* 3. Anti-Vacant Footer Layout */
.dark-footer.anti-vacant {
    background-color: #3b0066;
    /* Matching the deep purple in your file */
    padding: 70px 0 30px 0;
    /* 10% height increase */
    position: relative;
}

.footer-container {
    max-width: 1300px;
    /* Wider to avoid compression */
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    /* Spreads content to fill "vacant" areas */
    align-items: flex-start;
}

.footer-col.left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center items in the left block */
    gap: 35px;
}

.footer-col.right {
    flex: 1.5;
    /* Gives the text more room to breathe */
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 80px;
}

/* Address Styling */
.address-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 15px;
    letter-spacing: 0.5px;
}

/* Link Grid Spacing */
.footer-link-grid {
    display: flex;
    gap: 60px;
    /* Spreads the columns */
    margin-top: 40px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-group a {
    color: white;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Floating Contact Button */
.floating-contact {
    position: absolute;
    bottom: 30px;
    right: 40px;
}

.contact-us-pill {
    background: black;
    color: white;
    border: 2px solid #fff;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.contact-us-pill:hover {
    background: #111;
    border-color: #d000ff;
}

/* Handshake logic */
.handshake-emoji {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.btn-small {
    background: var(--neon-purple);
    color: white;
    border: none;
    padding: 8px 15px;
    font-family: var(--font-pixel);
    cursor: pointer;
    transition: 0.3s;
}

.btn-icon {
    background: transparent;
    color: var(--neon-purple);
    border: 1px solid var(--neon-purple);
    padding: 8px 12px;
    cursor: pointer;
}

.btn-small:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--neon-purple);
}

.user-controls a {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
}

/* --- 1. Hide Toggle Elements by Default --- */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    /* Hidden on Desktop */
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--neon-purple);
    box-shadow: 0 0 10px var(--neon-purple);
    transition: 0.3s;
}

/* --- 2. Mobile & Tablet Styles (Breakpoint) --- */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
        /* Show icon on Tablet/Mobile */
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden off-screen */
        width: 70%;
        height: 100vh;
        background: rgba(5, 1, 10, 0.95);
        backdrop-filter: blur(15px);
        border-left: 2px solid var(--neon-purple);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
    }

    nav a {
        margin: 20px 0;
        font-size: 1.5rem;
        /* Bigger for touch */
    }

    /* Show menu when checkbox is checked */
    .menu-toggle:checked~nav {
        right: 0;
    }

    /* UI Adjustments for Mobile */
    .pixel-heading {
        font-size: 2.5rem;
        /* Shrink giant text so it fits */
    }

    .hero {
        height: auto;
        padding: 120px 20px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col.right {
        padding-left: 0;
        border-left: none;
        margin-top: 40px;
    }

    /* Adjust Overlay Graphics for mobile */
    .overlay-graphic {
        display: none;
        /* Often too cluttered for small screens */
    }
}

/* --- ENHANCED CONTINUOUS CAROUSEL --- */
.carousel-glass {
    position: relative;
    padding: 60px 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
    /* Smooth fade on edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.carousel-track {
    display: flex;
    gap: 40px; /* Increased gap for cleaner UI */
    flex-wrap: nowrap;
    width: max-content;
    will-change: transform;
    list-style: none;
    margin: 0;
    padding: 20px 0;
}

/* Card Sizing */
.carousel-slide {
    flex: 0 0 400px; /* BIGGER cards */
}

.carousel-card {
    background: rgba(30, 0, 60, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(188, 19, 254, 0.5);
    border-radius: 20px;
    padding: 25px;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-pink);
    box-shadow: 0 0 30px rgba(188, 19, 254, 0.3);
}

/* IMAGE UNIFORMITY FIX */
.carousel-img-container {
    width: 100%;
    height: 220px; /* Fixed height for all images */
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This forces all images to fill the box perfectly */
    display: block;
}

/* TEXT ALIGNMENT FIX */
.card-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #e0e0e0;
    text-align: center; /* Perfect center alignment */
    margin: 0;
    padding: 0 10px;
}

/* --- Desktop Defaults --- */
.hamburger, .menu-toggle, .mobile-auth {
    display: none; /* Hidden on desktop */
}

/* --- Tablet & Mobile Breakpoint (1024px and below) --- */
@media (max-width: 1024px) {
    /* Header Adjustments */
    .header-inner {
        justify-content: space-between;
        padding: 15px 5%;
    }

    /* Hide the original Auth Links to prevent clutter */
    .auth-links {
        display: none;
    }

    /* Hamburger Icon Styling */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        z-index: 100;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--neon-purple, #ff32ff);
        box-shadow: 0 0 10px var(--neon-purple);
        transition: 0.3s;
    }

    /* The Navigation Menu (Mobile View) */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 80%;
        height: 100vh;
        background: rgba(10, 2, 20, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border-left: 1px solid rgba(255, 50, 255, 0.3);
    }

    /* Show Menu when Checkbox is Checked */
    .menu-toggle:checked ~ .main-nav {
        right: 0;
    }

    /* Animate Hamburger to 'X' when checked */
    .menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .mobile-auth {
        display: flex;
        gap: 20px;
        margin-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 20px;
    }

    /* Grid & Layout Adjustments */
    .grid-container {
        grid-template-columns: 1fr !important; /* Stack columns on tablet/mobile */
        padding: 0 10px;
    }

    .glass-card {
        padding: 30px 20px !important;
        width: 95% !important;
    }

    h1.pixel-heading {
        font-size: 2rem !important;
    }
}

/* --- Small Mobile (480px) --- */
@media (max-width: 480px) {
    .main-nav {
        width: 100%; /* Take full screen */
    }
    
    .contact-btn {
        width: 90%;
        text-align: center;
    }
}

img {
  max-width: 100%;
  height: auto;
}

/* Mobile styles for screens smaller than 768px */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
}

/* Hidden by default (Mobile) */
.contact-btn {
  display: none;
}

/* Show only on screens larger than 768px (Desktop) */
@media (min-width: 769px) {
  .contact-btn {
    display: inline-block; /* or 'flex' depending on your styling */
  }
}