/* ===== Crimson Hosting — Design System ===== */
:root {
  --crimson: #e8222a;
  --crimson-dark: #b8181f;
  --crimson-glow: rgba(232, 34, 42, 0.35);
  --crimson-subtle: rgba(232, 34, 42, 0.12);
  --bg: #080808;
  --bg-elevated: #111111;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(232, 34, 42, 0.4);
  --text: #f5f5f5;
  --text-muted: #888888;
  --text-dim: #555555;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --transition: 0.2s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--crimson); text-decoration: none; transition: color var(--transition); }
a:hover { color: #ff4d54; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-muted { color: var(--text-muted); }
.gradient-text {
  background: linear-gradient(135deg, var(--crimson) 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 0 20px var(--crimson-glow);
}
.btn-primary:hover {
  background: #ff2d35;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 28px var(--crimson-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--crimson);
  color: var(--crimson);
  background: var(--crimson-subtle);
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.logo-accent { color: var(--crimson); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: all var(--transition);
  text-decoration: none;
  font-family: var(--font);
}

.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-radius: 8px;
  text-decoration: none;
}
.dropdown-menu a:hover { background: var(--crimson-subtle); color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.currency-toggle {
  display: flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.currency-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.currency-btn.active {
  background: var(--crimson);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--crimson-glow) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(232,34,42,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 80px 24px 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--crimson-subtle);
  border: 1px solid rgba(232,34,42,0.25);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--crimson);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-subtitle strong { color: var(--crimson); }

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.trusted-by {
  position: relative;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.trusted-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dim);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--crimson);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* ===== Games ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.game-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.game-card.available {
  border-color: rgba(232,34,42,0.3);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(232,34,42,0.05) 100%);
}

.game-card.available:hover {
  border-color: var(--crimson);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--crimson-glow);
}

.game-card.coming-soon { opacity: 0.6; }

.game-icon { font-size: 2rem; flex-shrink: 0; }

.game-status {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.game-card.available .game-status { color: #4ade80; }
.game-card.coming-soon .game-status { color: var(--text-dim); }

.game-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.game-info p { font-size: 0.85rem; color: var(--text-muted); }
.game-price {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--crimson);
}

.games-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Locations ===== */
.locations { background: var(--bg-elevated); }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.location-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  cursor: default;
}

.location-card:hover { border-color: var(--border-hover); }

.location-flag { font-size: 2.5rem; margin-bottom: 12px; }
.location-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.location-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }

.location-ping {
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.location-ping.excellent { color: #4ade80; }
.location-ping.okay { color: #facc15; }
.location-ping.high { color: #f87171; }

.locations .btn { display: block; margin: 0 auto 24px; }

.ping-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.legend-dot.excellent { background: #4ade80; }
.legend-dot.okay { background: #facc15; }
.legend-dot.high { background: #f87171; }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.feature-card-wide { grid-column: span 3; }

.feature-icon { font-size: 2rem; margin-bottom: 16px; }

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== Pricing ===== */
.pricing { background: var(--bg-elevated); }

.pricing-highlight {
  text-align: center;
  margin-bottom: 48px;
  padding: 32px;
  background: var(--crimson-subtle);
  border: 1px solid rgba(232,34,42,0.25);
  border-radius: var(--radius-lg);
}

.pricing-rate {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.rate-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--crimson);
}

.rate-unit {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.carousel-btn:hover {
  border-color: var(--crimson);
  background: var(--crimson-subtle);
  color: var(--crimson);
}

.pricing-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 16px;
  flex: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.pricing-track::-webkit-scrollbar { display: none; }

.plan-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
}

.plan-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.plan-card.popular {
  border-color: var(--crimson);
  background: linear-gradient(180deg, rgba(232,34,42,0.08) 0%, var(--bg-card) 40%);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--crimson);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-ram {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--crimson);
  margin-bottom: 4px;
}

.plan-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 40px;
}

.plan-specs {
  list-style: none;
  margin-bottom: 24px;
}

.plan-specs li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.plan-specs li:last-child { border-bottom: none; }
.plan-specs .spec-label { color: var(--text-muted); }
.plan-specs .spec-value { font-weight: 600; }

.plan-card .btn { width: 100%; }

.pricing-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 32px;
}

/* ===== Reviews ===== */
.reviews-carousel { overflow: hidden; }

.reviews-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.review-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--crimson-subtle);
  border: 1px solid rgba(232,34,42,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--crimson);
  flex-shrink: 0;
}

.review-author strong { display: block; font-size: 0.9rem; }
.review-author span { font-size: 0.8rem; color: var(--text-dim); }

/* ===== FAQ ===== */
.faq { background: var(--bg-elevated); }

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: color var(--transition);
}

.faq-question:hover { color: var(--crimson); }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
  color: var(--crimson);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, var(--crimson-glow) 0%, transparent 70%);
}

.cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px 0;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-social a:hover { color: var(--crimson); }

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 4px 0;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 16px;
  }
  .mobile-menu-btn { display: flex; }
  .currency-toggle { display: none; }

  .locations-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .carousel-btn { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
