/* ============================================================
   ParsaOS · Theme · v2.0
   Colors: Black · Gold · Blue · Purple
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Palette */
    --bg-deep: #0a0a0f;
    --bg-card: #111420;
    --bg-surface: #181e2e;
    
    --gold: #f5a623;
    --gold-light: #ffd700;
    --gold-glow: rgba(245, 166, 35, 0.15);
    
    --blue-deep: #1a2a6c;
    --blue-electric: #00b4d8;
    --blue-glow: rgba(0, 180, 216, 0.12);
    
    --purple-electric: #6c2bd9;
    --purple-glow: rgba(108, 43, 217, 0.12);
    
    --text-primary: #eef2ff;
    --text-secondary: #b8c7e6;
    --text-muted: #6a7a9a;
    --border-glow: rgba(245, 166, 35, 0.08);
    
    --radius: 24px;
    --radius-sm: 12px;
    --shadow-gold: 0 0 60px rgba(245, 166, 35, 0.05);
    --shadow-blue: 0 0 60px rgba(0, 180, 216, 0.05);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', 'Inter', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    direction: rtl;
    min-height: 100vh;
    background-image: 
        radial-gradient(ellipse at 10% 20%, rgba(108, 43, 217, 0.04), transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(0, 180, 216, 0.04), transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(245, 166, 35, 0.02), transparent 60%);
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== GLOW TEXT ===== */
.glow-text {
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--purple-electric));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.glow-text-blue {
    background: linear-gradient(135deg, var(--blue-electric), var(--blue-deep), var(--purple-electric));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: rgba(17, 20, 32, 0.6);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(245, 166, 35, 0.15);
    box-shadow: var(--shadow-gold);
}

/* ===== BUTTONS ===== */
.btn-primary {
    padding: 14px 36px;
    border-radius: 60px;
    background: linear-gradient(135deg, var(--gold), #d4891e);
    color: #0a0a0f;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 0 40px rgba(245, 166, 35, 0.08);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 60px rgba(245, 166, 35, 0.2);
}

.btn-secondary {
    padding: 14px 36px;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(245, 166, 35, 0.12);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

.btn-glow {
    padding: 14px 36px;
    border-radius: 60px;
    background: linear-gradient(135deg, var(--purple-electric), var(--blue-deep));
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 0 40px rgba(108, 43, 217, 0.08);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 60px rgba(108, 43, 217, 0.2);
}

/* ===== TASKBAR ===== */
.taskbar {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid rgba(245, 166, 35, 0.06);
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.taskbar .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.taskbar .logo {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--purple-electric));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
}

.taskbar .logo::after {
    content: '●';
    position: absolute;
    top: -6px;
    right: -18px;
    font-size: 8px;
    color: #10b981;
    animation: pulseDot 2s ease-in-out infinite;
}

.taskbar .os-badge {
    font-family: 'Orbitron', monospace;
    font-size: 8px;
    color: var(--text-muted);
    border: 1px solid rgba(245, 166, 35, 0.08);
    padding: 2px 12px;
    border-radius: 40px;
    background: rgba(245, 166, 35, 0.02);
}

.taskbar .os-badge i {
    color: var(--gold);
    margin-left: 4px;
}

.taskbar .right-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 4px 14px;
    font-size: 11px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    transition: 0.2s;
    font-family: inherit;
}

.nav-links a:hover {
    border-color: rgba(245, 166, 35, 0.15);
    color: var(--gold);
}

.nav-links a.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(245, 166, 35, 0.04);
}

.auth-btns {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
}

.auth-btns .btn-login {
    padding: 4px 14px;
    font-size: 10px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    transition: 0.2s;
    font-family: inherit;
}

.auth-btns .btn-login:hover {
    border-color: rgba(245, 166, 35, 0.15);
    color: var(--gold);
}

.auth-btns .btn-register {
    padding: 4px 14px;
    font-size: 10px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--gold), #d4891e);
    color: #0a0a0f;
    font-weight: 700;
    transition: 0.2s;
    font-family: inherit;
}

.auth-btns .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(245, 166, 35, 0.15);
}

@keyframes pulseDot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--purple-electric));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
}

/* ===== BADGE ===== */
.badge-gold {
    display: inline-block;
    background: rgba(245, 166, 35, 0.04);
    border: 1px solid rgba(245, 166, 35, 0.08);
    padding: 4px 20px;
    border-radius: 60px;
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
}

.badge-gold i {
    margin-left: 6px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 30px 0 16px;
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    border-top: 1px solid rgba(245, 166, 35, 0.04);
}

.footer .brand {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 700;
}

.footer .heart {
    color: var(--gold);
}

.footer .links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.footer .links a {
    color: var(--text-muted);
    font-size: 11px;
    transition: 0.2s;
}

.footer .links a:hover {
    color: var(--gold);
}

.footer .enamad {
    margin-top: 12px;
}

.footer .enamad img {
    max-width: 70px;
    height: auto;
    opacity: 0.7;
    transition: 0.3s;
}

.footer .enamad img:hover {
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .taskbar {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 8px 12px;
    }
    .taskbar .right-section {
        justify-content: center;
    }
    .nav-links {
        justify-content: center;
    }
    .section-title {
        font-size: 18px;
    }
    .btn-primary,
    .btn-secondary,
    .btn-glow {
        padding: 10px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .taskbar .logo {
        font-size: 18px;
    }
}