:root {
    --bg-dark: #1a0f1a;
    --bg-purple: #2d1b2e;
    --bg-maroon: #251720;
    --pink-400: #ff7aaf;
    --pink-500: #ff4f98;
    --pink-600: #e23b84;
    --white: #ffffff;
    --gray-200: #e6e2ea;
    --gray-400: #9ca3af;
    --gray-500: #8b8394;
    --container: 1200px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-full: 9999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Poppins', system-ui, sans-serif;
    color: var(--white);
    background: var(--bg-dark);
    line-height: 1.6;
    position: relative;
}

/* ===== Background Video & Overlay ===== */
.bg-video-wrap {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-video-wrap:has(.bg-video source[src=""]) .bg-video,
.bg-video:not([src]) {
    display: none;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 15, 26, 0.85) 0%, rgba(45, 27, 46, 0.9) 50%, rgba(37, 23, 32, 0.95) 100%);
    z-index: 1;
}

/* Video yoksa gradient arka plan */
.bg-video-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-purple) 40%, var(--bg-maroon) 100%);
    z-index: 0;
}

.bg-video-wrap .bg-overlay {
    background: linear-gradient(180deg, rgba(26, 15, 26, 0.7) 0%, rgba(45, 27, 46, 0.75) 50%, rgba(37, 23, 32, 0.85) 100%);
}

/* ===== Star Particles ===== */
.particles-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2.5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* ===== Falling Snowflakes ===== */
.snowflakes-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -50px;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(25vh) translateX(15px) rotate(90deg);
    }
    50% {
        transform: translateY(50vh) translateX(-20px) rotate(180deg);
    }
    75% {
        transform: translateY(75vh) translateX(10px) rotate(270deg);
    }
    100% {
        transform: translateY(110vh) translateX(-15px) rotate(360deg);
    }
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(26, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 122, 175, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.brand-logo-img {
    width: 40px;
    height: 40px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-mark {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.brand-sub {
    font-size: 11px;
    color: var(--gray-400);
    letter-spacing: 0.5px;
}

.season-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 4px 12px;
    font-size: 11px;
    color: #a5b4fc;
    background: rgba(129, 140, 248, 0.2);
    border-radius: var(--radius-full);
    width: fit-content;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.main-nav a:hover {
    opacity: 1;
}

.online-badge {
    font-size: 14px;
    color: var(--white);
}

.online-badge .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.nav-cta {
    padding: 10px 24px !important;
    height: 40px !important;
    font-size: 14px !important;
}

/* Burger (mobile) */
.nav-toggle { display: none; }
.nav-burger {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
}

.nav-burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-burger span:nth-child(3) { bottom: 0; }

.nav-toggle:checked ~ .nav-burger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-burger span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 79, 152, 0.4);
}

.btn-icon {
    flex-shrink: 0;
}

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

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--white);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.pill-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #ffc9de 50%, #ff7aaf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lede {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-cta {
    margin-bottom: 24px;
}

.server-ip-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.server-ip-label {
    font-size: 14px;
    color: var(--gray-400);
}

.server-ip-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.server-ip-input {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--white);
    background: transparent;
    border: none;
    outline: none;
    min-width: 180px;
}

.btn-copy {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    background: rgba(255, 79, 152, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-copy:hover {
    background: rgba(255, 79, 152, 0.5);
}

/* ===== Preview Window (macOS style) ===== */
.hero-preview {
    position: relative;
}

.preview-window {
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.preview-titlebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.traffic-lights {
    display: flex;
    gap: 6px;
}

.traffic {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.traffic-red { background: #ff5f57; }
.traffic-yellow { background: #febc2e; }
.traffic-green { background: #28c840; }

.preview-title {
    font-size: 13px;
    color: var(--gray-400);
}

.preview-content {
    position: relative;
    aspect-ratio: 16/10;
}

.preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-caption {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    font-size: 12px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-full);
}

.preview-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-feat {
    font-size: 12px;
    color: var(--gray-400);
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

.preview-disclaimer {
    font-size: 10px;
    color: var(--gray-500);
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== Stats Bar ===== */
.hero-stats-bar {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-inner {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.hero-stats-bar .stat-item {
    text-align: center;
}

.hero-stats-bar .stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.hero-stats-bar .stat-label {
    font-size: 11px;
    color: var(--gray-400);
    letter-spacing: 1px;
}

/* ===== Why Section ===== */
.why-section {
    padding: 80px 0;
}

.why-sub {
    font-size: 12px;
    color: var(--gray-400);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.why-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.why-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 700px;
}

/* ===== Sections (Features, Gallery, etc.) ===== */
.section {
    padding: 80px 0;
    position: relative;
}

.section.alt {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.section-head p {
    color: var(--gray-400);
    font-size: 17px;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 122, 175, 0.2);
    transform: translateY(-4px);
}

.feature .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature .icon img {
    width: 36px;
    height: 36px;
}

.feature h3, .dl-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.feature p, .dl-card p {
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1.7;
}

.grid {
    display: grid;
    gap: 24px;
}

.features {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gallery {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.shot {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.shot-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s;
}

.shot:hover .shot-img {
    transform: scale(1.05);
}

.shot figcaption {
    padding: 16px;
    font-size: 15px;
    color: var(--gray-400);
    text-align: center;
}

/* Download Cards */
.downloads {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

.dl-card {
    position: relative;
    text-align: center;
    padding: 40px 28px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.dl-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dl-badge.recommended {
    background: linear-gradient(135deg, var(--pink-600), var(--pink-500));
    color: white;
}

.dl-badge.compatible-badge {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
}

.dl-logo {
    margin: 20px 0 24px;
}

.dl-subtitle {
    font-size: 11px;
    color: var(--gray-500);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.dl-description {
    margin-bottom: 24px;
    min-height: 48px;
}

.dl-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.dl-feature {
    padding: 10px 16px;
    font-size: 13px;
    color: var(--gray-400);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    text-align: left;
}

.dl-btn {
    margin-top: auto;
}

.dl-btn.disabled,
.dl-btn[href="#"] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.dl-card.card-disabled {
    opacity: 0.8;
}

/* FAQ */
.faq details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    padding: 20px 24px;
}

.faq summary {
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq p {
    margin-top: 12px;
    color: var(--gray-400);
    line-height: 1.7;
}

/* Modal */
.modal.hidden { display: none; }

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: var(--bg-purple);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.modal-content h3 {
    color: var(--white);
    margin-bottom: 16px;
}

.modal-content p {
    color: var(--gray-400);
    margin-bottom: 24px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

/* Footer */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot {
    text-align: center;
}

.foot p {
    color: var(--gray-500);
    font-size: 14px;
}

.small {
    font-size: 12px;
    margin-top: 8px;
}

/* Section underline */
.section-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--pink-500), var(--pink-600));
    border-radius: var(--radius-full);
    margin: 16px auto 20px;
}

/* Responsive */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-preview {
        order: -1;
    }
}

@media (max-width: 720px) {
    .nav-burger { display: block; }
    .main-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 72px;
        background: rgba(26, 15, 26, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        display: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-toggle:checked ~ .main-nav {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    .stats-inner {
        gap: 40px;
    }
}

@media (max-width: 520px) {
    .container { padding: 0 16px; }
    .server-ip-box { flex-direction: column; }
    .server-ip-input { min-width: 100%; }
}
