/* Özel Fontlar */
@font-face {
    font-family: 'Anydore';
    src: url('anydore.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --dark: #050505;
    --dark-grey: #141414;
    --text-light: #e5e5e5;
    --text-muted: #b2b2b2;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    overflow-x: hidden;
    background: radial-gradient(circle at 20% 10%, rgba(212, 175, 55, 0.08), transparent 18%),
        linear-gradient(180deg, #090909 0%, #040404 100%);
}

/* Scrollbar (Kaydırma Çubuğu) Ayarları */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-grey);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 6px;
    border: 3px solid var(--dark-grey);
}

::-webkit-scrollbar-thumb:hover {
    background: #e6c555;
}

h1,
h2,
h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigasyon */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: background 0.4s ease, padding 0.4s ease;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.12);
    backdrop-filter: blur(16px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 68px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.35));
}

.logo img:hover {
    transform: scale(1.03);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
}

.nav-links li a:hover {
    color: var(--gold);
}

.btn-gold {
    border: 1px solid var(--gold);
    padding: 10px 20px;
    border-radius: 999px;
    color: var(--gold) !important;
    transition: all 0.3s ease !important;
}

.btn-gold:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.35);
}

/* Hero Bölümü */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('afis.png') no-repeat center center/100% 100%;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 7, 7, 0.02), rgba(4, 4, 4, 0.08));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(800px, 100%);
    margin: 0 auto;
    padding: 20px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
}

/* SEO İçin Görünmez Metin Sınıfı */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hero-logo {
    max-height: 180px;
    margin: 0 auto 20px;
    display: block;
    filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.45));
}

#hero h1 {
    font-family: 'Anydore', 'Cinzel', serif;
    font-size: clamp(3rem, 5vw, 4rem);
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

#hero p {
    font-size: 1.05rem;
    margin-bottom: 35px;
    color: var(--text-muted);
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 14px 34px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 999px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f0d37f 100%);
    color: var(--dark);
    border: none;
    box-shadow: 0 16px 35px rgba(212, 175, 55, 0.24);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Parlama Efekti (Sheen Sweep) */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-25deg);
    transition: 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.32);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* Modern Altın Kapsül Rozet (Pill Badge) */
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin: 0 auto 15px;
    width: max-content;
}

.pulse-dot-gold {
    width: 7px;
    height: 7px;
    background-color: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
    animation: goldPulse 1.5s infinite ease-in-out;
}

@keyframes goldPulse {
    0% {
        opacity: 0.4;
        transform: scale(0.9);
    }
    50% {
        opacity: 1;
        transform: scale(1.25);
    }
    100% {
        opacity: 0.4;
        transform: scale(0.9);
    }
}

/* Aşağı Kaydır Fare Animasyonu */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
    pointer-events: none;
}

.scroll-indicator .mouse {
    width: 22px;
    height: 35px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.6s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }
    50% {
        top: 16px;
        opacity: 0.2;
    }
    100% {
        top: 6px;
        opacity: 1;
    }
}


/* Özellikler */
#features {
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 10px;
}

.divider {
    height: 1px;
    width: 140px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 15px auto;
    position: relative;
}

.divider::after {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
    font-size: 0.8rem;
    background: #040404; /* Matches page body background */
    padding: 0 8px;
    text-shadow: 0 0 10px var(--gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}



.feature-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 22px;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.feature-card p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.section-panel {
    width: min(1140px, 100%);
    margin: 80px auto;
    padding: 60px 40px;
    background: rgba(12, 12, 12, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.section-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 45px;
}

.section-header small {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.82rem;
}

.section-header h2 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    margin-bottom: 18px;
}

.section-header p {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto;
}

.about-grid,
.team-grid,
.rules-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-card,
.team-card,
.rule-card,
.feature-card,
.faction-card {
    background: rgba(12, 12, 12, 0.58);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 26px;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 35px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.about-card:hover,
.team-card:hover,
.rule-card:hover,
.feature-card:hover,
.faction-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.16), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 15px 35px rgba(0, 0, 0, 0.6);
}

/* Oluşumlar Grid ve Badge */
.factions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.faction-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Atmosferik Panel Arka Işıkları */
.section-panel {
    position: relative;
    overflow: hidden;
}

.section-panel::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.045) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.about-card i,
.team-card h3,
.rule-card h4 {
    color: var(--gold);
}

