@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;800;900&display=swap');

:root {
    --primary-color: #00ff88;
    --secondary-color: #00cc6a;
    --accent-color: #0099ff;
    --dark-bg: #0a0a12;
    --dark-card: #151525;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --neon-glow: 0 0 10px rgba(0, 255, 136, 0.5);
    --transition: all 0.3s ease;
    --border-color: rgba(0, 255, 136, 0.2);
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 18, 0.98);
}

.navbar-brand {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--primary-color) !important;
    text-shadow: var(--neon-glow);
    font-weight: 700;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--neon-glow);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.btn-join-server {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #000 !important;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-join-server:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.5);
    color: #000 !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

#heroVideo {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    padding: 2rem;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* Cards */
.card {
    background: rgba(21, 21, 37, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

/* Weapon Grid */
.weapon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.weapon-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid transparent;
}

.weapon-item:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--primary-color);
}

/* Stats */
.stat-card {
    background: rgba(0, 255, 136, 0.05);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
}

.stat-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #000;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

/* Language & Theme Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-switcher a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    transition: var(--transition);
}

.lang-switcher a.active,
.lang-switcher a:hover {
    color: var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
}

.btn-theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.btn-theme-toggle:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
}

/* Dropdown */
.dropdown-menu {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.5rem 0;
}

.dropdown-item {
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-color);
}

/* Section Titles */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .weapon-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

/* CUSTOM LOGO STYLES */
.logo-container {
    position: relative;
    width: 800px;
    /* Reduced empty space */
    max-width: 100%;
    margin: 0 auto;
    /* Center alignment */
    /* margin-right: 1rem; Removed for centering */
}

.cs-logo {
    width: 100%;
    height: auto;
    max-height: 50px;
    /* Increased height limit */
}

@media (max-width: 768px) {
    .logo-container {
        width: 70vw;
        /* Responsive width */
        margin: 0;
        display: block;
    }

    .cs-logo {
        max-height: none;
        height: auto;
    }

    /* Thicker stroke for mobile to ensure visibility when scaled down */
    .animated-text {
        stroke-width: 6;
    }
}

/* ORTAK ANİMASYON STİLİ */
.animated-text {
    fill: transparent;
    stroke-width: 3;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 90, 310;
    stroke-dashoffset: 0;
    animation: textDraw 8s infinite linear;
    text-anchor: start;
    will-change: stroke-dashoffset;
}

/* YAZI STİLİ */
.logo-text {
    font-family: 'Poppins', 'Impact', sans-serif;
    font-weight: 900;
    font-size: 85px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: none !important;
    /* Ensure no inherited shadows */
}

/* KALP STİLİ */
.heart-text {
    font-family: 'Arial', sans-serif;
    font-size: 70px;
}

/* 4 RENK ALTERNATİF */
.color-1 {
    stroke: #ff0000;
    /* filter: drop-shadow(0 0 10px #ff0000); Removed by request */
    animation-delay: -2s;
}

.color-2 {
    stroke: #0000ff;
    /* filter: drop-shadow(0 0 10px #0000ff); Removed by request */
    animation-delay: -4s;
}

.color-3 {
    stroke: #ffffff;
    /* filter: drop-shadow(0 0 10px #ffffff); Removed by request */
    animation-delay: -6s;
}

.color-4 {
    stroke: #00ff00;
    /* filter: drop-shadow(0 0 10px #00ff00); Removed by request */
    animation-delay: -8s;
}

@keyframes textDraw {
    100% {
        stroke-dashoffset: -400;
    }
}