/* ══════════════════════════════════════════
   FONTS & RESET
══════════════════════════════════════════ */
@import url('/fonts/raleway.css');
@import url('/fonts/oswald.css');

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

:root {
  --red: #c0392b;
  --dark-red: #96281b;
  --gold: #c9a84c;
  --near-black: #1a1a1a;
  --dark-grey: #2c2c2c;
  --mid-grey: #555;
  --light-grey: #f4f4f4;
  --white: #fff;
  --nav-height: 64px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }
body { font-family: 'Raleway', sans-serif; color: var(--near-black); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
textarea { font-family: inherit; }

/* ══════════════════════════════════════════
   PAGE SYSTEM
══════════════════════════════════════════ */
.page { display: none; min-height: 100vh; }
.page.active { display: block; }

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-logo { font-family: 'Oswald', sans-serif; font-size: 1.2rem; color: var(--white); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.82); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta { background: var(--red); color: var(--white); padding: 0.45rem 1.1rem; border-radius: 4px; }
.nav-links .nav-cta:hover { background: var(--dark-red); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('/images/hero-bg.jpg'); background-size: cover; background-position: center top; background-attachment: fixed; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.7) 100%); }
.hero-content { position: relative; z-index: 1; padding: 0 1.5rem; max-width: 800px; }
.hero-badge { display: inline-block; font-family: 'Oswald', sans-serif; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 0.3rem 1rem; border-radius: 2px; margin-bottom: 1.2rem; }
.hero-content h1 { font-family: 'Oswald', sans-serif; font-size: clamp(2.5rem, 7vw, 5rem); color: var(--white); line-height: 1.05; letter-spacing: 0.04em; text-transform: uppercase; text-shadow: 0 2px 16px rgba(0,0,0,0.4); margin-bottom: 1rem; }
.hero-content h1 span { color: var(--gold); }
.hero-content p { font-size: clamp(1rem, 2.5vw, 1.2rem); color: rgba(255,255,255,0.85); margin-bottom: 2rem; line-height: 1.6; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.85rem 2rem; border-radius: 4px; font-weight: 700; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; transition: all 0.2s; border: none; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--dark-red); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(192,57,43,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ══════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════ */
.container { max-width: 1100px; margin: 0 auto; }
.section-label { font-family: 'Oswald', sans-serif; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.section-title { font-family: 'Oswald', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; margin-bottom: 0.75rem; }
.title-rule { display: block; width: 48px; height: 3px; background: var(--red); margin-bottom: 2rem; }

/* ══════════════════════════════════════════
   ABOUT / INFO SECTIONS
══════════════════════════════════════════ */
.about-section { padding: 5rem 1.5rem; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text p { color: var(--mid-grey); line-height: 1.8; margin-bottom: 1rem; }
.about-text p:last-child { margin-bottom: 0; }
.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 380px; object-fit: cover; }
.stats-bar { background: var(--near-black); padding: 2.5rem 1.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stat-item h3 { font-family: 'Oswald', sans-serif; font-size: 2rem; color: var(--gold); }
.stat-item p { color: rgba(255,255,255,0.6); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }

/* ══════════════════════════════════════════
   TRAINING TIMES
══════════════════════════════════════════ */
.training-section { padding: 5rem 1.5rem; background: var(--light-grey); }
.training-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.training-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border-left: 4px solid var(--red); }
.training-card h3 { font-family: 'Oswald', sans-serif; font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.5rem; }
.training-card .time { font-size: 1.3rem; font-weight: 700; color: var(--red); margin-bottom: 0.25rem; }
.training-card .location { color: var(--mid-grey); font-size: 0.88rem; }
.training-card .level { display: inline-block; margin-top: 0.75rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--light-grey); padding: 0.2rem 0.6rem; border-radius: 3px; color: var(--mid-grey); }
.training-empty { color: var(--mid-grey); font-style: italic; margin-top: 1.5rem; }

/* ══════════════════════════════════════════
   NEWS
══════════════════════════════════════════ */
.news-section { padding: 5rem 1.5rem; background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.news-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.news-card-images { display: grid; background: var(--light-grey); }
.news-card-images.count-1 { grid-template-columns: 1fr; }
.news-card-images.count-2 { grid-template-columns: 1fr 1fr; }
.news-card-images.count-3 { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
.news-card-images.count-3 img:first-child { grid-column: 1 / -1; }
.news-card-images img { width: 100%; height: 180px; object-fit: cover; }
.news-card-images.count-2 img, .news-card-images.count-3 img:not(:first-child) { height: 120px; }
.news-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.news-card-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.news-card-date { font-size: 0.78rem; color: var(--mid-grey); }
.news-card-pin { font-size: 0.75rem; color: var(--red); font-weight: 700; }
.news-card h3 { font-family: 'Oswald', sans-serif; font-size: 1.1rem; letter-spacing: 0.02em; margin-bottom: 0.5rem; line-height: 1.3; }
.news-card p { color: var(--mid-grey); font-size: 0.88rem; line-height: 1.6; flex: 1; }
.news-card-attachments { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.news-attachment-chip { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; background: var(--light-grey); border-radius: 3px; padding: 0.25rem 0.6rem; color: var(--mid-grey); text-decoration: none; transition: background 0.15s; }
.news-attachment-chip:hover { background: #e0e0e0; }
.news-card-link { display: inline-block; margin-top: 0.75rem; color: var(--red); font-weight: 700; font-size: 0.85rem; }
.news-load-more { text-align: center; margin-top: 2rem; }

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq-section { padding: 5rem 1.5rem; background: var(--light-grey); position: relative; overflow: hidden; }
.faq-bg { position: absolute; inset: 0; background-image: url('/images/faq-bg.jpg'); background-size: cover; background-position: center; opacity: 0.08; }
.faq-content { position: relative; z-index: 1; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.faq-item { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.faq-item h3 { font-family: 'Oswald', sans-serif; font-size: 1rem; letter-spacing: 0.03em; margin-bottom: 0.5rem; color: var(--red); }
.faq-item p { color: var(--mid-grey); font-size: 0.88rem; line-height: 1.7; }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-section { padding: 5rem 1.5rem; background: var(--near-black); }
.contact-section .section-title { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.contact-info p { color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 0.5rem; font-size: 0.92rem; }
.contact-info strong { color: var(--white); }
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-link { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 600; transition: color 0.2s; }
.social-link:hover { color: var(--white); }
.social-link img { width: 20px; height: 20px; filter: brightness(0) invert(1); opacity: 0.7; transition: opacity 0.2s; }
.social-link:hover img { opacity: 1; }
.contact-form { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-form input, .contact-form textarea { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: 4px; padding: 0.75rem 1rem; color: var(--white); font-size: 0.9rem; font-family: inherit; transition: border-color 0.2s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form textarea { height: 130px; resize: vertical; }
.form-status { font-size: 0.85rem; margin-top: 0.25rem; min-height: 1.2em; }
.form-status.success { color: #2ecc71; }
.form-status.error { color: #e74c3c; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer { background: #111; padding: 1.5rem; text-align: center; color: rgba(255,255,255,0.35); font-size: 0.8rem; letter-spacing: 0.04em; }

/* ══════════════════════════════════════════
   MEMBERS LOGIN
══════════════════════════════════════════ */
.members-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--near-black); padding: 2rem; }
.members-login-box { background: var(--dark-grey); border-radius: var(--radius); padding: 2.5rem; width: 100%; max-width: 380px; text-align: center; box-shadow: var(--shadow-lg); }
.members-login-box .logo { font-family: 'Oswald', sans-serif; font-size: 1.4rem; color: var(--white); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.members-login-box .logo span { color: var(--gold); }
.members-login-box p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 1.5rem; }
.members-login-box input { width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: 4px; padding: 0.85rem 1rem; color: var(--white); font-size: 1rem; font-family: inherit; text-align: center; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.members-login-box input:focus { outline: none; border-color: var(--gold); }
.members-login-box .btn { width: 100%; }
.login-error { color: #e74c3c; font-size: 0.83rem; margin-top: 0.5rem; display: none; }

/* ══════════════════════════════════════════
   MEMBERS HUB
══════════════════════════════════════════ */
.members-header { background: var(--near-black); padding: calc(var(--nav-height) + 3rem) 1.5rem 3rem; text-align: center; }
.members-header h1 { font-family: 'Oswald', sans-serif; font-size: clamp(2rem, 5vw, 3rem); color: var(--white); letter-spacing: 0.06em; text-transform: uppercase; }
.members-header p { color: rgba(255,255,255,0.45); font-size: 0.88rem; margin-top: 0.5rem; }
.members-nav-bar { background: var(--dark-grey); padding: 0 1.5rem; display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,0.06); }
.members-nav-bar a { color: rgba(255,255,255,0.65); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.9rem 0; border-bottom: 2px solid transparent; transition: all 0.2s; }
.members-nav-bar a:hover { color: var(--white); border-bottom-color: var(--red); }
.members-nav-bar .logout-link { margin-left: auto; color: rgba(255,255,255,0.4); }
.members-nav-bar .logout-link:hover { color: #e74c3c; border-bottom-color: transparent; }
.members-section { background: var(--light-grey); padding: 3rem 1.5rem; min-height: 60vh; }
.belt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; }
.belt-card { background: var(--white); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); text-align: center; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; border: none; width: 100%; font-family: inherit; }
.belt-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.belt-badge { display: inline-block; padding: 0.3rem 0.9rem; border-radius: 3px; font-family: 'Oswald', sans-serif; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.5rem; }
.belt-card h3 { font-family: 'Oswald', sans-serif; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.2rem; }
.belt-card p { font-size: 0.78rem; color: var(--mid-grey); }

/* ══════════════════════════════════════════
   BELT PAGES
══════════════════════════════════════════ */
.belt-page-header { background: var(--near-black); padding: calc(var(--nav-height) + 2rem) 1.5rem 2rem; text-align: center; }
.belt-page-header h1 { font-family: 'Oswald', sans-serif; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--white); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 0.75rem; }
.belt-page-header p { color: rgba(255,255,255,0.5); font-size: 0.88rem; margin-top: 0.4rem; }
.tab-bar { background: var(--dark-grey); padding: 0 1.5rem; display: flex; gap: 0; border-bottom: 1px solid rgba(255,255,255,0.06); overflow-x: auto; }
.tab-btn { background: none; border: none; color: rgba(255,255,255,0.55); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.9rem 1.2rem; border-bottom: 2px solid transparent; transition: all 0.2s; white-space: nowrap; }
.tab-btn.active { color: var(--white); border-bottom-color: var(--red); }
.tab-btn:hover { color: var(--white); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.content-block { background: var(--white); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.content-block h3 { font-family: 'Oswald', sans-serif; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--red); margin-bottom: 0.75rem; }
.content-block ul, .content-block ol { padding-left: 1.25rem; }
.content-block ul { list-style: disc; }
.content-block ol { list-style: decimal; }
.content-block li { color: var(--mid-grey); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.2rem; }
.content-block p { color: var(--mid-grey); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.5rem; }
.content-block p:last-child { margin-bottom: 0; }
.theory-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.theory-table th { background: var(--near-black); color: var(--white); padding: 0.6rem 0.75rem; text-align: left; font-family: 'Oswald', sans-serif; letter-spacing: 0.05em; font-size: 0.82rem; text-transform: uppercase; }
.theory-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid #eee; color: var(--mid-grey); }
.theory-table tr:last-child td { border-bottom: none; }
.theory-table td.korean { font-style: italic; color: var(--near-black); font-weight: 600; }
.video-block { margin-bottom: 2rem; }
.video-block h3 { font-family: 'Oswald', sans-serif; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.video-label { font-size: 0.85rem; color: var(--mid-grey); margin-bottom: 0.5rem; }
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ══════════════════════════════════════════
   DOWNLOADS PAGE
══════════════════════════════════════════ */
.downloads-header { background: var(--near-black); padding: calc(var(--nav-height) + 3rem) 1.5rem 3rem; text-align: center; }
.downloads-header h1 { font-family: 'Oswald', sans-serif; font-size: clamp(2rem, 5vw, 3rem); color: var(--white); letter-spacing: 0.06em; text-transform: uppercase; }
.downloads-header p { color: rgba(255,255,255,0.45); font-size: 0.88rem; margin-top: 0.5rem; }
.downloads-section { background: var(--light-grey); padding: 4rem 1.5rem; }
.downloads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.download-card { background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 1rem; transition: transform 0.2s, box-shadow 0.2s; }
.download-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.download-card.youtube { border-left: 4px solid #ff0000; }
.download-icon { font-size: 2rem; flex-shrink: 0; }
.download-card h3 { font-family: 'Oswald', sans-serif; font-size: 0.95rem; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 0.2rem; }
.download-card p { font-size: 0.82rem; color: var(--mid-grey); margin: 0; }
.dl-meta { font-size: 0.75rem; color: var(--mid-grey); margin-top: 0.2rem; }

/* ══════════════════════════════════════════
   ADMIN LOGIN
══════════════════════════════════════════ */
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--near-black); padding: 2rem; }
.admin-login-box { background: var(--dark-grey); border-radius: var(--radius); padding: 2.5rem; width: 100%; max-width: 380px; text-align: center; box-shadow: var(--shadow-lg); }
.admin-login-box h2 { font-family: 'Oswald', sans-serif; font-size: 1.4rem; color: var(--white); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; }
.admin-login-box p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 1.5rem; }
.admin-login-box input[type="password"] { width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: 4px; padding: 0.85rem 1rem; color: var(--white); font-size: 1rem; font-family: inherit; text-align: center; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.admin-login-box input[type="password"]:focus { outline: none; border-color: var(--gold); }

/* ══════════════════════════════════════════
   ADMIN SHELL
══════════════════════════════════════════ */
.admin-header { background: var(--near-black); padding: calc(var(--nav-height) + 2rem) 1.5rem 2rem; }
.admin-header h1 { font-family: 'Oswald', sans-serif; font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--white); letter-spacing: 0.06em; text-transform: uppercase; }
.admin-header p { color: rgba(255,255,255,0.45); font-size: 0.88rem; margin-top: 0.4rem; }
.admin-nav-bar { background: var(--dark-grey); padding: 0 1.5rem; display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,0.06); }
.admin-nav-bar a { color: rgba(255,255,255,0.65); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.9rem 0; border-bottom: 2px solid transparent; transition: all 0.2s; }
.admin-nav-bar a:hover { color: var(--white); border-bottom-color: var(--red); }
.admin-nav-bar .logout-link { margin-left: auto; color: rgba(255,255,255,0.4); }
.admin-nav-bar .logout-link:hover { color: #e74c3c; border-bottom-color: transparent; }
.admin-section { background: var(--light-grey); padding: 3rem 1.5rem; min-height: 60vh; }

/* ══════════════════════════════════════════
   ADMIN HUB CARDS
══════════════════════════════════════════ */
.admin-hub-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; }
.admin-hub-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); text-align: center; transition: transform 0.2s, box-shadow 0.2s; display: block; }
.admin-hub-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hub-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.admin-hub-card h3 { font-family: 'Oswald', sans-serif; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.35rem; }
.admin-hub-card p { font-size: 0.8rem; color: var(--mid-grey); line-height: 1.4; }

/* ══════════════════════════════════════════
   ADMIN COMPONENTS
══════════════════════════════════════════ */
.admin-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); margin-bottom: 1.25rem; }
.admin-card h3 { font-family: 'Oswald', sans-serif; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem; }
.admin-form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.admin-form-group:last-child { margin-bottom: 0; }
.admin-form-group label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--mid-grey); }
.admin-form-group input, .admin-form-group textarea, .admin-form-group select { border: 1px solid #ddd; border-radius: 4px; padding: 0.65rem 0.85rem; font-size: 0.9rem; font-family: inherit; color: var(--near-black); background: var(--white); transition: border-color 0.2s; }
.admin-form-group input:focus, .admin-form-group textarea:focus, .admin-form-group select:focus { outline: none; border-color: var(--red); }
.admin-form-group textarea { min-height: 100px; resize: vertical; }
.admin-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-btn { padding: 0.65rem 1.4rem; border-radius: 4px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; border: none; transition: all 0.2s; }
.admin-btn-primary { background: var(--red); color: var(--white); }
.admin-btn-primary:hover { background: var(--dark-red); }
.admin-btn-secondary { background: var(--light-grey); color: var(--near-black); border: 1px solid #ddd; }
.admin-btn-secondary:hover { background: #e8e8e8; }
.admin-btn-danger { background: #e74c3c; color: var(--white); }
.admin-btn-danger:hover { background: #c0392b; }
.admin-btn-sm { padding: 0.4rem 0.85rem; font-size: 0.78rem; }
.admin-btn-group { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.admin-msg { font-size: 0.85rem; padding: 0.6rem 1rem; border-radius: 4px; margin-bottom: 1rem; display: none; }
.admin-msg.success { background: #d4edda; color: #155724; display: block; }
.admin-msg.error { background: #f8d7da; color: #721c24; display: block; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th { background: var(--near-black); color: var(--white); padding: 0.65rem 0.75rem; text-align: left; font-family: 'Oswald', sans-serif; letter-spacing: 0.05em; font-size: 0.8rem; text-transform: uppercase; }
.admin-table td { padding: 0.65rem 0.75rem; border-bottom: 1px solid #eee; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }

/* ══════════════════════════════════════════
   ADMIN TOGGLES
══════════════════════════════════════════ */
.toggle-wrap { display: flex; align-items: center; gap: 0.75rem; }
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: #ccc; border-radius: 24px; transition: 0.3s; cursor: pointer; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: var(--white); border-radius: 50%; transition: 0.3s; }
.toggle input:checked + .toggle-slider { background: var(--red); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-label { font-size: 0.88rem; color: var(--mid-grey); }

/* ══════════════════════════════════════════
   IMAGE / ATTACHMENT UPLOAD
══════════════════════════════════════════ */
.image-upload-area { border: 2px dashed #ddd; border-radius: var(--radius); padding: 1.5rem; text-align: center; cursor: pointer; transition: border-color 0.2s; background: #fafafa; }
.image-upload-area:hover { border-color: var(--red); }
.image-upload-area p { color: var(--mid-grey); font-size: 0.85rem; pointer-events: none; }
.image-upload-area input[type="file"] { display: none; }
.image-thumbnails { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.image-thumb { position: relative; }
.image-thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; display: block; }
.image-thumb-del { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: var(--white); border: none; font-size: 0.75rem; line-height: 20px; text-align: center; padding: 0; cursor: pointer; }
.attachment-list { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.75rem; }
.attachment-item { display: flex; align-items: center; gap: 0.75rem; background: var(--light-grey); border-radius: 4px; padding: 0.5rem 0.75rem; font-size: 0.85rem; }
.attachment-item-icon { font-size: 1.1rem; flex-shrink: 0; }
.attachment-item-name { flex: 1; color: var(--near-black); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachment-item-size { color: var(--mid-grey); font-size: 0.78rem; flex-shrink: 0; }
.attachment-item-del { background: none; border: none; color: var(--mid-grey); font-size: 1rem; padding: 0; cursor: pointer; flex-shrink: 0; transition: color 0.15s; }
.attachment-item-del:hover { color: var(--red); }

/* ══════════════════════════════════════════
   NEWS EDIT LAYOUT
══════════════════════════════════════════ */
.news-edit-layout { display: grid; grid-template-columns: 1fr 380px; gap: 1.5rem; align-items: start; }
.news-preview-wrap { position: sticky; top: calc(var(--nav-height) + 1rem); }
.news-preview-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid-grey); margin-bottom: 0.5rem; }
.news-preview-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.news-preview-images { background: var(--light-grey); }
.news-preview-images img { width: 100%; height: 160px; object-fit: cover; }
.news-preview-body { padding: 1rem; }
.news-preview-meta { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.4rem; }
.news-preview-date { font-size: 0.75rem; color: var(--mid-grey); }
.news-preview-pin { font-size: 0.72rem; color: var(--red); font-weight: 700; }
.news-preview-title { font-family: 'Oswald', sans-serif; font-size: 1.05rem; letter-spacing: 0.02em; margin-bottom: 0.4rem; color: var(--near-black); }
.news-preview-text { font-size: 0.82rem; color: var(--mid-grey); line-height: 1.6; }
.news-preview-link { display: inline-block; margin-top: 0.5rem; color: var(--red); font-size: 0.82rem; font-weight: 700; }

/* ══════════════════════════════════════════
   DOWNLOADS ADMIN
══════════════════════════════════════════ */
.downloads-admin-list { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.download-admin-item { display: flex; align-items: center; gap: 0.75rem; background: var(--white); border-radius: 4px; padding: 0.65rem 1rem; box-shadow: var(--shadow); font-size: 0.88rem; }
.download-admin-icon { font-size: 1.3rem; flex-shrink: 0; }
.download-admin-name { flex: 1; font-weight: 600; color: var(--near-black); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; border-bottom: 1px dashed transparent; transition: border-color 0.2s; }
.download-admin-name:hover { border-bottom-color: var(--red); }
.download-admin-name input { border: none; border-bottom: 1px solid var(--red); outline: none; font-size: 0.88rem; font-family: inherit; font-weight: 600; width: 100%; background: transparent; padding: 0; }
.download-admin-size { color: var(--mid-grey); font-size: 0.78rem; flex-shrink: 0; }
.download-admin-ext { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--light-grey); padding: 0.15rem 0.45rem; border-radius: 3px; color: var(--mid-grey); flex-shrink: 0; }

/* ══════════════════════════════════════════
   BELT ADMIN
══════════════════════════════════════════ */
.belt-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 1rem; }
.belt-admin-card { background: var(--white); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.75rem; }
.belt-admin-card-header { display: flex; align-items: center; gap: 0.75rem; }
.belt-admin-badge { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 3px; font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; }
.belt-admin-name { font-family: 'Oswald', sans-serif; font-size: 0.95rem; letter-spacing: 0.03em; flex: 1; }
.belt-admin-card-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.belt-admin-reorder { display: flex; gap: 0.3rem; }
.belt-admin-reorder button { background: var(--light-grey); border: 1px solid #ddd; border-radius: 3px; padding: 0.25rem 0.5rem; font-size: 0.8rem; cursor: pointer; color: var(--mid-grey); transition: all 0.15s; }
.belt-admin-reorder button:hover { background: var(--near-black); color: var(--white); border-color: var(--near-black); }

/* ══════════════════════════════════════════
   BELT EDIT TABS
══════════════════════════════════════════ */
.belt-edit-tab-bar { display: flex; gap: 0; border-bottom: 2px solid #eee; margin-bottom: 1.5rem; overflow-x: auto; }
.belt-edit-tab-btn { background: none; border: none; font-family: inherit; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid-grey); padding: 0.75rem 1.25rem; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; white-space: nowrap; transition: all 0.2s; }
.belt-edit-tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.belt-edit-tab-btn:hover { color: var(--near-black); }
.belt-edit-tab-panel { display: none; }
.belt-edit-tab-panel.active { display: block; }

/* ══════════════════════════════════════════
   SYLLABUS EDITOR
══════════════════════════════════════════ */
.syllabus-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.syllabus-section-header h4 { font-family: 'Oswald', sans-serif; font-size: 0.9rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--near-black); }
.syllabus-item-list { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.5rem; min-height: 20px; }
.syllabus-item { display: flex; align-items: center; gap: 0.5rem; background: var(--light-grey); border-radius: 4px; padding: 0.4rem 0.6rem; font-size: 0.85rem; }
.syllabus-item-text { flex: 1; color: var(--near-black); }
.syllabus-item-actions { display: flex; gap: 0.25rem; flex-shrink: 0; }
.syllabus-item-actions button { background: none; border: 1px solid #ddd; border-radius: 3px; padding: 0.15rem 0.35rem; font-size: 0.72rem; cursor: pointer; color: var(--mid-grey); transition: all 0.15s; }
.syllabus-item-actions button:hover { background: var(--near-black); color: var(--white); border-color: var(--near-black); }

/* ══════════════════════════════════════════
   THEORY EDITOR
══════════════════════════════════════════ */
.theory-editor-row { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 0.5rem; align-items: center; background: var(--light-grey); border-radius: 4px; padding: 0.5rem 0.6rem; margin-bottom: 0.35rem; }
.theory-editor-row input { border: 1px solid #ddd; border-radius: 3px; padding: 0.4rem 0.5rem; font-size: 0.83rem; font-family: inherit; background: var(--white); }
.theory-editor-row input:focus { outline: none; border-color: var(--red); }
.theory-editor-actions { display: flex; gap: 0.25rem; }
.theory-editor-actions button { background: none; border: 1px solid #ddd; border-radius: 3px; padding: 0.2rem 0.4rem; font-size: 0.72rem; cursor: pointer; color: var(--mid-grey); }
.theory-editor-actions button:hover { background: var(--near-black); color: var(--white); border-color: var(--near-black); }

/* ══════════════════════════════════════════
   VIDEO EDITOR
══════════════════════════════════════════ */
.video-editor-item { background: var(--light-grey); border-radius: 4px; padding: 0.75rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.video-editor-item input { border: 1px solid #ddd; border-radius: 3px; padding: 0.4rem 0.5rem; font-size: 0.83rem; font-family: inherit; background: var(--white); }
.video-editor-item input:focus { outline: none; border-color: var(--red); }
.video-editor-item input.wide { flex: 1; }
.video-editor-item input.narrow { width: 140px; }
.video-editor-item button { background: none; border: 1px solid #ddd; border-radius: 3px; padding: 0.2rem 0.45rem; font-size: 0.8rem; cursor: pointer; color: var(--mid-grey); flex-shrink: 0; }
.video-editor-item button:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* ══════════════════════════════════════════
   COLOUR PICKER ROW
══════════════════════════════════════════ */
.colour-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.colour-row input[type="color"] { width: 44px; height: 36px; border: 1px solid #ddd; border-radius: 4px; padding: 2px; cursor: pointer; background: none; }
.colour-preview { display: inline-block; padding: 0.3rem 0.9rem; border-radius: 3px; font-family: 'Oswald', sans-serif; font-size: 0.85rem; letter-spacing: 0.05em; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { order: -1; }
  .about-image img { height: 260px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .news-edit-layout { grid-template-columns: 1fr; }
  .news-preview-wrap { position: static; }
  .theory-editor-row { grid-template-columns: 1fr 1fr; }
  .theory-editor-row .theory-editor-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (max-width: 600px) {
  nav { padding: 0 1rem; }
  .nav-links { gap: 0.75rem; }
  .nav-links a { font-size: 0.78rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-bg { background-attachment: scroll; }
  .admin-form-row { grid-template-columns: 1fr; }
  .belt-edit-tab-bar { gap: 0; }
  .belt-edit-tab-btn { padding: 0.65rem 0.85rem; font-size: 0.78rem; }
  .theory-editor-row { grid-template-columns: 1fr; }
}