.about-card i {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.about-card h3,
.team-card h3,
.rule-card h4 {
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.about-card p,
.team-card p,
.rule-card p {
    color: var(--text-muted);
    line-height: 1.75;
}

.team-card {
    text-align: center;
}

.team-card img {
    width: 100%;
    max-width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 24px;
    margin: 0 auto 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rule-card {
    padding: 30px 28px;
}

.rule-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 18px;
}

.apply-panel {
    display: grid;
    gap: 30px;
    align-items: center;
    grid-template-columns: 1.5fr 1fr;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 28px;
    padding: 40px 38px;
}

.apply-panel h3 {
    margin-bottom: 16px;
    font-size: 1.75rem;
}

.apply-panel p {
    color: var(--text-muted);
    line-height: 1.8;
}

.apply-buttons {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.apply-buttons .btn-primary,
.apply-buttons .btn-secondary {
    width: 100%;
    padding: 18px 0;
}

.hero-badge {
    width: 98px;
    height: 98px;
    margin: 0 auto 28px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-badge img {
    max-width: 100%;
    max-height: 100%;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(80px, 1fr));
    gap: 20px;
    margin-top: 35px;
}

@media (max-width: 600px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Hızlı Giriş Butonu */
.hero-stats div,
.hero-stats a.quick-join-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 18px;
    padding: 18px 14px;
    display: block;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-stats a.quick-join-box {
    cursor: pointer;
}

.hero-stats a.quick-join-box:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.hero-stats span {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-stats small {
    color: var(--text-muted);
    line-height: 1.5;
}

/* Kurallar Sekmesi (Tabs) */
.rules-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 12px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn[data-color="gold"].active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.tab-btn[data-color="green"].active {
    background: rgba(46, 139, 87, 0.15);
    border-color: #2e8b57;
    color: #2e8b57;
    box-shadow: 0 0 20px rgba(46, 139, 87, 0.2);
}

.tab-btn[data-color="red"].active {
    background: rgba(178, 34, 34, 0.15);
    border-color: #b22222;
    color: #ff4d4d;
    box-shadow: 0 0 20px rgba(178, 34, 34, 0.2);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rules-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.rule-item {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.rule-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.rule-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    min-width: 35px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1rem;
    font-family: 'Cinzel', serif;
}

.rule-item p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-light);
    font-size: 0.95rem;
    padding-top: 5px;
}

/* Colors for specific rule lists */
.rules-gold .rule-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

.rules-gold .rule-item span {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.rules-green .rule-item:hover {
    border-color: rgba(46, 139, 87, 0.4);
}

.rules-green .rule-item span {
    background: rgba(46, 139, 87, 0.15);
    color: #2e8b57;
    border: 1px solid rgba(46, 139, 87, 0.3);
}

.rules-red .rule-item:hover {
    border-color: rgba(178, 34, 34, 0.4);
}

.rules-red .rule-item span {
    background: rgba(178, 34, 34, 0.15);
    color: #ff4d4d;
    border: 1px solid rgba(178, 34, 34, 0.3);
}

/* Footer rules */
.rules-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.rule-footer-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.rule-footer-item i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.rule-footer-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .apply-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content {
        padding: 32px 24px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-buttons {
        flex-direction: column;
    }

    .feature-card,
    .about-card,
    .team-card,
    .rule-card {
        padding: 28px 24px;
    }

    .section-panel {
        padding: 40px 24px;
    }
}

/* Footer */
footer {
    background: #040404;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

/* Animasyonlar Sınıfları */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Buton Ripple (Dalga) Efekti */
.btn-primary,
.btn-secondary,
.btn-gold,
.tab-btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    background-color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Müzik Çalar */
.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(12, 12, 12, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.music-player:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* Müzik Dalga Spektrumu (Visualizer) */
.music-visualizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    width: 25px;
    height: 18px;
    margin-right: 5px;
}

.music-visualizer .bar {
    width: 3px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 99px;
    transition: height 0.25s ease, background-color 0.3s ease;
}

/* Aktif (Oynatılıyor) Dalgalanma Animasyonu */
.music-visualizer.playing .bar {
    animation: musicWave 1.2s ease-in-out infinite alternate;
}

.music-visualizer.playing .bar:nth-child(1) {
    animation-delay: 0.1s;
}

.music-visualizer.playing .bar:nth-child(2) {
    animation-delay: 0.4s;
}

.music-visualizer.playing .bar:nth-child(3) {
    animation-delay: 0.2s;
}

.music-visualizer.playing .bar:nth-child(4) {
    animation-delay: 0.6s;
}

.music-visualizer.playing .bar:nth-child(5) {
    animation-delay: 0.3s;
}

@keyframes musicWave {
    0% {
        height: 3px;
        background-color: rgba(212, 175, 55, 0.6);
    }

    100% {
        height: 18px;
        background-color: var(--gold);
    }
}

.player-btn {
    background: rgba(212, 175, 55, 0.1);
    border: none;
    color: var(--gold);
    font-size: 1.1rem;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.player-btn:hover {
    background: var(--gold);
    color: var(--dark);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.volume-control i {
    font-size: 1rem;
    cursor: pointer;
    width: 20px;
    text-align: center;
    color: var(--text-muted);
    transition: color 0.3s;
}

.volume-control i:hover {
    color: var(--gold);
}

#volume-slider {
    -webkit-appearance: none;
    width: 70px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
}

@media (max-width: 600px) {
    .music-player {
        bottom: 20px;
        right: 20px;
        padding: 8px 15px;
    }

    #volume-slider {
        width: 50px;
    }
}



/* Custom Cursor */
@media (pointer: fine) {

    body,
    a,
    button,
    input,
    textarea,
    .tab-btn,
    .player-btn {
        cursor: none !important;
    }

    .cursor-dot {
        width: 8px;
        height: 8px;
        background-color: var(--gold);
    }

    .cursor-outline {
        width: 40px;
        height: 40px;
        border: 2px solid rgba(212, 175, 55, 0.5);
    }

    .cursor-dot {
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        z-index: 200000;
        pointer-events: none;
        transition: width 0.2s, height 0.2s, background-color 0.2s;
    }

    .cursor-outline {
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        z-index: 200000;
        pointer-events: none;
        /* left ve top özellikleri için 0.12 saniyelik pürüzsüz gecikmeli takip efekti */
        transition: left 0.12s cubic-bezier(0.25, 1, 0.5, 1), top 0.12s cubic-bezier(0.25, 1, 0.5, 1), width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
    }

    /* Hover effect when over clickable items */
    .cursor-outline.hover {
        width: 60px;
        height: 60px;
        background-color: rgba(212, 175, 55, 0.1);
        border-color: rgba(212, 175, 55, 0.8);
    }
}

/* Parçacık Efekti (Particles) */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Geri Sayım (Countdown) */
.countdown-container {
    margin: 30px auto;
    padding: 20px 30px;
    background: transparent;
    border: none;
    border-radius: 20px;
    max-width: 480px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Dönen İnce Neon Çerçeve */
.countdown-container::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: conic-gradient(transparent,
            rgba(212, 175, 55, 0.1),
            rgba(212, 175, 55, 0.8),
            rgba(212, 175, 55, 0.1),
            transparent 40%);
    animation: rotateGlow 5s linear infinite;
    z-index: -2;
}

/* İç Cam Gövde */
.countdown-container::after {
    content: '';
    position: absolute;
    inset: 1px;
    /* 1px sınır çizgisi */
    background: rgba(12, 12, 12, 0.75);
    border-radius: 19px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
    z-index: -1;
    pointer-events: none;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.countdown-label {
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--gold);
    font-weight: 700;
    display: block;
    margin-bottom: 18px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.countdown-item {
    flex: 1;
    min-width: 75px;
    background: rgba(5, 5, 5, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 12px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.countdown-item span {
    font-family: 'Cinzel', serif;
    font-size: 1.85rem;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.countdown-item small {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 5px;
}

@media (max-width: 500px) {
    .countdown-container {
        padding: 15px 20px;
        margin: 20px auto;
    }

    .countdown-timer {
        gap: 8px;
    }

    .countdown-item {
        min-width: 60px;
        padding: 8px 3px;
    }

    .countdown-item span {
        font-size: 1.4rem;
    }

    .countdown-item small {
        font-size: 0.55rem;
    }
}

/* 3D Kart Eğilme ve Yansıma (Perspective & Sheen) */
.about-grid,
.features-grid,
.team-grid {
    perspective: 1000px;
}

.about-card,
.feature-card,
.team-card {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.15s ease, box-shadow 0.3s ease;
}

.about-card::after,
.feature-card::after,
.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(212, 175, 55, 0.12), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.about-card:hover::after,
.feature-card:hover::after,
.team-card:hover::after {
    opacity: 1;
}

/* Ekip Modal (Glass Popup) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 4, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 11000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(12, 12, 12, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 24px;
    padding: 35px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transform: scale(0.85) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--gold);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

#modal-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.modal-info h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 5px;
}

.modal-badge {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
}

.modal-body {
    color: var(--text-light);
}

#modal-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #e5e5e5;
}

.modal-contact {
    background: rgba(5, 5, 5, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.4);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.contact-item i {
    color: #5865F2;
    font-size: 1.3rem;
}

#modal-discord {
    font-family: monospace;
    color: var(--gold-light);
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

/* Sayfa İlerleme Çubuğu (Scroll Progress Bar) */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f0d37f, #d4af37);
    z-index: 2000000; /* Must be above absolutely everything, including navbar */
    width: 0%;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.8);
    transition: width 0.1s ease-out;
}

/* SSS Akordeon Paneli (FAQ Accordion Panel) Styling */
.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.05);
}

.faq-item.active {
    border-color: var(--gold) !important;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.faq-item.active .faq-trigger span {
    color: var(--gold) !important;
}

.faq-item.active .faq-trigger i {
    transform: rotate(180deg);
}

.faq-trigger span:hover {
    color: var(--gold-light);
}

/* Karakter Rol Simülatörü (Role Simulator) Styling */
.sim-step {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.sim-option-btn:hover {
    background: rgba(212, 175, 55, 0.08) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.sim-option-btn:active {
    transform: translateY(0);
}

.simulator-card {
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.simulator-card:hover {
    border-color: rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Katılım Paneli (Apply Panel) & Hacker Terminali CSS */
.apply-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    background: rgba(12, 12, 12, 0.55);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 26px;
    padding: 45px;
    margin-top: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width: 850px) {
    .apply-panel {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.terminal-box {
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.terminal-box:hover {
    border-color: rgba(212, 175, 55, 0.35) !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.05), 0 0 25px rgba(0, 0, 0, 0.6) !important;
}