/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #ff6d00;
    --primary-hover: #e65100;
    --secondary: #2c3e50;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-grey: #6b7280;
    --border-radius: 16px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
}

/* Header */
header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    background: #f9fafb;
    outline: none;
    transition: 0.3s;
}

.search-bar input:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-grey);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.icon-btn {
    font-size: 1.5rem;
    color: var(--text-grey);
    text-decoration: none;
    transition: 0.3s;
}

.icon-btn:hover {
    color: var(--primary);
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-nav:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 109, 0, 0.2);
}

/* Hero Section */
.hero-section {
    background: #fdfdfd;
    /* Very light background or slight gradient */
    padding: 4rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff3e0;
    color: #e65100;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-grey);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.1rem;
}

.btn-hero:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 109, 0, 0.2);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.star-graphic {
    font-size: 15rem;
    color: var(--primary);
    animation: pulse-spin 10s infinite linear;
    text-shadow: 0 0 50px rgba(255, 109, 0, 0.3);
}

@keyframes pulse-spin {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1) rotate(180deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(360deg);
        opacity: 0.8;
    }
}

@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 2rem;
    }

    .star-graphic {
        font-size: 10rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Sections */
.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title a {
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* Categories */
.category-list {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.category-pill {
    padding: 0.6rem 1.5rem;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    color: var(--text-grey);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-pill:hover,
.category-pill.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(255, 109, 0, 0.2);
}

/* Game Cards */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.game-card {
    background: var(--white);
    border: 1px solid #f3f4f6;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    text-decoration: none;
}

.game-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: transparent;
}

.badge-top {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.badge-hot {
    background: #ff4757;
}

.badge-new {
    background: #2ed573;
}

.card-img-wrapper {
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    height: 180px;
}

.game-thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 0 1.5rem 1.5rem;
    text-align: center;
}

.game-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.game-subtitle {
    font-size: 0.85rem;
    color: var(--text-grey);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
    /* Fixed height for consistency */
}

.price-tag {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.btn-play {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: var(--primary);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-play:hover {
    background: var(--primary-hover);
}

/* Steps Section */
.steps-section {
    text-align: center;
    padding: 4rem 0;
    background: #fff;
    border-top: 1px solid #f3f4f6;
}

.steps-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: #fff3e0;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.step-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-item p {
    color: var(--text-grey);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 250px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .search-bar {
        width: 100%;
        max-width: none;
    }

    .category-list {
        padding-bottom: 0.5rem;
    }
}