:root {
    --neon-cyan: #00f0ff;
    --neon-magenta: #ff007f;
    --dark-bg: #0a0a12;
    --glass-bg: rgba(16, 16, 28, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 127, 0.15) 0%, transparent 40%),
        linear-gradient(135deg, #07070d 0%, #0f0f1e 100%);
    background-attachment: fixed;
    color: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-magenta), transparent);
    box-shadow: 0 0 15px var(--neon-cyan);
}

h2 {
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ИСПРАВЛЕНО: Блок теперь сидит идеально внутри и не вылезает за края */
.info-text {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: left;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(0, 240, 255, 0.15); /* Мягкая тонкая рамка вместо вылезающей полосы */
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.05); /* Легкое внутреннее кибер-свечение */
}

.info-text p { 
    margin: 12px 0; 
    line-height: 1.5;
}

.info-text p strong { color: var(--neon-cyan); }
.info-text p b { color: var(--neon-magenta); }

input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 16px;
    color: #fff;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.checkbox-label {
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 25px;
    text-align: left;
    user-select: none;
}

.checkbox-label input {
    margin-top: 2px;
    accent-color: var(--neon-cyan);
    transform: scale(1.2);
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    box-sizing: border-box;
    background: linear-gradient(90deg, #00d2ff 0%, #0066ff 100%);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
    transition: all 0.4s ease;
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

.btn:disabled {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #64748b !important;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

.btn-ready {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4) !important;
}

.error {
    color: #ff3366;
    font-size: 13px;
    margin-bottom: 20px;
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid rgba(255, 51, 102, 0.2);
    padding: 12px;
    border-radius: 10px;
}

/* Новые стили для выбора YouTube / Telegram */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #cbd5e1;
    user-select: none;
    text-align: left;
}

.radio-label input[type="radio"] {
    display: none; /* Прячем стандартную круглую кнопку */
}

/* Кастомный футуристичный переключатель */
.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px; /* Квадратные неоновые чекбоксы */
    position: relative;
    transition: all 0.3s ease;
}

.radio-custom.cyan { --glow: var(--neon-cyan); }
.radio-custom.magenta { --glow: var(--neon-magenta); }

/* Эффект при выборе варианта */
.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--glow);
    background: var(--glow);
    box-shadow: 0 0 10px var(--glow);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 2px;
}
