/* PREMIUM CSS OVERRIDES */
:root {
    --primary: #FF7B00;
    --primary-rgb: 255, 123, 0;
    --primary-hover: #FF9500;
    --bg-dark: #050507; /* Deeper, richer dark */
    --bg-card: rgba(18, 18, 24, 0.65);
    --bg-lighter: rgba(28, 28, 36, 0.8);
    --text-white: #F8F9FA;
    --text-gray: #A0AAB5;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-strong: rgba(255, 255, 255, 0.12);
    --primary-gradient: linear-gradient(135deg, #FF7B00 0%, #FF3D00 100%);
    --dark-gradient: linear-gradient(180deg, #050507 0%, #0F0F13 100%);
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.6);
    --shadow-inner: inset 0 1px 1px rgba(255, 255, 255, 0.15);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 123, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(255, 61, 0, 0.03) 0%, transparent 50%);
    color: var(--text-white);
}

/* --- HERO SECTION --- */
.hero-content h1 {
    font-size: clamp(3.5rem, 12vw, 6.5rem);
    background: linear-gradient(to bottom right, #FFFFFF, #A0AAB5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

.hero-content h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 0 30px rgba(255, 123, 0, 0.4));
}

/* --- NAVBAR (Floating & Glass) --- */
header {
    top: 15px;
    width: calc(100% - 30px);
    left: 15px;
    border-radius: 24px;
    background: rgba(10, 10, 12, 0.45) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(200%) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

header.scrolled {
    top: 10px;
    width: calc(100% - 20px);
    left: 10px;
    background: rgba(8, 8, 10, 0.75) !important;
}

/* Adjust main content padding because header is taller/floating */
.hero {
    padding-top: 90px;
}
.section {
    position: relative;
    z-index: 2;
}

/* --- BUTTONS --- */
.btn-primary {
    background: var(--primary-gradient) !important;
    border-radius: 100px !important;
    padding: 1rem 2.5rem !important;
    box-shadow: 0 10px 25px rgba(255, 123, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
    letter-spacing: 1.5px !important;
    border: none !important;
}
.btn-dashboard {
    background: var(--primary-gradient) !important;
    border-radius: 100px !important;
    padding: 0.5rem 1.2rem !important;
    box-shadow: 0 5px 15px rgba(255, 123, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    font-size: 0.85rem !important;
}
.btn-primary:hover, .btn-dashboard:hover {
    transform: translateY(-5px) scale(1.03) !important;
    box-shadow: 0 15px 35px rgba(255, 123, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

/* --- CARDS & GLASS CONTAINERS --- */
.stat-card, .rule-card, .login-box, .table-wrapper {
    background: var(--bg-card) !important;
    border-radius: 32px !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
.stat-card:hover {
    transform: translateY(-12px) !important;
    border-color: rgba(255, 123, 0, 0.4) !important;
    background: rgba(25, 25, 32, 0.8) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 123, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* Stat card icons glow */
.stat-card i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 15px rgba(255, 123, 0, 0.4));
}

/* --- TABLES --- */
th {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #FFF !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
}
tr:hover td {
    background: rgba(255, 255, 255, 0.04) !important;
}

/* --- NOTIFICATIONS --- */
.notification-dropdown {
    background: rgba(15, 15, 20, 0.85) !important;
    backdrop-filter: blur(40px) saturate(200%) !important;
    border: 1px solid var(--glass-border-strong) !important;
    border-radius: 28px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}
.notif-header {
    border-radius: 28px 28px 0 0 !important;
    background: linear-gradient(90deg, rgba(255, 123, 0, 0.15), transparent) !important;
}
.notif-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 18px !important;
}

/* --- FOOTER --- */
footer {
    background: var(--bg-dark) !important;
    border-top: 1px solid var(--glass-border) !important;
    position: relative;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 123, 0, 0.5), transparent);
}
