/* ========================================
   SPICYUP LANDING PAGE - STYLES
   ======================================== */

/* === ROOT VARIABLES === */
:root {
    --primary: #FF6B6B;
    --primary-dark: #E85555;
    --secondary: #4ECDC4;
    --accent: #FFE66D;
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f5f5f5;
    --white: #FFFFFF;
    --gradient-fire: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 12px rgba(0,0,0,0.12);
    --transition: all 0.2s ease;
    --border: 1px solid #e8e8e8;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* === CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--dark);
    color: var(--white);
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: var(--border);
}

.btn-secondary:hover {
    background: var(--light-gray);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: var(--border);
}

.btn-outline:hover {
    background: var(--light-gray);
}

/* === SECTION STYLES === */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--light-gray);
    color: var(--gray);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

.gradient-text {
    color: var(--primary);
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    border-bottom: var(--border);
    z-index: 1000;
    padding: 20px 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
}

.nav-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    font-weight: 400;
    color: var(--gray);
    transition: color 0.2s;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--dark);
}

.lang-btn {
    padding: 6px 12px;
    background: var(--light-gray);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--gray);
}

.lang-btn:hover {
    background: #e8e8e8;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.container .nav-wrapper,
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === HERO SECTION === */
.hero {
    padding: 180px 20px 120px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    display: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-gray);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 30px;
    color: var(--gray);
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--dark);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--gray);
    font-weight: 400;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--light-gray);
    border-radius: 30px;
    padding: 10px;
    border: var(--border);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    overflow: hidden;
    background: var(--white);
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-emoji {
    display: none;
}

/* === FEATURES SECTION === */
.features {
    padding: 100px 20px;
    background: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 8px;
    border: var(--border);
    transition: var(--transition);
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 600;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* === GAMES SECTION === */
.games {
    padding: 100px 20px;
    background: var(--white);
}

.games-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.game-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.game-item.reverse {
    direction: rtl;
}

.game-item.reverse > * {
    direction: ltr;
}

.game-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    background: var(--light-gray);
    border-radius: 8px;
    border: var(--border);
}

.game-icon-large {
    font-size: 5rem;
}

.game-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.game-info p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.game-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--gray);
}

.game-features i {
    color: var(--dark);
    font-size: 1rem;
}

/* === LEVELS SECTION === */
.levels {
    padding: 100px 20px;
    background: var(--light-gray);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.level-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    border: var(--border);
    transition: var(--transition);
    position: relative;
}

.level-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.level-emoji {
    font-size: 3rem;
    margin-bottom: 15px;
}

.level-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
}

.level-card p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.level-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.level-badge.free {
    background: var(--light-gray);
    color: var(--gray);
}

.level-badge.premium {
    background: var(--dark);
    color: var(--white);
}

/* === PRICING SECTION === */
.pricing {
    padding: 100px 20px;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: var(--border);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
    border-color: var(--dark);
    border-width: 2px;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 20px 0;
}

.currency {
    font-size: 1.3rem;
    margin-top: 8px;
    color: var(--dark);
    font-weight: 600;
}

.amount {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1;
}

.coins {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--gray);
    font-size: 0.95rem;
}

.pricing-features i {
    color: var(--dark);
    font-size: 1rem;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--gray);
    font-size: 0.9rem;
}

.pricing-note i {
    color: var(--dark);
    margin-right: 8px;
}

/* === DOWNLOAD SECTION === */
.download {
    padding: 100px 20px;
    background: var(--dark);
    color: var(--white);
}

.download-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.download-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.download-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.8;
    line-height: 1.7;
}

.app-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.store-badge {
    height: 50px;
    transition: transform 0.2s;
}

.store-badge:hover {
    transform: scale(1.03);
}

.download-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.phones-mockup img {
    max-width: 100%;
    display: none;
}

/* === FOOTER === */
.footer {
    background: #0a0a0a;
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-section p {
    color: #999;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 0.9rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #999;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    color: #666;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-container,
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta,
    .hero-stats,
    .app-badges {
        justify-content: center;
    }

    .game-item {
        grid-template-columns: 1fr;
    }

    .game-item.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .download-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .game-visual {
        height: 300px;
    }

    .game-icon-large {
        font-size: 6rem;
    }
}
