/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --bg-dark-purple: #0b0718;
    --accent-purple: #6a11cb;
    --accent-blue: #2575fc;
    --neon-cyan: #00f0ff;
    --neon-purple: #b026ff;
    --card-bg: rgba(18, 12, 38, 0.65);
    --border-glow: rgba(176, 38, 255, 0.3);
    --text-color: #f1efff;
    --text-muted: #a3a0c2;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark-purple);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #080511;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-purple), var(--accent-blue));
    border-radius: 4px;
}

/* ==========================================================================
   VIDEO BACKGROUND
   ========================================================================== */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#bg-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(11, 7, 24, 0.5) 0%, rgba(6, 3, 15, 0.92) 100%),
                linear-gradient(180deg, rgba(106, 17, 203, 0.25) 0%, rgba(37, 117, 252, 0.2) 100%);
    z-index: -1;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(11, 7, 24, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 3D Header Logo Styling */
.logo-3d-wrapper {
    perspective: 500px;
    cursor: pointer;
}

.logo-3d {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 
        0 1px 0 #5812a8,
        0 2px 0 #460e87,
        0 3px 0 #320963,
        0 4px 6px rgba(0, 0, 0, 0.7),
        0 0 15px rgba(176, 38, 255, 0.6);
    transform: rotateX(10deg) rotateY(-10deg);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo-3d:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.05);
    text-shadow: 
        0 0 20px var(--neon-cyan),
        0 0 30px var(--neon-purple);
}

.logo-sub {
    color: var(--neon-cyan);
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-item {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-item:hover, .nav-item.active {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
}

/* Language Switcher Button */
.lang-btn {
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.4), rgba(37, 117, 252, 0.4));
    border: 1px solid var(--border-glow);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lang-btn:hover {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.6);
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Main Interactive 3D Emblem Card */
.main-3d-logo-card {
    position: relative;
    width: 320px;
    height: 220px;
    margin-bottom: 30px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
                inset 0 0 20px rgba(176, 38, 255, 0.15);
}

.jester-icon-3d {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
    transform: translateZ(50px);
    margin-bottom: 10px;
}

.hero-title-3d {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: #fff;
    transform: translateZ(40px);
    text-shadow: 
        0 2px 0 #5812a8,
        0 4px 0 #320963,
        0 8px 15px rgba(0, 0, 0, 0.8),
        0 0 25px var(--neon-purple);
}

.hero-subtitle-3d {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 6px;
    color: var(--neon-cyan);
    transform: translateZ(30px);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 650px;
}

/* Download Button Styling */
.download-container {
    margin-bottom: 35px;
}

.download-btn {
    position: relative;
    display: inline-block;
    text-decoration: none;
    padding: 2px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--accent-purple), var(--neon-purple));
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    box-shadow: 0 10px 30px rgba(106, 17, 203, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-content {
    background: #0d0722;
    padding: 18px 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: background 0.3s ease;
}

.download-icon {
    font-size: 1.8rem;
    color: var(--neon-cyan);
    transition: transform 0.3s ease;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-main-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.btn-sub-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.4), 0 0 30px rgba(176, 38, 255, 0.5);
}

.download-btn:hover .btn-content {
    background: rgba(13, 7, 34, 0.85);
}

.download-btn:hover .download-icon {
    transform: translateY(3px) scale(1.1);
}

/* Badges */
.hero-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(8px);
}

.badge i {
    color: var(--neon-cyan);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 25px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 60px;
    color: #fff;
    text-shadow: 0 0 20px rgba(176, 38, 255, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    padding: 35px 25px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: #fff;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   SYSTEM REQUIREMENTS (SPECS) SECTION
   ========================================================================== */
.specs-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 25px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.specs-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 35px 30px;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specs-card.recommended {
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.recommended-badge {
    position: absolute;
    top: -14px;
    right: 25px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--accent-blue));
    color: #0b0718;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.specs-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.specs-badge-icon {
    font-size: 1.8rem;
    color: var(--neon-cyan);
}

.specs-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: #fff;
}

.specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.spec-label {
    color: var(--text-muted);
}

.spec-value {
    color: #fff;
    font-weight: 600;
    text-align: right;
}

.specs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(176, 38, 255, 0.2);
}

/* ==========================================================================
   COMMUNITY SECTION
   ========================================================================== */
.community-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 25px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.25), rgba(37, 117, 252, 0.25));
    border: 1px solid var(--border-glow);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.04);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.community-box {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    padding: 35px 25px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.community-box:hover {
    transform: translateY(-8px);
    border-color: var(--neon-purple);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(176, 38, 255, 0.3);
}

.box-icon {
    font-size: 2.5rem;
    color: var(--neon-purple);
    margin-bottom: 20px;
}

.community-box h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: #fff;
}

.community-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    background: rgba(6, 3, 15, 0.85);
    backdrop-filter: blur(10px);
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
}

.footer-logo .logo-text {
    color: var(--neon-purple);
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Kurallar */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title-3d {
        font-size: 2rem;
    }
    .main-3d-logo-card {
        width: 260px;
        height: 180px;
    }
    .specs-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .spec-value {
        text-align: left;
    }
}