:root {
    --bg-color: #1a1516;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent: #ff6b6b; /* Sunset Orange */
    --accent-blue: #4a90e2; /* Orbit Classic Blue */
    --card-bg: #261f21;
    --border: #3a2e31;
    --font: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* Навігація */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(26, 21, 22, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a:not(.btn-download-nav) { color: var(--text-muted); font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-main); }

.btn-download-nav {
    background: var(--accent);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.btn-download-nav:hover { background: #ff5252; }

select {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 6px 10px;
    border-radius: 6px;
    font-family: var(--font);
    cursor: pointer;
    outline: none;
}
select option { background: var(--bg-color); }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    padding-top: 80px;
}

.hero-content { position: relative; z-index: 10; max-width: 800px; }

.badge {
    display: inline-block;
    background: rgba(255, 107, 107, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.hero h1 { font-size: 4rem; font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 24px; }
.hero p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; }

.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, background 0.2s;
    display: inline-block;
    cursor: pointer;
}
.btn-primary:hover { background: #ff5252; transform: translateY(-2px); }

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid var(--border);
    transition: background 0.2s;
    display: inline-block;
    cursor: pointer;
}
.btn-secondary:hover { background: var(--card-bg); }

/* Фон з орбітами */
.orbit-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.6;
}

.ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px solid rgba(255, 107, 107, 0.15); transform: translate(-50%, -50%); }
.ring-1 { width: 600px; height: 600px; animation: spin 20s linear infinite; border-top-color: rgba(255, 107, 107, 0.4); }
.ring-2 { width: 900px; height: 900px; animation: spin 30s linear infinite reverse; border-right-color: rgba(74, 144, 226, 0.3); }
.ring-3 { width: 1200px; height: 1200px; animation: spin 40s linear infinite; border-bottom-color: rgba(255, 107, 107, 0.2); }

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,107,107,0.1) 0%, rgba(26,21,22,0) 70%);
    border-radius: 50%;
}

@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

/* Features */
.features { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
.features h2 { text-align: center; font-size: 2.5rem; margin-bottom: 60px; font-weight: 800; letter-spacing: -1px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

.card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--accent-blue); }
.card .icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 600; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* Карусель */
.screenshots-section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; font-weight: 800; letter-spacing: -1px; }

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.carousel-track-container { height: 100%; position: relative; overflow: hidden; }

.carousel-track {
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
    height: 100%;
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide { min-width: 100%; width: 100%; }
.carousel-slide img { width: 100%; height: auto; display: block; object-fit: cover; }

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 21, 22, 0.7);
    border: 1px solid var(--border);
    color: white;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button:hover { background: var(--accent); border-color: var(--accent); }
.carousel-button--left { left: 20px; }
.carousel-button--right { right: 20px; }

.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 12px;
    background: var(--card-bg);
}

.carousel-indicator {
    border: 0;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    background: var(--border);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.carousel-indicator.current-slide { background: var(--accent); transform: scale(1.2); }

/* Themes Section */
.themes-section {
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-color) 0%, #1f181a 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.themes-content { max-width: 800px; margin: 0 auto; }
.themes-content h2 { font-size: 2.5rem; margin-bottom: 16px; font-weight: 800; }
.themes-content p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.1rem; }
.theme-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.t-badge {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    transition: border-color 0.2s;
}
.t-badge:hover { border-color: var(--accent); }

/* Download Section */
.download-section { padding: 100px 20px; background: #130f10; }
.download-box {
    max-width: 700px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 60px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.download-box h2 { font-size: 2.5rem; margin-bottom: 16px; font-weight: 800;}
.download-box p { color: var(--text-muted); margin-bottom: 32px; font-size: 1.1rem; }
.download-action { margin-bottom: 40px; display: flex; flex-direction: column; gap: 15px; align-items: center; }
.file-info { font-size: 0.85rem !important; margin-top: 12px; color: var(--text-muted); }

.warning-box {
    background: rgba(255, 160, 0, 0.1);
    border: 1px solid rgba(255, 160, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    text-align: left;
}
.warning-box h4 { color: #ffa000; margin-bottom: 8px; font-size: 1rem; }
.warning-box p { font-size: 0.9rem; color: #ddd; margin: 0; line-height: 1.5;}

/* Footer */
footer { padding: 40px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.9rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--text-main); }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    nav { padding: 15px 20px; }
    .nav-links a:not(.btn-download-nav) { display: none; }
    .download-box { padding: 40px 20px; }
    footer { flex-direction: column; gap: 20px; text-align: center; }
    .carousel-button { width: 36px; height: 36px; font-size: 1rem; }
    .carousel-button--left { left: 10px; }
    .carousel-button--right { right: 10px; }
}