/* ============================================
   ARTHUR NEXUS — ULTRA LUXURY EDITION
   ============================================ */

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

:root {
    --gold-1: #d4af37;
    --gold-2: #ffdf73;
    --gold-3: #8a6d1c;
    --gold-glow: rgba(212, 175, 55, 0.25);
    
    --bg-dark: #050505;
    --glass-bg: rgba(20, 20, 22, 0.6);
    --glass-border: rgba(212, 175, 55, 0.3);
    
    --text-main: #ffffff;
    --text-dim: #a1a1aa;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    /* خلفية فخمة: توهج ذهبي علوي + نسيج خفيف */
    background-image: 
        radial-gradient(circle at 50% -20%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

/* ===== الشريط العلوي ===== */
.top-nav {
    width: 100%;
    max-width: 650px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
    z-index: 50;
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 5px;
    background: linear-gradient(to right, var(--gold-2), var(--gold-1), var(--gold-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--gold-2);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.menu-btn:hover {
    border-color: var(--gold-2);
    box-shadow: 0 0 25px var(--gold-glow);
    transform: rotate(90deg);
}

/* ===== القائمة الجانبية (Drawer) ===== */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    z-index: 100;
    padding: 30px 20px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
}

.side-menu.active {
    right: 0;
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover { color: var(--gold-1); }

.side-menu a {
    text-decoration: none;
    color: var(--text-main);
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.side-menu a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--glass-border);
    color: var(--gold-2);
    transform: translateX(-5px);
}

/* ===== البطاقة الزجاجية الفخمة ===== */
.container {
    max-width: 650px;
    width: 100%;
    position: relative;
    z-index: 10;
    margin-top: 10px;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 45px 35px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* خط ذهبي متوهج أعلى البطاقة */
.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
    box-shadow: 0 0 20px var(--gold-1);
    opacity: 0.8;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===== النصوص ===== */
h1, h2 {
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }

p {
    color: var(--text-dim);
    line-height: 1.9;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* شارة الحالة */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

/* ===== أزرار الذهب الفاخرة ===== */
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: var(--gold-2);
    padding: 20px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.1rem;
    border: 1px solid var(--gold-1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

/* تأثير اللمعة المعدنية */
.btn-primary::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 223, 115, 0.3), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.btn-primary:hover {
    border-color: var(--gold-2);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2), inset 0 0 30px rgba(212, 175, 55, 0.1);
    color: #fff;
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-secondary {
    display: block;
    text-align: center;
    text-decoration: none;
    background: transparent;
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 16px;
    margin-top: 24px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    color: var(--gold-1);
    border-color: var(--gold-1);
    background: rgba(212, 175, 55, 0.05);
}

/* ===== شبكة الخيارات ===== */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.option-box:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--glass-border);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.option-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.option-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.option-icon {
    font-size: 1.5rem;
    color: var(--gold-1);
    opacity: 0.5;
    transition: all 0.3s;
}

.option-box:hover .option-icon {
    opacity: 1;
    transform: translateX(-5px);
}

/* إخفاء العناصر */
.hidden { display: none !important; }

@media (max-width: 480px) {
    .card { padding: 35px 25px; }
    h1 { font-size: 2rem; }
}
