/*
 * Global styles for the CyberGame Hub front‑end.
 *
 * The previous version of this stylesheet set a plain dark background and
 * applied a light text colour.  In order to embrace the vibrant,
 * futuristic aesthetic defined in `cyberpunk‑theme.css`, those values
 * have been removed so that the theme variables control the look and
 * feel.  Additional utility classes defined below provide a coherent
 * design language across all pages while remaining uncluttered.
 */

/* Reset default margin/padding and inherit the Noto Sans Thai font family */
body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans Thai', 'Inter', 'Segoe UI', sans-serif;
}

/*
 * Feature cards on the home page and elsewhere.  A subtle glass effect
 * combined with neon glows draws the eye without overwhelming the
 * interface.  Cards elevate slightly on hover to provide feedback.
 */
.feature-card {
  background: var(--cyber-glass);
  border: 1px solid var(--cyber-border);
  border-radius: 1rem;
  box-shadow: var(--cyber-glow) var(--cyber-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--cyber-glow-strong) var(--cyber-primary);
}

.feature-icon i {
  font-size: 3rem;
  color: var(--cyber-primary);
  text-shadow: var(--cyber-glow) var(--cyber-primary);
}

/*
 * Step indicators used in the promotions page to describe the simple
 * top‑up process.  These adopt the same glass panel look as cards with
 * numbered badges highlighted in the accent colour.
 */
.feature-step {
  display: flex;
  align-items: center;
  background: var(--cyber-glass);
  border: 1px solid var(--cyber-border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--cyber-glow) var(--cyber-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--cyber-glow-strong) var(--cyber-primary);
}
.step-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--cyber-secondary);
  margin-right: 1rem;
}
.step-content h5 {
  color: var(--cyber-primary);
  margin-bottom: 0.25rem;
}
.step-content p {
  color: var(--cyber-text-muted);
  margin-bottom: 0;
}

/* Upload area styling for the file input in the top‑up form. */
.upload-area {
  border: 2px dashed var(--cyber-border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  background: rgba(13, 17, 23, 0.6);
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.upload-area:hover {
  border-color: var(--cyber-primary);
  box-shadow: var(--cyber-glow) var(--cyber-primary);
}
.upload-icon i {
  font-size: 2.5rem;
  color: var(--cyber-primary);
  margin-bottom: 1rem;
}
.upload-text h5 {
  color: var(--cyber-primary);
  margin-bottom: 0.5rem;
}
.upload-text p,
.upload-text small {
  color: var(--cyber-text-muted);
  margin-bottom: 0;
}

/* Make the card header of the top‑up form slightly translucent with
   gradient accents. */
.topup-card .card-header {
  background: linear-gradient(90deg, rgba(0, 245, 255, 0.1), rgba(255, 0, 110, 0.1));
}
.submit-btn {
  font-size: 1.1rem;
}

/* Hero carousel tweaks to ensure images cover the available space and
   overlays blend seamlessly into the dark background. */
.hero-carousel-container .hero-carousel {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--cyber-shadow);
}
.hero-background img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.hero-overlay {
  background: linear-gradient(180deg, rgba(13, 17, 23, 0) 0%, rgba(13, 17, 23, 0.95) 100%);
}
.hero-content {
  padding: 4rem 2rem;
}
.hero-badge {
  display: inline-block;
  background: var(--cyber-gradient-2);
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  color: var(--cyber-dark);
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: 2.5rem;
  color: var(--cyber-primary);
  margin-bottom: 1rem;
  text-shadow: var(--cyber-glow) var(--cyber-primary);
}
.hero-description {
  font-size: 1.1rem;
  color: var(--cyber-text-muted);
  margin-bottom: 2rem;
}
.hero-actions .btn {
  margin-right: 1rem;
}

/* Hide decorative floating cards in the promotions hero to keep the layout
   clean and focused on the call‑to‑action. */
.floating-card {
  display: none !important;
}

/* Futuristic Button Styles - Available globally */
.btn-futuristic {
  display: inline-block;
  position: relative;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--cyber-primary, #6366f1), var(--cyber-secondary, #06b6d4));
  border: none;
  border-radius: 50px;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--cyber-glow, 0 10px 30px) var(--cyber-primary, rgba(99, 102, 241, 0.4));
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.btn-futuristic:hover {
  transform: translateY(-3px);
  box-shadow: var(--cyber-glow-strong, 0 15px 40px) var(--cyber-primary, rgba(99, 102, 241, 0.6));
  color: white;
  text-decoration: none;
}

.btn-futuristic:active {
  transform: translateY(-1px);
}

.btn-futuristic:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

/* Button Sizes */
.btn-futuristic.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
}

.btn-futuristic.btn-lg {
  padding: 1.25rem 3rem;
  font-size: 1rem;
}

.btn-outline-futuristic {
  display: inline-block;
  position: relative;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 2px solid var(--cyber-primary, #6366f1);
  border-radius: 50px;
  color: var(--cyber-primary, #6366f1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}

.btn-outline-futuristic:hover {
  background: var(--cyber-primary, #6366f1);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--cyber-glow, 0 10px 30px) var(--cyber-primary, rgba(99, 102, 241, 0.4));
  text-decoration: none;
}

input::placeholder, textarea::placeholder,
select::placeholder {
  font-weight: bold !important;
  opacity: 0.5 !important;
  color: rgb(255, 255, 255) !important;
}