/* ==========================================================================
   WTR SkillHub & Academy - Design Tokens & Stylesheet (v2.5.0)
   Project: 11_การจัดการน้ำ_WTR (Road 2569)
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #070913;
  --bg-secondary: #0e1322;
  --bg-card: rgba(19, 27, 46, 0.75);
  --bg-card-hover: rgba(28, 39, 66, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  --neon-cyan: #00f2fe;
  --electric-blue: #4facfe;
  --vibrant-purple: #7928ca;
  --neon-pink: #ff007f;
  --gold: #fbbf24;
  --success: #10b981;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Gradients */
  --grad-main: linear-gradient(135deg, var(--neon-cyan) 0%, var(--electric-blue) 50%, var(--vibrant-purple) 100%);
  --grad-purple-pink: linear-gradient(135deg, var(--vibrant-purple) 0%, var(--neon-pink) 100%);
  --grad-gold: linear-gradient(135deg, #f59e0b 0%, var(--gold) 100%);
  --grad-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  /* Borders */
  --border-std: 1px solid rgba(255, 255, 255, 0.1);
  --border-glow-cyan: 1px solid rgba(0, 242, 254, 0.4);
  --border-glow-purple: 1px solid rgba(121, 40, 202, 0.4);
  
  /* Shadows & Glows */
  --shadow-cyan-glow: 0 0 25px rgba(0, 242, 254, 0.25);
  --shadow-purple-glow: 0 0 25px rgba(121, 40, 202, 0.30);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-text-glow: 0 0 10px rgba(0, 242, 254, 0.5);
  
  /* Fonts */
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Orbitron', sans-serif;
}

/* Base Reset & Layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-primary);
  background-image: radial-gradient(circle at 50% -20%, rgba(121, 40, 202, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 10% 40%, rgba(0, 242, 254, 0.06) 0%, transparent 40%);
  color: var(--text-primary);
  font-family: var(--font-family);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
header {
  border-bottom: var(--border-std);
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.logo span {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.8rem;
  align-items: center;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.nav-item:hover, .nav-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.nav-item.active {
  border-bottom: 2px solid var(--neon-cyan);
}

/* User & Controls Header Section */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Language Switcher Capsule Button */
.lang-btn {
  background: rgba(13, 17, 34, 0.8);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: var(--neon-cyan);
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s ease;
}

.lang-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  box-shadow: var(--shadow-cyan-glow);
  transform: translateY(-1px);
}

/* Quota & Role Badges */
.quota-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.35rem 0.65rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.user-role-label {
  padding: 0.35rem 0.65rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.role-free {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.role-pro, .role-vip {
  background: rgba(251, 191, 36, 0.15);
  color: var(--gold);
  border: 1px solid var(--gold);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.2);
}

.role-admin {
  background: rgba(255, 0, 127, 0.15);
  color: var(--neon-pink);
  border: 1px solid var(--neon-pink);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.25);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-main);
  color: #070913;
  box-shadow: var(--shadow-cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
}

.btn-gold {
  background: var(--grad-gold);
  color: #070913;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: var(--border-std);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  border-radius: 6px;
}

/* Screens */
.screen {
  display: none;
}

.screen.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
  max-width: 950px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.gradient-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 780px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Filters & Search */
.academy-filters {
  margin: 2rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3.2rem;
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-cyan-glow);
}

/* Category Bundle Tabs */
.category-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 242, 254, 0.3) transparent;
}

.category-tab {
  background: rgba(19, 27, 46, 0.6);
  border: var(--border-std);
  color: var(--text-secondary);
  padding: 0.55rem 1.1rem;
  border-radius: 30px;
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.category-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.category-tab.active {
  color: #070913;
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

/* News Section (Blogger Feed) */
.news-section {
  margin: 1.5rem 0 2.5rem;
  padding: 1.5rem;
  border: var(--border-std);
  border-radius: var(--radius-lg);
  background: rgba(13, 17, 34, 0.65);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.news-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-cyan-glow);
}

.news-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #1e293b;
}

.news-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.news-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

/* Course Grid (Exactly 3 columns desktop) */
.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .course-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Course Card */
.course-card {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8), var(--shadow-cyan-glow);
}

.card-media {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #0f172a;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.badge-code {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.badge-status {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

.badge-free {
  background: var(--success);
  color: #070913;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.badge-locked {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
}

.badge-unlocked {
  background: var(--gold);
  color: #070913;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

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

.course-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.4;
  min-height: 2.8rem;
}

.course-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price-current {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gold);
}

