@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* ================================
   ROOT & RESET
================================ */
:root {
  --primary: #386fdc;
  --primary-dark: #2152b5;
  --primary-light: #89affa;
  --accent: #06b6d4;
  --bg: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-card2: #16162a;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: #2d2d4e;
  --success: #10b981;
  --danger: #ef4444;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(56, 111, 220, 0.15);
  --transition: 0.3s ease;
  --nav-height: 68px;
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Quicksand', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ================================
   UTILITY
================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ================================
   BUTTONS
================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 111, 220, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border-color: var(--primary-light);
}
.btn-outline:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* ================================
   NAVBAR
================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background var(--transition);
}
.navbar.scrolled { background: rgba(15, 15, 26, 0.98); }

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-logo .vtnt {
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.6), 0 0 20px rgba(0, 255, 255, 0.3);
  font-weight: 900;
  letter-spacing: -1px;
}
.nav-logo .games {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.nav-logo:hover .vtnt {
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.8), 0 0 30px rgba(0, 255, 255, 0.5);
}
.nav-logo:hover .games {
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary-light);
  transition: width var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 4px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================
   HERO
================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 4rem;
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(56, 111, 220, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(56, 111, 220, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.2rem;
}
.hero-title .logo-title {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.hero-title .vtnt {
  background: linear-gradient(135deg, #00ffff, #00dddd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3));
  font-weight: 900;
}
.hero-title .games {
  background: linear-gradient(135deg, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.2));
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-badge {
  font-size: 6rem;
  position: absolute;
  right: 8vw;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.07;
  user-select: none;
  pointer-events: none;
  animation: floatBadge 5s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(-50%) rotate(-5deg); }
  50% { transform: translateY(calc(-50% - 18px)) rotate(5deg); }
}

/* ================================
   STATS BANNER
================================ */
.stats-banner {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 1rem;
}
.stat-item { padding: 0.5rem; }
.stat-item .stat-number {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item span { font-size: 1.4rem; font-weight: 700; color: var(--primary-light); }
.stat-item p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.25rem; }

/* ================================
   ABOUT
================================ */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.about-text p { color: var(--text-muted); margin-bottom: 0.75rem; }

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: transform var(--transition), border-color var(--transition);
}
.about-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.about-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.about-card h4 { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 0.4rem; }
.about-card p { font-size: 0.87rem; color: var(--text-muted); }

/* ================================
   FEATURES
================================ */
.features { background: var(--bg-card2); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; font-weight: 600; color: #fff; margin-bottom: 0.6rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ================================
   GAMES
================================ */
.games { background: var(--bg); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.games-grid.games-single {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.game-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow); }
.game-card.featured-game {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(56, 111, 220, 0.2);
}

.game-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}
.games-grid.games-single .game-thumb { height: 280px; }
.roblox-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #cf1d1d, #ff4444);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(207, 29, 29, 0.4);
}
.game-info { padding: 1.2rem; }
.game-info h4 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.game-tag {
  display: inline-block;
  background: rgba(56, 111, 220, 0.2);
  color: var(--primary-light);
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.game-info p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.6rem; }
.game-rating { color: #f59e0b; font-size: 1rem; letter-spacing: 1px; margin-bottom: 0.8rem; }

.rating-bars { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.4rem; }
.rating-bar { width: 36px; height: 8px; background: rgba(137, 175, 250, 0.15); border-radius: 4px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: #89affa; border-radius: 4px; }
.rating-text { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; margin-bottom: 0.8rem; }
.rating-text .rating-pct { color: #89affa; font-size: 1.05rem; font-weight: 700; }

.game-stats { display: flex; gap: 1.2rem; margin-bottom: 0.8rem; }
.game-stat-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--text-muted); }
.game-stat-item i { color: #89affa; font-size: 0.9rem; }

.game-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* ================================
   CONTACT
================================ */
.contact { background: var(--bg-card2); }

.contact-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-message {
  margin-bottom: 3rem;
}

.contact-message h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-message p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.social-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
  background: rgba(56, 111, 220, 0.1);
}

.social-card i {
  font-size: 2.5rem;
  color: var(--primary-light);
  margin-bottom: 1rem;
  transition: color var(--transition);
}

.social-card:hover i {
  color: #fff;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.social-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.social-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Discord */
.social-card:nth-child(1):hover i { color: #5865F2; }
/* X (Twitter) */
.social-card:nth-child(2):hover i { color: #000; }
/* YouTube */
.social-card:nth-child(3):hover i { color: #FF0000; }
/* GitHub */
.social-card:nth-child(4):hover i { color: #ffffff; }
/* Roblox */
.social-card:nth-child(5):hover i { color: #ff0000; }
/* Email */
.social-card:nth-child(6):hover i { color: #00ffff; }

.contact-info h3 { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
.info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.info-item span { font-size: 1.3rem; }
.social-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.social-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ================================
   FOOTER
================================ */
.footer {
  background: #0a0a14;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .nav-logo {
  display: inline-flex;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 240px; }
.footer-links h4 { color: #fff; font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ================================
   BACK TO TOP
================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(56, 111, 220, 0.4);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-banner { grid-template-columns: repeat(2, 1fr); }
  .hero-badge { display: none; }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(15, 15, 26, 0.98);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-banner { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
