/* ===================================================
   Gold Standard Academy — Main Stylesheet
   Theme: Deep Red + Gold Premium
=================================================== */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&family=Prompt:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --gs-red:       #8b0000;
  --gs-red-dark:  #5a0000;
  --gs-red-light: #b30000;
  --gs-gold:      #d4af37;
  --gs-gold-dark: #b8960c;
  --gs-gold-light:#f0d060;
  --gs-dark:      #1a1a1a;
  --gs-text:      #2d2d2d;
  --gs-muted:     #6c757d;
  --gs-bg-light:  #faf8f3;
  --gs-border:    rgba(212,175,55,.25);
  --shadow-sm:    0 2px 12px rgba(0,0,0,.08);
  --shadow-md:    0 6px 30px rgba(0,0,0,.12);
  --shadow-gold:  0 4px 20px rgba(212,175,55,.3);
  --radius:       12px;
  --radius-lg:    20px;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Kanit', 'Prompt', sans-serif;
  color: var(--gs-text);
  background: #fff;
  font-weight: 300;
  line-height: 1.7;
}

h1,h2,h3,h4,h5,h6 { font-weight: 600; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--gs-gold); border-radius: 3px; }

/* ================================================================
   NAVBAR
================================================================ */
.navbar-main {
  background: linear-gradient(135deg, var(--gs-red-dark) 0%, var(--gs-red) 100%);
  padding: .75rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}

.brand-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gs-gold), var(--gs-gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
}

.brand-icon i { color: var(--gs-red-dark); font-size: 1.2rem; }

.brand-text .brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gs-gold);
  letter-spacing: .5px;
  line-height: 1.2;
}

.brand-text .brand-sub {
  display: block;
  font-size: .65rem;
  color: rgba(255,255,255,.7);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-main .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 400;
  padding: .5rem .9rem !important;
  border-radius: 8px;
  transition: all .25s;
  position: relative;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--gs-gold) !important;
  background: rgba(255,255,255,.08);
}

.navbar-toggler { border-color: rgba(212,175,55,.5) !important; }
.navbar-toggler-icon { filter: invert(1); }

.navbar-cta {
  background: linear-gradient(135deg, var(--gs-gold), var(--gs-gold-dark)) !important;
  color: var(--gs-red-dark) !important;
  font-weight: 600 !important;
  border-radius: 25px !important;
  padding: .45rem 1.3rem !important;
}

.navbar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(212,175,55,.5) !important;
}

/* Search form in navbar */
.navbar-search .form-control {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(212,175,55,.3);
  color: #fff;
  border-radius: 25px 0 0 25px;
  font-size: .85rem;
}

.navbar-search .form-control::placeholder { color: rgba(255,255,255,.5); }
.navbar-search .form-control:focus {
  background: rgba(255,255,255,.15);
  border-color: var(--gs-gold);
  box-shadow: none;
  color: #fff;
}

.navbar-search .btn-search {
  background: var(--gs-gold);
  border: none;
  color: var(--gs-red-dark);
  border-radius: 0 25px 25px 0;
  padding: .375rem .85rem;
}

/* ================================================================
   HERO / BANNER
================================================================ */
.hero-section {
  min-height: 620px;
  background: linear-gradient(135deg, var(--gs-red-dark) 0%, var(--gs-red) 50%, #6b0000 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212,175,55,.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212,175,55,.08) 0%, transparent 40%);
}

.hero-section::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.15));
}

.hero-pattern {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(212,175,55,.15);
  border: 1px solid rgba(212,175,55,.4);
  color: var(--gs-gold);
  padding: .4rem 1rem;
  border-radius: 25px;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  letter-spacing: .5px;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--gs-gold), var(--gs-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat .stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gs-gold);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hero-img-wrap {
  position: relative;
  text-align: center;
}

.hero-img-wrap img {
  max-height: 520px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.4));
  position: relative; z-index: 1;
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero-glow {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(212,175,55,.2) 0%, transparent 70%);
  border-radius: 50%;
}

/* ── Hero Chart Background ── */
.hero-chart-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

/* ── Hero Floating Badges ── */
.hero-float-badge {
  position: absolute;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 14px;
  padding: .6rem 1rem;
  z-index: 4;
  animation: floatBadge 3.5s ease-in-out infinite;
  white-space: nowrap;
}

