/* ==========================================================================
   Design System & Theme Tokens
   ========================================================================== */
:root {
    --bg-dark: #07060A;
    --bg-card: rgba(22, 19, 36, 0.7);
    --bg-card-hover: rgba(30, 26, 48, 0.85);
    --bg-header: rgba(10, 8, 16, 0.85);
    
    --accent-pink: #FF2E93;
    --accent-purple: #8B5CF6;
    --accent-violet: #9D4EDD;
    --accent-gold: #FFD700;
    --accent-glow: rgba(255, 46, 147, 0.4);

    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --text-dim: #6B7280;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 46, 147, 0.3);

    --gradient-primary: linear-gradient(135deg, #FF2E93 0%, #8B5CF6 100%);
    --gradient-glow: linear-gradient(135deg, rgba(255, 46, 147, 0.6) 0%, rgba(139, 92, 246, 0.6) 100%);
    --gradient-text: linear-gradient(135deg, #FFFFFF 20%, #FF7BBF 60%, #B794F4 100%);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-glow: 0 0 25px rgba(255, 46, 147, 0.35);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    position: relative;
    min-height: 100vh;
}

/* Background Glow Effects */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.35;
}

.bg-glow-1 {
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #FF2E93 0%, transparent 70%);
}

.bg-glow-2 {
    top: 40%;
    right: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
}

.bg-glow-3 {
    bottom: 10%;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #E0247C 0%, transparent 70%);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Utility Classes */
.text-center { text-align: center; }
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.accent-text { color: var(--accent-pink); }
.keyword-highlight {
    color: #FFF;
    border-bottom: 1px dashed var(--accent-pink);
    padding-bottom: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-nav {
    background: rgba(255, 46, 147, 0.15);
    color: #FFF;
    border: 1px solid rgba(255, 46, 147, 0.4);
    backdrop-filter: blur(10px);
}

.btn-nav:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    box-shadow: 0 0 20px rgba(255, 46, 147, 0.5);
    transform: translateY(-2px);
}

.btn-hero, .btn-cta {
    background: var(--gradient-primary);
    color: #FFF;
    font-size: 18px;
    padding: 16px 36px;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.btn-hero:hover, .btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 35px rgba(255, 46, 147, 0.7);
}

.btn-hero::after, .btn-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

.btn-primary {
    background: var(--gradient-primary);
    color: #FFF;
    padding: 14px 28px;
    width: 100%;
}
.btn-primary:hover {
    box-shadow: 0 0 25px rgba(255, 46, 147, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 14px 28px;
    width: 100%;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFF;
}

/* Age Verification Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 4, 10, 0.92);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 46, 147, 0.2);
}

.modal-badge {
    display: inline-block;
    background: var(--accent-pink);
    color: #FFF;
    font-weight: 800;
    font-size: 14px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    box-shadow: 0 0 15px rgba(255, 46, 147, 0.5);
}

.modal-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #FFF;
}

.modal-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #FFF;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    box-shadow: 0 0 15px rgba(255, 46, 147, 0.4);
}

.logo-text {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.badge-18 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 46, 147, 0.1);
    border: 1px solid rgba(255, 46, 147, 0.3);
    color: var(--accent-pink);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-pink);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-pink);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 600px;
    line-height: 1.6;
}

.hero-actions {
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 24px;
    font-weight: 800;
    color: #FFF;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-color);
}

/* Hero Media Wrapper */
.hero-media {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-glow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.2);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: var(--transition);
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.03);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(7, 6, 10, 0.9) 100%);
    pointer-events: none;
}

.hero-glass-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(14, 12, 23, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 16px 20px;
    border-radius: var(--radius-md);
}

.glass-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.online-indicator {
    width: 10px;
    height: 10px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
}

.glass-title {
    font-size: 14px;
    font-weight: 700;
    color: #FFF;
}

.glass-desc {
    font-size: 12px;
    color: var(--text-muted);
}

/* Sections Common */
.section {
    padding: 90px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-pink);
    margin-bottom: 8px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #FFF;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-lead {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

/* About Section ("О канале") */
.about-section {
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.about-text-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-paragraph {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.advantages-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.adv-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.adv-card:hover {
    border-color: var(--border-glow);
    transform: translateX(6px);
    background: var(--bg-card-hover);
}

.adv-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 46, 147, 0.12);
    color: var(--accent-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.adv-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 4px;
}

.adv-info p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Services Section ("Что вы найдёте в канале") */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 46, 147, 0.2);
}

.service-card-wide {
    grid-column: span 2;
}

.highlight-card {
    border-color: rgba(255, 46, 147, 0.4);
    background: linear-gradient(180deg, rgba(30, 24, 50, 0.85) 0%, rgba(18, 15, 32, 0.9) 100%);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-pink);
    color: #FFF;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-violet);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon-box {
    background: var(--gradient-primary);
    color: #FFF;
    box-shadow: 0 0 20px rgba(255, 46, 147, 0.5);
}

.service-title {
    font-size: 22px;
    font-weight: 800;
    color: #FFF;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.service-list li {
    font-size: 13px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li::before {
    content: '✓';
    color: var(--accent-pink);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 60px 0 100px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(26, 21, 44, 0.9) 0%, rgba(14, 11, 25, 0.95) 100%);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 46, 147, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.cta-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-pink);
    margin-bottom: 12px;
}

.cta-title {
    font-size: 38px;
    font-weight: 900;
    color: #FFF;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-text {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 36px;
}

.cta-button-wrapper {
    margin-bottom: 20px;
}

.cta-subnote {
    font-size: 13px;
    color: var(--text-dim);
}

/* Footer */
.footer {
    background: #040307;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 380px;
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-pink);
    padding-left: 4px;
}

.footer-badge-18 {
    display: inline-block;
    background: rgba(255, 46, 147, 0.15);
    border: 1px solid var(--accent-pink);
    color: var(--accent-pink);
    font-size: 16px;
    font-weight: 900;
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.restriction-text {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
}

.footer-bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright {
    font-size: 13px;
    color: var(--text-dim);
}

.footer-tg-link {
    font-size: 13px;
    color: var(--accent-pink);
    text-decoration: none;
    font-weight: 600;
}

.footer-tg-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 36px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-subtitle { margin: 0 auto 28px; }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card-wide {
        grid-column: span 1;
    }
    
    .cta-title { font-size: 28px; }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-container { padding: 0 12px; }
    .logo-text { font-size: 16px; }
    .btn-nav { font-size: 13px; padding: 8px 16px; }
    .hero-title { font-size: 28px; }
    .btn-hero, .btn-cta { width: 100%; font-size: 16px; padding: 14px 20px; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .stat-divider { display: none; }
    .section-title { font-size: 26px; }
    .cta-box { padding: 40px 20px; }
}
