:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #12122a;
  --bg-card: rgba(255,255,255,0.03);
  --text-primary: #e8e8f0;
  --text-secondary: #8888aa;
  --accent-primary: #00ff88;
  --accent-secondary: #00ccff;
  --accent-glow: rgba(0,255,136,0.3);
  --border-color: rgba(255,255,255,0.06);
  --danger: #ff4444;
  --success: #00ff88;
  --warning: #ffbb00;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-primary); border-radius: 3px; }

.glass {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--accent-primary), #00cc6a); color: var(--bg-primary); }
.btn-primary:hover { box-shadow: 0 0 30px var(--accent-glow); }
.btn-secondary { background: transparent; color: var(--accent-primary); border: 2px solid var(--accent-primary); }
.btn-secondary:hover { background: var(--accent-primary); color: var(--bg-primary); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { box-shadow: 0 0 20px rgba(255,68,68,0.4); }
.btn-google { background: white; color: #333; }
.btn-google:hover { box-shadow: 0 0 20px rgba(255,255,255,0.2); }
.btn-full { width: 100%; justify-content: center; }
.btn-large { padding: 16px 40px; font-size: 18px; }
.glow { animation: glowPulse 3s infinite; }
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,255,136,0.2); }
  50% { box-shadow: 0 0 40px rgba(0,255,136,0.4); }
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.badge-admin { background: var(--accent-primary); color: var(--bg-primary); }
.badge-user { background: var(--accent-secondary); color: var(--bg-primary); }
.badge-success { background: var(--success); color: var(--bg-primary); }

.text-muted { color: var(--text-secondary); }

.loader {
  text-align: center;
  padding: 40px;
  color: var(--text-secondary);
  font-size: 18px;
}
.loader i { margin-right: 10px; color: var(--accent-primary); }

.form-group { margin-bottom: 20px; position: relative; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.form-group label i { margin-right: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-main);
  transition: all 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-glow);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-secondary); color: var(--text-primary); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.toggle-password {
  position: absolute;
  right: 16px;
  bottom: 14px;
  cursor: pointer;
  color: var(--text-secondary);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(10,10,26,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-logo i { color: var(--accent-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent-primary); background: rgba(0,255,136,0.1); }
.nav-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--text-primary); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 20px 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,255,136,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(0,204,255,0.06) 0%, transparent 50%);
}
.hero-content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 1;
}
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent-primary);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 16px; color: var(--text-secondary); margin-top: 4px; display: block; }

/* Sections */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; }
.section-header p { color: var(--text-secondary); font-size: 18px; }

/* Course filters */
.course-filters, .blog-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.search-input {
  padding: 12px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  min-width: 250px;
  transition: all 0.3s ease;
}
.search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px var(--accent-glow);
}
.filter-select {
  padding: 12px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  cursor: pointer;
}
.filter-select option { background: var(--bg-secondary); }

/* Course cards */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}
.course-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: 0 20px 60px rgba(0,255,136,0.1);
}
.course-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}
.course-card-body { padding: 20px; }
.course-card-body h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.course-card-body p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-secondary); }
.course-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-primary);
}
.course-price.free { color: var(--warning); }

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s ease;
}
.blog-card:hover { transform: translateY(-5px); border-color: var(--accent-secondary); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-body h3 { font-size: 18px; margin-bottom: 8px; }
.blog-card-body p { color: var(--text-secondary); font-size: 14px; margin-bottom: 12px; }
.blog-card-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-secondary); }
.blog-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(0,255,136,0.1);
  color: var(--accent-primary);
  border-radius: 12px;
  font-size: 12px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}
.testimonial-card:hover { border-color: var(--accent-primary); }
.testimonial-card i.fa-quote-left { font-size: 30px; color: var(--accent-primary); margin-bottom: 16px; opacity: 0.5; }
.testimonial-card p { font-style: italic; color: var(--text-secondary); margin-bottom: 16px; }
.testimonial-card h4 { font-size: 16px; font-weight: 700; }
.testimonial-card .star-rating { color: #ffbb00; margin-top: 8px; }

/* Founder */
.founder-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  padding: 50px;
  align-items: center;
}
.founder-image img {
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius);
  border: 3px solid var(--accent-primary);
}
.founder-content h3 { font-size: 32px; font-weight: 800; margin-bottom: 4px; }
.founder-title { color: var(--accent-primary); font-weight: 600; }
.founder-content p { margin: 20px 0; color: var(--text-secondary); line-height: 1.8; }
.founder-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.founder-stats div { display: flex; align-items: center; gap: 8px; color: var(--text-primary); }
.founder-stats i { color: var(--accent-primary); }

/* Ratings */
.ratings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.rating-card {
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
}
.rating-card:hover { border-color: var(--accent-primary); }
.rating-stars { color: #ffbb00; font-size: 24px; margin-bottom: 12px; }
.rating-number { display: block; font-size: 42px; font-weight: 800; color: var(--accent-primary); margin-bottom: 8px; }
.rating-icon { font-size: 40px; color: var(--accent-primary); margin-bottom: 12px; }
.rating-card p { color: var(--text-secondary); }

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.footer-col h4 i { color: var(--accent-primary); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--accent-primary); }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s;
}
.social-links a:hover { background: var(--accent-primary); color: var(--bg-primary); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border-color); color: var(--text-secondary); font-size: 14px; }
.footer-bottom i { color: var(--danger); }