.hero-float-badge:nth-child(2) { animation-delay: .8s; }
.hero-float-badge:nth-child(3) { animation-delay: 1.6s; }

@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ── Hero Instructor Image ── */
.hero-instructor-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0;
  margin-bottom: -4px;
}

.hero-instructor-glow {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(212,175,55,.25) 0%, rgba(139,0,0,.15) 50%, transparent 72%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 0;
}

.hero-instructor-img {
  position: relative;
  z-index: 2;
  max-height: 500px;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 0 40px rgba(212,175,55,.25)) drop-shadow(0 20px 40px rgba(0,0,0,.5));
  animation: heroFloat 4s ease-in-out infinite;
  display: block;
}

.hero-name-plate {
  position: relative;
  z-index: 3;
  background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(212,175,55,.06));
  border: 1px solid rgba(212,175,55,.4);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: .7rem 1.5rem;
  text-align: center;
  margin-top: -10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 0 1px rgba(212,175,55,.1);
}

/* ── Gold Stats Bar ── */
.gold-price-bar {
  background: linear-gradient(135deg, var(--gs-red-dark), #3d0000);
  border-top: 1px solid rgba(212,175,55,.2);
  padding: .6rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  overflow: hidden;
}

.gold-price-bar .ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-right: 3rem;
}

.price-up   { color: #4ade80; }
.price-down { color: #f87171; }

/* ================================================================
   BUTTONS
================================================================ */
.btn-gold {
  background: linear-gradient(135deg, var(--gs-gold), var(--gs-gold-dark));
  color: var(--gs-red-dark);
  border: none;
  font-weight: 600;
  padding: .65rem 1.8rem;
  border-radius: 30px;
  transition: all .3s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212,175,55,.5);
  color: var(--gs-red-dark);
}

.btn-gold-outline {
  background: transparent;
  color: var(--gs-gold);
  border: 2px solid var(--gs-gold);
  font-weight: 600;
  padding: .6rem 1.7rem;
  border-radius: 30px;
  transition: all .3s;
}

.btn-gold-outline:hover {
  background: var(--gs-gold);
  color: var(--gs-red-dark);
  transform: translateY(-2px);
}

.btn-red {
  background: linear-gradient(135deg, var(--gs-red), var(--gs-red-dark));
  color: #fff;
  border: none;
  font-weight: 600;
  padding: .65rem 1.8rem;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(139,0,0,.3);
  transition: all .3s;
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139,0,0,.45);
  color: #fff;
}

/* ================================================================
   SECTION HEADERS
================================================================ */
.section-header { text-align: center; margin-bottom: 3rem; }

.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(212,175,55,.15), rgba(212,175,55,.05));
  border: 1px solid var(--gs-border);
  color: var(--gs-gold-dark);
  padding: .3rem 1rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gs-red-dark);
  margin-bottom: .5rem;
}

.section-title .gold { color: var(--gs-gold-dark); }

.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gs-gold), var(--gs-gold-light));
  margin: .8rem auto 1rem;
  border-radius: 2px;
}

.section-desc { color: var(--gs-muted); max-width: 540px; margin: 0 auto; }

/* ================================================================
   FEATURES / WHY US
================================================================ */
.features-section { background: var(--gs-bg-light); }

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212,175,55,.12);
  transition: all .35s;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gs-border);
}

.feature-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--gs-red-dark), var(--gs-red));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 8px 20px rgba(139,0,0,.25);
}

.feature-icon i { color: var(--gs-gold); font-size: 1.6rem; }

.feature-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gs-red-dark);
  margin-bottom: .5rem;
}

.feature-card p { font-size: .88rem; color: var(--gs-muted); margin: 0; }

/* ================================================================
   COURSE CARDS
================================================================ */
.course-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: all .35s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.course-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--gs-red-dark), var(--gs-red));
}

.course-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.course-card:hover .course-img img { transform: scale(1.05); }

.course-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  color: rgba(255,255,255,.7);
}

.course-img-placeholder i { font-size: 3rem; color: var(--gs-gold); }

