/* ============================================================
   TIMETORIOT — Main Stylesheet
   riot-style.css
   ============================================================ */

:root {
  --riot-green: #5ff5aa;
  --riot-green-dark: #3dd18a;
  --riot-green-glow: rgba(95, 245, 170, 0.15);
  --riot-black: #0a0a0a;
  --riot-dark: #111214;
  --riot-darker: #0d0f11;
  --riot-surface: #161a1e;
  --riot-surface-2: #1e2228;
  --riot-border: rgba(255,255,255,0.07);
  --riot-border-hover: rgba(95, 245, 170, 0.3);
  --riot-text: #f0f0f0;
  --riot-text-muted: #8a9099;
  --riot-text-dim: #5a6070;
  --riot-white: #ffffff;
  --riot-font-display: 'Sofia Pro', 'DM Sans', 'Outfit', sans-serif;
  --riot-font-body: 'Sofia Pro', 'DM Sans', system-ui, sans-serif;
  --riot-radius: 12px;
  --riot-radius-lg: 20px;
  --riot-radius-xl: 32px;
  --riot-shadow: 0 4px 24px rgba(0,0,0,0.4);
  --riot-shadow-green: 0 0 40px rgba(95,245,170,0.12);
  --riot-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--riot-font-body);
  background: var(--riot-black);
  color: var(--riot-text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ──────────────────────────────── */
.riot-display-xl {
  font-size: clamp(3rem, 8vw, 5.5px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.riot-display-lg {
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.riot-display-md {
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.riot-heading {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.3;
}
.riot-body-lg {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}
.riot-body {
  font-size: 1rem;
  line-height: 1.7;
}
.riot-caption {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

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

/* ── LAYOUT ──────────────────────────────────── */
.riot-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.riot-section {
  padding: clamp(60px, 10vw, 120px) 0;
}

.riot-section-sm {
  padding: clamp(40px, 6vw, 80px) 0;
}

/* ── BUTTONS ─────────────────────────────────── */
.riot-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--riot-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: var(--riot-transition);
  text-decoration: none;
  border: none;
  outline: none;
}

.riot-btn-primary {
  background: var(--riot-green);
  color: var(--riot-black);
}
.riot-btn-primary:hover {
  background: var(--riot-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(95,245,170,0.3);
}

.riot-btn-outline {
  background: transparent;
  color: var(--riot-green);
  border: 1.5px solid var(--riot-green);
}
.riot-btn-outline:hover {
  background: var(--riot-green);
  color: var(--riot-black);
  transform: translateY(-2px);
}

.riot-btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--riot-text);
  border: 1px solid var(--riot-border);
}
.riot-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.riot-btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
  border-radius: 10px;
}

.riot-btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

/* ── NAVBAR ──────────────────────────────────── */
#riot-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--riot-transition);
}

#riot-navbar.riot-scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--riot-border);
}

.riot-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.riot-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--riot-white);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.riot-logo span {
  color: var(--riot-green);
}

.riot-logo-dot {
  width: 8px;
  height: 8px;
  background: var(--riot-green);
  border-radius: 50%;
  animation: riot-pulse 2s infinite;
}

@keyframes riot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.riot-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.riot-nav-links a {
  color: var(--riot-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--riot-transition);
  position: relative;
}

.riot-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--riot-green);
  transition: width 0.3s ease;
}

.riot-nav-links a:hover {
  color: var(--riot-text);
}

.riot-nav-links a:hover::after {
  width: 100%;
}

.riot-nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.riot-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.riot-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--riot-text);
  transition: var(--riot-transition);
}

/* ── CARDS ───────────────────────────────────── */
.riot-card {
  background: var(--riot-surface);
  border: 1px solid var(--riot-border);
  border-radius: var(--riot-radius-lg);
  overflow: hidden;
  transition: var(--riot-transition);
}

.riot-card:hover {
  border-color: var(--riot-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--riot-shadow-green);
}

.riot-card-body {
  padding: 28px;
}

/* ── BADGES ──────────────────────────────────── */
.riot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.riot-badge-green {
  background: rgba(95, 245, 170, 0.12);
  color: var(--riot-green);
  border: 1px solid rgba(95, 245, 170, 0.25);
}

.riot-badge-white {
  background: rgba(255,255,255,0.08);
  color: var(--riot-text);
  border: 1px solid var(--riot-border);
}

.riot-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ── TAGS ────────────────────────────────────── */
.riot-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--riot-surface-2);
  border: 1px solid var(--riot-border);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--riot-text-muted);
  transition: var(--riot-transition);
}

.riot-tag:hover {
  border-color: var(--riot-green);
  color: var(--riot-green);
}

/* ── DIVIDERS ────────────────────────────────── */
.riot-divider {
  height: 1px;
  background: var(--riot-border);
  border: none;
  margin: 0;
}

.riot-section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.riot-section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--riot-green);
}

/* ── FORMS ───────────────────────────────────── */
.riot-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--riot-surface);
  border: 1px solid var(--riot-border);
  border-radius: var(--riot-radius);
  color: var(--riot-text);
  font-family: var(--riot-font-body);
  font-size: 0.95rem;
  transition: var(--riot-transition);
  outline: none;
}

.riot-input:focus {
  border-color: var(--riot-green);
  box-shadow: 0 0 0 3px rgba(95, 245, 170, 0.08);
}

.riot-input::placeholder {
  color: var(--riot-text-dim);
}

.riot-textarea {
  resize: vertical;
  min-height: 140px;
}

.riot-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--riot-text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.riot-form-group {
  margin-bottom: 20px;
}

