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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    cursor: none;
}

/* Убираем pointer курсор со всех элементов */
* {
    cursor: none !important;
}

a, button, input, textarea, select {
    cursor: none !important;
}

/* Кастомный курсор */
.cursor {
    position: fixed;
    width: 16px;
    height: 16px;
    background: #00ffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}

/* Фоновые эффекты */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2) 0%, rgba(0, 0, 0, 1) 50%, rgba(6, 182, 212, 0.2) 100%);
}

.floating-shape {
    position: absolute;
    border: 2px solid rgba(6, 182, 212, 0.3);
    animation: float 20s linear infinite;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 128px;
    height: 128px;
    transform: rotate(45deg);
}

.shape-2 {
    top: 33%;
    right: 20%;
    width: 96px;
    height: 96px;
    background: linear-gradient(45deg, rgba(236, 72, 153, 0.2), rgba(147, 51, 234, 0.2));
    border-radius: 50%;
    animation: float-reverse 15s ease-in-out infinite;
}

.shape-3 {
    bottom: 25%;
    left: 33%;
    width: 64px;
    height: 64px;
    background: linear-gradient(45deg, rgba(6, 182, 212, 0.3), rgba(59, 130, 246, 0.3));
    transform: rotate(45deg);
    animation: float-spin 25s linear infinite;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
}

@keyframes float {
    0%, 100% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(45deg) scale(1.2); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-50px); }
}

@keyframes float-spin {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

@keyframes glitch {
    0%, 100% { opacity: 0; transform: skewX(0deg); }
    10% { opacity: 0.7; transform: translateX(5px) skewX(5deg); }
    15% { opacity: 0.7; transform: translateX(-5px) skewX(-5deg); }
    20% { opacity: 0.7; transform: translateX(0) skewX(0deg); }
    21% { opacity: 0; }
}

@keyframes shine {
    0% { transform: translateX(-200%) skewX(-12deg); }
    100% { transform: translateX(200%) skewX(-12deg); }
}

/* Хедер */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.3);
    z-index: 40;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(45deg, #06b6d4, #8b5cf6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '⚡';
    font-size: 24px;
    color: #000;
    z-index: 1;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-100%) skewX(-12deg);
    animation: shine 3s infinite;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-text .vid {
    background: linear-gradient(45deg, #06b6d4, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text .earn {
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav {
    display: none;
    gap: 2rem;
}

.nav a {
    color: #67e8f9;
    text-decoration: none;
    font-weight: 600;
    font-family: monospace;
    letter-spacing: 2px;
    font-size: 0.875rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ec4899;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #06b6d4, #ec4899);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.cta-btn {
    background: transparent;
    border: 2px solid #06b6d4;
    color: #06b6d4;
    padding: 0.75rem 2rem;
    border-radius: 0;
    font-family: monospace;
    font-weight: 600;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    color: #000;
}

.cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #06b6d4, #8b5cf6);
    transform: translateX(-101%);
    transition: transform 0.3s ease;
    z-index: 0;
}

.cta-btn:hover::before {
    transform: translateX(0);
}

.cta-btn span {
    position: relative;
    z-index: 1;
}

/* Мобильное меню */
.mobile-menu-btn {
    display: block;
    background: transparent;
    border: 1px solid rgba(6, 182, 212, 0.5);
    color: #06b6d4;
    padding: 0.5rem;
    border-radius: 8px;
    z-index: 100;
    font-size: 1.5rem;
    line-height: 1;
}

.mobile-menu {
    position: fixed;
    top: 73px; /* Высота хедера */
    left: 0;
    width: 100%;
    height: calc(100vh - 73px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    padding: 2rem;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    display: block;
    color: #67e8f9;
    text-decoration: none;
    padding: 1rem 0;
    font-family: monospace;
    letter-spacing: 2px;
    font-size: 1.25rem;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

/* Главный экран */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 1rem;
    text-align: center;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero::before {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), transparent, rgba(6, 182, 212, 0.3));
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 80%);
}

.hero::after {
    background: linear-gradient(45deg, rgba(236, 72, 153, 0.2), transparent, rgba(59, 130, 246, 0.2));
    clip-path: polygon(20% 0, 100% 20%, 100% 100%, 0 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.hero-title .word {
    display: block;
    background: linear-gradient(45deg, #06b6d4, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.hero-title .glitch {
    position: absolute;
    inset: 0;
    color: #ef4444;
    text-shadow: 0 0 5px red;
    mix-blend-mode: screen;
    animation: glitch 4s infinite alternate;
}

.hero-title .word:nth-child(2) .glitch { animation-delay: 0.2s; }
.hero-title .word:nth-child(3) .glitch { animation-delay: 0.4s; }

.hero-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.25rem);
    color: #a5f3fc;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat {
    background: rgba(6, 182, 212, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 140px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(45deg, #06b6d4, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #67e8f9;
    font-size: 0.75rem;
    font-family: monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary {
    background: linear-gradient(45deg, #06b6d4, #8b5cf6);
    color: #000;
    border: none;
    padding: 1rem 3rem;
    border-radius: 9999px;
    font-weight: 900;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    transform: translateX(-101%);
    transition: transform 0.3s ease;
    z-index: 0;
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

/* Общие стили секций */
.section {
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
}

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

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    background: linear-gradient(45deg, #06b6d4, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    text-align: center;
    color: #67e8f9;
    font-size: 1.125rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Секция "Как это работает" */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.step-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
}

.step-number {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 900;
    font-size: 1.125rem;
    border: 2px solid #000;
}

.step-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #d1d5db;
}

/* Секция FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(147, 51, 234, 0.5);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 1.5rem;
    text-align: left;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.faq-toggle {
    transition: transform 0.3s ease;
    font-size: 1.5rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: #d1d5db;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}
.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Футер */
.footer {
    padding: 5rem 1rem 2rem;
    position: relative;
    background: linear-gradient(to top, #000, rgba(17, 24, 39, 0.9), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.social-link:hover {
    border-color: #06b6d4;
    color: #06b6d4;
    transform: scale(1.2) translateY(-2px);
}

.footer-links h4 {
    font-family: monospace;
    letter-spacing: 2px;
    color: #06b6d4;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(6, 182, 212, 0.3);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: #6b7280;
    font-family: monospace;
    font-size: 0.875rem;
}

/* Модальное окно */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(16px);
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 24px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.3);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #fff;
}

.modal-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(45deg, #06b6d4, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 2rem;
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    padding: 1rem;
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.form-submit {
    width: 100%;
    background: linear-gradient(45deg, #06b6d4, #8b5cf6);
    color: #000;
    border: none;
    border-radius: 16px;
    padding: 1rem;
    font-weight: 900;
    font-size: 1.125rem;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.form-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.form-submit:disabled,
.form-submit.disabled {
    opacity: 0.5;
    background: #6b7280;
}

.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0,0,0,0.3);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (min-width: 768px) {
    .nav { display: flex; }
    .mobile-menu-btn { display: none; }
    .footer-content { grid-template-columns: 2fr 1fr 1fr; text-align: left; }
    .footer-brand { align-items: flex-start; }
    .faq-question { font-size: 1.125rem; }
}