.course-level-badge {
  position: absolute; top: 1rem; left: 1rem;
  padding: .25rem .8rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.badge-beginner     { background: rgba(74,222,128,.9);  color: #14532d; }
.badge-intermediate { background: rgba(251,191,36,.9);  color: #713f12; }
.badge-advanced     { background: rgba(248,113,113,.9); color: #7f1d1d; }

.course-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gs-text);
  margin-bottom: .4rem;
  line-height: 1.4;
}

.course-subtitle {
  font-size: .82rem;
  color: var(--gs-muted);
  margin-bottom: .8rem;
}

.course-meta {
  display: flex;
  gap: 1rem;
  font-size: .78rem;
  color: var(--gs-muted);
  margin-bottom: 1rem;
}

.course-meta i { color: var(--gs-gold-dark); margin-right: .2rem; }

.course-price-wrap { margin-top: auto; }

.price-current {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gs-red-dark);
}

.price-original {
  font-size: .88rem;
  color: var(--gs-muted);
  text-decoration: line-through;
  margin-left: .4rem;
}

.price-discount {
  display: inline-block;
  background: #fee2e2;
  color: #dc2626;
  font-size: .7rem;
  font-weight: 700;
  padding: .1rem .5rem;
  border-radius: 4px;
  margin-left: .3rem;
}

/* ================================================================
   ARTICLE CARDS
================================================================ */
.article-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: all .3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.article-img {
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gs-red-dark), #4a0000);
  position: relative;
}

.article-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.article-card:hover .article-img img { transform: scale(1.05); }

.article-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gs-gold);
  opacity: .5;
}

.article-img-placeholder i { font-size: 2.5rem; }

.article-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-category {
  font-size: .72rem;
  font-weight: 600;
  color: var(--gs-gold-dark);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: .5rem;
}

.article-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--gs-text);
  margin-bottom: .5rem;
  line-height: 1.45;
}

.article-excerpt {
  font-size: .82rem;
  color: var(--gs-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--gs-muted);
  border-top: 1px solid rgba(0,0,0,.06);
  padding-top: .75rem;
  margin-top: auto;
}

.article-tags .badge {
  background: rgba(212,175,55,.12);
  color: var(--gs-gold-dark);
  font-size: .68rem;
  font-weight: 500;
  margin: .1rem .1rem .1rem 0;
  padding: .25rem .6rem;
  border-radius: 12px;
}

/* ================================================================
   NEWS CARDS
================================================================ */
.news-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.2rem;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  display: flex;
  gap: 1rem;
}

.news-card:hover {
  transform: translateX(4px);
  border-left: 3px solid var(--gs-gold);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  width: 90px; height: 70px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--gs-red-dark), var(--gs-red));
}

.news-card-body .news-title {
  font-size: .88rem;
  font-weight: 600;
  color: var(--gs-text);
  line-height: 1.4;
  margin-bottom: .3rem;
}

.news-card-body .news-meta {
  font-size: .72rem;
  color: var(--gs-muted);
  display: flex;
  gap: .6rem;
  align-items: center;
}

.news-source-badge {
  background: rgba(139,0,0,.08);
  color: var(--gs-red);
  padding: .1rem .5rem;
  border-radius: 8px;
  font-size: .68rem;
  font-weight: 500;
}

/* ================================================================
   GOLD CHART SECTION
================================================================ */
.chart-section { background: var(--gs-bg-light); }

.chart-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gs-border);
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.chart-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gs-red-dark);
}

.chart-period-btn {
  background: rgba(212,175,55,.1);
  border: 1px solid var(--gs-border);
  color: var(--gs-muted);
  padding: .2rem .7rem;
  border-radius: 8px;
  font-size: .75rem;
  cursor: pointer;
  transition: all .2s;
}

.chart-period-btn.active, .chart-period-btn:hover {
  background: var(--gs-gold);
  color: var(--gs-red-dark);
  border-color: var(--gs-gold);
}

/* ================================================================
   TESTIMONIALS
================================================================ */
.testimonials-section {
  background: linear-gradient(135deg, var(--gs-red-dark) 0%, var(--gs-red) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23d4af37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonials-section .section-title { color: #fff; }
.testimonials-section .section-tag { border-color: rgba(212,175,55,.5); }

.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(212,175,55,.2);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: all .35s;
  height: 100%;
  backdrop-filter: blur(8px);
}

.testimonial-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(212,175,55,.45);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 2.5rem;
  color: var(--gs-gold);
  line-height: .8;
  margin-bottom: .8rem;
  opacity: .6;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.testimonial-stars { color: var(--gs-gold); font-size: .9rem; margin-bottom: .8rem; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gs-gold);
  background: var(--gs-gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--gs-red-dark);
  font-size: .9rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--gs-gold);
  font-size: .9rem;
}

