:root {
    --primary: #8A2BE2;          /* Ana renk - mor */
    --primary-light: #9370DB;    /* Ana rengin biraz daha açık tonu */
    --dark: #0A0A0A;             /* Koyu arka plan */
    --darker: #050505;           /* Daha koyu arka plan */
    --light: #ffffff;            /* Beyaz */
    --muted: #aaaaaa;           /* Gri renk */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--dark);
    color: var(--light);
    min-height: 100vh;
}

/* Main Content Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5,5,5,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari desteği */
    padding: 15px 0;
    z-index: 100;
    border-bottom: 1px solid rgba(42, 129, 129, 0.2);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 14px;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-balance {
    background: #8A2BE2;
    color: white;
}

.btn-balance:hover {
    background: #8A2BE2;
    transform: translateY(-2px);
}

.btn-login {
    background: transparent;
    border: 1px solid #8A2BE2;
    color: white;
}

.btn-login:hover {
    background: #8A2BE2;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
}

.hero {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(5,5,5,0.8), rgba(5,5,5,0.9)), 
                url('../images/bg.jpg') center/cover;
}

.hero-content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-family: 'Syncopate', sans-serif;
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgb(138, 43, 226);
    position: relative;
}

.hero-title:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--light);
    margin-bottom: 40px;
}

.server-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px auto;
    max-width: 900px;
}

.stat-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px;
        text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgb(138, 43, 226)
}

.stat-value {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--muted);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    }
    
.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: var(--light);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.2);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .server-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Genel Section Stilleri */
.section-title {
    font-family: 'Syncopate', sans-serif;
    font-size: 32px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 0;
}

/* Özellikler Bölümü */
.features {
    background: var(--darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px #8A2BE2;
}

.feature-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--light);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
}

/* Haberler Bölümü */
.news {
    background: var(--dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--primary);
    font-size: 14px;
}

.news-content h3 {
    color: var(--light);
    margin: 10px 0;
}

.news-content p {
    color: var(--muted);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* Galeri */
.gallery {
    background: var(--darker);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--darker);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 60px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-bottom p {
    color: var(--muted);
    font-size: 14px;
}

.developer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 5px 15px;
    border-radius: 20px;
    background: #464646;
}

.developer-link:hover {
    background: #000000;
    transform: translateY(-2px);
}

.developer-link span {
    transition: color 0.3s ease;
}

.developer-name {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
}

.developer-link i {
    font-size: 12px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.developer-link:hover i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .container {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
    text-align: center;
    }
    
    .footer-bottom {
        gap: 15px;
    }
}

/* Hover efektleri için güncelleme */
.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #8A2BE2;
}

/* Genel Responsive Düzenlemeler */
@media (max-width: 1200px) {
    .container {
        width: 95%;
        padding: 80px 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .server-stats {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo {
    text-align: center;
    }

    .footer-links {
    grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navbar Responsive Düzeltmeleri */
    .navbar {
        padding: 10px 0;
        background: rgba(5,5,5,0.98);
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-logo {
        text-align: center;
    }

    .nav-logo img {
        height: 50px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-buttons {
    display: flex;
        flex-direction: column;
        width: 100%;
        gap: 8px;
        padding-top: 10px;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        border-radius: 8px;
        font-size: 15px;
    }

    .btn-balance {
        background: #8A2BE2;
    color: white;
}

    .btn-login {
        background: transparent;
        border: 1px solid #8A2BE2;
        color: white;
    }

    /* Hero bölümünün üst boşluğunu ayarla */
    .hero {
        padding-top: 180px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .server-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Features Section Responsive */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }

    /* News Section Responsive */
    .news-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery Responsive */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Footer Responsive */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        width: 92%;
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-value {
        font-size: 28px;
    }

    .btn {
    width: 100%;
        text-align: center;
    }

    .nav-container {
        width: 92%;
    }

    .nav-buttons {
        width: 100%;
    }

    .nav-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* İletişim Sayfası Responsive */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }
}

/* Animasyonların Performans Optimizasyonu */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Animasyon */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Mobil Navbar Stilleri */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    .nav-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--light);
        font-size: 24px;
        cursor: pointer;
        padding: 5px;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-top: 15px;
        gap: 10px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}
/* Modern Custom Loader */
#custom-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: #181818;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.custom-loader-spinner {
    width: 120px;
    height: 120px;
    border: 8px solid rgba(255, 140, 0, 0.15);
    border-top: 8px solid #ff8c00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: custom-spin 1s linear infinite;
    margin-bottom: 28px;
    position: relative;
}
@keyframes custom-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.custom-loader-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}
.custom-loader-text {
    color: #fff;
    font-size: 1.3rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 2px;
    text-align: center;
    margin-top: 12px;
}
@media (max-width: 600px) {
    .custom-loader-spinner {
        width: 80px;
        height: 80px;
    }
    .custom-loader-logo {
        width: 45px;
        height: 45px;
    }
    .custom-loader-text {
        font-size: 1rem;
    }
}

/* Loader Başlangıç */
#loader {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s;
}
#loader .spinner {
    border: 8px solid #222;
    border-top: 8px solid #00e0ff;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#loader.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}
/* Loader Bitiş */

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.spinner-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.spinner {
    position: absolute;
    top: 0; left: 0;
    width: 90px;
    height: 90px;
    border: 8px solid #222;
    border-top: 8px solid #00e0ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-sizing: border-box;
}
.loader-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto 30px auto;
    position: static;
    animation: zoom 1.5s infinite;
}

@keyframes zoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.25);
    }
}

