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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

/* ── Navigation ── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #1a1a1a;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: 400;
    font-size: 1.2rem;
}

.nav-logo img {
    height: 32px;
    width: auto;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #b44aff;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ── Auth Icons ── */
.auth-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}

.auth-icon-wrapper {
    position: relative;
}

.auth-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    cursor: pointer;
    overflow: hidden;
}

.auth-icon:hover {
    border-color: #555;
    color: #aaa;
}

.auth-icon.logged-in {
    border-color: #00e676;
    color: #00e676;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.2);
}

.auth-icon.logged-in:hover {
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.3);
}

.auth-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.auth-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 8px;
    min-width: 160px;
    z-index: 1001;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.auth-dropdown-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid #252525;
    margin-bottom: 4px;
}

.auth-dropdown-info {
    display: flex;
    flex-direction: column;
}

.auth-dropdown-name {
    font-weight: 500;
}

.auth-dropdown-id {
    font-size: 0.7rem;
    color: #666;
    font-weight: 400;
}

.auth-dropdown-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.auth-dropdown-logout {
    width: 100%;
    padding: 8px;
    background: none;
    border: none;
    color: #ff4444;
    font-size: 0.8rem;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    font-family: inherit;
    transition: background 0.2s;
}

.auth-dropdown-logout:hover {
    background: rgba(255, 68, 68, 0.1);
}

/* ── Hero ── */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 30px;
    background: radial-gradient(ellipse at 50% 0%, rgba(132, 0, 208, 0.15) 0%, transparent 60%);
}

.hero-content {
    max-width: 700px;
}

.hero-logo {
    width: 110px;
    height: 110px;
    border-radius: 22px;
    margin-bottom: 20px;
    box-shadow: 0 0 60px rgba(132, 0, 208, 0.3);
}

.hero h1 {
    font-size: 2.6rem;
    color: white;
    margin-bottom: 6px;
}

.hero h1 span {
    color: #b44aff;
}