.testimonial-position {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
}

/* ================================================================
   CTA SECTION
================================================================ */
.cta-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1a00 50%, #1a0000 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212,175,55,.08), transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(139,0,0,.15), transparent 60%);
}

/* ================================================================
   FOOTER
================================================================ */
.footer-main {
  background: linear-gradient(180deg, var(--gs-red-dark) 0%, #3d0000 100%);
  color: rgba(255,255,255,.8);
  padding: 3.5rem 0 0;
}

.footer-brand .brand-name { font-size: 1.3rem; font-weight: 700; color: var(--gs-gold); }
.footer-brand .brand-desc { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: .5rem; line-height: 1.6; }

.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(212,175,55,.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all .25s;
  font-size: .9rem;
}
.social-btn:hover { background: var(--gs-gold); color: var(--gs-red-dark); border-color: var(--gs-gold); }

.footer-heading {
  font-size: .88rem;
  font-weight: 700;
  color: var(--gs-gold);
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
  display: flex; align-items: center; gap: .4rem;
}
.footer-links a::before { content: '›'; color: var(--gs-gold); }
.footer-links a:hover { color: var(--gs-gold); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: .7rem;
  margin-bottom: .7rem;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}
.footer-contact-item i { color: var(--gs-gold); margin-top: .15rem; flex-shrink: 0; }

.footer-bottom {
  background: rgba(0,0,0,.2);
  border-top: 1px solid rgba(212,175,55,.1);
  padding: 1rem 0;
  margin-top: 2.5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

/* ================================================================
   ABOUT PAGE
================================================================ */
.about-hero {
  background: linear-gradient(135deg, var(--gs-red-dark), var(--gs-red));
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.instructor-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.instructor-img-wrap {
  background: linear-gradient(135deg, var(--gs-red-dark), var(--gs-red));
  height: 320px;
  display: flex; align-items: center; justify-content: center;
}

.instructor-img-wrap img {
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.stat-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gs-border);
}

.stat-box .num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gs-red-dark);
}

.stat-box .gold { color: var(--gs-gold-dark); }
.stat-box .label { font-size: .82rem; color: var(--gs-muted); }

/* ================================================================
   ADMIN PANEL
================================================================ */
.admin-sidebar {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--gs-red-dark) 0%, #3d0000 100%);
  width: 250px;
  flex-shrink: 0;
  position: fixed;
  left: 0; top: 0;
  z-index: 100;
  overflow-y: auto;
  transition: transform .3s;
}

.admin-sidebar-brand {
  padding: 1.5rem 1.2rem;
  border-bottom: 1px solid rgba(212,175,55,.15);
}

.admin-sidebar-brand .logo-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gs-gold);
}

.admin-sidebar-brand .logo-sub {
  font-size: .7rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .8px;
}

.admin-nav-section {
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.admin-nav-label {
  font-size: .65rem;
  font-weight: 600;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: .8rem 1.2rem .3rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 1.2rem;
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  font-weight: 400;
  transition: all .2s;
  border-left: 3px solid transparent;
}

.admin-nav-link i { width: 18px; font-size: 1rem; color: rgba(212,175,55,.6); }

.admin-nav-link:hover,
.admin-nav-link.active {
  color: var(--gs-gold);
  background: rgba(212,175,55,.08);
  border-left-color: var(--gs-gold);
}

.admin-nav-link.active i { color: var(--gs-gold); }

.admin-main {
  margin-left: 250px;
  min-height: 100vh;
  background: #f4f6f9;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-content { padding: 1.75rem; flex: 1; }

.admin-stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-stat-card.red   { border-color: var(--gs-red); }
.admin-stat-card.gold  { border-color: var(--gs-gold); }
.admin-stat-card.green { border-color: #22c55e; }
.admin-stat-card.blue  { border-color: #3b82f6; }

.admin-stat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.admin-stat-card.red  .admin-stat-icon { background: rgba(139,0,0,.1);  color: var(--gs-red); }
.admin-stat-card.gold .admin-stat-icon { background: rgba(212,175,55,.12); color: var(--gs-gold-dark); }
.admin-stat-card.green .admin-stat-icon { background: rgba(34,197,94,.1); color: #16a34a; }
.admin-stat-card.blue  .admin-stat-icon { background: rgba(59,130,246,.1); color: #2563eb; }

.admin-stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gs-text);
  line-height: 1;
}

.admin-stat-label { font-size: .8rem; color: var(--gs-muted); }

.admin-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.admin-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
}

.admin-card-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gs-red-dark);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.admin-card-title i { color: var(--gs-gold-dark); }
.admin-card-body { padding: 1.25rem; }

/* ── Admin Table ── */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gs-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: .75rem 1rem;
  border-bottom: 2px solid #e9ecef;
  background: #fafafa;
}
.admin-table td {
  padding: .85rem 1rem;
  font-size: .88rem;
  color: var(--gs-text);
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.admin-table tr:hover td { background: #fafafa; }
.admin-table tr:last-child td { border-bottom: none; }

/* ── Admin Form ── */
.admin-form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}

.admin-form-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gs-text);
  margin-bottom: .3rem;
}