/* Auth Pages */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse at center, rgba(0,255,136,0.04) 0%, transparent 60%);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  padding: 40px;
}
.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 24px;
}
.auth-logo i { color: var(--accent-primary); }
.auth-header { text-align: center; margin-bottom: 30px; }
.auth-header h2 { font-size: 28px; font-weight: 800; }
.auth-header p { color: var(--text-secondary); margin-top: 8px; }
.auth-form { margin-bottom: 20px; }
.auth-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}
.auth-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 45%;
  height: 1px;
  background: var(--border-color);
}
.auth-divider::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 45%;
  height: 1px;
  background: var(--border-color);
}
.auth-divider span { background: var(--bg-card); padding: 0 16px; font-size: 14px; color: var(--text-secondary); }
.auth-error {
  color: var(--danger);
  font-size: 14px;
  margin-top: 12px;
  text-align: center;
  display: none;
}
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; }
.auth-footer a { color: var(--accent-primary); text-decoration: none; }
.auth-footer p { margin-bottom: 8px; }

/* Dashboard */
.dashboard-container { padding-top: 100px; min-height: 100vh; }
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}
.welcome-section h2 { font-size: 28px; font-weight: 800; }
.welcome-section h2 span { color: var(--accent-primary); }
.profile-info { display: flex; align-items: center; gap: 12px; }
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.stat-card {
  text-align: center;
  padding: 30px;
  transition: all 0.3s;
}
.stat-card:hover { border-color: var(--accent-primary); }
.stat-card i { font-size: 32px; color: var(--accent-primary); margin-bottom: 12px; }
.stat-num { display: block; font-size: 32px; font-weight: 800; color: var(--accent-primary); }
.stat-card span:last-child { color: var(--text-secondary); }

.purchased-courses h3, .recent-pdfs h3 { font-size: 24px; font-weight: 700; margin-bottom: 20px; }

/* Course View */
.course-view-container { padding-top: 100px; min-height: 100vh; }
.course-view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}
.course-view-info h1 { font-size: 28px; font-weight: 800; }
.course-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.course-meta span { font-size: 14px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.course-view-action { text-align: center; }
.price-tag { font-size: 32px; font-weight: 800; color: var(--accent-primary); margin-bottom: 12px; }

.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}
.section-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}
.section-header:hover { background: rgba(255,255,255,0.02); }
.section-header h4 { font-size: 16px; font-weight: 600; }
.section-header i { transition: transform 0.3s; color: var(--text-secondary); }
.section-body { padding: 0 20px 16px; display: none; }
.section-body.open { display: block; }
.pdf-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin: 6px 0;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
}
.pdf-item:hover { background: rgba(0,255,136,0.08); }
.pdf-item i { color: var(--danger); font-size: 20px; }
.pdf-item span { flex: 1; }
.pdf-item .btn-sm,
.content-item .btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.content-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin: 6px 0;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
}
.content-item:hover { background: rgba(0,255,136,0.08); }
.content-item i { color: var(--accent-tertiary); font-size: 20px; }
.content-item span { flex: 1; }

/* Locked UI */
.locked-overlay {
  position: relative;
}
.locked-overlay::after {
  content: '\f023';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--text-secondary);
  background: rgba(10,10,26,0.6);
  backdrop-filter: blur(4px);
}

/* PDF Viewer */
.pdf-viewer-container {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  z-index: 9999;
}
.pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  z-index: 10;
  border-radius: 0;
}
.toolbar-left, .toolbar-center, .toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.toolbar-title { font-size: 14px; font-weight: 600; max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toolbar-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
}
.toolbar-btn:hover { background: rgba(255,255,255,0.1); }
.toolbar-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.page-indicator, .zoom-indicator { font-size: 14px; font-weight: 600; min-width: 30px; text-align: center; }
.page-separator { color: var(--text-secondary); }

.pdf-viewport {
  flex: 1;
  overflow: auto;
  display: flex;
  justify-content: center;
  padding: 20px;
  position: relative;
}
.pdf-renderer {
  position: relative;
}
.pdf-iframe-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.pdf-watermark {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
}
.pdf-watermark span {
  position: absolute;
  white-space: nowrap;
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 28px);
  color: rgba(255, 60, 60, 0.35);
  text-shadow: 0 0 12px rgba(0,0,0,0.8);
  transform: rotate(-25deg);
  letter-spacing: 4px;
  user-select: none;
  transition: opacity 1s ease;
}
.pdf-watermark .wm-fade-in {
  opacity: 1;
}
.pdf-watermark .wm-fade-out {
  opacity: 0;
}
.pdf-watermark .wm-hidden {
  opacity: 0;
}
.pdf-iframe {
  width: 100%;
  height: calc(100% + 50px);
  border: none;
  margin-top: -50px;
}
.pdf-renderer canvas {
  display: block;
  margin: 0 auto 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border-radius: 4px;
}
.watermark-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.pdf-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-primary);
}
.pdf-loading i { color: var(--accent-primary); }

/* Disable text selection on viewer */
.pdf-viewport, .pdf-renderer {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10,10,26,0.98);
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .founder-card { grid-template-columns: 1fr; text-align: center; }
  .founder-image { display: flex; justify-content: center; }
  .founder-stats { justify-content: center; }
  .course-view-header { flex-direction: column; text-align: center; }
  .dashboard-header { flex-direction: column; text-align: center; }
  .hero-stats { gap: 30px; }
  .stat-number { font-size: 30px; }
  .pdf-toolbar { flex-wrap: wrap; gap: 8px; }
  .toolbar-title { max-width: 120px; }
  .auth-card { padding: 24px; }
}

@media (max-width: 480px) {
  .course-filters, .blog-filters { flex-direction: column; }
  .search-input { min-width: auto; }
  .courses-grid, .blog-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .ratings-grid { grid-template-columns: repeat(2, 1fr); }
}
