:root {
    --blue: #0d6efd;
    --blue-dark: #0a58ca;
    --orange: #ff8c1a;
    --orange-dark: #e67700;
    --bg-1: #08111f;
    --bg-2: #0f172a;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-2: rgba(255, 255, 255, 0.1);
    --border: rgba(255, 255, 255, 0.12);
    --text: #f8fafc;
    --muted: #cbd5e1;
    --shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
    --radius: 18px;
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(13, 110, 253, 0.18), transparent 28%),
        radial-gradient(circle at top left, rgba(255, 140, 26, 0.16), transparent 24%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

/* Navbar */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 17, 31, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.nav-wrap {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-shadow: 0 0 18px rgba(13, 110, 253, 0.18);
}

.logo span {
    color: var(--orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--muted);
    font-size: 15px;
    padding: 10px 14px;
    border-radius: 12px;
    transition: 0.25s ease;
    border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255,255,255,0.08);
}

/* Hero */

.hero {
    padding: 72px 0 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 32px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(13, 110, 253, 0.16);
    border: 1px solid rgba(13, 110, 253, 0.28);
    color: #bfdbfe;
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 16px;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.2;
    font-weight: 800;
}

.hero .accent {
    color: var(--orange);
}

.hero p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.95;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.22s ease;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.96;
}

.btn-secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
}

.hero-card {
    background: linear-gradient(180deg, var(--surface-2), rgba(255,255,255,0.03));
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.hero-card img {
    width: 100%;
    border-radius: 16px;
}

/* Stats */

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.stat-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
}

.stat-box strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: #ffffff;
}

.stat-box span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Notice */

.notice {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 140, 26, 0.12);
    border-right: 4px solid var(--orange);
    color: #ffe7c4;
    line-height: 1.8;
}

/* Section */

.section {
    padding: 28px 0 70px;
}

.section-title {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 800;
}

.section-subtitle {
    margin: 0 0 26px;
    color: var(--muted);
    line-height: 1.9;
    font-size: 16px;
}

/* Cards */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 140, 26, 0.32);
}

.card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #ffffff;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

/* Gallery */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 110, 253, 0.34);
}

.gallery-item a {
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: #08111f;
}

/* Content boxes */

.download-box,
.about-box,
.contact-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.list {
    margin: 0;
    padding-right: 20px;
    color: var(--muted);
    line-height: 1.9;
}

.list li + li {
    margin-top: 6px;
}

.contact-info {
    display: grid;
    gap: 12px;
    color: var(--text);
    line-height: 1.9;
}

/* Socials */

.socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    transition: 0.2s ease;
}

.socials a.facebook {
    background: #1877f2;
}

.socials a.youtube {
    background: #ff0000;
}

.socials a:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

/* Floating download */

.floating-download {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: 0.2s;
}

.floating-download:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Footer */

.footer {
    margin-top: 16px;
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 24px 0;
    color: var(--muted);
    font-size: 14px;
}

/* Responsive */

@media (max-width: 960px) {
    .hero-grid,
    .cards,
    .gallery,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .nav-wrap {
        flex-direction: column;
        justify-content: center;
        padding: 14px 0;
    }

    .nav-links {
        justify-content: center;
        gap: 8px;
    }

    .nav-links a {
        font-size: 14px;
        padding: 9px 12px;
    }

    .hero {
        padding-top: 42px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .gallery-item img {
        height: auto;
        object-fit: contain;
    }

    .floating-download {
        bottom: 14px;
        left: 14px;
        right: 14px;
        text-align: center;
    }
}