/* ── Badges ── */
.badge-published { background: rgba(34,197,94,.12); color: #16a34a; }
.badge-draft     { background: rgba(107,114,128,.1); color: #4b5563; }
.badge-featured  { background: rgba(212,175,55,.15); color: var(--gs-gold-dark); }

/* ================================================================
   CONTACT PAGE
================================================================ */
.contact-info-card {
  background: linear-gradient(135deg, var(--gs-red-dark), var(--gs-red));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
  height: 100%;
}

.contact-info-card h4 { color: var(--gs-gold); font-weight: 600; }

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 44px; height: 44px;
  background: rgba(212,175,55,.15);
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gs-gold);
  flex-shrink: 0;
}

.contact-item-body .label { font-size: .75rem; color: rgba(255,255,255,.6); margin-bottom: .15rem; }
.contact-item-body .value { font-size: .92rem; font-weight: 500; }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gs-border);
}

/* ================================================================
   BREADCRUMB
================================================================ */
.page-header {
  background: linear-gradient(135deg, var(--gs-red-dark), var(--gs-red));
  padding: 2.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4af37' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 { color: #fff; font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); }

.breadcrumb-item a { color: var(--gs-gold) !important; }
.breadcrumb-item.active { color: rgba(255,255,255,.7) !important; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4) !important; }

/* ================================================================
   PAGINATION
================================================================ */
.pagination .page-link {
  color: var(--gs-red-dark);
  border-radius: 8px;
  margin: 0 2px;
  border-color: rgba(139,0,0,.15);
  font-size: .85rem;
}
.pagination .page-link:hover { background: var(--gs-red-dark); color: #fff; border-color: var(--gs-red-dark); }
.pagination .page-item.active .page-link { background: var(--gs-red-dark); border-color: var(--gs-red-dark); }

/* ================================================================
   UTILITIES
================================================================ */
.text-gold      { color: var(--gs-gold) !important; }
.text-gold-dark { color: var(--gs-gold-dark) !important; }
.text-red       { color: var(--gs-red) !important; }
.text-red-dark  { color: var(--gs-red-dark) !important; }
.bg-red         { background: var(--gs-red) !important; }
.bg-red-dark    { background: var(--gs-red-dark) !important; }

.gradient-text {
  background: linear-gradient(135deg, var(--gs-gold), var(--gs-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider-gold {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gs-gold), transparent);
  border: none;
}

.card-hover {
  transition: all .3s;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md) !important;
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp .5s ease forwards; }

/* ── Auth ── */
.auth-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--gs-red-dark) 0%, #3d0000 50%, var(--gs-red) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}

.auth-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 992px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
  }
  .hero-stats { gap: 1.2rem; }
}

@media (max-width: 768px) {
  .hero-section { min-height: auto; padding: 3rem 0; }
  .hero-img-wrap { display: none; }
  .news-card { flex-direction: column; }
  .news-card-img { width: 100%; height: 140px; }
  .admin-content { padding: 1rem; }
  .contact-form-card, .contact-info-card { padding: 1.5rem; }
}

@media (max-width: 576px) {
  .hero-stats { gap: 1rem; }
  .hero-stat .stat-number { font-size: 1.4rem; }
  .auth-card { padding: 2rem 1.5rem; }
}
