:root {
    --bg-dark: #110D31;
    /* Booming Games Dark Blue */
    --accent-primary: #FF3050;
    /* Booming Games Red/Pink */
    --accent-secondary: #00E5FF;
    /* Cyan for futuristic highlights */
    --text-main: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    --font-main: 'Lato', sans-serif;
    --font-heading: 'Orbitron', sans-serif;

    /* --- DESIGN SYSTEM VARIABLES --- */
    /* Spacing */
    --space-section: 46px;
    --space-section-mobile: 40px;
    --space-card: 40px;
    --space-card-mobile: 24px;
    --gap-grid: 32px;

    /* Radius */
    --radius-card: 24px;
    --radius-btn: 8px;

    /* Typography Sizes (Desktop) */
    --font-size-h1: 80px;
    --font-size-h2: 48px;
    --font-size-h3: 24px;
    --font-size-body: 16px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;
    font-size: var(--font-size-body);
}

/* Background Canvas */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.app-container {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    /* Keep horizontal padding */
    z-index: 1;
}

/* Common Section Spacing */
.section-container {
    padding: var(--space-section) 0;
    margin-bottom: 0;
    /* Let flow naturally */
}

/* Navbar */
/* --- Top Header --- */
/* --- Top Header --- */
.top-header {
    width: 100%;
    padding: 20px 0;
    background-color: rgba(11, 11, 21, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Kept from original */
.highlight {
    color: var(--accent-primary);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--text-main);
}

.main-nav {
    display: flex;
    gap: 40px;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--accent-primary);
}

.header-right {
    display: flex;
    align-items: center;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: var(--radius-btn);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Main Nav */
@media (max-width: 900px) {
    .header-inner {
        padding: 0 1.5rem;
    }

    .main-nav {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .top-header {
        padding: 15px 20px;
        flex-wrap: wrap;
        /* Simple adaptive strategy */
    }

    .main-nav {
        display: none;
        /* The request didn't specify mobile menu re-implementation, assuming desktop focus or simple hiding. 
           The old menu had a hamburger. 
           Given the specific "adjust menu" request with desktop code, I will hide links on mobile to avoid breaking layout. */
    }

    .logo img {
        height: 30px !important;
    }
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-btn);
    /* Slightly boxy for tech feel */
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
    box-shadow: 0 0 20px rgba(255, 48, 80, 0.4);
    border: 1px solid rgba(255, 48, 80, 0.5);
}

.btn-primary:hover {
    background-color: #ff5070;
    box-shadow: 0 0 30px rgba(255, 48, 80, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    margin-left: 1rem;
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: var(--space-section) 0 4rem 0;
    /* Reduced bottom for layout overlap */
    min-height: 90vh;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    z-index: 5;
}

/* 1. Centered Header */
.hero-header-text {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-h1);
    /* Massive title like reference */
    line-height: 0.9;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* MOBILE VARIABLES OVERRIDE */
@media (max-width: 768px) {
    :root {
        --space-section: var(--space-section-mobile);
        --space-card: var(--space-card-mobile);
        --font-size-h1: 3rem;
        --font-size-h2: 2rem;
    }

    .hero-section {
        padding: 4rem 0;
    }
}

.hero-description {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    padding: 13px 40px;
    font-size: 16px;
    letter-spacing: 1px;
}

/* 2. Three Column Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 310px 1fr 310px;
    /* Slightly wider side cols */
    gap: 0;
    /* Remove gap to bring them closer */
    width: 100%;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

/* Left Col: Floating Card */
.col-left {
    display: flex;
    justify-content: flex-end;
    /* Push closer to center */
    align-items: center;
    position: relative;
    z-index: 12;
    /* In front of character if overlap */
    margin-right: -20px;
    /* Pull closer */
}

/* Right Col: CTA Panel */
.col-right {
    display: flex;
    justify-content: flex-start;
    position: relative;
    z-index: 12;
    /* In front of character */
    margin-left: -20px;
    /* Pull closer */
}

.floating-profile-card {
    width: 280px;
    /* Slightly larger */
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 48, 80, 0.1), rgba(15, 11, 25, 0.5));
    /* Matched to Right Card */
    border: 1px solid rgba(255, 48, 80, 0.3);
    /* Matched to Right Card */
    border-radius: 24px;
    padding: 16px;
    backdrop-filter: blur(20px);
    /* Removed default rotation to keep it straight as requested */
    transform: rotate(0deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    /* Ensure nothing spills out */
}

/* Hover Effect: Rotate and Lift */
.floating-profile-card:hover {
    transform: perspective(1000px) rotateY(10deg) rotateX(5deg) translateY(-10px);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.6);
}