.price-old {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Detail Screen & Dual-Mode Viewer */
.detail-header {
  margin-bottom: 1.5rem;
}

.back-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.back-btn:hover {
  color: var(--neon-cyan);
}

.dual-tab-switcher {
  display: flex;
  gap: 0.6rem;
  margin: 1.2rem 0;
  border-bottom: var(--border-std);
  padding-bottom: 0.8rem;
}

.tab-btn {
  background: rgba(19, 27, 46, 0.6);
  border: var(--border-std);
  color: var(--text-secondary);
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active-video {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: var(--shadow-cyan-glow);
}

.tab-btn.active-ebook {
  background: rgba(251, 191, 36, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.25);
}

/* 16:9 Video Wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: var(--border-std);
  background: #000;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Ebook Reader Layout */
.reader-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (min-width: 900px) {
  .reader-layout {
    grid-template-columns: 280px 1fr;
  }
}

.chapter-sidebar {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.chapter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chapter-item {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.chapter-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.chapter-item.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  font-weight: 700;
  box-shadow: var(--shadow-cyan-glow);
}

.ebook-reader {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-height: 450px;
}

.ebook-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #e2e8f0;
}

.ebook-body h1, .ebook-body h2, .ebook-body h3, .ebook-body h4 {
  font-family: var(--font-heading);
  color: #fff;
  margin: 1.5rem 0 0.8rem;
}

.ebook-body h2 {
  color: var(--neon-cyan);
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
  padding-bottom: 0.4rem;
}

.ebook-body p {
  margin-bottom: 1rem;
}

.ebook-body ul, .ebook-body ol {
  margin: 0.8rem 0 1.2rem 1.5rem;
}

.ebook-body li {
  margin-bottom: 0.4rem;
}

.ebook-body code, .prompt-box {
  background: #090d1a;
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: monospace;
  font-size: 0.9rem;
  color: #67e8f9;
  display: block;
  margin: 1rem 0;
  white-space: pre-wrap;
  word-break: break-word;
}

/* AI Playground */
.playground-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .playground-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.playground-card {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(7, 9, 19, 0.7);
  border: var(--border-std);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-family);
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-cyan-glow);
}

.output-container {
  background: #080c18;
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

/* User Dashboard & NotebookLM Banner */
.notebooklm-banner {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(121, 40, 202, 0.25) 100%);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.15);
}

.notebooklm-info h3 {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-family: var(--font-heading);
}

.notebooklm-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Pricing Grid in Payment Modal */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.2rem 0;
}

.price-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.price-card:hover, .price-card.selected {
  border-color: var(--gold);
  background: rgba(251, 191, 36, 0.1);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.qr-box {
  background: rgba(0, 0, 0, 0.4);
  border: var(--border-std);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-top: 1rem;
}

.qr-img {
  width: 190px;
  height: 190px;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  transition: transform 0.2s ease;
  background: #fff;
  padding: 6px;
}

.qr-img:hover {
  transform: scale(1.03);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #0d1222;
  border: var(--border-std);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

/* Google Login Button */
.btn-google-login {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 11px;
  background: #ffffff;
  color: #374151;
  font-family: var(--font-family);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-google-login:hover {
  background: #f9fafb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #0f172a;
  border: 1px solid var(--neon-cyan);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-cyan-glow);
  z-index: 2000;
  font-size: 0.9rem;
  font-weight: 600;
  animation: slideUp 0.3s ease;
}

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

/* ==========================================================================
   Disclaimer & Terms of Use Standards (Road 2569 - WTR SkillHub)
   ========================================================================== */

/* Course Detail Alert Banner (Golden Box) */
.disclaimer-alert-banner {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #fef08a;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.08);
}

.disclaimer-alert-banner a {
  color: var(--neon-cyan);
  text-decoration: underline;
  font-weight: 700;
  cursor: pointer;
}

.disclaimer-alert-banner a:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--neon-cyan);
}

/* Payment Modal Disclaimer Checkbox */
.disclaimer-checkbox-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px dashed rgba(0, 242, 254, 0.35);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 1.2rem;
  text-align: left;
}

/* Disclaimer Screen & Standalone Page Components */
.disclaimer-card {
  background: rgba(13, 18, 34, 0.85);
  border: var(--border-std);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  position: relative;
}

.disclaimer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.disclaimer-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.disclaimer-subtitle {
  color: var(--neon-cyan);
  font-size: 0.95rem;
  font-weight: 600;
}

.disclaimer-item {
  background: rgba(19, 27, 46, 0.65);
  border-left: 3px solid var(--neon-cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.3rem;
  transition: all 0.3s ease;
}

.disclaimer-item:hover {
  background: rgba(19, 27, 46, 0.95);
  border-left-color: var(--gold);
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.disclaimer-item-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.disclaimer-item-content {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Global Site Footer */
.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 1.5rem 2rem;
  background: rgba(7, 9, 19, 0.92);
  border-top: var(--border-std);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.footer-link-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link-btn:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--neon-cyan);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 242, 254, 0.2);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

