/* Base Styles */
:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --secondary: #8B5CF6;
    --accent: #EC4899;
    --highlight: #F59E0B;
    --bg: #0F172A;
    --bg-light: #1E293B;
    --card-bg: #1E293B;
    --card-hover: #334155;
    --text: #F8FAFC;
    --text-light: #94A3B8;
    --text-muted: #64748B;
    --border-radius: 16px;
    --box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #EC4899 0%, #F59E0B 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.home-page {
    --bg: #0F172A;
    --card-bg: #1E293B;
    --text: #F8FAFC;
    --text-light: #94A3B8;
    --text-muted: #64748B;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    color: var(--text);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
    color: var(--text);
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    color: var(--text);
    font-weight: 600;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================
   HEADER BASE
============================ */
.site-header {
    background-color: #101010;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

/* Logo */
.logo img {
    height: 50px;
}

/* Nav links (Desktop) */
.main-nav {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
}

/* ============================
   HAMBURGER BUTTON
============================ */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
}

/* ============================
   MOBILE MODE
============================ */
@media (max-width: 768px) {

    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #101010;
        display: none;
        flex-direction: column;
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .main-nav.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
    }
}



/* Hero Section */
.hero {
    padding: 8rem 1rem 6rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%), url('hero bg img.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-left {
    flex: 1;
    text-align: left;
    animation: fadeInUp 0.8s ease-out;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

.hero-right-img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-right-img:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.4);
}

.home-page .hero,
.home-page .how-it-works,
.home-page .games-section,
.home-page .features {
    background: var(--bg);
}

