/* ============================================================
   DYNAMIC CLASSES - Professional Theme
   Black + Gold | Fully responsive
   ============================================================ */

:root {
  --black: #05070a;
  --dark: #0b0e14;
  --dark2: #11151d;
  --dark3: #181d28;
  --card: #12161f;
  --card-border: rgba(255, 255, 255, 0.07);
  --gold: #ffd84d;
  --gold-2: #f0a500;
  --gold-grad: linear-gradient(135deg, #ffe066, #f0a500);
  --muted: #98a2b3;
  --text: #eef1f6;
  --red: #e5484d;
  --green: #30a46c;
  --blue: #3b82f6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --glow: 0 0 0 1px rgba(255, 216, 77, 0.35), 0 10px 40px rgba(255, 180, 0, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--gold); color: #000; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #232936; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #2f3747; }

.container { width: min(1180px, 92%); margin: 0 auto; }

.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* ============ LOADER ============ */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  transition: opacity .5s ease, visibility .5s ease;
}
#loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.loader-logo img { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; }
.loader-logo span { font-weight: 900; letter-spacing: 4px; font-size: 1rem; color: var(--gold); }
.loader-bar { width: 220px; height: 4px; background: #1c212c; border-radius: 99px; overflow: hidden; }
.loader-fill { height: 100%; width: 40%; border-radius: 99px; background: var(--gold-grad); animation: loadSlide 1.2s ease-in-out infinite; }
@keyframes loadSlide { 0% { transform: translateX(-110%); } 100% { transform: translateX(320%); } }

/* ============ ANNOUNCEMENT BAR ============ */
.announcement-bar {
  background: var(--gold-grad);
  color: #14100a;
  font-size: .82rem;
  font-weight: 700;
  padding: 8px 0;
  overflow: hidden;
  position: relative;
  z-index: 1001;
}
.marquee-wrap { white-space: nowrap; }
.marquee-text { display: inline-block; animation: marquee 28s linear infinite; padding-left: 100%; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ============ NAVBAR ============ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
  transition: box-shadow .3s ease, background .3s ease;
}
.navbar.scrolled { box-shadow: 0 10px 40px rgba(0,0,0,.55); }
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; box-shadow: 0 4px 14px rgba(255,216,77,.2); }
.nav-brand-text { font-weight: 900; font-size: 1.02rem; letter-spacing: 1.5px; line-height: 1.2; }
.nav-brand-text small { display: block; font-weight: 600; font-size: .66rem; letter-spacing: 1px; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 8px 13px; font-size: .9rem; font-weight: 600; color: var(--muted);
  border-radius: 8px; transition: color .2s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px;
  background: var(--gold-grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-btns { display: flex; align-items: center; gap: 10px; }

/* Login dropdown */
.login-dropdown { position: relative; }
.login-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 210px; background: var(--dark2);
  border: 1px solid var(--card-border); border-radius: 14px;
  padding: 8px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .22s ease; z-index: 100;
}
.login-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.login-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 9px; font-size: .88rem; font-weight: 600; color: var(--text);
  transition: background .2s ease;
}
.login-menu a i { width: 20px; text-align: center; color: var(--gold); }
.login-menu a:hover { background: var(--dark3); }
.login-menu a small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); }
.chev { font-size: .6rem; margin-left: 6px; }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: all .25s ease; }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; z-index: 1500;
  background: var(--dark2); border-left: 1px solid var(--card-border);
  display: flex; flex-direction: column; padding: 24px; gap: 4px;
  transition: right .3s ease; box-shadow: var(--shadow);
  overflow-y: auto;
}
.mobile-menu.show { right: 0; }
.mobile-menu a { padding: 13px 14px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: all .2s ease; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--dark3); color: var(--gold); }
.mobile-menu-btns { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.mobile-menu-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border: 1px solid transparent; border-radius: 12px;
  font-family: inherit; font-size: .92rem; font-weight: 700; cursor: pointer;
  transition: all .25s ease; white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: .83rem; border-radius: 10px; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.w-100 { width: 100%; }
.btn-primary { background: var(--gold-grad); color: #161103; box-shadow: 0 6px 22px rgba(255,190,0,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,190,0,.4); filter: brightness(1.05); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.22); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-dark { background: var(--dark3); color: var(--text); border-color: var(--card-border); }
.btn-dark:hover { background: #222838; }
.btn-danger { background: rgba(229,72,77,.14); color: #ff7a7e; border-color: rgba(229,72,77,.35); }
.btn-danger:hover { background: rgba(229,72,77,.25); }
.btn-success { background: rgba(48,164,108,.14); color: #5fd3a0; border-color: rgba(48,164,108,.35); }
.btn-success:hover { background: rgba(48,164,108,.25); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ============ SECTIONS ============ */
.section { padding: 88px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-tag {
  display: inline-block; background: rgba(255,216,77,.1); color: var(--gold);
  border: 1px solid rgba(255,216,77,.25); border-radius: 99px;
  padding: 6px 16px; font-size: .76rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.5px; line-height: 1.25; }
.section-title span { color: var(--gold); }
.section-desc { color: var(--muted); margin-top: 14px; font-size: .97rem; }

/* Grid */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ============ CARDS ============ */
.card {
  background: linear-gradient(180deg, var(--card), var(--dark2));
  border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 30px; transition: all .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,216,77,.35); box-shadow: var(--glow); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(255,216,77,.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  margin-bottom: 18px;
}
.card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .9rem; }

/* Course cards */
.course-card {
  background: linear-gradient(180deg, var(--card), var(--dark2));
  border: 1px solid var(--card-border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: all .3s ease;
}
.course-card:hover { transform: translateY(-6px); border-color: rgba(255,216,77,.35); box-shadow: var(--glow); }
.course-card-header { padding: 26px 26px 18px; border-bottom: 1px dashed rgba(255,255,255,.09); }
.course-class {
  display: inline-block; background: var(--gold-grad); color: #161103;
  font-size: .72rem; font-weight: 800; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 99px; margin-bottom: 12px;
}
.course-card-header h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; }
.course-card-body { padding: 20px 26px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.course-meta { display: flex; flex-direction: column; gap: 8px; }
.course-meta-item { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .85rem; }
.course-meta-item i { color: var(--gold); width: 16px; text-align: center; }
.course-price { font-size: 1.35rem; font-weight: 900; color: var(--gold); }

/* Note cards */
.note-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: linear-gradient(180deg, var(--card), var(--dark2));
  border: 1px solid var(--card-border); border-radius: var(--radius); padding: 24px;
  transition: all .3s ease;
}
.note-card:hover { transform: translateY(-4px); border-color: rgba(255,216,77,.3); box-shadow: var(--glow); }
.note-icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px;
  background: rgba(255,216,77,.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.note-info { flex: 1; min-width: 0; }
.note-info h4 { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.note-info p { color: var(--muted); font-size: .86rem; margin-bottom: 10px; }
.note-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  background: var(--dark3); border: 1px solid var(--card-border);
  color: var(--muted); font-size: .72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 99px;
}
.tag.free { background: rgba(48,164,108,.12); color: #5fd3a0; border-color: rgba(48,164,108,.3); }

/* Test cards */
.test-card {
  background: linear-gradient(180deg, var(--card), var(--dark2));
  border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 8px;
  transition: all .3s ease;
}
.test-card:hover { transform: translateY(-4px); border-color: rgba(255,216,77,.3); box-shadow: var(--glow); }
.test-badge { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: 1px; padding: 4px 12px; border-radius: 99px; }
.badge-upcoming { background: rgba(59,130,246,.13); color: #7ab3ff; border: 1px solid rgba(59,130,246,.3); }
.badge-live { background: rgba(229,72,77,.13); color: #ff7a7e; border: 1px solid rgba(229,72,77,.35); }
.badge-ended { background: var(--dark3); color: var(--muted); border: 1px solid var(--card-border); }

/* Result cards */
.result-card {
  background: linear-gradient(180deg, var(--card), var(--dark2));
  border: 1px solid var(--card-border); border-radius: var(--radius);
  overflow: hidden; transition: all .3s ease;
}
.result-card:hover { transform: translateY(-5px); border-color: rgba(255,216,77,.35); box-shadow: var(--glow); }
.result-card-img { height: 170px; overflow: hidden; background: var(--dark3); }
.result-card-img img { width: 100%; height: 100%; object-fit: cover; }
.result-card-body { padding: 20px; }
.result-card-body h4 { font-size: .98rem; font-weight: 700; margin-bottom: 4px; }
.result-percent { font-size: 1.7rem; font-weight: 900; color: var(--gold); margin: 8px 0; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--card-border); cursor: pointer;
  aspect-ratio: 4/3; background: var(--dark3);
  transition: all .3s ease;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover { border-color: rgba(255,216,77,.4); box-shadow: var(--glow); }
.gallery-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  background: linear-gradient(transparent 45%, rgba(0,0,0,.75));
  padding: 14px; opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay p { font-weight: 700; font-size: .88rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center;
  padding: 30px; opacity: 0; visibility: hidden; transition: all .25s ease;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92%; max-height: 88vh; border-radius: 14px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 20px; right: 26px; background: none; border: none;
  color: #fff; font-size: 2.4rem; cursor: pointer; opacity: .8; transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }

/* Empty state */
.empty-state {
  text-align: center; padding: 70px 20px; color: var(--muted);
  border: 1px dashed rgba(255,255,255,.14); border-radius: var(--radius);
  background: rgba(255,255,255,.02);
}
.empty-state i { font-size: 2.6rem; display: block; margin-bottom: 16px; color: rgba(255,216,77,.45); }
.empty-state p { font-size: .95rem; }

/* ============ PAGE BANNER ============ */
.page-banner {
  position: relative; padding: 88px 0 64px; text-align: center;
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(255,190,0,.12), transparent 60%),
    radial-gradient(700px 320px at 80% 0%, rgba(255,190,0,.08), transparent 60%),
    linear-gradient(180deg, var(--dark), var(--black));
  border-bottom: 1px solid var(--card-border);
  overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 85%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 900; letter-spacing: -1px; margin-bottom: 12px; }
.page-banner h1 span { color: var(--gold); }
.page-banner p { color: var(--muted); font-size: 1.02rem; max-width: 560px; margin: 0 auto; }
.breadcrumb { margin-top: 22px; display: flex; justify-content: center; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); }
.breadcrumb a { color: var(--gold); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ============ HERO (Home) ============ */
.hero {
  position: relative; padding: 96px 0 110px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255,190,0,.14), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(255,190,0,.07), transparent 55%),
    linear-gradient(180deg, var(--dark), var(--black) 60%);
  border-bottom: 1px solid var(--card-border);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,216,77,.1); border: 1px solid rgba(255,216,77,.28);
  color: var(--gold); border-radius: 99px; padding: 7px 16px;
  font-size: .78rem; font-weight: 700; letter-spacing: .5px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.12; margin-bottom: 16px; }
.highlight {
  background: linear-gradient(120deg, #ffe066, #f0a500);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.06rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.hero-desc { color: var(--muted); font-size: .98rem; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.7rem; font-weight: 900; color: var(--gold); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .5px; }
.hero-visual { display: flex; justify-content: center; }
.hero-logo-wrap {
  width: min(340px, 100%); aspect-ratio: 1; border-radius: 32px; padding: 26px;
  background: linear-gradient(160deg, #161b26, #0d1017);
  border: 1px solid rgba(255,216,77,.22);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow), var(--shadow);
  position: relative;
}
.hero-logo-wrap img { width: 72%; height: 72%; object-fit: cover; border-radius: 24px; }
.hero-logo-wrap::after {
  content: '★ EST. 2014'; position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold-grad); color: #161103; font-weight: 800; font-size: .72rem; letter-spacing: 1px;
  padding: 6px 16px; border-radius: 99px; white-space: nowrap;
}

/* ============ CTA ============ */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #ffd84d, #f0a500);
  padding: 84px 0; text-align: center;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,0,0,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.07) 1px, transparent 1px);
  background-size: 36px 36px;
}
.cta .container { position: relative; z-index: 1; }
.cta h2 { color: #161103; font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; letter-spacing: -.5px; margin-bottom: 12px; }
.cta p { color: rgba(22,17,3,.72); max-width: 500px; margin: 0 auto 30px; font-size: .98rem; }
.cta .btn { background: #161103; color: var(--gold); }
.cta .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.cta .btn-outline { border-color: rgba(22,17,3,.5); color: #161103; background: transparent; }
.cta .btn-outline:hover { background: rgba(22,17,3,.08); color: #161103; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px dashed rgba(255,255,255,.09); }
.contact-info-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
  background: rgba(255,216,77,.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.contact-info-text h4 { font-size: .95rem; font-weight: 700; margin-bottom: 2px; }
.contact-info-text p { color: var(--muted); font-size: .86rem; }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.timeline { margin-top: 28px; }
.timeline-item { position: relative; padding-left: 26px; padding-bottom: 24px; border-left: 2px solid rgba(255,216,77,.25); }
.timeline-item::before {
  content: ''; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 14px rgba(255,216,77,.6);
}
.timeline-year { color: var(--gold); font-weight: 800; font-size: .9rem; letter-spacing: 1px; }
.timeline-item h4 { font-size: 1rem; font-weight: 700; margin: 3px 0; }
.timeline-item p { color: var(--muted); font-size: .86rem; }
.about-img { border: 3px solid rgba(255,216,77,.3); }

/* ============ SOCIAL ============ */
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--dark3); border: 1px solid var(--card-border); color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
  transition: all .25s ease;
}
.social-links a:hover { background: var(--gold); color: #161103; transform: translateY(-3px); border-color: var(--gold); }

/* ============ FORMS ============ */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .84rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 12px 15px;
  background: var(--dark3); border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px; color: var(--text); font-family: inherit; font-size: .92rem;
  outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,216,77,.15); }
.form-control::placeholder { color: #5b6472; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; }

/* ============ AUTH PAGES ============ */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px;
  background:
    radial-gradient(700px 400px at 80% -10%, rgba(255,190,0,.12), transparent 60%),
    radial-gradient(600px 380px at 0% 100%, rgba(255,190,0,.06), transparent 55%),
    var(--black);
}
.auth-card {
  width: min(440px, 100%);
  background: linear-gradient(180deg, var(--card), var(--dark2));
  border: 1px solid var(--card-border); border-radius: 22px;
  padding: 40px 36px; box-shadow: var(--shadow);
  animation: fadeUp .5s ease;
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo img { width: 68px; height: 68px; border-radius: 16px; object-fit: cover; margin-bottom: 14px; box-shadow: 0 6px 20px rgba(255,216,77,.2); }
.auth-logo h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: 6px; }
.auth-logo p { color: var(--muted); font-size: .88rem; }
.divider { height: 1px; background: var(--card-border); margin: 24px 0; }
.auth-page a { color: var(--gold); font-weight: 700; }

/* ============ FOOTER ============ */
footer { background: var(--dark); border-top: 1px solid var(--card-border); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; margin-bottom: 14px; }
.footer-brand h3 { font-size: 1rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 10px; }
.footer-brand p { color: var(--muted); font-size: .86rem; margin-bottom: 18px; }
.footer-col h4 { font-size: .88rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; color: var(--gold); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--muted); font-size: .88rem; transition: color .2s ease; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: .87rem; margin-bottom: 12px; }
.footer-contact-item i { color: var(--gold); margin-top: 4px; width: 15px; text-align: center; }
.footer-bottom {
  border-top: 1px solid var(--card-border); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: .82rem;
}
.footer-bottom a:hover { color: var(--gold); }

/* ============ DASHBOARD ============ */
.dashboard { display: flex; min-height: 100vh; background: var(--black); }
.sidebar {
  width: 250px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--dark2), var(--dark));
  border-right: 1px solid var(--card-border);
  padding: 24px 16px; display: flex; flex-direction: column; gap: 4px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar-logo { display: flex; align-items: center; gap: 12px; padding: 0 10px 22px; border-bottom: 1px solid var(--card-border); margin-bottom: 18px; }
.sidebar-logo img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.sidebar-logo span { font-weight: 800; font-size: .9rem; }
.sidebar-section { font-size: .68rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #5b6472; padding: 18px 12px 8px; }
.sidebar-nav li { margin-bottom: 2px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 10px; color: var(--muted);
  font-size: .88rem; font-weight: 600; transition: all .2s ease;
}
.sidebar-nav a i { width: 18px; text-align: center; }
.sidebar-nav a:hover { background: var(--dark3); color: var(--text); }
.sidebar-nav a.active { background: rgba(255,216,77,.1); color: var(--gold); border: 1px solid rgba(255,216,77,.2); }

.dashboard-content { flex: 1; min-width: 0; }
.dash-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 32px; border-bottom: 1px solid var(--card-border);
  background: rgba(11,14,20,.7); backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 100;
}
.dash-topbar h2 { font-size: 1.25rem; font-weight: 800; }
.dash-main { padding: 32px; }

/* Stat cards */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(180deg, var(--card), var(--dark2));
  border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 20px; transition: all .3s ease;
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(255,216,77,.3); box-shadow: var(--glow); }
.stat-card .icon { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.stat-card .icon.yellow { background: rgba(255,216,77,.13); color: var(--gold); }
.stat-card .icon.blue { background: rgba(59,130,246,.13); color: #7ab3ff; }
.stat-card .icon.green { background: rgba(48,164,108,.13); color: #5fd3a0; }
.stat-card .icon.purple { background: rgba(168,85,247,.13); color: #c084fc; }
.stat-card .icon.red { background: rgba(229,72,77,.13); color: #ff7a7e; }
.stat-card .icon.orange { background: rgba(249,115,22,.13); color: #fb923c; }
.stat-card-info strong { display: block; font-size: 1.5rem; font-weight: 900; line-height: 1.1; }
.stat-card-info span { color: var(--muted); font-size: .8rem; font-weight: 600; }

/* Panels & tables */
.panel {
  background: linear-gradient(180deg, var(--card), var(--dark2));
  border: 1px solid var(--card-border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 24px;
}
.panel-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border-bottom: 1px solid var(--card-border);
  background: rgba(255,255,255,.02);
}
.panel-header h3 { font-size: .98rem; font-weight: 800; }
.panel-body { padding: 22px; }
.table-wrap { overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table-wrap th {
  text-align: left; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px;
  color: #5b6472; padding: 12px 14px; border-bottom: 1px solid var(--card-border);
}
.table-wrap td { padding: 14px; font-size: .88rem; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--text); vertical-align: middle; }
.table-wrap tbody tr { transition: background .2s ease; }
.table-wrap tbody tr:hover { background: rgba(255,255,255,.02); }

/* Badges */
.badge { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .5px; padding: 4px 11px; border-radius: 99px; }
.badge-yellow { background: rgba(255,216,77,.13); color: var(--gold); border: 1px solid rgba(255,216,77,.3); }
.badge-green { background: rgba(48,164,108,.13); color: #5fd3a0; border: 1px solid rgba(48,164,108,.3); }
.badge-red { background: rgba(229,72,77,.13); color: #ff7a7e; border: 1px solid rgba(229,72,77,.35); }
.badge-gray { background: var(--dark3); color: var(--muted); border: 1px solid var(--card-border); }

/* ============ MODALS ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(3,4,7,.72); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: all .25s ease;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal {
  width: min(520px, 100%); max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, var(--card), var(--dark2));
  border: 1px solid var(--card-border); border-radius: 20px;
  padding: 28px; box-shadow: var(--shadow);
  transform: translateY(16px); transition: transform .25s ease;
}
.modal-overlay.show .modal { transform: translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.modal-header h3 { font-size: 1.1rem; font-weight: 800; }
.modal-close { background: none; border: none; color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1; transition: color .2s; }
.modal-close:hover { color: var(--red); }

/* ============ TOASTS ============ */
#toast-container { position: fixed; top: 20px; right: 20px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--dark3); border: 1px solid var(--card-border); color: var(--text);
  padding: 13px 18px; border-radius: 12px; font-size: .88rem; font-weight: 600;
  box-shadow: var(--shadow); animation: toastIn .3s ease;
  max-width: 340px;
}
.toast.success { border-color: rgba(48,164,108,.5); }
.toast.success i { color: #5fd3a0; }
.toast.error { border-color: rgba(229,72,77,.5); }
.toast.error i { color: #ff7a7e; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.section .grid > * { animation: fadeUp .55s ease both; }
.section .grid > *:nth-child(2) { animation-delay: .08s; }
.section .grid > *:nth-child(3) { animation-delay: .16s; }
.section .grid > *:nth-child(4) { animation-delay: .24s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .nav-links, .nav-btns { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .dash-main { padding: 18px; }
  .sidebar { width: 220px; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 64px 0 80px; }
  .hero-stats { gap: 26px; }
  .cta { padding: 64px 0; }
  .page-banner { padding: 64px 0 48px; }
}

@media (max-width: 480px) {
  .stat-cards { grid-template-columns: 1fr; }
  .note-card { flex-direction: column; }
}
