/* --- Font Setup (With Fallback) --- */
@font-face {
    font-family: 'Ubuntu Local';
    src: url('/public/graphics/fonts/ubuntu/Ubuntu-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Ubuntu Local';
    src: url('/public/graphics/fonts/ubuntu/Ubuntu-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Critical above-the-fold styles for faster initial render */

/* --- Video Carousel Section --- */
#video-carousel {
    padding: 6rem 0 0 0;
    background-color: black;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.carousel-video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(3, 77, 255, 0.5);
}

.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    z-index: 10;
    animation: slideInUp 0.5s ease-out;
}

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

.carousel-dots {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(3, 77, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background-color: rgba(3, 77, 255, 0.5);
}

.dot.active {
    background-color: var(--main-blue);
    width: 16px;
    height: 16px;
    box-shadow: 0 0 15px rgba(3, 77, 255, 0.8);
}
/* --- Global Styles & Variables --- */
:root {
    --main-blue: #034dff;
    --main-dark: #0a0a12;
    --secondary-dark: #1a1a2e;
    --card-bg: #16213e;
    --text-color: #ffffff;
    --text-gray: #9ca3af;
    --accent-glow: rgba(3, 77, 255, 0.6);
    --container-width: 1200px;
}

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

html {
    position: relative;
}

/* Fixed parallax background on html to escape body transform */
html::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/public/graphics/backgrounds/Deep Space.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: -1;
    pointer-events: none;
}

body {
    font-family: 'Ubuntu Local', 'Ubuntu', sans-serif;
    background-color: var(--main-dark);
    color: var(--text-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

body::selection {
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--main-blue);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-gravi { color: var(--main-blue); }
.font-bold { font-weight: bold; }
.uppercase { text-transform: uppercase; }
.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 3rem; }

.glow-text {
    text-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow);
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-divider {
    width: 100px;
    height: 4px;
    background-color: var(--main-blue);
    margin: 0 auto 3rem auto;
    border-radius: 2px;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(3, 77, 255, 0.3);
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.brand img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.brand:hover img {
    transform: rotate(-12deg);
}

.nav-links {
    display: flex; /* Always flex to enable animation */
    gap: 30px;
    font-weight: 500;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 0 20px;
    border-bottom: 1px solid rgba(3, 77, 255, 0.3);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
}

.nav-links.active {
    max-height: 500px;
    opacity: 1;
    padding: 20px;
}

.nav-links a {
    padding: 10px;
    text-align: center;
}

.nav-links a:hover {
    color: var(--main-blue);
}

.btn-devlog {
    background-color: var(--main-blue);
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 0 15px var(--accent-glow);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-devlog:hover {
    background-color: white;
    color: var(--main-blue);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        background-color: transparent;
        padding: 0;
        border-bottom: none;
        align-items: center;
        max-height: none;
        opacity: 1;
        overflow: visible;
    }
    .mobile-menu-btn {
        display: none;
    }
}

/* --- Hero Section --- */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-jay-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    margin-bottom: 2rem;
}

.hero-jay {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 35px rgba(3,77,255,0.8));
    position: relative;
    z-index: 2;
    /* Performance: Hint to browser to use GPU composition */
    will-change: transform;
}

/* New Floating Video Element in Hero */
.hero-video-float {
    position: absolute;
    top: -20px;
    right: -60px;
    width: 120px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px var(--main-blue);
    z-index: 1;
    opacity: 0.8;
    border: 2px solid rgba(255,255,255,0.2);
    transform: rotate(15deg);
}

.hero-title {
    width: 700px;
    max-width: 90vw;
    margin-top: 2rem;
    margin-bottom: 4rem;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

@media (max-width: 1400px), (max-height: 800px) {
    .hero-title {
        max-width: 600px;
        margin-bottom: 2rem;
    }
    .hero-jay-wrapper {
        width: 150px;
        height: 150px;
        margin-bottom: 1.5rem;
    }
}
@media (max-width: 800px) {
    .hero-title {
        max-width: 400px;
        margin-bottom: 1.5rem;
    }
    .hero-jay-wrapper {
        width: 125px;
        height: 125px;
        margin-bottom: 1rem;
    }
    h1.hero-subtitle {
        font-size: 1rem;
    }
}
@media (max-width: 450px) {
    .hero-title {
        max-width: 300px;
        margin-bottom: 1rem;
    }
    .hero-jay-wrapper {
        width: 115px;
        height: 115px;
        margin-bottom: 0.75rem;
    }
    h1.hero-subtitle {
        font-size: 0.875rem;
    }
    .hero-buttons {
        .btn {
            font-size: 1rem;
            width: 200px;
        }
    }
    h2 {
        font-size: 1.5rem !important;
    }
}

.hero-title:hover {
    transform: scale(1.05);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: normal;
    color: #bfdbfe;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;

    /* Make all buttons the same width */
    .btn {
        width: 300px;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: white;
    color: black;
    transform: translateY(-5px);
}

.btn-primary {
    background: var(--main-blue);
    border: none;
    color: white;
    box-shadow: 0 0 30px rgba(3,77,255,0.6);
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-5px);
}

.btn-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.7s ease;
}

.btn-outline:hover .btn-icon {
    transform: rotate(180deg);
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, black, transparent);
    pointer-events: none;
}

