:root {
    --primary: #FF6B00;
    --primary-dark: #E55A00;
    --secondary: #FF8C00;
    --accent: #FF4500;
    --bg: #FFF8F0;
    --bg-dark: #1A0F00;
    --text: #2D1A00;
    --text-light: #FFF;
    --card: #FFFFFF;
    --shadow: 0 8px 30px rgba(255, 107, 0, 0.15);
    --radius: 16px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #FF6B00, #FF8C00);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.logo-text {
    display: inline-flex;
    align-items: baseline;
}

.logo-9k { color: #fff; }
.logo-dot { color: #FFE4B5; }
.logo-club { color: #FFE4B5; }

.footer-brand .logo-img {
    width: 40px;
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255,255,255,0.2);
}

.btn-telegram {
    background: #fff !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    padding: 8px 18px !important;
}

.btn-telegram:hover {
    background: #FFE4B5 !important;
}

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

.menu-toggle span {
    width: 24px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero */
.hero {
    background: linear-gradient(160deg, #FF6B00 0%, #FF8C00 40%, #FFA500 100%);
    color: #fff;
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero .subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.hero-image {
    max-width: 320px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    display: block;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: #fff;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.card p {
    color: #666;
    font-size: 0.95rem;
}

/* Promo banners */
.promo-grid {
    display: grid;
    gap: 20px;
}

.promo-card {
    background: linear-gradient(135deg, #FF6B00, #FF8C00);
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.promo-card img {
    width: 120px;
    border-radius: 12px;
    flex-shrink: 0;
}

.promo-card h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.promo-card p {
    opacity: 0.9;
    margin-bottom: 12px;
}

/* Screenshots */
.screenshots {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
}

.screenshots img {
    width: 220px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #FF6B00, #E55A00);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    border-radius: var(--radius);
    margin: 40px 0;
}

.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.cta-section p {
    margin-bottom: 24px;
    opacity: 0.95;
}

/* Forms (for register/login pages - redirect style) */
.form-card {
    max-width: 440px;
    margin: 40px auto;
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    text-align: center;
}

.form-card h1 {
    font-size: 1.7rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-card .note {
    color: #666;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.form-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
}

.form-card .alt-link {
    margin-top: 20px;
    font-size: 0.9rem;
}

.form-card .alt-link a {
    color: var(--primary);
    font-weight: 600;
}

/* Features list */
.feature-list {
    list-style: none;
    max-width: 500px;
    margin: 0 auto 30px;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list li::before {
    content: '✓';
    background: var(--primary);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 14px;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

.disclaimer {
    margin-top: 8px;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #FF6B00, #FF8C00);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
    }

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

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 12px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .promo-card {
        flex-direction: column;
        text-align: center;
    }

    .promo-card img {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
