
:root {
    /* PREMIUM DARK NATURE THEME */
    --bg-color: #0F1A12;
    --bg-secondary: #162118;
    --text-primary: #FDFBF7;
    --text-secondary: #9CB5A3;
    --accent-primary: #7EC88B;
    --accent-secondary: #E8A849;
    --accent-tertiary: #5BA8C8;
    --accent-gradient: linear-gradient(135deg, #7EC88B 0%, #E8A849 100%);
    --accent-glow: rgba(126, 200, 139, 0.3);

    --card-bg: rgba(30, 50, 35, 0.45);
    --card-border: rgba(126, 200, 139, 0.15);
    --card-hover: rgba(45, 75, 50, 0.55);

    --btn-primary-bg: linear-gradient(135deg, #7EC88B, #5BA86B);
    --btn-primary-text: #0F1A12;
    --btn-primary-hover: linear-gradient(135deg, #E8A849, #D4923A);

    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 30px rgba(126, 200, 139, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}
html::-webkit-scrollbar { display: none; } /* Chrome/Safari */

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    line-height: 1.7;
}

/* ══════════ Organic Background Blobs ══════════ */
.organic-blob {
    position: fixed;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.25;
    pointer-events: none;
}
.blob-1 {
    top: -10%; right: -10%; width: 55vw; height: 55vw;
    background: radial-gradient(circle, #7EC88B, transparent 70%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 14s ease-in-out infinite;
}
.blob-2 {
    top: 45%; left: -15%; width: 45vw; height: 45vw;
    background: radial-gradient(circle, #E8A849, transparent 70%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 18s ease-in-out infinite alternate;
}
.blob-3 {
    bottom: -15%; right: 5%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, #5BA8C8, transparent 70%);
    border-radius: 30% 70% 50% 50% / 50% 40% 60% 50%;
    animation: morph 12s ease-in-out infinite alternate-reverse;
}

@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg); }
    50% { border-radius: 60% 40% 50% 50% / 50% 60% 40% 60%; transform: rotate(5deg); }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg); }
}

/* ══════════ Particles Canvas ══════════ */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ══════════ Typography ══════════ */
h1, h2, h3 { font-weight: 800; }
a { text-decoration: none; color: inherit; }

/* ══════════ Navbar ══════════ */
.navbar {
    display: flex;
    justify-content: center;
    padding: 1rem 2rem;
    position: fixed;
    top: 0; width: 100%;
    background: rgba(15, 26, 18, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(126, 200, 139, 0.1);
    z-index: 1000;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(15, 26, 18, 0.92);
    padding: 0.7rem 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}
.logo {
    font-size: 1.4rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -0.5px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.8rem;
    align-items: center;
}
.nav-links li a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.nav-links li a:hover {
    color: var(--accent-primary);
}
.nav-links li a:hover::after {
    width: 100%;
}

/* ── Hamburger Menu ── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: none;
    border: none;
}
.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.btn-primary-small {
    display: inline-block;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.btn-primary-small:hover {
    background: var(--btn-primary-hover);
    color: #fff;
    transform: scale(1.05);
}

/* ══════════ Glass Cards ══════════ */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow), var(--shadow-soft);
    border-color: rgba(126, 200, 139, 0.35);
}

/* ══════════ Buttons ══════════ */
.btn-primary, .btn-secondary, .btn-telegram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    box-shadow: 0 4px 20px rgba(126, 200, 139, 0.3);
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}
.btn-primary:hover::before {
    left: 100%;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(126, 200, 139, 0.4);
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    box-shadow: 0 0 0 0 rgba(126, 200, 139, 0);
}
.btn-secondary:hover {
    background: rgba(126, 200, 139, 0.1);
    color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(126, 200, 139, 0.15);
    transform: translateY(-3px);
}
.btn-telegram {
    background: linear-gradient(135deg, #2AABEE, #1E96D1);
    color: #fff;
    margin-top: 1rem;
    box-shadow: 0 4px 20px rgba(42, 171, 238, 0.3);
}
.btn-telegram:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(42, 171, 238, 0.4);
}

/* ══════════ Responsive Utilities ══════════ */
.w-100 { width: 100%; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ══════════ Hero Section ══════════ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    padding-top: 5rem;
    position: relative;
}
.hero-content {
    max-width: 850px;
    z-index: 10;
}
.hero-title {
    font-size: 3.8rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    letter-spacing: -1px;
}
.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Typing Cursor ── */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent-primary);
    margin-right: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: middle;
}
@keyframes blink {
    50% { opacity: 0; }
}