.hero .tagline {
    font-size: 1rem;
    color: #999;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #8400d0;
    color: white;
    box-shadow: 0 4px 20px rgba(132, 0, 208, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(132, 0, 208, 0.6);
}

.btn-discord {
    background: #5865f2;
    color: white;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    box-shadow: 0 6px 30px rgba(88, 101, 242, 0.5);
}

.btn-googleplay {
    background: #000;
    color: white;
    border: 1px solid #444;
    box-shadow: none;
}

.btn-googleplay:hover {
    background: #1a1a1a;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

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

.btn-outline:hover {
    border-color: #b44aff;
    box-shadow: 0 4px 20px rgba(132, 0, 208, 0.2);
}

/* ── Sections ── */
section {
    padding: 60px 24px;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.2rem;
    color: white;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

/* ── About ── */
#about {
    background: #0f0f0f;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: #bbb;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: #1a1a1a;
    border: 1px solid #252525;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}

.stat-card .stat-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
}

.stat-card i {
    font-size: 1.8rem;
    color: #b44aff;
    margin-bottom: 12px;
}

.stat-card h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.stat-card p {
    color: #888;
    font-size: 0.85rem;
}

/* ── Bot ── */
.bot-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: #8400d0;
    transform: translateY(-4px);
}

.feature-card i {
    font-size: 2rem;
    color: #b44aff;
    margin-bottom: 16px;
}

.feature-card h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature-card p {
    color: #888;
    font-size: 0.9rem;
}

.pro-card-centered {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.pro-card-centered .store-card {
    width: 260px;
}

.pro-cards-centered {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.pro-cards-centered .store-card {
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pro-cards-centered .store-card .btn {
    margin-top: auto;
}

.trial-card {
    border-color: #00ffff !important;
    background: linear-gradient(180deg, rgba(0, 255, 255, 0.1) 0%, #111 100%) !important;
}

.pro-card {
    border-color: #8400d0 !important;
    background: linear-gradient(180deg, rgba(132, 0, 208, 0.1) 0%, #111 100%) !important;
}

.bot-info-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.bot-info-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 16px;
}

.bot-info-card i {
    color: #b44aff;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.bot-info-card h4 {
    color: #ddd;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.bot-info-card p {
    color: #666;
    font-size: 0.75rem;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .bot-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .bot-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .bot-info-grid {
        grid-template-columns: 1fr;
    }
}

.bot-cta {
    text-align: center;
    margin-top: 48px;
}

.pro-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8400d0, #b44aff);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.pro-price {
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.pro-price span {
    color: #888;
    font-size: 1rem;
    font-weight: 400;
}

/* ── Store ── */
#store {
    background: #0f0f0f;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.store-card {
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
}

.store-card:hover {
    border-color: #8400d0;
    transform: translateY(-4px);
}

.store-card img {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
}

.store-card .amount {
    color: white;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.store-card .price {
    color: #b44aff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.store-popular,
.store-bestdeal,
.store-daily {
    padding-top: 36px;
}

.store-popular {
    border-color: #b44aff !important;
    box-shadow: 0 0 20px rgba(180, 74, 255, 0.15);
}

.store-bestdeal {
    border-color: #f5a623 !important;
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.15);
}

.store-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 6px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.badge-popular {
    background: rgba(180, 74, 255, 0.15);
    color: #b44aff;
    border: 1px solid rgba(180, 74, 255, 0.3);
}

.badge-bestdeal {
    background: rgba(245, 166, 35, 0.15);
    color: #f5a623;
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.store-daily {
    border-color: #00e676 !important;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.15);
}

.badge-daily {
    background: rgba(0, 230, 118, 0.15);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.daily-timer {
    color: #f5a623;
    font-size: 0.75rem;
    font-weight: 600;
}

.store-card .bonus {
    color: #00e676;
    font-size: 0.85rem;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
}

.store-card .per-unit {
    color: #666;
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.store-card .best-value {
    display: inline-block;
    background: linear-gradient(135deg, #8400d0, #b44aff);
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.store-card .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.85rem;
}

.store-note {
    text-align: center;
    color: #666;
    margin-top: 32px;
    font-size: 0.9rem;
}

/* ── Legal Tabs ── */
#legal {
    background: #0a0a0a;
}

.legal-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 32px;
    background: #111;
    border-radius: 12px;
    padding: 4px;
    overflow-x: auto;
}

.legal-tab {
    padding: 12px 20px;
    background: transparent;
    color: #888;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: inherit;
}

.legal-tab.active {
    background: #8400d0;
    color: white;
}

.legal-tab:hover:not(.active) {
    color: #b44aff;
}

.legal-content {
    display: none;
}

.legal-content.active {
    display: block;
}

.legal-content h2 {
    color: #b44aff;
    margin: 24px 0 14px;
    font-size: 1.6rem;
}

.legal-content h3 {
    color: #b44aff;
    margin: 20px 0 10px;
    font-size: 1.2rem;
}

.legal-content h4 {
    color: #b44aff;
    margin: 18px 0 10px;
    font-size: 1.1rem;
}

.legal-content p {
    color: #bbb;
    margin-bottom: 14px;
}

.legal-content a:not([href^="mailto:"]):not(.btn) {
    color: #b44aff;
}

.legal-content a[href^="mailto:"] {
    color: #64b5f6;
}


.legal-content a.btn {
    color: white;
}

.legal-content ul, .legal-content ol {
    margin-left: 20px;
    margin-bottom: 16px;
}

.legal-content li {
    color: #bbb;
    margin-bottom: 6px;
}

.legal-content strong {
    color: #ddd;
}

/* ── Footer ── */
footer {
    background: #080808;
    border-top: 1px solid #1a1a1a;
    padding: 24px 24px 16px;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 12px;
}

.footer-brand p {
    color: #888;
    margin-top: 12px;
    font-size: 0.9rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

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

.footer-links a[href^="mailto:"] {
    color: #64b5f6;
}

.footer-links a:hover {
    color: #b44aff;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid #1a1a1a;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #555;
    font-size: 0.85rem;
}

.footer-social a {
    color: #555;
    margin-left: 16px;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #b44aff;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .store-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bot-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        padding: 16px 24px;
        gap: 12px;
        border-bottom: 1px solid #1a1a1a;
    }

    .pro-cards-centered {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
    }

    .pro-cards-centered .store-card {
        width: 170px;
        padding: 16px 10px;
    }

    .pro-cards-centered .store-card .amount {
        font-size: 0.95rem;
    }

    .pro-cards-centered .store-card .price {
        font-size: 0.85rem;
    }

    .pro-cards-centered .store-card p {
        font-size: 0.7rem !important;
    }

    .pro-cards-centered .store-card .btn {
        font-size: 0.75rem !important;
        padding: 8px 10px !important;
    }

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

    .nav-toggle {
        display: block;
    }

    .nav-container {
        flex-wrap: wrap;
    }

    .auth-icons {
        margin-left: 0;
        margin-right: 0;
        order: 3;
    }

    .nav-toggle {
        order: 2;
        margin-left: auto;
    }

    .hero {
        padding: 70px 16px 20px;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 14px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 4px;
    }

    .hero .tagline {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    section {
        padding: 40px 16px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .stat-card {
        padding: 18px;
    }

    .stat-card i {
        font-size: 1.4rem;
    }

    .stat-card h3 {
        font-size: 0.95rem;
    }

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

    .store-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .store-card {
        padding: 16px 10px;
    }

    .store-card img {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }

    .store-popular,
    .store-bestdeal,
    .store-daily {
        padding-top: 28px;
    }

    .store-card .amount {
        font-size: 0.85rem;
    }

    .store-card .price {
        font-size: 0.9rem;
    }

    .store-card .per-unit {
        font-size: 0.65rem;
    }

    .store-card .btn {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .store-badge {
        font-size: 0.5rem;
        padding: 2px 6px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .pro-badge {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .bot-info-card {
        padding: 12px;
    }

    .bot-info-card h4 {
        font-size: 0.8rem;
    }

    .bot-info-card p {
        font-size: 0.7rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .legal-tabs {
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .store-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

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

    .hero-logo {
        width: 64px;
        height: 64px;
    }

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

    .hero-buttons .btn {
        font-size: 0.8rem;
        padding: 10px 20px;
    }

    .store-card .amount {
        font-size: 0.75rem;
    }

    .store-card .price {
        font-size: 0.8rem;
    }

    .store-card .bonus {
        font-size: 0.7rem;
    }

    .pro-cards-centered .store-card {
        width: 155px;
        padding: 14px 8px;
    }
}
