:root {
    --bg-outside: #060813;
    --app-bg: rgba(13, 17, 39, 0.25);
    --panel-bg: rgba(20, 24, 46, 0.35);
    --item-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --blue-glow: #6366f1;
    --pink-glow: #d946ef;
    --cyan-glow: #06b6d4;
    --gradient-blue: linear-gradient(90deg, #6366f1, #a855f7);
    --gradient-pink: linear-gradient(90deg, #d946ef, #6366f1);
    --gradient-btn: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

/* Siber Scrollbar (Kaydırma Çubuğu) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #060813;
    border-left: 1px solid rgba(99, 102, 241, 0.1);
}
::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6366f1;
}

body {
    background-color: var(--bg-outside);
    background-image: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.04) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(217, 70, 239, 0.04) 0%, transparent 40%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
}

/* ANA UYGULAMA PENCERESİ */
.app-window {
    width: 100%;
    max-width: 1400px;
    background: rgba(13, 17, 39, 0.35);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* FUTURISTIC COCKPIT HERO GRID */
.cockpit-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 2fr;
    gap: 25px;
    width: 100%;
}

.hud-profile-panel {
    background: rgba(20, 24, 46, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

/* Avatar XP Circular progress */
.hud-avatar-circle {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring__circle-bg {
    stroke: rgba(255, 255, 255, 0.04);
}

.progress-ring__circle {
    transition: stroke-dashoffset 0.35s;
    transform-origin: 50% 50%;
}

.hud-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.hud-lvl-tag {
    position: absolute;
    bottom: -6px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: 2px solid #060813;
    color: #060813;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 3px 12px;
    border-radius: 12px;
    z-index: 3;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
    letter-spacing: 0.5px;
}

.hud-user-details h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.hud-user-details p {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 18px;
    margin-top: 0;
}

.hud-xp-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 200px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #cbd5e1;
}

.hud-xp-percent {
    color: #fbbf24;
}

/* CARDS GRID 2x2 */
.hud-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hud-card {
    background: rgba(20, 24, 46, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 22px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hud-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
    transition: 0.5s;
    opacity: 0;
}

.hud-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.hud-card:hover::after {
    opacity: 1;
}

.hud-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.hud-card-header i {
    font-size: 0.85rem;
}

.hud-card-value {
    font-size: 2.1rem;
    font-weight: 800;
    color: #fff;
    margin: 15px 0 10px 0;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.hud-card-value .currency {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 4px;
}

.hud-card-footer {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Custom Card Styles */
.card-cyan { border-left: 4px solid var(--cyan-glow); }
.card-cyan .hud-card-header i { color: var(--cyan-glow); }
.card-cyan:hover { box-shadow: 0 15px 35px rgba(6, 182, 212, 0.08); }

.card-magenta { border-left: 4px solid var(--pink-glow); }
.card-magenta .hud-card-header i { color: var(--pink-glow); }
.card-magenta:hover { box-shadow: 0 15px 35px rgba(217, 70, 239, 0.08); }

.card-indigo { border-left: 4px solid var(--blue-glow); }
.card-indigo .hud-card-header i { color: var(--blue-glow); }
.card-indigo:hover { box-shadow: 0 15px 35px rgba(99, 102, 241, 0.08); }

.card-gold { border-left: 4px solid #fbbf24; }
.card-gold .hud-card-header i { color: #fbbf24; }
.card-gold:hover { box-shadow: 0 15px 35px rgba(251, 191, 36, 0.08); }

.hud-card-btn {
    background: var(--gradient-btn);
    color: #fff;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
    transition: 0.2s;
}

.hud-card-btn:hover {
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.35);
    transform: translateY(-1px);
}

.hud-badge-pink {
    background: rgba(217, 70, 239, 0.1);
    color: var(--pink-glow);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
}

.hud-badge-blue {
    background: rgba(99, 102, 241, 0.1);
    color: var(--blue-glow);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
}

/* Copy style on Card 4 */
.card-gold .copy-icon {
    font-size: 0.9rem;
    color: #fbbf24;
    transition: 0.2s;
}
.card-gold:hover .copy-icon {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .cockpit-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .hud-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .hud-card {
        padding: 18px 20px;
    }
    .hud-card-value {
        font-size: 1.8rem;
    }
    .hud-profile-panel {
        padding: 25px;
    }
}

/* Glow Efektleri */
.app-header, .stats-bar, .dark-panel {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                -10px 10px 20px rgba(99, 102, 241, 0.02), 
                10px -10px 20px rgba(217, 70, 239, 0.02);
    transition: all 0.3s ease;
}

.app-header:hover, .stats-bar:hover, .dark-panel:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 
                -12px 12px 25px rgba(99, 102, 241, 0.04), 
                12px -12px 25px rgba(217, 70, 239, 0.04);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 30px;
    background: rgba(6, 8, 19, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo-area { display: flex; align-items: center; gap: 10px; }
.header-logo { height: 36px; max-width: 130px; object-fit: contain; }
.brand-name { font-weight: 800; letter-spacing: 0.5px; font-size: 1.05rem; font-family: 'Outfit', sans-serif; }
.brand-sub { color: var(--text-muted); font-size: 0.8rem; font-weight: 500; margin-left: 5px; }

.main-nav { display: flex; gap: 10px; justify-content: center; align-items: center; flex: 1; margin: 0 20px; }
.main-nav a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.85rem; transition: 0.3s; position: relative; padding: 8px 14px; border-radius: 10px; white-space: nowrap; font-family: 'Outfit', sans-serif; }
.main-nav a:hover, .main-nav a.active { color: var(--text-main); background: rgba(99, 102, 241, 0.1); }
.main-nav a.active { border: 1px solid rgba(99, 102, 241, 0.15); }
.main-nav a.active::after { display: none; }

.user-profile { display: flex; align-items: center; gap: 12px; white-space: nowrap; flex-shrink: 0; }
.avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(99, 102, 241, 0.3); transition: 0.3s; }
.avatar:hover { border-color: var(--pink-glow); }
.user-info { display: flex; flex-direction: column; }
.username { font-weight: 700; font-size: 0.9rem; white-space: nowrap; color: #fff; font-family: 'Outfit', sans-serif; }
.greeting { font-size: 0.75rem; color: var(--text-muted); }

/* Profile Dropdown */
.profile-dropdown {
    background: rgba(13, 17, 39, 0.96) !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6) !important;
    padding: 8px !important;
}
.profile-dropdown a {
    color: var(--text-muted) !important;
    border-radius: 10px !important;
    transition: all 0.2s !important;
    font-weight: 500;
}
.profile-dropdown a:hover {
    background: rgba(99, 102, 241, 0.12) !important;
    color: #fff !important;
}

/* İÇERİK ALANI */
.app-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* RADICAL HUD HERO */
.hud-hero {
    position: relative;
    width: 100%;
    min-height: auto;
    background: rgba(13, 17, 39, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    box-shadow: inset 0 0 30px rgba(99, 102, 241, 0.02), 0 20px 40px rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 30px;
    clip-path: none;
}

.hud-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(99, 102, 241, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.hud-content-wrapper {
    position: relative;
    z-index: 5;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.hud-core {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 240px;
    flex-shrink: 0;
}

.hud-core-rings {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    pointer-events: none;
}

.hud-core-rings .ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgba(99, 102, 241, 0.2);
    animation: rotateRings 20s linear infinite;
}
.hud-core-rings .ring-1 { width: 120%; height: 120%; border-width: 1px; border-style: dotted; animation-duration: 35s; animation-direction: reverse; }
.hud-core-rings .ring-2 { width: 140%; height: 140%; border-color: rgba(217, 70, 239, 0.12); }

@keyframes rotateRings {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hud-core-logo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 0 25px rgba(99, 102, 241, 0.5));
    animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 25px rgba(99, 102, 241, 0.5)); }
    50% { transform: scale(1.04); filter: drop-shadow(0 0 35px rgba(217, 70, 239, 0.6)); }
}

.hud-side-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.left-panel { align-items: flex-end; }
.right-panel { align-items: flex-start; }

.hud-stat-box {
    background: rgba(20, 24, 46, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 15px 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 250px;
}

.skew-right, .skew-left {
    transform: none !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.skew-right { border-right: 4px solid var(--blue-glow); }
.skew-left { border-left: 4px solid var(--pink-glow); }

.skew-right .unskew, .skew-left .unskew, .skew-right .hud-icon, .skew-left .hud-icon {
    transform: none !important;
}

.hud-stat-box:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.hud-icon {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.25);
    transition: 0.3s;
}
.hud-stat-box:hover .hud-icon {
    color: var(--blue-glow);
    filter: drop-shadow(0 0 8px var(--blue-glow));
}

.hud-label {
    font-size: 0.7rem;
    color: #8b8e98;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.hud-value {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    color: white;
    font-family: 'Outfit', sans-serif;
}

.hud-currency {
    font-size: 0.8rem;
    color: var(--blue-glow);
}

/* BOTTOM GRID */
.bottom-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 25px;
}

.cockpit-panel {
    background: rgba(20, 24, 46, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    transition: all 0.3s;
    clip-path: none;
}

.cockpit-panel:hover {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 45px rgba(99, 102, 241, 0.08);
}

.panel-title { font-size: 0.85rem; color: #cbd5e1; letter-spacing: 1.5px; margin-bottom: 20px; text-transform: uppercase; font-weight: 800; display: flex; align-items: center; gap: 8px; font-family: 'Outfit', sans-serif; }

/* DATA PODS */
.data-pods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.data-pod {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    clip-path: none;
}

.data-pod::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
    opacity: 0.2; transition: 0.3s;
}

.data-pod:hover {
    transform: translateY(-2px);
    background: rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.2);
}
.data-pod:hover::before { opacity: 0.8; }

.data-pod-label { font-size: 0.7rem; color: #8b8e98; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.data-pod-value { font-size: 1.35rem; color: #fff; font-weight: 800; font-family: 'Outfit', sans-serif; }
.data-pod.battle-red .data-pod-value { color: var(--pink-glow); text-shadow: 0 0 20px rgba(217, 70, 239, 0.4); }
.data-pod.battle-silver .data-pod-value { color: #ffffff; text-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
.data-pod.battle-dark .data-pod-value { color: var(--cyan-glow); text-shadow: 0 0 15px rgba(6, 182, 212, 0.3); }

/* CHART CONTAINER */
.chart-container {
    height: 280px; margin-bottom: 30px; background: rgba(15, 17, 26, 0.2); padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.15);
    clip-path: none;
}

/* TECH TABLE */
.stats-table-container { overflow-x: auto; max-height: 400px; }
.tech-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.tech-table th { padding: 15px 12px; color: #9ca3af; font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-align: left; position: sticky; top: 0; background: rgba(13, 17, 39, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); z-index: 10; font-family: 'Outfit', sans-serif; }
.tech-table td { padding: 16px 12px; color: #fff; font-size: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.04); transition: 0.3s; background: transparent; }
.tech-table tr:hover td { background: rgba(99, 102, 241, 0.05); border-bottom-color: rgba(99, 102, 241, 0.15); }

/* DUYURU ITEMS */
.announcement-item {
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); padding: 18px; transition: 0.3s; cursor: pointer;
    border-radius: 14px;
    clip-path: none;
}
.announcement-item:hover {
    background: rgba(99, 102, 241, 0.06); border-color: rgba(99, 102, 241, 0.2); transform: translateX(4px);
}
.announcement-item h5 { color: #fff; font-size: 0.95rem; margin-bottom: 8px; font-weight: 700; font-family: 'Outfit', sans-serif; }
.announcement-item p { color: #8b8e98; font-size: 0.8rem; line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.announcement-date { font-size: 0.7rem; color: #64748b; display: flex; align-items: center; gap: 5px; }
.announcement-read { margin-left: auto; color: var(--blue-glow); font-weight: 700; font-size: 0.75rem; }

/* STREAK NODES */
.streak-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.streak-flame { font-size: 2.2rem; color: #f59e0b; filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.5)); }
.streak-info { text-align: center; }
.streak-info h2 { font-size: 2.5rem; background: linear-gradient(90deg, #f59e0b, #ef4444); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 5px; font-weight: 900; filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.2)); }
.streak-info p { font-size: 0.9rem; color: #8b8e98; margin-bottom: 30px; }
.days-tracker { display: flex; justify-content: space-between; margin-bottom: 35px; position: relative; }
.days-tracker::before { content: ''; position: absolute; top: 19px; left: 20px; right: 20px; height: 1px; background: rgba(255,255,255,0.08); z-index: 0; }
.day { display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 1; }
.day span { font-size: 0.75rem; color: #8b8e98; font-weight: 700; }
.day .circle { width: 38px; height: 38px; background: rgba(13,17,39,0.4); border: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: center; align-items: center; font-size: 0.8rem; font-weight: 800; color: #9ca3af; transition: 0.3s; border-radius: 50%; clip-path: none; transform: none; }
.day.completed .circle { background: rgba(16, 185, 129, 0.1); border-color: #10b981; color: #10b981; box-shadow: 0 0 15px rgba(16, 185, 129, 0.3); }
.day.today .circle { background: #10b981; border-color: #10b981; color: #fff; box-shadow: 0 0 25px rgba(16, 185, 129, 0.6); transform: scale(1.15); }
.btn-gradient-full { width: 100%; justify-content: center; background: var(--gradient-btn); padding: 16px; font-size: 0.95rem; font-weight: 800; letter-spacing: 1px; color: white; border: none; cursor: pointer; transition: 0.3s; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25); border-radius: 12px; clip-path: none; }
.btn-gradient-full:hover:not([disabled]) { box-shadow: 0 6px 22px rgba(99, 102, 241, 0.45); transform: translateY(-1px); }
.btn-gradient-full[disabled] { background: rgba(255,255,255,0.05); color: #8b8e98; box-shadow: none; cursor: not-allowed; }

/* CYBER DROPDOWN */
.cyber-dropdown {
    position: relative;
    width: 140px;
    user-select: none;
}
.cyber-dropdown-selected {
    background: rgba(15, 17, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    clip-path: none;
    border-radius: 10px;
    transition: 0.3s;
}
.cyber-dropdown-selected:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}
.cyber-dropdown-options {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: rgba(13, 17, 39, 0.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.cyber-dropdown.open .cyber-dropdown-options {
    display: flex;
}
.cyber-option {
    padding: 10px 12px;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cyber-option:hover, .cyber-option.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--text-main);
    padding-left: 18px;
    border-left: 2px solid var(--blue-glow);
}

/* REVIEW PANEL */
.review-panel { text-align: center; }
.star-rating { display: flex; flex-direction: row-reverse; justify-content: center; gap: 8px; margin-bottom: 20px; }
.star-item { font-size: 1.8rem; color: rgba(255,255,255,0.1); cursor: pointer; transition: 0.3s; }
.star-rating label:hover, .star-rating label:hover ~ label { color: #f59e0b !important; filter: drop-shadow(0 0 10px rgba(245,158,11,0.6)); transform: scale(1.1); }
.star-rating input:checked ~ label { color: #f59e0b !important; }

/* Responsive */
@media (max-width: 1200px) {
    .hud-bg-text { font-size: 8rem; }
    .hud-content-wrapper { flex-direction: column; gap: 30px; }
    .left-panel, .right-panel { align-items: center; width: 100%; flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 15px; }
    .hud-stat-box { min-width: calc(50% - 15px); }
}
@media (max-width: 992px) {
    .bottom-grid { grid-template-columns: 1fr; }
    .hud-bg-text { font-size: 6rem; }
    .hud-core-logo { width: 140px; height: 140px; }
    .hud-core { width: 180px; height: 180px; }
}
@media (max-width: 768px) {
    body { padding: 0; }
    .app-window { border-radius: 0; border: none; min-height: 100vh; }
    .app-header {
        flex-wrap: wrap;
        padding: 15px 20px;
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(6, 8, 19, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .logo-area { order: 1; }
    .brand-sub { display: none; }
    
    /* Mobile header optimization: hide level badge & user name info on header to prevent wrapping */
    .level-badge-header { display: none !important; }
    .user-profile .user-info { display: none !important; }
    
    .mobile-menu-btn { 
        display: block !important; 
        background: transparent; 
        border: none; 
        color: white; 
        font-size: 1.5rem; 
        cursor: pointer; 
        order: 3; 
        margin-left: 15px; 
    }
    
    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        margin: 15px 0 0 0;
        padding: 12px;
        order: 4;
        background: rgba(13, 17, 39, 0.98);
        border-radius: 16px;
        border: 1px solid rgba(255,255,255,0.08);
        gap: 8px;
    }
    .main-nav.active { display: flex; }
    .main-nav a { display: flex !important; align-items: center; gap: 10px; padding: 12px 15px; background: rgba(255,255,255,0.02); border-radius: 10px; font-size: 0.9rem; width: 100%; text-align: left; }
    .main-nav a.active { background: rgba(99, 102, 241, 0.15) !important; border-left: 3px solid var(--blue-glow); }
    
    .user-profile { 
        display: flex !important; 
        order: 2; 
        margin-left: auto; 
        width: auto; 
        justify-content: flex-end; 
        margin-top: 0; 
        padding-top: 0; 
        border-top: none; 
        gap: 8px !important; 
        align-items: center;
    }
    .user-profile .xp-text { display: none; }
    .user-profile .greeting { display: none; }
    
    .stats-bar { flex-direction: column; align-items: flex-start; padding: 20px; }
    .stat-item { width: 100%; flex: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; margin-bottom: 15px; }
    .stat-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
    
    .task-item { flex-direction: column; align-items: flex-start; gap: 15px; padding: 20px; }
    .task-reward { width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left; margin: 0; margin-top: 10px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px; }
    .task-item .btn-gradient-small { width: 100%; text-align: center; margin-top: 10px; }
    
    .days-tracker { flex-wrap: wrap; gap: 15px; justify-content: center; }
    .hero-title { font-size: 1.8rem; }
    
    .hud-stat-box {
        min-width: 100%;
    }
}
@media (max-width: 480px) {
    .app-content { padding: 15px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { justify-content: center; }
}

/* HEADER DROPDOWNS SYSTEM */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    color: var(--text-muted);
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-dropdown-btn:hover, .nav-dropdown-btn.active {
    color: var(--text-main);
    background: rgba(99, 102, 241, 0.1);
}

.nav-dropdown-btn.active {
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.nav-dropdown-btn .caret-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 17, 39, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    min-width: 200px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    padding: 8px;
    z-index: 1000;
    gap: 4px;
}

.nav-dropdown-content::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

.nav-dropdown-content a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    white-space: nowrap;
    border: 1px solid transparent;
}

.nav-dropdown-content a:hover, .nav-dropdown-content a.active {
    color: #fff;
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.15);
}

@media (min-width: 769px) {
    .nav-dropdown:hover .nav-dropdown-content {
        display: flex;
        animation: navDropdownFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .nav-dropdown:hover .caret-icon {
        transform: rotate(180deg);
    }
}

@keyframes navDropdownFade {
    from { opacity: 0; transform: translateX(-50%) translateY(8px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
        margin-bottom: 5px;
    }
    .nav-dropdown-btn {
        display: flex !important;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        padding: 12px 15px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 10px;
        color: #cbd5e1;
        font-weight: 600;
        font-size: 0.9rem;
        cursor: pointer;
    }
    a.nav-dropdown-btn {
        justify-content: flex-start !important;
        gap: 10px !important;
    }
    .nav-dropdown-content {
        position: static;
        transform: none;
        background: rgba(0, 0, 0, 0.25);
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.03);
        border-radius: 10px;
        margin-top: 5px;
        padding: 10px;
        width: 100%;
        display: none;
        flex-direction: column;
        gap: 8px;
    }
    .nav-dropdown.open .nav-dropdown-content {
        display: flex;
    }
    .nav-dropdown.open .caret-icon {
        transform: rotate(180deg);
    }
}