/* ── Free Notice ── */
.free-notice {
    margin-bottom: 2.5rem;
    border-right: 4px solid var(--accent-secondary);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.free-notice::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--accent-secondary), var(--accent-primary));
}
.pulse-icon {
    font-size: 2.2rem;
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile hero buttons fix */
@media (max-width: 500px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        font-size: 0.92rem;
        padding: 0.85rem 1.2rem;
        width: 100%;
        justify-content: center;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* ══════════ Sections Modal ══════════ */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 26, 18, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease;
    padding: 1rem;
}
.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.modal-content {
    background: var(--bg-secondary);
    width: 100%;
    max-width: 650px;
    padding: 2.5rem;
    position: relative;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translateY(0) scale(1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.hidden .modal-content {
    transform: translateY(30px) scale(0.95);
}
.close-modal {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--text-primary);
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
}
.close-modal:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}
.modal-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--accent-primary);
}
.sections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.sec-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    background: rgba(126, 200, 139, 0.05);
    border: 1px solid rgba(126, 200, 139, 0.15);
    border-radius: 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}
.sec-card i {
    font-size: 1.6rem;
    color: var(--accent-secondary);
    min-width: 35px;
    text-align: center;
    transition: all 0.3s ease;
}
.sec-content {
    display: flex;
    flex-direction: column;
}
.sec-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--accent-primary);
    transition: color 0.3s ease;
}
.sec-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.sec-card:hover {
    background: var(--accent-gradient);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(126, 200, 139, 0.2);
    border-color: transparent;
}
.sec-card:hover i,
.sec-card:hover .sec-title,
.sec-card:hover .sec-desc {
    color: var(--bg-color);
}
@media (max-width: 600px) {
    .sections-grid { grid-template-columns: 1fr; }
    .modal-overlay {
        align-items: flex-start;
        padding: 0;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
    .modal-content {
        padding: 1.5rem 1.2rem;
        padding-top: 5rem;
        padding-bottom: 3rem;
        max-height: none;
        min-height: 100vh;
        margin: 0;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .modal-title {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }
    .sec-card {
        padding: 1rem;
        gap: 0.8rem;
    }
    .sec-title { font-size: 1rem; }
    .sec-desc { font-size: 0.78rem; }
    .sec-card i { font-size: 1.3rem; min-width: 28px; }
    .close-modal { top: 1rem; left: 1rem; width: 40px; height: 40px; font-size: 1.1rem; z-index: 10000; }
}

/* ══════════ Stats Section ══════════ */
.stats-section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: -2rem auto 0;
    position: relative;
    z-index: 10;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 20px;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    transition: all 0.4s ease;
}
.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(126, 200, 139, 0.4);
    box-shadow: var(--shadow-glow);
}
.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}
.stat-icon.green { color: var(--accent-primary); }
.stat-icon.gold { color: var(--accent-secondary); }
.stat-icon.blue { color: var(--accent-tertiary); }

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
}
.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

/* ══════════ Section Titles ══════════ */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
    position: relative;
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ══════════ Common Section Spacing ══════════ */
.tips-section, .ai-section, .channels-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
    position: relative;
}

/* ══════════ Tips Grid ══════════ */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.tip-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tip-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    z-index: 0;
}
.tip-card:hover::before {
    opacity: 0.05;
}
.tip-number {
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.08;
    color: var(--accent-primary);
    line-height: 1;
    z-index: 0;
}
.icon-box {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 20px;
    background: rgba(126, 200, 139, 0.1);
    transition: all 0.4s ease;
}
.icon-box i {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
}
.tip-card:hover .icon-box {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(126, 200, 139, 0.2);
    box-shadow: 0 0 25px rgba(126, 200, 139, 0.2);
}
.tip-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}
.tip-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

/* ══════════ AI Section ══════════ */
.ai-container {
    max-width: 650px;
    margin: 0 auto;
}
.ai-header {
    text-align: center;
    margin-bottom: 2rem;
}
.ai-icon {
    font-size: 3.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: right;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.input-wrapper {
    position: relative;
}
.input-wrapper i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-primary);
    opacity: 0.6;
    font-size: 1.1rem;
    pointer-events: none;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 1rem 1rem 1rem 1rem;
    padding-right: 2.8rem;
    border-radius: 14px;
    border: 1.5px solid var(--card-border);
    background: rgba(15, 26, 18, 0.5);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(126, 200, 139, 0.15);
}

