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

body {
  background: #050816;
  color: #f0f4ff;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  width: 100%;
  flex: 1;
}

/* ---------- HEADER / NAV ---------- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  padding: 0.75rem 0 1.5rem 0;
  border-bottom: 1px solid rgba(37, 99, 235, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* LOGO INCREASED BY 2-3X */
.brand-logo {
  width: 140px;        /* was 56px, now 2.5x */
  height: 140px;       /* was 56px, now 2.5x */
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  background: #0f172a;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  font-size: 3.8rem;     /* was 1.9rem, now 2x */
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #f0f9ff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a:hover {
  color: white;
  border-bottom-color: #3b82f6;
}

.nav-links a i {
  color: #60a5fa;
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid #3b82f6;
  padding: 0.5rem 1.4rem;
  border-radius: 40px;
  color: white;
  font-weight: 600;
  transition: 0.2s;
  text-decoration: none;
}

.btn-outline-light:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
}

/* ---------- HERO ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 0.5rem 3rem 0.5rem;
  background: radial-gradient(ellipse at 30% 20%, #1e3a8a55, #050816 80%);
  border-radius: 48px;
  margin: 2rem 0 1rem 0;
}

.hero-badge {
  background: #1e293b;
  padding: 0.4rem 1.6rem;
  border-radius: 60px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #94a3b8;
  border: 1px solid #334155;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-badge i {
  color: #3b82f6;
}

.hero h1 {
  font-size: clamp(2.8rem, 10vw, 5.6rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, #f8fafc 0%, #93c5fd 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 1000px;
}

.hero .subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: #cbd5e1;
  max-width: 700px;
  margin: 1.2rem auto 1.8rem auto;
  line-height: 1.6;
}

.hero .subtitle i {
  color: #60a5fa;
  margin: 0 0.2rem;
}

/* ---------- QR GRID ---------- */
.qr-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 4rem;
  margin-top: 2.5rem;
  background: #0f172a80;
  backdrop-filter: blur(4px);
  padding: 1.8rem 2.8rem;
  border-radius: 60px;
  border: 1px solid #1e293b;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.qr-item .qr-label {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qr-item .qr-label i {
  color: #3b82f6;
  font-size: 1.1rem;
}

.qr-code-sim {
  width: 88px;
  height: 88px;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 8px 24px #00000055;
  transition: 0.2s;
  border: 2px solid #1e293b;
}

.qr-code-sim i {
  font-size: 2.8rem;
  color: #0f172a;
}

.qr-code-sim:hover {
  transform: scale(1.03);
  border-color: #3b82f6;
}

/* ---------- GAME CARDS ---------- */
.games-section {
  margin: 3.5rem 0 2rem 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-title i {
  color: #3b82f6;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.8rem;
}

.game-card {
  background: #0f172a;
  border-radius: 32px;
  padding: 1.8rem 1.2rem 1.5rem 1.2rem;
  text-align: center;
  border: 1px solid #1e293b;
  transition: 0.25s;
  box-shadow: 0 6px 0 #0b111e;
  text-decoration: none;
  color: inherit;
  display: block;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: #2563eb;
  box-shadow: 0 12px 28px #0b111e;
}

.game-card .icon {
  font-size: 3.2rem;
  margin-bottom: 0.6rem;
  color: #93c5fd;
}

.game-card h3 {
  font-weight: 600;
  font-size: 1.3rem;
}

.game-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0.4rem 0 0.8rem 0;
}

.game-card .game-status {
  background: #1e293b;
  padding: 0.2rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #86efac;
  display: inline-block;
}

/* ---------- GAME PAGE TEMPLATE ---------- */
.game-page {
  background: #0f172a;
  border-radius: 48px;
  padding: 2.5rem 3rem;
  margin: 2rem 0;
  border: 1px solid #1e293b;
}

.game-page h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.game-page .server-ip {
  background: #050816;
  padding: 1.2rem 2rem;
  border-radius: 20px;
  font-family: 'Courier New', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: #60a5fa;
  border: 2px solid #2563eb;
  display: inline-block;
  margin: 0.5rem 0 1.5rem 0;
  letter-spacing: 1px;
}

.game-page .server-ip span {
  color: #94a3b8;
  font-weight: 400;
  font-size: 1rem;
  margin-left: 1rem;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.step-card {
  background: #050816;
  padding: 1.8rem;
  border-radius: 24px;
  border: 1px solid #1e293b;
}

.step-card .step-number {
  display: inline-block;
  background: #2563eb;
  color: white;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 30px;
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.step-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: #94a3b8;
  line-height: 1.6;
}

.step-card code {
  background: #1e293b;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  color: #facc15;
  font-size: 0.9rem;
}

.btn-back {
  background: #1e293b;
  color: white;
  border: none;
  padding: 0.7rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.btn-back:hover {
  background: #334155;
}

.btn-download {
  background: #2563eb;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-download:hover {
  background: #1d4ed8;
  transform: scale(1.02);
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.contact-card {
  background: #0f172a;
  padding: 2rem;
  border-radius: 32px;
  border: 1px solid #1e293b;
  text-align: center;
  transition: 0.2s;
}

.contact-card:hover {
  border-color: #2563eb;
  transform: translateY(-4px);
}

.contact-card .icon {
  font-size: 3rem;
  color: #3b82f6;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: #94a3b8;
  margin-bottom: 1rem;
}

.contact-card a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

.contact-card a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* ---------- FOOTER ---------- */
.footer {
  margin-top: 3rem;
  padding: 1.8rem 0 0.5rem 0;
  border-top: 1px solid #1e293b;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  color: #64748b;
  font-size: 0.95rem;
}

.footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: 0.2s;
}

.footer a:hover {
  color: white;
}

.footer i {
  margin-right: 0.3rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 700px) {
  .container {
    padding: 0.8rem 1.2rem;
  }
  .navbar {
    flex-direction: column;
    align-items: stretch;
  }
  .brand {
    justify-content: center;
  }
  .nav-links {
    justify-content: center;
    gap: 0.8rem 1.4rem;
  }
  .hero {
    padding: 1.8rem 0.5rem;
  }
  .qr-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    padding: 1.8rem 1.2rem;
    border-radius: 40px;
  }
  .game-grid {
    grid-template-columns: 1fr 1fr;
  }
  .game-page {
    padding: 1.5rem;
  }
  .game-page .server-ip {
    font-size: 1.2rem;
    padding: 0.8rem 1.2rem;
    word-break: break-all;
  }
  .step-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .game-grid {
    grid-template-columns: 1fr;
  }
  .qr-code-sim {
    width: 72px;
    height: 72px;
  }
}