/* --- Parallax & Animation Classes --- */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.parallax-layer .star {
    filter: grayscale(100%);
}

.p-star-1 { position: absolute; top: 10%; left: 5%; width: 30px; opacity: 0.7; }
.p-star-2 { position: absolute; bottom: 15%; right: 5%; width: 50px; opacity: 0.5; }
.p-planet { position: absolute; bottom: -10%; left: -10%; width: 30%; opacity: 0.6; scale: 1.5; }

@keyframes float-full {
    0% { transform: translateY(0px); }
    25% { transform: translateY(-15px); }
    50% { transform: translateY(0px); }
    75% { transform: translateY(15px); }
    100% { transform: translateY(0px); }
}
@keyframes float {
    0% { transform: translateY(0px) }
    50% { transform: translateY(20px) }
    100% { transform: translateY(0px) }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes float-slow {
    0% { transform: translateY(0px) }
    50% { transform: translateY(-30px) }
    100% { transform: translateY(0px) }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes spin-slow-reverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-slow { animation: float-slow 6s ease-in-out infinite; }
.animate-spin-slow { animation: spin-slow 20s linear infinite; }
.animate-spin-slow-reverse { animation: spin-slow 20s linear infinite reverse; } 
.animate-spin { animation: spin 10s linear infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animation-flash { animation: flash 1.5s ease-in-out infinite; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(0.6) }
}
@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

/* --- Intro Section --- */
#intro {
    padding: 6rem 0 0 0;
    background-color: black;
    position: relative;
}

.intro-text {
    position: relative;
    background-color: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(3, 77, 255, 0.3);
    border-radius: 1.5rem;
    padding: 3rem;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(3, 77, 255, 0.2);
}

.intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    filter: grayscale(100%);
}

.intro-content {
    position: relative;
    z-index: 1;
    animation: float-full 6s linear infinite;
}

.text-gray-400 {
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Features Section --- */
#features {
    padding: 6rem 0;
    background-color: black;
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: rgba(17, 24, 39, 0.8);
    border: 1px solid #374151;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--main-blue);
    transform: translateY(-5px);
}

/* Video Background for cards (optional decoration) */
.card-bg-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    filter: grayscale(100%);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(3, 77, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1);
}

.feature-icon-wrapper img {
    width: 48px;
    height: 48px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #93c5fd;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.feature-desc {
    color: #9ca3af;
    text-align: center;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* --- Characters Section --- */
#characters {
    padding: 6rem 0;
    background: radial-gradient(circle at center, #1a1a2e 0%, #000 100%); /* Fallback */
    background-image: url('/public/graphics/backgrounds/Cryptic.svg');
    background-size: cover;
    position: relative;
    box-shadow: inset 0 -4px 10px -4px black;
}

.char-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
    text-align: center;
}

.arrow-decor {
    display: none;
    height: 50px;
    opacity: 0.5;
    transform: rotate(90deg);
}

@media (min-width: 768px) {
    .char-header {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .arrow-decor {
        display: block;
    }
}

.char-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .char-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .char-grid { grid-template-columns: repeat(4, 1fr); }
}

.char-card {
    background: linear-gradient(145deg, var(--secondary-dark), var(--card-bg));
    border-radius: 1rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.char-card:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: var(--main-blue);
    box-shadow: 0 0 25px var(--accent-glow);
}

.char-icon-corner {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.1;
    width: 32px;
    transition: opacity 0.3s ease;
}

.char-card:hover .char-icon-corner { opacity: 1; }

.char-img {
    height: 190px;
    margin: 0 auto 1.5rem auto;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5));
}

.char-card:hover .char-img { transform: scale(1.1); }

.char-name {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.25rem;
}

