@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --bg-dark: #050508;
    --bg-panel: rgba(255, 255, 255, 0.03);
    --primary: #6C5ADD;
    /* Previous purple/blue mix */
    --secondary: #4CC9F0;
    /* Bright Cyan */
    --accent: #F72585;
    /* Pink/Magenta */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-light: rgba(255, 255, 255, 0.08);
    --glass-blur: 16px;
    --gradient-main: linear-gradient(135deg, #6C5ADD, #F72585);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.brand {
    font-family: 'Space Grotesk', sans-serif;
}

/* Background Effects */
.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 50%, rgba(108, 90, 221, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(76, 201, 240, 0.08), transparent 25%);
    z-index: -2;
    pointer-events: none;
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    /* Reduced blur for performance */
    opacity: 0.3;
    /* Subtle opacity */
    z-index: -1;
    will-change: transform;
    /* Hardware acceleration hint */
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 8, 0.95);
    /* Increased opacity */
    -webkit-backdrop-filter: blur(10px);
    /* Reduced blur */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    /* Cleaner, more open spacing */
    color: #fff;
    /* Solid white for crispness */
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    /* Subtle glow instead of gradient */
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fff;
}

.contact-btn {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    transition: all 0.3s;
}

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

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.highlight-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 5rem;
    /* Larger */
    line-height: 1.05;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    /* Tighten slightly for impact */
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button {
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.primary {
    background: #fff;
    color: #000;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border-light);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: scrollMouse 2s infinite;
}

.scroll-indicator p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Stats Bar */
.stats-bar {
    max-width: 1000px;
    margin: -3rem auto 6rem;
    /* Pull up into hero space */
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(12px);
    /* Reduced blur */
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border-light);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Sections */
section {
    padding: 0 2rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
    /* Larger subheads */
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Softer border */
    border-radius: 24px;
    /* Slightly rounder */
    overflow: hidden;
    transition: all 0.4s ease-out;
    /* Smoother transition */
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    /* Base shadow */
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 9/16;
    /* Fixed to Portrait for mobile screenshots */
    overflow: hidden;
    background: #000;
    /* Placeholder bg while loading */
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.card-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(5, 5, 8, 0), rgba(5, 5, 8, 1));
    margin-top: -3rem;
    /* Overlap image slightly */
    padding-top: 3rem;
}

.game-genre {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.rating {
    display: flex;
    gap: 5px;
    color: #FFD700;
    font-weight: 600;
    font-size: 0.9rem;
}

.play-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
}

.play-link::after {
    content: '→';
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.2s;
}

.game-card:hover .play-link::after {
    transform: translateX(4px);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 4rem;
}

.section-tag {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.value-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.value-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.about-visual {
    position: relative;
    height: 400px;
}

.visual-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-light);
}

.visual-card.main {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    z-index: 1;
}

.visual-card.main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* Focus on top part of image usually faces/action */
}

.visual-card.float-1 {
    width: 80px;
    height: 80px;
    top: 0;
    right: 0;
    z-index: 2;
    animation: float 6s infinite ease-in-out;
}

.visual-card.float-2 {
    width: 100px;
    height: 100px;
    bottom: 0;
    left: 0;
    z-index: 2;
    animation: float 8s infinite ease-in-out reverse;
}

/* Partners */
.partners-section {
    text-align: center;
    padding-bottom: 6rem;
}

.partners-section h3 {
    margin-bottom: 3rem;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.partners-logos-container {
    overflow: hidden;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.partners-logos-container::before,
.partners-logos-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.partners-logos-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.partners-logos-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.partners-logos {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: marquee 20s linear infinite;
    /* Prevent wrapping for marquee */
    flex-wrap: nowrap;
}

.partners-logos:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half the width (the first set of logos) */
    }
}

.partner-logo {
    color: #fff;
    opacity: 0.5;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-light);
    padding: 6rem 2rem 2rem;
    background: #000;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.link-column a,
.link-column p {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.link-column a:hover {
    color: #fff;
}

.accent-link {
    color: var(--secondary) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

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

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

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

@keyframes float {

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

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

@keyframes scrollMouse {
    0% {
        opacity: 1;
        top: 6px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stats-bar .stat-item:nth-child(2)::after {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .about-visual {
        display: none;
        /* Hide visual on tablet/mobile for simpler layout or adjust */
    }

    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 3rem;
    }

    .stats-bar {
        padding: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 120px auto 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.legal-content p,
.legal-content ul {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    text-decoration: none;
    margin-top: 2rem;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Brand Link Styles (Shared across pages) */
.brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-icon {
    font-size: 1.5rem;
    color: var(--accent);
}