:root {
    --primary-color: #00ff9d;
    --secondary-color: #00d2ff;
    --bg-color: #050505;
    --card-bg: rgba(20, 20, 20, 0.6);
    --text-color: #ffffff;
    --text-gray: #a0a0a0;
    --newsbar-height: 54px;
    --header-height: 64px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* News Scroller */
.news-scroller {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    gap: 14px;
    height: var(--newsbar-height);
    padding: 0 16px;
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.news-label {
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #000;
    background: var(--primary-color);
    padding: 6px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.news-content {
    flex: 1;
    overflow: hidden;
    color: var(--text-color);
    font-size: 0.9rem;
}

.scroll-white { color: #ffffff; }
.scroll-yellow { color: #ffd700; font-weight: 700; }
.scroll-red { color: #ff0055; font-weight: 700; }

/* Navbar */
header {
    position: fixed;
    top: var(--newsbar-height);
    left: 0;
    right: 0;
    z-index: 2400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: var(--header-height);
    padding: 0 20px;
    background: rgba(5, 5, 5, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-color);
    text-decoration: none;
}

.logo img {
    display: block;
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 700;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.submenu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    padding: 10px;
    list-style: none;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-item:hover > .submenu {
    display: block;
}

.submenu li a {
    display: block;
    padding: 10px 10px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease;
}

.submenu li a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.nav-btns {
    display: flex;
    align-items: center;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    color: #000;
    background: var(--primary-color);
    transition: transform 0.25s ease, filter 0.25s ease;
}

.nav-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.nav-badge-new {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    background: rgba(255, 0, 85, 0.2);
    border: 1px solid rgba(255, 0, 85, 0.4);
    color: #ff4d4d;
}

@media (max-width: 768px) {
    header {
        padding: 0 14px;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .nav-container {
        position: fixed;
        top: calc(var(--newsbar-height) + var(--header-height));
        left: 0;
        right: 0;
        padding: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: rgba(5, 5, 5, 0.96);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .nav-container.show {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .nav-link {
        justify-content: space-between;
    }

    .submenu {
        position: static;
        box-shadow: none;
        margin-top: 8px;
        padding: 8px;
        border-radius: 12px;
    }

    .nav-item:hover > .submenu {
        display: none;
    }

    .nav-item.active > .submenu {
        display: block;
    }

    .nav-btns {
        margin-top: 8px;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 12rem 1rem 5rem 1rem;
    background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #0a0a0a, #111111);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    background-size: 200% auto;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.5s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.2);
}

.btn:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 157, 0.4);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Software Grid */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }
.card:nth-child(8) { animation-delay: 0.8s; }
.card:nth-child(9) { animation-delay: 0.9s; }
.card:nth-child(10) { animation-delay: 1.0s; }
.card:nth-child(11) { animation-delay: 1.1s; }
.card:nth-child(12) { animation-delay: 1.2s; }

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 157, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 255, 157, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Dependencies Section */
.dependencies {
    background-color: #111;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 4rem;
    text-align: center;
}

.dep-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.dep-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dep-card h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Social News */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.social-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.telegram .social-icon { color: #0088cc; }
.whatsapp .social-icon { color: #25d366; }
.youtube .social-icon { color: #ff0000; }
.news .social-icon { color: var(--primary-color); }

.social-btn {
    margin-top: 1rem;
    background: transparent;
    border: 1px solid var(--text-gray);
    color: var(--text-color);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border-color: var(--text-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

/* Live Status Widget */
.live-status-widget {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem auto;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
}
.status-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.status-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.status-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}
.status-value.live {
    color: #00ff88;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.pulse {
    width: 10px;
    height: 10px;
    background-color: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Video Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 3000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9); 
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: #111;
    margin: 5% auto; 
    padding: 25px;
    border: 1px solid #333;
    width: 90%; 
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(0, 255, 157, 0.1);
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.video-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid #333;
}

.download-status {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s;
}

/* Animated Badges */
@keyframes badgePulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 0, 85, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 85, 0); }
}

@keyframes badgeGlow {
    0% { box-shadow: 0 0 5px #00ff9d; }
    50% { box-shadow: 0 0 20px #00ff9d, 0 0 10px #00ff9d; }
    100% { box-shadow: 0 0 5px #00ff9d; }
}

.badge-trending {
    background: linear-gradient(45deg, #ff0055, #ff5500);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 8px;
    animation: badgePulse 2s infinite;
    display: inline-block;
}

.badge-weblogin {
    background: linear-gradient(45deg, #00ff9d, #00ccff);
    color: black;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 8px;
    animation: badgeGlow 2s infinite;
    display: inline-block;
}

.download-notice-content {
    max-width: 900px;
}

.download-notice-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-color);
}

.download-notice-scroll {
    max-height: 55vh;
    overflow-y: auto;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-align: left;
}

.download-notice-text {
    white-space: pre-wrap;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.download-notice-actions {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}
