/* ============================================================
   THE ULTIMATE GAMERS CLUB — SHARED STYLESHEET
   Vadodara's #1 Gaming Cafe | style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

:root {
  --bg-deep: #020408;
  --bg-dark: #050d14;
  --bg-card: rgba(8, 20, 35, 0.88);
  --neon-blue: #00d4ff;
  --neon-purple: #7b2fff;
  --neon-cyan: #00fff7;
  --neon-green: #39ff14;
  --neon-pink: #ff00aa;
  --glass: rgba(0, 212, 255, 0.06);
  --glass-border: rgba(0, 212, 255, 0.18);
  --text-primary: #e8f4ff;
  --text-secondary: #7eb8d4;
  --text-dim: #3a6a84;
  --glow-blue: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.2);
  --glow-purple: 0 0 20px rgba(123, 47, 255, 0.5), 0 0 60px rgba(123, 47, 255, 0.2);
  --glow-cyan: 0 0 20px rgba(0, 255, 247, 0.5), 0 0 60px rgba(0, 255, 247, 0.2);
  --glow-green: 0 0 20px rgba(57, 255, 20, 0.5), 0 0 60px rgba(57, 255, 20, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--neon-blue);
  border-radius: 2px;
}


/* PARTICLES */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--neon-blue);
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.4;
  }

  100% {
    transform: translateY(-20px) translateX(var(--drift));
    opacity: 0;
  }
}

/* SCAN LINES */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0, 0, 0, 0.03) 3px, rgba(0, 0, 0, 0.03) 4px);
}

/* LOADER */
#loader {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.door-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.door-frame {
  position: absolute;
  width: 320px;
  height: 480px;
  border: 3px solid #111;
  background: linear-gradient(180deg, #050a10, #020509);
  box-shadow: 0 0 80px rgba(0, 212, 255, 0.1);
}

.door-panel-left,
.door-panel-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(180deg, #060e1a, #030810);
  border: 1px solid #0a1a2e;
  overflow: hidden;
  transition: all 2.2s cubic-bezier(0.77, 0, 0.18, 1);
  transform-origin: left center;
}

.door-panel-right {
  right: 0;
  transform-origin: right center;
}

.door-neon-line {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--neon-blue), transparent);
  animation: neonPulse 1s ease-in-out infinite alternate;
}

.door-panel-left .door-neon-line {
  right: 0;
}

.door-panel-right .door-neon-line {
  left: 0;
}

.door-circuit {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
}

.door-glyph {
  position: absolute;
  font-family: 'Orbitron', monospace;
  color: rgba(0, 212, 255, 0.15);
  font-size: 10px;
  animation: glyphFlicker 0.5s ease infinite alternate;
}

.door-center-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--neon-blue), var(--neon-cyan), var(--neon-blue), transparent);
  transform: translateX(-50%);
  animation: centerGlow 1s ease-in-out infinite alternate;
}

.loader-logo {
  position: absolute;
  text-align: center;
  z-index: 10;
  opacity: 0;
  animation: logoAppear 0.5s ease 0.5s forwards;
}

.loader-logo h1 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(16px, 3vw, 32px);
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  letter-spacing: 4px;
}

.loader-logo p {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 6px;
  margin-top: 8px;
}

.loader-progress {
  position: absolute;
  bottom: 80px;
  width: 300px;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan));
  box-shadow: var(--glow-blue);
  animation: loadProgress 2s ease forwards;
}

.light-burst {
  position: absolute;
  width: 0;
  height: 0;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.8), rgba(0, 212, 255, 0.2), transparent 70%);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

@keyframes neonPulse {
  0% {
    opacity: 0.3
  }

  100% {
    opacity: 1;
    box-shadow: var(--glow-blue);
  }
}

@keyframes glyphFlicker {
  0% {
    opacity: 0.1
  }

  100% {
    opacity: 0.4;
  }
}