/* ── Progress Bar ── */
.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(126, 200, 139, 0.1);
    border-radius: 10px;
    margin-top: 1rem;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* ── Spinner ── */
.loading-state {
    text-align: center;
    padding: 2rem;
}
.spinner {
    width: 50px; height: 50px;
    border: 4px solid rgba(126, 200, 139, 0.15);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem auto;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* ══════════ Countdown Timer ══════════ */
.countdown-section {
    max-width: 650px;
    margin: -1rem auto 0;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}
.countdown-container {
    text-align: center;
    padding: 1.5rem 2rem;
}
.countdown-label {
    display: block;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}
.countdown-boxes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}
.cd-box {
    text-align: center;
}
.cd-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.cd-unit {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}
.cd-sep {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 800;
    opacity: 0.4;
}

/* ══════════ Daily Quote ══════════ */
.quote-section {
    max-width: 700px;
    margin: 1.5rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 10;
}
.quote-container {
    text-align: center;
    position: relative;
    padding: 1.2rem 2rem;
}
.quote-icon {
    font-size: 2rem;
    color: var(--accent-primary);
    opacity: 0.15;
    position: absolute;
    top: 0;
    right: 10px;
}
.daily-quote-text {
    color: var(--text-secondary);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.9;
    font-weight: 600;
}

/* ══════════ Progress Tracker ══════════ */
.progress-section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}
.prog-item {
    margin-bottom: 1.2rem;
}
.prog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}
.prog-header i {
    color: var(--accent-primary);
    margin-left: 6px;
}
.prog-pct {
    color: var(--accent-secondary);
    font-weight: 800;
}
.prog-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(126, 200, 139, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}
.prog-bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 10px;
    transition: width 0.3s ease;
}
.prog-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: transparent;
    cursor: pointer;
    margin: 0;
}
.prog-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 8px rgba(126, 200, 139, 0.4);
    cursor: pointer;
}
.prog-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: none;
    cursor: pointer;
}


/* ══════════ Channels Grid ══════════ */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.channel-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.channel-card::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: radial-gradient(circle, rgba(42, 171, 238, 0.1), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}
.channel-card:hover::after {
    width: 300px; height: 300px;
}
.telegram-icon {
    font-size: 3.2rem;
    color: #2AABEE;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}
.channel-card:hover .telegram-icon {
    transform: scale(1.2) rotate(-10deg);
    filter: drop-shadow(0 0 15px rgba(42, 171, 238, 0.5));
}
.channel-card h3 {
    position: relative;
    z-index: 1;
}
.channel-card p {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.channel-subs {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    background: rgba(42, 171, 238, 0.1);
    color: #2AABEE;
    font-size: 0.8rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ══════════ Footer ══════════ */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--card-border);
    position: relative;
    z-index: 10;
}
.footer-content {
    max-width: 800px;
    margin: 0 auto;
}
.footer-logo {
    font-size: 1.8rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--accent-primary);
}
.contact-box {
    max-width: 500px;
    margin: 2rem auto;
}
.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ══════════ Back to Top Button ══════════ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(126, 200, 139, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(126, 200, 139, 0.4);
}

/* ══════════ Scroll Animations ══════════ */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

/* ══════════ Confetti ══════════ */
.confetti-piece {
    position: fixed;
    width: 10px;
    height: 10px;
    z-index: 9999;
    pointer-events: none;
    animation: confettiFall 1.5s ease-out forwards;
}
@keyframes confettiFall {
    0% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
    100% { opacity: 0; transform: translateY(400px) rotate(720deg) scale(0); }
}

/* ══════════ PDF Image Filter ══════════ */
.pdf-image-filter {
    filter: invert(1) hue-rotate(180deg) brightness(1.5);
    mix-blend-mode: screen;
}

/* ══════════ RESPONSIVE ══════════ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(15, 26, 18, 0.97);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        border-left: 1px solid var(--card-border);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links li a {
        font-size: 1.2rem;
    }
    .mobile-overlay {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .hero-title { font-size: 2.4rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-buttons { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; gap: 1rem; }
    .stat-number { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .tips-grid { grid-template-columns: 1fr; }
    .channels-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .channels-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2rem; }
    .stat-card { padding: 1.5rem 0.8rem; }
}
