:root {
    --primary: #FF6B35;
    --primary-dark: #E85A24;
    --secondary: #2E3138;
    --accent: #FF9F1C;
    --text: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #1A1C20;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    background: linear-gradient(135deg, #FFF5F2 0%, #FFFFFF 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--text);
    border: 2px solid #EEEEEE;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.phone-mockup {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

.phone-frame {
    background: #111;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2);
    border: 8px solid #333;
}

.phone-screen {
    background: #000;
    border-radius: 30px;
    aspect-ratio: 9/19.5;
    overflow: hidden;
    position: relative;
}

.game-preview {
    width: 100%;
    height: 100%;
    background: url('hero.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px;
    border-radius: 30px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF9F7 100%);
    border-color: rgba(255, 107, 53, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* How to Play */
.how-to-play {
    padding: 100px 0;
    background: var(--bg-light);
}

.rules-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.rules-column {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.rules-list {
    list-style: none;
    margin-top: 20px;
}

.rules-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.rules-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

/* Download Section */
.download {
    padding: 120px 0;
    background: var(--secondary);
    color: var(--white);
    text-align: center;
}

.download .section-title {
    color: var(--white);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid #333;
}

.store-button:hover {
    background: #111;
    transform: translateY(-3px);
    border-color: var(--primary);
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 0.7rem;
    font-weight: 500;
}

.store-name {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Legal Pages */
.legal-page {
    padding: 160px 0 100px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-light);
    margin-bottom: 50px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 2rem;
    margin-top: 50px;
}

.legal-section h3 {
    font-size: 1.5rem;
    margin-top: 30px;
}

.legal-section p, .legal-section ul {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.legal-section ul {
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 10px;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #111;
    color: #888;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid #222;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .rules-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
