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

:root {
    --bg-main: #050505;
    --bg-secondary: #0a0a0a;
    --brand-color: #10b981;
    /* emerald green */
    --brand-gradient: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --brand-hover: #059669;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.04);

    --font-main: 'Space Grotesk', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 4rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    color: #fff;
    letter-spacing: 1px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-nav {
    display: flex;
    gap: 3rem;
}

.header-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.header-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: var(--transition);
}

.header-link:hover::after {
    width: 100%;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 4rem;
    background-image: url('https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 9, 19, 0.95) 0%, rgba(6, 9, 19, 0.7) 50%, rgba(6, 9, 19, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 400;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient);
    color: #fff;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.5;
}

.hero-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background: #10b981;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shapes .shape-2 {
    width: 300px;
    height: 300px;
    background: #06b6d4;
    bottom: -50px;
    right: 300px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 30px);
    }

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

/* Standard Section */
.section {
    padding: 8rem 4rem;
    position: relative;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Feature Grid */
.features-section {
    background: var(--bg-secondary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--brand-color);
    margin-bottom: 1.5rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Showcase Section */
.showcase-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.image-wrapper:hover .showcase-img {
    transform: scale(1.05);
}

.glass-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(13, 18, 36, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
}

.glass-badge i {
    color: #fbbf24;
}

.showcase-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.showcase-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

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

.glass-panel {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(13, 18, 36, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: var(--transition);
}

.game-card:hover .glass-panel {
    background: rgba(13, 18, 36, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.game-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.game-info p {
    color: var(--brand-color);
    font-size: 1rem;
    font-weight: 500;
}

/* Contact Page specific - Redesigned Split Layout */
.contact-page-body {
    background-color: var(--bg-main);
    overflow-x: hidden;
}

.split-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 80px; /* Account for fixed header */
}

.split-left {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1551434678-e076c223a692?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.split-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5,5,5,0.85) 0%, rgba(10,10,10,0.95) 100%);
    z-index: 1;
}

.split-left-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.split-left-content .page-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.split-left-content .subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-details-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--brand-color);
    margin-top: 0.2rem;
}

.detail-item span {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.detail-item p,
.detail-item a {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.detail-item a:hover {
    color: var(--brand-color);
}

.split-right {
    flex: 1;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.contact-form-wrapper {
    width: 100%;
    max-width: 600px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 24px;
}

.contact-form-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-form-wrapper .form-desc {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}



/* Form Styles - keeping form exact but styling appropriately */
.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    border-radius: 12px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-color);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: var(--brand-gradient);
    color: #fff;
    border: none;
    padding: 1.2rem 3rem;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
}

/* Footer */
.site-footer {
    padding: 4rem;
    background: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

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

.footer-content p {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-container {
        grid-template-columns: 1fr;
    }

    .split-layout {
        flex-direction: column;
    }

    .split-left,
    .split-right {
        padding: 3rem 2rem;
    }

    .contact-form-wrapper {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem 2rem;
        flex-direction: column;
        gap: 1rem;
    }

    .site-header.scrolled {
        padding: 1rem 2rem;
    }

    .header-nav {
        gap: 1.5rem;
    }

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

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

    .section {
        padding: 5rem 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .page-header {
        padding: 10rem 2rem 6rem;
    }
}