.home-page .hero-highlight,
.home-page .step,
.home-page .game-card,
.home-page .feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.home-page .hero-highlight:hover,
.home-page .step:hover,
.home-page .game-card:hover,
.home-page .feature-card:hover {
    background: var(--card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.hero h1 {
    margin: 0 0 1.5rem 0;
    max-width: 700px;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    text-shadow: none;
    animation: fadeInUp 0.6s ease-out;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 0 2.5rem 0;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0 auto 2.5rem;
    max-width: 800px;
}

.hero-highlight {
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.hero-highlight .emoji {
    font-size: 1.25rem;
    line-height: 1;
}

.cta-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out;
}

.hero-note {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 2rem auto 0;
    line-height: 1.6;
    font-style: italic;
}

/* Disclaimer Section */
.disclaimer-section1 {
    background-color: var(--bg);
    padding: 4.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.disclaimer-content1 {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.disclaimer-content1 h2 {
    color: var(--primary);
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.disclaimer-content1 h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: white;
    border-radius: 3px;
}

.disclaimer-text1 {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
}

.disclaimer-text1 > p:first-child {
    margin-bottom: 2rem;
    color: var(--text);
    line-height: 1.7;
    text-align: center;
    font-size: 1.1rem;
}

.disclaimer-points1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.disclaimer-point1 {
    background: rgba(255, 215, 0, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.disclaimer-point1:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.disclaimer-icon1 {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.disclaimer-icon1 svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.disclaimer-point1 p {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.disclaimer-note1 {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-style: italic;
}

/* Game Disclaimer */
.game-disclaimer {
    background-color: #fff8f8;
    border-left: 4px solid #ff6b6b;
    padding: 1rem 1.5rem 1rem 3.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
}

.game-disclaimer .warning-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: #ff6b6b;
}

.game-disclaimer .disclaimer-text {
    color: #d32f2f;
    font-size: 0.95rem;
    line-height: 1.6;
}

.game-disclaimer strong {
    color: #c62828;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, #f8f9ff 0%, #edf1ff 100%);
    padding: 5rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-hero h1 {
    color: var(--primary);
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-intro {
    font-size: 1.25rem;
    color: var(--text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}



.about-section {
    margin-bottom: 4rem;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.value-item {
    background: #f9faff;
    border: 1px solid rgba(255, 193, 7, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all 0.2s ease;
}

.value-item h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.about-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--highlight) 100%);
    padding: 5rem 0;
    text-align: center;
    color: white;
}

.about-cta h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.about-cta .btn {
    background: white;
    color: var(--primary);
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}


/* Responsive styles for about page */
@media (max-width: 1024px) {
    .about-hero {
        padding: 4rem 0;
    }

    .about-content {
        padding: 4rem 0;
    }

    .about-section {
        margin-bottom: 3.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.25rem;
    }

    .about-intro {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .about-section h2 {
        font-size: 1.75rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-cta h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 3.5rem 0;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .about-intro {
        font-size: 1.05rem;
    }

    .about-section h2 {
        font-size: 1.6rem;
    }

    .about-cta {
        padding: 4rem 1.5rem;
    }

    .about-cta h2 {
        font-size: 1.75rem;
    }
}

/* Responsive styles for disclaimer section */
@media (max-width: 1024px) {
    .disclaimer-section1 {
        padding: 3.5rem 0;
    }

    .disclaimer-content1 h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .disclaimer-text1 {
        padding: 2rem;
    }

    .disclaimer-points1 {
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .disclaimer-section1 {
        padding: 3rem 0;
    }

    .disclaimer-content1 h2 {
        font-size: 1.75rem;
        padding-bottom: 0.75rem;
    }

    .disclaimer-content1 h2::after {
        height: 2px;
    }

    .disclaimer-text1 {
        padding: 1.75rem 1.5rem;
    }

    .disclaimer-points1 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin: 1.5rem 0;
    }

    .disclaimer-point1 {
        padding: 1.25rem;
    }

    .disclaimer-icon1 {
        width: 44px;
        height: 44px;
        margin-bottom: 1rem;
    }

    .disclaimer-icon1 svg {
        width: 22px;
        height: 22px;
    }

    .disclaimer-note1 {
        font-size: 0.9rem;
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }
}

@media (max-width: 480px) {
    .disclaimer-content1 h2 {
        font-size: 1.5rem;
        margin-bottom: 1.75rem;
    }

    .disclaimer-text1 {
        padding: 1.5rem 1.25rem;
        border-radius: 8px;
    }

    .disclaimer-text1 > p:first-child {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .disclaimer-point1 p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .disclaimer-note1 {
        font-size: 0.85rem;
        margin-top: 1.25rem;
        padding-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3.5rem 1rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-left {
        text-align: center;
    }

    .hero-right-img {
        max-height: 250px;
        width: auto;
    }

    .hero h1 {
        font-size: 2.25rem;
        text-align: center;
        margin: 0 auto 1.25rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        text-align: center;
        margin: 0 auto 2rem;
    }

    .hero-highlight {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .how-it-works .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .how-it-works .feature-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .how-it-works .icon-circle {
        margin: 0 auto;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--gradient-primary);
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    color: #FFFFFF;
}

.btn:active {
    transform: translateY(0);
}


.btn-secondary {
    background: var(--gradient-secondary);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--highlight) 100%);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.btn-accent:hover {
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.4);
}

/* Games Section */
.games-section {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-light) 100%);
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.game-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.03);
    box-shadow: 0 15px 50px rgba(236, 72, 153, 0.3);
}

.game-card.featured::before {
    background: var(--gradient-secondary);
    opacity: 1;
}

.game-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: brightness(0.9);
}

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

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.game-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--card-bg);
}

.game-category {
    display: block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-info {
    text-align: center;
}

.game-info h3 {
    margin: 0 0 1rem;
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.game-card:hover .game-info h3 {
    color: var(--primary);
}

.game-info p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.game-card h3 {
    margin: 0 0 1rem;
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.game-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    font-size: 0.95rem;
}

.game-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.game-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text);
    line-height: 1.5;
}

.game-features li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.games-cta {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 1.5rem;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.games-cta p {
    margin: 0;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.6;
}

.games-cta strong {
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .game-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .games-section {
        padding: 3.5rem 0;
    }

    .game-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .games-cta p {
        font-size: 1rem;
    }
}

.how-it-works .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.how-it-works .feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-it-works .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
}

.how-it-works .feature-icon {
    flex-shrink: 0;
}

.how-it-works .icon-circle {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.how-it-works .feature-content h3 {
    color: var(--primary);
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.how-it-works .feature-content p {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.75;
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-card h3 {
    margin: 0 0 1rem;
    color: var(--text);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--primary);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 1.5rem;
    font-size: 1rem;
    text-align: center;
}

.features-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.features-cta p {
    color: var(--text);
    font-size: 1.1rem;
    margin: 0;
}

.features-cta a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.features-cta a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.features-cta a:hover {
    color: var(--primary);
}

.features-cta a:hover::after {
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .features {
        padding: 3.5rem 0;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .feature-card p {
        font-size: 1rem;
    }

    .features-cta p {
        font-size: 1rem;
    }
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* Simple Steps */
.simple-steps {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.step-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 193, 7, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-item h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-item p {
    color: var(--text);
    line-height: 1.7;
    margin: 0;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: #f9fcff;
    position: relative;
    overflow: hidden;
}

/* .how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
} */

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 3.5rem;
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.1);
}

.step:last-child {
    margin-bottom: 0;
}

.step:nth-child(odd) {
    flex-direction: row;
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    color: white;
    border-radius: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.step-details {
    flex: 1;
    text-align: left;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.step p {
    color: var(--text);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

.step-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2rem;
    flex-shrink: 0;
}

.step-icon .emoji {
    font-size: 4rem;
    line-height: 1;
}

.cta-note {
    max-width: 700px;
    margin: 4rem auto 0;
    padding: 1.5rem;
    background: rgba(255, 193, 7, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.cta-note p {
    margin: 0;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-note strong {
    color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .step {
        flex-direction: column !important;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .step-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-details {
        text-align: center;
        margin-top: 1.5rem;
    }

    .step-icon {
        margin: 1.5rem 0 0;
        width: 100px;
        height: 100px;
    }

    .step-icon .emoji {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .step {
        padding: 1.5rem 1rem;
    }

    .step h3 {
        font-size: 1.3rem;
    }

    .step p {
        font-size: 1rem;
    }

    .cta-note p {
        font-size: 1rem;
    }
}

/* Game Page */
.game-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.game-frame {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: var(--border-radius);
    background-color: #f8f9fa;
    margin: 2rem 0;
}

/* Footer */
.site-footer {
    background-color: #101010;
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

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

.footer-disclaimer {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    padding: 1rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step:not(:last-child)::after {
        content: 'â†“';
        right: auto;
        top: auto;
        bottom: -1.5rem;
        left: 50%;
        transform: translateX(-50%);
    }

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Game iframe container */
.game-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
}

.game-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient animations */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

/* Universal page styles */
body:not(.home-page) {
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-light) 50%, var(--bg) 100%);
    color: var(--text);
}

/* Game container styles */
.game-container {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1000px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.game-container h1 {
    color: var(--text);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Legal pages styling */
.legal-content {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin: 2rem auto;
    max-width: 900px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.legal-content h1, .legal-content h2 {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Contact page styling */
.contact-form {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.contact-form h1 {
    color: var(--text);
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-light);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* About page hero styling */
.about-hero {
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-light) 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
}

.about-hero h1 {
    color: var(--text);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.about-hero p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Update all text colors for consistency */
body, .legal-content, .contact-form, .game-container {
    color: var(--text);
}

/* Update link colors */
a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-dark);
}