/* ===== Variables ===== */
:root {
    --bg-dark: #0f0518;
    --neon-pink: #ff00ff;
    --deep-purple: #8a2be2;
    --gold: #ffd700;
    --header-bg: rgba(15, 5, 24, 0.95);
    --card-bg: rgba(30, 10, 50, 0.6);
    --text-muted: rgba(255, 255, 255, 0.75);
    --container-max: 1200px;
    --radius: 12px;
    --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-dark);
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===== Layout ===== */
.container,
.nav-container,
.hero-container,
.footer-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.logo {
    flex-shrink: 0;
}

.logo svg {
    display: block;
    width: 120px;
    height: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--neon-pink);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-signup,
.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}

.btn-signup {
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--neon-pink) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.4);
}

.btn-login {
    color: var(--gold);
    border: 2px solid var(--gold);
    background: transparent;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 3rem 0 4rem;
    background: linear-gradient(135deg, #2a0b4d 0%, #0f0518 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('cuntspin.png') center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, var(--neon-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.hero-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-bonus {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold);
}

.bonus-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold);
}

.bonus-amount {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    color: #ffffff;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--neon-pink) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-hero span {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.85;
}

.btn-hero svg {
    flex-shrink: 0;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.5);
}

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

.hero-image img {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

/* ===== Content Section ===== */
.content-section {
    background: linear-gradient(180deg, #0f0518 0%, #1a0b2e 100%);
    padding: 3rem 0 4rem;
}

.seo-content {
    max-width: 900px;
}

.seo-content h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 700;
    color: var(--neon-pink);
    margin: 2.5rem 0 1rem;
    line-height: 1.3;
}

.seo-content h2:first-child {
    margin-top: 0;
}

.seo-content h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    font-weight: 600;
    color: var(--gold);
    margin: 2rem 0 0.75rem;
    line-height: 1.35;
}

.seo-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.75;
}

/* ===== Info Tables ===== */
.info-table {
    margin: 2rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--deep-purple);
}

.table-title {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(138, 43, 226, 0.3);
    border-bottom: 1px solid var(--deep-purple);
}

.table-grid {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    border-bottom: 1px solid rgba(138, 43, 226, 0.25);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:first-child {
    background: var(--deep-purple);
}

.table-row:first-child .table-cell {
    font-weight: 600;
    color: #ffffff;
}

.table-cell {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    word-break: break-word;
    min-width: 0;
}

.table-cell strong {
    color: #ffffff;
}

/* ===== Author Section ===== */
.author-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(138, 43, 226, 0.3);
}

.author-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--card-bg);
    border: 1px solid var(--deep-purple);
}

.author-image {
    flex-shrink: 0;
}

.author-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--deep-purple);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-pink);
}

.author-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
}

.author-experience {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.author-bio {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-top: 0.5rem;
}

/* ===== Bonus Popup ===== */
.bonus-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0.75rem 1rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    background: linear-gradient(135deg, #1a0b2e 0%, #0f0518 100%);
    border-top: 2px solid var(--neon-pink);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.bonus-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: var(--container-max);
    margin: 0 auto;
    flex-wrap: wrap;
}

.popup-logo {
    flex-shrink: 0;
}

.bonus-text {
    flex: 1;
    min-width: 0;
}

.bonus-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold);
    font-weight: 600;
}

.bonus-popup .bonus-amount {
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.bonus-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-claim {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--neon-pink) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.4);
    white-space: nowrap;
    transition: transform var(--transition);
}

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

.btn-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background var(--transition);
    flex-shrink: 0;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== Payments Section ===== */
.payments-section {
    background: linear-gradient(180deg, #1a0b2e 0%, #0f0518 100%);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(138, 43, 226, 0.3);
}

.payments-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--neon-pink);
    text-align: center;
    margin-bottom: 0.5rem;
}

.payments-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.75rem;
}

.payments-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.payment-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    background: rgba(30, 10, 50, 0.5);
    border: 1px solid rgba(138, 43, 226, 0.35);
    border-radius: 10px;
    transition: border-color var(--transition), transform var(--transition);
}

.payment-item:hover {
    border-color: var(--neon-pink);
    transform: translateY(-2px);
}

.payment-item img {
    width: auto;
    max-width: 100%;
    height: 32px;
    object-fit: contain;
}

/* ===== Footer ===== */
.footer {
    background: #080210;
    border-top: 1px solid var(--deep-purple);
    padding: 3rem 0 calc(5rem + env(safe-area-inset-bottom, 0px));
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon-pink);
    margin-bottom: 1rem;
}

.support-item {
    margin-bottom: 0.75rem;
}

.support-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.support-contact {
    font-size: 0.875rem;
    color: #ffffff;
    word-break: break-all;
}

.footer-link {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--neon-pink);
}

.newsletter-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.875rem;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #ffffff;
    background: #1a0b2e;
    border: 1px solid var(--neon-pink);
    outline: none;
    transition: border-color var(--transition);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
    border-color: var(--gold);
}

.newsletter-btn {
    flex-shrink: 0;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--neon-pink) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.4);
    white-space: nowrap;
    transition: transform var(--transition);
}

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

.app-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.app-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.875rem;
    border-radius: 8px;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    transition: background var(--transition);
}

.app-link:hover {
    background: rgba(138, 43, 226, 0.35);
}

.app-text {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.app-platform {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(138, 43, 226, 0.25);
}

.footer-legal p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* ===== Tablet (≤1024px) ===== */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-container {
        gap: 2rem;
    }

    .payments-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== Mobile (≤768px) ===== */
@media (max-width: 768px) {
    .nav-menu,
    .nav-buttons {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 5, 24, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        z-index: 1000;
        align-items: center;
        justify-content: flex-start;
    }

    .nav-menu.active .nav-link {
        font-size: 1.25rem;
    }

    .nav-buttons.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        bottom: 2rem;
        left: 0;
        right: 0;
        padding: 0 2rem;
        z-index: 1001;
        gap: 0.75rem;
    }

    .nav-buttons.active .btn-signup,
    .nav-buttons.active .btn-login {
        width: 100%;
        padding: 0.875rem;
        text-align: center;
    }

    .hero {
        padding: 2rem 0 2.5rem;
    }

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

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 100%;
        max-height: 280px;
        object-fit: cover;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .content-section {
        padding: 2rem 0 3rem;
    }

    .table-grid {
        margin: 0 -0.25rem;
    }

    .table-row {
        min-width: 500px;
        grid-template-columns: repeat(5, minmax(100px, 1fr));
    }

    .info-table .table-row:has(.table-cell:nth-child(2):last-child) {
        min-width: unset;
        grid-template-columns: 1fr 1fr;
    }

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

    .bonus-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .bonus-actions {
        width: 100%;
        justify-content: center;
    }

    .btn-claim {
        flex: 1;
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }

    .payments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .payment-item {
        padding: 0.875rem 0.5rem;
    }

    .payment-item img {
        height: 28px;
    }
}

/* ===== Small Mobile (≤480px) ===== */
@media (max-width: 480px) {
    .container,
    .nav-container,
    .hero-container,
    .footer-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .logo svg {
        width: 100px;
    }

    .table-cell {
        padding: 0.65rem 0.875rem;
        font-size: 0.8rem;
    }

    .popup-logo {
        display: none;
    }

    .bonus-popup {
        padding: 0.65rem 0.75rem;
    }
}