.profile-image-box {
    width: 100%;
    height: 260px;
    /* Reduced height slightly to give more room for text */
    background: linear-gradient(135deg, rgba(255, 48, 80, 0.1), rgba(15, 11, 25, 0.5));
    /* Requested Gradient */
    border-radius: 16px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Profile Image: Cropped/Sized inside the red box */
.mini-avatar {
    width: 100%;
    height: 100%;
    background-size: cover;
    /* Fit completely visible */
    background-position: center top;
    /* Focus on face! */
    background-repeat: no-repeat;
    transform: scale(1.0);
    /* Reset scale */
}

.rarity-badge {
    position: absolute;
    bottom: 13px;
    left: 13px;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 13px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.rarity-badge span {
    display: block;
    font-size: 10px;
    color: #aaa;
    text-transform: uppercase;
}

.rarity-badge strong {
    color: white;
    font-family: var(--font-heading);
}

.card-arrow {
    position: absolute;
    bottom: 13px;
    right: 13px;
    width: 32px;
    height: 32px;
    background: var(--accent-primary);
    /* Neon Yellow/Green/Red */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-weight: bold;
    z-index: 2;
}

.profile-info .profile-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 3px;
    color: #fff;
    text-transform: uppercase;
    /* Match screenshot style */
    white-space: normal;
    /* Allow wrap */
    overflow: visible;
    text-overflow: clip;
}

.profile-info .profile-desc {
    font-size: 13px;
    color: #888;
}

/* Center Col: Main Character */
.col-center {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    z-index: 10;
    /* Ensure on top */
    overflow: visible;
}

.main-character-display {
    width: 100%;
    height: auto;
    /* Allow height to be determined by content/min-height */
    min-height: 800px;
    position: relative;
    /* Negative margin to pull it UP (Pop out effect) */
    margin-top: -10px;
    /* Negative margin to pull bottom UP */
    margin-bottom: -450px;
    /* Pull next section UP significantly */
    padding-bottom: 60px;
    /* Increased space for shadow to not clip */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
    /* Let clicks pass through if covering text */
}

.character-placeholder {
    width: 200%;
    /* Massive zoom */
    max-width: 2000px;
    height: 1300px;
    background-position: center 50px;
    background-repeat: no-repeat;
    background-size: contain;
    filter: drop-shadow(0 0px 40px rgba(255, 48, 80, 0.4));
    z-index: 15;

    /* 👇 AQUI QUE CORTA O PERSONAGEM DE BAIXO PARA CIMA 👇 */
    /* Mude "black 45%" para diminuir ou aumentar o corte. */
    /* 45% = Corta na cintura/alto. 80% = Mostra pernas. */
    /* Updated for extra smooth fade ending before the bottom edge */
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 70%);
    mask-image: linear-gradient(to bottom, black 40%, transparent 70%);
}

/* Right Col: Stats Panel / CTA */
.col-right {
    display: flex;
    justify-content: flex-start;
}

.cta-panel-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 48, 80, 0.1), rgba(15, 11, 25, 0.5));
    border: 1px solid rgba(255, 48, 80, 0.3);
    border-radius: 24px;
    min-height: 300px;
    text-align: left;
    backdrop-filter: blur(10px);
}

.hero-cta-title {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 1;
    color: #fff;
    margin-bottom: 8px;
}

.hero-cta-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 24px;
}

.hero-cta-btn {
    width: 100%;
    text-align: center;
    padding: 16px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255, 48, 80, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Specific Section Styles (Moved from HTML) */
#partnership,
#games,
#contact {
    position: relative;
    z-index: 5;
    background-color: var(--bg-dark);
    /* Ensure background is solid */
}