.riot-field-error {
  font-size: 0.8rem;
  color: #ff6b6b;
  margin-top: 6px;
  display: none;
}

.riot-field-error.riot-visible {
  display: block;
}

/* ── FOOTER ──────────────────────────────────── */
#riot-footer {
  background: var(--riot-darker);
  border-top: 1px solid var(--riot-border);
  padding: 80px 0 40px;
}

.riot-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.riot-footer-brand p {
  color: var(--riot-text-muted);
  font-size: 0.9rem;
  margin: 16px 0 24px;
  max-width: 300px;
}

.riot-footer-social {
  display: flex;
  gap: 12px;
}

.riot-social-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--riot-surface);
  border: 1px solid var(--riot-border);
  border-radius: 8px;
  color: var(--riot-text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--riot-transition);
}

.riot-social-icon:hover {
  border-color: var(--riot-green);
  color: var(--riot-green);
}

.riot-footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--riot-text-muted);
  margin-bottom: 20px;
}

.riot-footer-col ul {
  list-style: none;
}

.riot-footer-col ul li {
  margin-bottom: 12px;
}

.riot-footer-col ul li a {
  color: var(--riot-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--riot-transition);
}

.riot-footer-col ul li a:hover {
  color: var(--riot-green);
  padding-left: 4px;
}

.riot-footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--riot-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.riot-footer-bottom p {
  font-size: 0.82rem;
  color: var(--riot-text-dim);
}

.riot-footer-legal {
  display: flex;
  gap: 20px;
}

.riot-footer-legal a {
  font-size: 0.82rem;
  color: var(--riot-text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

.riot-footer-legal a:hover {
  color: var(--riot-green);
}

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

/* ── LOADING ─────────────────────────────────── */
#riot-page-loader {
  position: fixed;
  inset: 0;
  background: var(--riot-black);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#riot-page-loader.riot-loaded {
  opacity: 0;
  visibility: hidden;
}

.riot-loader-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--riot-white);
  letter-spacing: -0.03em;
  animation: riot-loader-pulse 1.2s ease infinite;
}

.riot-loader-logo span { color: var(--riot-green); }

@keyframes riot-loader-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── BREADCRUMB ──────────────────────────────── */
.riot-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--riot-text-dim);
  margin-bottom: 32px;
}

.riot-breadcrumb a {
  color: var(--riot-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.riot-breadcrumb a:hover { color: var(--riot-green); }
.riot-breadcrumb-sep { color: var(--riot-text-dim); }

/* ── PAGE HERO ───────────────────────────────── */
.riot-page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.riot-page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(95,245,170,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── IMAGES ──────────────────────────────────── */
.riot-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.riot-img-rounded {
  border-radius: var(--riot-radius-lg);
}

/* ── STAT CARDS ──────────────────────────────── */
.riot-stat-card {
  background: var(--riot-surface);
  border: 1px solid var(--riot-border);
  border-radius: var(--riot-radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--riot-transition);
}

.riot-stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--riot-green);
  line-height: 1;
  margin-bottom: 8px;
}

.riot-stat-label {
  font-size: 0.85rem;
  color: var(--riot-text-muted);
  letter-spacing: 0.02em;
}

/* ── MOBILE MENU ─────────────────────────────── */
.riot-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.riot-mobile-menu.riot-open {
  display: flex;
}

.riot-mobile-menu a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--riot-text);
  text-decoration: none;
  transition: color 0.2s;
}

.riot-mobile-menu a:hover { color: var(--riot-green); }

.riot-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--riot-text-muted);
}

/* ── SCROLLBAR ───────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--riot-dark); }
::-webkit-scrollbar-thumb { background: var(--riot-surface-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--riot-text-dim); }

/* ── SELECTION ───────────────────────────────── */
::selection {
  background: rgba(95,245,170,0.2);
  color: var(--riot-white);
}

/* ── GLASS CARD ──────────────────────────────── */
.riot-glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ── GRADIENT TEXT ───────────────────────────── */
.riot-gradient-text {
  background: linear-gradient(135deg, #5ff5aa 0%, #a8ffdb 50%, #5ff5aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── HIGHLIGHT BLOCK ─────────────────────────── */
.riot-highlight {
  background: rgba(95,245,170,0.06);
  border-left: 3px solid var(--riot-green);
  padding: 20px 24px;
  border-radius: 0 var(--riot-radius) var(--riot-radius) 0;
  margin: 24px 0;
}

/* ── ACCORDION ───────────────────────────────── */
.riot-accordion-item {
  border-bottom: 1px solid var(--riot-border);
}

.riot-accordion-trigger {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--riot-text);
  font-family: var(--riot-font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.riot-accordion-trigger:hover { color: var(--riot-green); }

.riot-accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--riot-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
  transition: var(--riot-transition);
}

.riot-accordion-trigger[aria-expanded="true"] .riot-accordion-icon {
  transform: rotate(45deg);
  border-color: var(--riot-green);
  color: var(--riot-green);
}

.riot-accordion-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
}

.riot-accordion-body-inner {
  padding-bottom: 20px;
  color: var(--riot-text-muted);
  font-size: 0.95rem;
}

/* ── PROGRESS BAR ────────────────────────────── */
.riot-progress {
  height: 4px;
  background: var(--riot-surface-2);
  border-radius: 2px;
  overflow: hidden;
}

.riot-progress-bar {
  height: 100%;
  background: var(--riot-green);
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}

/* ── READING PROGRESS ────────────────────────── */
#riot-read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--riot-green);
  z-index: 2000;
  transition: width 0.1s;
}


.logo{
  max-width: 60px;
  object-fit: contain;
}