.char-role {
    text-align: center;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.char-quote {
    text-align: center;
    color: var(--text-gray);
    font-style: italic;
    font-size: 0.9rem;
}

/* Specific Character Colors */
.text-blue { color: #60a5fa; }
.text-pink { color: #f472b6; }
.text-green { color: #9fbd89; }
.text-brown { color: #b66901; }
.text-red { color: #ef4444; }
.text-dark-red { color: #7f1d1d; }


/* --- NEW SECTION: PLATFORMS --- */
#platforms {
    padding: 9rem 0 5rem 0;
    background: linear-gradient(to bottom, #000, #0a0a12);
}

.platform-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.platform-svg {
    filter: brightness(0) invert(1);
}

.platform-icons {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-item:hover {
    opacity: 1;
    transform: translateY(-5px);
    color: var(--main-blue);
}

.platform-svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
}

.platform-label {
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.web-status {
    margin-top: 1rem;
    font-family: monospace;
    color: #ef4444;
    border: 1px solid #ef4444;
    padding: 5px 10px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: pulse 2s infinite;
}

/* --- Worlds Section --- */
#worlds {
    padding: 3rem 0 6rem 0;
    background: linear-gradient(to bottom, #0a0a12, #050510);
    overflow: hidden;
}

.parallax-strip {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 6rem;
    cursor: default;
    user-select: none;
    box-shadow: 0 0 100px rgba(17, 93, 233, 0.5);
    background: #000;
}
@media (max-width: 950px) {
    .parallax-strip {
        display: none;
    }
}

/* Background video or image for strip */
.strip-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('/public/graphics/backgrounds/Volcanic.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    transition: transform 1s ease;
}

.parallax-strip:hover .strip-bg {
    transform: scale(1.1);
}

.strip-content {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 2rem;
    align-items: flex-end;
}

.strip-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 20;
}

.parallax-strip:hover .strip-overlay {
    opacity: 1;
}

.strip-text {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 5px;
    border: 4px solid white;
    padding: 1rem 2rem;
    text-shadow: 0 0 15px var(--accent-glow);
}

.galaxy-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.galaxy-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.galaxy-item:hover {
    transform: scale(1.1);
}

.galaxy-img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.galaxy-item:hover .galaxy-img {
    transform: rotate(12deg);
}

.galaxy-name { font-weight: bold; font-size: 0.9rem; }

/* --- NEW SECTION: BRAND & NOTIFICATION --- */
#brand-notification {
    padding: 0 0 5rem 0;
    background-color: #050510;
    position: relative;
}

.holo-panel {
    background: rgba(3, 77, 255, 0.05);
    border: 1px solid rgba(3, 77, 255, 0.3);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    box-shadow: 0 0 30px rgba(3, 77, 255, 0.1);
}

@media (min-width: 768px) {
    .holo-panel {
        grid-template-columns: 1fr 1.5fr;
    }
}

.holo-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--main-blue), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

.brand-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Centered for visual balance */
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
    padding-right: 20px;
}

@media (max-width: 768px) {
    .brand-side { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 2rem; padding-right: 0;}
}

.marble-stack-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    fill: white;
    filter: drop-shadow(0 0 10px white);
}

.dev-label {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--text-gray);
    text-transform: uppercase;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.notify-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.notify-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-blue);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.notify-desc {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    max-width: 500px;
}

/* --- Footer --- */
footer {
    background-color: black;
    padding: 4rem 0;
    border-top: 2px solid #1e3a8a;
    position: relative;
    text-align: center;
}

.footer-cta {
    margin-bottom: 3rem;
    animation: flash 2s infinite;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-large-white {
    background-color: white;
    color: black;
    font-size: 1.25rem;
    font-weight: bold;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 75px;
    box-shadow: 0 0 30px rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
}

.btn-large-white:hover {
    background-color: var(--main-blue);
    color: white;
    transform: scale(1.05);
}

.btn-flip-inverted .flip-icon,
.btn-flip-inverted .flip-text {
    transform: rotate(180deg);
}

.btn-flip-inverted .flip-icon {
    width: 24px;
    height: 24px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.7;
}
#main-site-link {
    transform: scale(0.8);
    &:hover {
        transform: scale(1.3) rotate(180deg);
        border-color: transparent;
    }
}
.social-links img {
    width: 40px;
    height: 40px;
    transition: opacity 0.3s;
    filter: invert(1);
    transform: scale(1.0);
    transition: all 0.3s ease;
    border-radius: 50%;

    &:hover {
        transform: scale(1.3);
        border: 1px solid black;
        border-radius: 50%;
    }
}

.social-links a:hover { opacity: 1; }

.copyright {
    color: #d1d5db; /* Accessible Light Gray */
    font-size: 0.875rem;
}

.footer-disclaimer {
    color: #d1d5db; /* Accessible Light Gray */
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.footer-decor {
    position: absolute;
    bottom: 0;
    right: 20px;
    height: 100px;
    opacity: 0.2;
    filter: grayscale(100%);
}

/* --- Mechanics (Gravity Flip & Scroll Reveal) --- */
#content-wrapper {
    transition: transform 1s ease-in-out;
}

.gravity-flipped #content-wrapper {
    transform: rotate(180deg);
}

.gravity-normal #content-wrapper {
    transform: rotate(0deg);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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