:root {
    --primary-purple: #7B42FF;
    --dark-purple: #4A24B2;
    --light-purple: #F3EEFF;
    --accent-green: #3DDC84;
    --accent-yellow: #FFCE00;
    --accent-red: #FF4B2B;
    --text-color: #333;
    --bg-color: #fff;
    --section-gap: 100px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 30px 0;
}

.header-transparent {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15rem;
    /* Space between logo and nav */
}

.logo img {
    height: 70px;
    /* Slightly larger logo as per design */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.nav-pill {
    padding: 10px 35px;
    background: #fff;
    color: #4A24B2 !important;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background: url('bg-main.png') no-repeat center center;
    background-size: cover;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
}

.hero-text-box {
    padding-left: 30px;
    /* Align text with the box in the image */
    max-width: 700px;
}

.hero-text-box h1 {
    font-size: 5rem;
    line-height: 0.95;
    margin: 0;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    /* Adjust position to fit the baked-in box */
    transform: translateY(20px);
}

/* About Us */
.about {
    padding: var(--section-gap) 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.about-description {
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    color: #666;
}

.about-description p:not(:first-child) {
    margin-top: 20px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    display: block;
}

/* Our Games */
.games {
    padding: var(--section-gap) 0;
    background: #f9f9f9;
}

.game-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.game-item.reverse {
    flex-direction: row-reverse;
}

.game-preview {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.game-preview img {
    width: 100%;
    display: block;
}

.game-info {
    flex: 1;
}

.game-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mini-icon,
.placeholder-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
}

.placeholder-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.placeholder-icon.purple {
    background: var(--primary-purple);
}

.placeholder-icon.orange {
    background: #FF9F00;
}

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

.game-info p {
    margin-bottom: 30px;
    color: #666;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-download {
    background: var(--primary-purple);
    color: #fff;
    padding: 8px 30px 8px 8px;
    /* Balanced padding for icon on left */
    gap: 15px;
    font-size: 1.1rem;
}

.btn-icon-circle {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-icon-circle img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.btn-download:hover {
    background: var(--dark-purple);
    transform: scale(1.05);
}

.btn-disabled {
    background: #ccc;
    color: #fff;
    cursor: default;
    padding: 15px 40px;
}

/* Contact Us */
.contact {
    padding: var(--section-gap) 0 40px;
    text-align: center;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-link {
    font-size: 1.25rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.contact-icon {
    width: 40px;
    height: auto;
    object-fit: contain;
}

/* Footer */
footer {
    /* background: #f1f1f1; */
    /* padding: 40px 0; */
    text-align: center;
    padding-bottom: 40px;
    font-size: 0.9rem;
}

.footer-content p {
    margin-bottom: 10px;
    font-size: 20px;
}

.footer-content a {
    text-decoration: none;
    color: #333;
}

.footer-content a:hover {
    color: var(--primary-purple);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .game-item,
    .game-item.reverse {
        flex-direction: column;
    }

    .navbar {
        flex-direction: column;
        gap: 20px;
    }
}