#contact {
    padding-top: 0;
    /* Visual adjustment to compensate for optical gap */
}

#contact .section-header {
    position: relative;
    z-index: 10;
}

.final-cta-container {
    text-align: center;
    margin-top: 48px;
    position: relative;
    z-index: 20;
}

.final-cta-btn {
    padding: 16px 48px;
    font-size: 19px;
    box-shadow: 0 0 30px rgba(255, 48, 80, 0.4);
}

.cta-card-btn {
    display: inline-block;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .col-left,
    .col-center,
    .col-right {
        justify-content: center;
    }

    .stats-panel-vertical {
        flex-direction: row;
        justify-content: space-around;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
}

/* Partnership Section */
.partnership-details {
    margin-top: 0rem;
    /* Removed top margin to close gap */
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.partnership-details h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.partnership-details p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-left {
        order: 1;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-center {
        order: 2;
        margin: 2rem 0;
    }

    .hero-right {
        order: 3;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

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

@media (max-width: 768px) {
    .hero-right {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Section Common */
.section-container {
    padding: var(--space-section) 0;
    margin-bottom: 2rem;
}

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

.section-subtitle {
    display: block;
    color: var(--accent-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-h2);
    margin-bottom: 1rem;
}

/* Games Grid New Design */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 300px));
    /* Restrict max width */
    gap: var(--gap-grid);
    /* Standard Gap */
    padding: 1rem;
    justify-content: center;
}

.game-card {
    position: relative;
    /* Updated to Gradient Background as requested */
    background: linear-gradient(135deg, rgba(20, 15, 30, 0.9) 0%, rgba(30, 20, 45, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-card);
    /* Standard Radius */
    padding: 8px;
    /* Inner padding specific to game card frame */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Image Area */
.game-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    /* Square cards */
    background: transparent;
    border-radius: 20px;
    /* Slightly less than card */
    overflow: hidden;
}

.game-image-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    /* Default to top center for heads */
    transition: transform 0.5s ease;
}

.game-card:hover .game-image-placeholder {
    transform: scale(1.05);
}

/* Bottom Blur Bar */
.card-bottom-blur {
    position: absolute;
    bottom: 24px;
    left: 20px;
    right: 20px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.card-rating {
    display: flex;
    flex-direction: column;
}

.rating-label {
    font-size: 0.7rem;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.rating-value {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.card-arrow-btn {
    width: 40px;
    height: 40px;
    background: var(--accent-primary);
    /* Booming Games Red */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    font-weight: bold;
}

.card-arrow-btn:hover {
    transform: scale(1.1) rotate(0deg);
    /* Removed rotation preference */
    background: #ff5070;
}

/* Speech Bubbles */
.card-speech-bubble {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--accent-primary);
    /* Booming Games Red */
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 48, 80, 0.4);
}

.card-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 15px;
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: var(--accent-primary) transparent transparent transparent;
}

.right-bubble {
    left: auto;
    right: 20px;
    background: var(--accent-primary);
}

.right-bubble::after {
    left: auto;
    right: 15px;
    border-color: var(--accent-primary) transparent transparent transparent;
}

/* Bento Grid Section - Asymmetric Masonry */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-grid);
    /* Standard Gap 32px => 2rem */
    padding: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.bento-col {
    display: flex;
    flex-direction: column;
    gap: var(--gap-grid);
    /* Standard Gap */
}

.bento-card {
    background: linear-gradient(135deg, rgba(255, 48, 80, 0.1), rgba(15, 11, 25, 0.5));
    border: 1px solid rgba(255, 48, 80, 0.3);
    border-radius: var(--radius-card);
    /* Standard 24px */
    padding: var(--space-card);
    /* Standard 2.5rem */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Card Size Variations for 800px Total Height */
/* Left Column: 385px + 385px + 30px = 800px */
.card-standard {
    height: 385px;
}

/* Right Column: 500px + 270px + 30px = 800px */
.card-tall {
    height: 500px;
}

.cta-card {
    height: 270px;
    background: linear-gradient(145deg, #0f0b1e 0%, #1a1535 100%);
    justify-content: center;
    text-align: left;
}

/* Final Stats Section */
.stats-orbit-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 700px;
    /* Increased height for better overlapping */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Magic Animations */
@keyframes rotateRing {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotateRingRev {
    0% {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

/* Magic Rings (Replaces pseudo-elements for more layers) */
.magic-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Base transform */
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Ring 1 (Largest - Slow Clockwise) */
.ring-1 {
    width: 650px;
    height: 650px;
    border: 1px solid rgba(255, 48, 80, 0.1);
    border-top: 1px solid rgba(255, 48, 80, 0.4);
    border-bottom: 1px solid rgba(255, 48, 80, 0.4);
    animation: rotateRing 25s linear infinite;
    box-shadow: 0 0 50px rgba(255, 48, 80, 0.05);
}

/* Ring 2 (Medium - Medium Counter-Clockwise) */
.ring-2 {
    width: 500px;
    height: 500px;
    border: 1px dashed rgba(0, 229, 255, 0.2);
    border-left: 1px solid rgba(0, 229, 255, 0.4);
    border-right: 1px solid rgba(0, 229, 255, 0.4);
    animation: rotateRingRev 18s linear infinite;
}

/* Ring 3 (Smallest - Fast Clockwise) */
.ring-3 {
    width: 350px;
    height: 350px;
    border: 1px dotted rgba(255, 255, 255, 0.15);
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    animation: rotateRing 12s linear infinite;
}

/* Central Character */
@keyframes floatChar {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-15px);
    }
}

.center-character {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Centered positioning */
    width: auto;
    /* Auto width to maintain aspect ratio */
    height: 1000px;
    /* Fixed reasonable height */
    z-index: 20;
    /* Sits behind the stats (Stats = 30) */
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    animation: floatChar 7s ease-in-out infinite;
}

.center-character img {
    width: auto;
    height: 100%;
    /* Force image to fit container height */
    max-width: 130%;
    object-fit: contain;
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.6));
}

/* Orbit Stats Circles */
/* Orbit Stats Circles - Rune Stone Style */
@keyframes floatStat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fireFlicker {
    0% {
        box-shadow:
            0 0 20px rgba(255, 69, 0, 0.7),
            inset 0 0 20px rgba(255, 200, 0, 0.5);
        border-color: #ffaa00;
        transform: scale(1) translateY(0);
    }

    25% {
        box-shadow:
            0 0 35px rgba(255, 69, 0, 0.8),
            inset 0 0 30px rgba(255, 100, 0, 0.6);
        border-color: #ffcc00;
    }

    50% {
        box-shadow:
            0 0 25px rgba(255, 0, 0, 0.6),
            inset 0 0 10px rgba(255, 200, 0, 0.4);
        transform: scale(1.02) translateY(-2px);
    }

    75% {
        box-shadow:
            0 0 40px rgba(255, 140, 0, 0.8),
            inset 0 0 25px rgba(255, 50, 0, 0.7);
        border-color: #ffaa00;
    }

    100% {
        box-shadow:
            0 0 20px rgba(255, 69, 0, 0.7),
            inset 0 0 20px rgba(255, 200, 0, 0.5);
        transform: scale(1) translateY(0);
    }
}

/* Orbit Stats Circles - Dark Rune Style */
.orbit-stat {
    position: absolute;
    width: 190px;
    height: 190px;
    background: #111521;
    /* Dark Blue-Grey */
    border: 6px solid #1a202c;
    /* Thick dark border */
    /* Imperfect Circle / Stone Shape */
    border-radius: 42% 58% 40% 60% / 55% 45% 55% 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* User requested drop-shadow style */
    box-shadow: 0 20px 40px rgba(255, 48, 80, 0.4);
    z-index: 30;
    transition: transform 0.3s ease;
    animation: floatStat 8s ease-in-out infinite;
}

/* Stagger Animations */
.stat-tl {
    animation-delay: 0s;
}

.stat-tr {
    animation-delay: 1.5s;
}

.stat-br {
    animation-delay: 3s;
}

.stat-bl {
    animation-delay: 4.5s;
}

/* Internal "Rune" Ring (Removed for clean stone look, or kept subtle) */
.orbit-stat::before {
    display: none;
}

/* Glowing Accent Point (Removed) */
.orbit-stat::after {
    display: none;
}

.orbit-stat:hover {
    transform: scale(1.1) translateY(-5px) rotate(5deg);
    /* Subtle rotation on hover */
    border-color: #2d3748;
    z-index: 35;
}

.orbit-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 0.8;
    margin-bottom: 5px;
    color: #FF3050;
    /* Red Accent */
    /* Heavy Black Outline/Stroke Effect */
    text-shadow:
        3px 3px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: none;
    /* Title Case / Normal */
    letter-spacing: 0.5px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    margin-top: 2px;
}

/* Tighter Positioning to overlap slightly */
/* Widened X Layout to frame character */
.stat-tl {
    top: 50px;
    left: 0px;
}

.stat-tr {
    top: 50px;
    right: 0px;
}

.stat-bl {
    bottom: 0px;
    left: 20px;
}

.stat-br {
    bottom: 0px;
    right: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .stats-orbit-container {
        height: auto;
        flex-direction: column;
        gap: 2rem;
        padding: 4rem 0;
    }

    .stats-orbit-container::before,
    .stats-orbit-container::after {
        display: none;
    }

    .main-character-display {
        /* Reset weird desktop margins */
        margin-top: 0;
        margin-bottom: 0;
        min-height: auto;
        height: 500px;
        padding-bottom: 0;
        pointer-events: auto;
    }

    .character-placeholder {
        /* Reset massive zoom */
        width: 100%;
        max-width: 400px;
        height: 100%;
        background-position: center bottom;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .center-character {
        position: relative;
        width: 100%;
        height: 400px;
        /* Reduced Height to remove empty space below */
        bottom: auto;
        z-index: 5;
        margin-top: 140px;
        margin-bottom: -200px;
        /* Pull stats closer */
    }

    .orbit-stat {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 250px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        height: auto;
        padding: 1.5rem;
        /* Reset box shadow */
        box-shadow: none;
        animation: none;
    }

    .stat-value {
        font-size: 3rem;
        /* Smaller text for mobile */
    }
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 48, 80, 0.3);
}

.bento-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    max-width: 90%;
}

.bento-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 90%;
}

