/* =================================================================
   FORCE ROLEPLAY MTA - ULTRA REFINED STYLESHEET
   100% Mobile Compatible, Zero Hosting Lag, Clean Obsidian Theme
   ================================================================= */

:root {
    --bg-dark: #07060e;
    --bg-card: rgba(16, 11, 29, 0.90);
    --border-purple: rgba(168, 85, 247, 0.22);
    --neon-purple: #a855f7;
    --neon-magenta: #d946ef;
    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-rajdhani: 'Rajdhani', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: #e2e8f0;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-tap-highlight-color: transparent;
}

/* ================= TYPOGRAPHY HELPERS ================= */
.font-outfit { font-family: var(--font-heading); }
.font-rajdhani { font-family: var(--font-rajdhani); }
.text-neon-purple { color: var(--neon-purple); }

.text-gradient-purple {
    background: linear-gradient(135deg, #ffffff 15%, #e9d5ff 45%, #c084fc 75%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ================= STATİK HAFİF IŞIKLAR (KASINTI YAPMAZ) ================= */
.bg-glow-static {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(100px);
    opacity: 0.22;
}

.glow-top {
    width: 450px;
    height: 450px;
    background: #7e22ce;
    top: -120px;
    left: 20%;
}

.glow-bottom {
    width: 400px;
    height: 400px;
    background: #4338ca;
    bottom: 5%;
    right: 10%;
}

@media (max-width: 768px) {
    .bg-glow-static {
        display: none !important; /* Mobilde işlemciyi sıfır yorar */
    }
}

/* ================= CUSTOM CURSOR (Sadece PC'de) ================= */
.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: #c084fc;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px #a855f7;
    will-change: transform;
}

.custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border: 1.5px solid rgba(192, 132, 252, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
    will-change: transform;
}

.custom-cursor-ring.cursor-hover {
    width: 46px;
    height: 46px;
    border-color: #c084fc;
    background: rgba(192, 132, 252, 0.08);
}

@media (hover: none), (pointer: coarse) {
    .custom-cursor-dot, .custom-cursor-ring {
        display: none !important;
    }
}

/* ================= SES BUTONU ================= */
.sound-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(20, 14, 38, 0.9);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
}

.sound-toggle-btn:hover {
    transform: scale(1.05);
    color: #fff;
}

.sound-tooltip {
    position: absolute;
    right: 50px;
    background: #110d20;
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(168, 85, 247, 0.25);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.sound-toggle-btn:hover .sound-tooltip {
    opacity: 1;
}

/* ================= TOAST BILDIRIM ================= */
.toast-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: rgba(18, 12, 33, 0.96);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    max-width: 90vw;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(168, 85, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ================= NAVBAR ================= */
.navbar-glass {
    background: rgba(14, 10, 26, 0.90);
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #a855f7, #c084fc);
    transition: width 0.2s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.status-pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #a855f7;
    border-radius: 50%;
    box-shadow: 0 0 6px #a855f7;
}

/* ================= BUTTONS ================= */
.btn-action-hero {
    position: relative;
    border: none;
    outline: none;
    cursor: pointer;
    user-select: none;
}

.btn-play {
    background: linear-gradient(135deg, #7e22ce 0%, #8b2cf5 50%, #6366f1 100%);
    box-shadow: 0 0 16px rgba(139, 44, 245, 0.35);
    border: 1px solid rgba(192, 132, 252, 0.35);
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(168, 85, 247, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-play:active {
    transform: translateY(1px);
}

.btn-discord {
    background: rgba(22, 16, 40, 0.85);
    border: 1px solid rgba(88, 101, 242, 0.35);
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.12);
}

.btn-discord:hover {
    transform: translateY(-2px);
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.7);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:active {
    transform: translateY(1px);
}

/* ================= HERO BANNER CARD ================= */
.hero-card-tilt-wrap {
    perspective: 1000px;
}

.hero-visual-card {
    background: rgba(14, 10, 26, 0.85);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease-out;
}

/* ================= CARDS & BOXES ================= */
.feature-card, .faction-card, .system-box, .guide-step-card {
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover, .faction-card:hover, .system-box:hover, .guide-step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, 0.45);
}

/* ================= FAQ ACCORDION ================= */
.faq-item {
    transition: border-color 0.2s ease;
}

.faq-item.active {
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(22, 14, 40, 0.95);
}

.faq-question {
    background: none;
    border: none;
    cursor: pointer;
}

.faq-item.active .faq-icon-box {
    transform: rotate(180deg);
    background: rgba(168, 85, 247, 0.35);
    color: #fff;
}

.faq-answer {
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ================= CTA BOX ================= */
.cta-gradient-box {
    background: radial-gradient(120% 120% at 50% 10%, rgba(30, 16, 55, 0.95) 0%, rgba(12, 8, 22, 0.98) 100%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* ================= MOBİL İYİLEŞTİRMELERİ ================= */
@media (max-width: 640px) {
    .brand-title {
        font-size: 1.25rem !important;
    }
    .btn-action-hero {
        width: 100%;
        padding: 0.85rem 1rem !important;
    }
    .hero-section {
        padding-top: 6.5rem !important;
    }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #07060e; }
::-webkit-scrollbar-thumb { background: #361763; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #6b21a8; }