@keyframes centerGlow {
  0% {
    opacity: 0.4
  }

  100% {
    opacity: 1;
  }
}

@keyframes logoAppear {
  to {
    opacity: 1;
  }
}

@keyframes loadProgress {
  to {
    width: 100%;
  }
}

/* NAVBAR */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 4, 8, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  transition: all 0.3s;
}

#navbar.scrolled {
  padding: 10px 40px;
  background: rgba(2, 4, 8, 0.97);
}

.nav-logo {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: 18px;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
  letter-spacing: 2px;
  text-decoration: none;
}

.nav-logo span {
  color: var(--neon-blue);
}

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

.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-secondary);
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--neon-cyan);
  transition: width 0.3s;
  box-shadow: var(--glow-cyan);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--neon-cyan);
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  border: none;
  padding: 10px 24px;
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover {
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neon-cyan);
  transition: all 0.3s;
}

/* PAGE WRAPPER */
.page-wrapper {
  min-height: 100vh;
  position: relative;
  z-index: 1;
  padding-top: 72px;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  border: none;
  color: #fff;
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
  text-decoration: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.4s;
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover {
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.7);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--neon-cyan);
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: var(--neon-cyan);
  box-shadow: var(--glow-cyan);
}

/* SECTIONS */
.section {
  padding: 100px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--neon-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '//';
  margin: 0 8px;
  color: var(--neon-purple);
}

.section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.section-title span {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* FORM ELEMENTS */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--neon-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.15);
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  outline: none;
  transition: all 0.3s;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.07);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.form-select option {
  background: #050d14;
  color: var(--text-primary);
}

/* WHATSAPP FLOAT */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  text-decoration: none;
  animation: waPulse 2s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.05);
  }
}

/* TOAST */
.toast {
  position: fixed;
  top: 100px;
  right: 30px;
  z-index: 9999;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--neon-cyan);
  font-size: 14px;
  letter-spacing: 1px;
  display: none;
  transform: translateX(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(20px);
  max-width: 340px;
}

.toast.show {
  display: block;
  transform: none;
  opacity: 1;
}

.toast.error {
  border-color: rgba(255, 68, 68, 0.4);
  color: #ff6464;
}

.toast.success {
  border-color: rgba(57, 255, 20, 0.4);
  color: var(--neon-green);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* STATUS BADGES */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.active {
  background: rgba(57, 255, 20, 0.1);
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 20, 0.3);
}

.status-badge.completed {
  background: rgba(0, 212, 255, 0.08);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.status-badge.cancelled {
  background: rgba(255, 68, 68, 0.08);
  color: #ff6464;
  border: 1px solid rgba(255, 68, 68, 0.2);
}

.status-badge.pending {
  background: rgba(255, 165, 0, 0.08);
  color: orange;
  border: 1px solid rgba(255, 165, 0, 0.3);
}

/* FOOTER */
footer {
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(0, 212, 255, 0.08);
  padding: 60px 40px 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand .nav-logo {
  font-size: 16px;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--neon-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

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

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 1px;
}

.footer-col ul li a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 212, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* TABLE */
.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.08);
}

.data-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--neon-blue);
  text-transform: uppercase;
  background: rgba(0, 212, 255, 0.04);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.data-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(0, 212, 255, 0.05);
}

.data-table tr:hover td {
  background: rgba(0, 212, 255, 0.03);
  color: var(--text-primary);
}

/* LOADING SPINNER */
.spinner {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(0, 212, 255, 0.1);
  border-top-color: var(--neon-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* MOBILE */
@media(max-width:768px) {
  #navbar {
    padding: 14px 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 60px;
    background: rgba(2, 4, 8, 0.97);
    padding: 40px 24px;
    gap: 8px;
    z-index: 999;
    backdrop-filter: blur(20px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .section {
    padding: 60px 20px;
  }

  #navbar {
    padding: 12px 20px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 28px;
    font-size: 11px;
  }

  footer {
    padding: 40px 20px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}