.bento-image-container {
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.bento-img-placeholder {
    width: 250px;
    height: 250px;
    background-size: cover;
    background-position: top center;
    /* Fix faces */
    border-radius: 16px;
    /* Optional rounded */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease;
}

.bento-card:hover .bento-img-placeholder {
    transform: scale(1.05) translateY(-10px);
}

/* Specific Card Tweaks */
.cta-card {
    background: linear-gradient(145deg, #0f0b1e 0%, #1a1535 100%);
    justify-content: center;
    text-align: left;
}

.cta-card .bento-content {
    /* Center content vertically for CTA if desired, or keep top */
    margin-bottom: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card {
        min-height: auto;
        padding: 2rem;
    }

    /* Games Grid Mobile Overrides */
    .games-grid {
        display: flex;
        flex-direction: column;
        gap: var(--space-card);
        /* Use variable */
        padding: 0 1.5rem;
    }

    .game-card {
        width: 100%;
        max-width: 450px;
        /* Allow full reading width */
        margin: 0 auto;
        /* Ensure height is calculated */
        display: block;
        /* Reset from flex to simple block to let image flow */
        min-height: 400px;
        /* Safety height */
    }

    .game-image-container {
        width: 100%;
        /* Force aspect ratio again just in case */
        aspect-ratio: 1/1;
        margin-bottom: 10px;
    }

    /* Reduce text size inside cards */
    .rating-value {
        font-size: 1rem;
    }

    .rating-label {
        font-size: 0.7rem;
    }

    .card-speech-bubble {
        font-size: 0.75rem;
        padding: 5px 12px;
        top: -10px;
    }

    .card-bottom-blur {
        padding: 10px 15px;
        bottom: 20px;
    }
}

/* Footer */
.main-footer {
    margin-top: 4rem;
    padding: 2rem;
    text-align: center;
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    margin: 0 1rem;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}