﻿@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=Montserrat:wght@500;600;700;800;900&display=swap');

:root {
  --bg-main: #070a13;
  --bg-card: rgba(13, 20, 36, 0.9);
  --bg-card-hover: rgba(22, 33, 58, 0.95);
  --border-gold: rgba(212, 163, 62, 0.35);
  --border-gold-glow: rgba(245, 158, 11, 0.6);
  --gold-primary: #d4a33e;
  --gold-light: #fde047;
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #92400e 100%);
  --blue-glow: #38bdf8;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --radius: 12px;
  --shadow-glow: 0 0 25px rgba(212, 163, 62, 0.25);
  --font-family: 'Be Vietnam Pro', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 163, 62, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(244, 63, 94, 0.08) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.015' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 19, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.85rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 163, 62, 0.4);
  background: radial-gradient(circle, #f59e0b, #78350f);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  font-family: var(--font-family);
}

.logo-text h1 {
  font-family: var(--font-family);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fde047;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

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

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.nav-auth {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* BUTTONS */
.btn {
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-family: var(--font-family);
}

.btn-primary {
  background: var(--gold-gradient);
  color: #070a13;
  box-shadow: 0 4px 14px rgba(212, 163, 62, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 163, 62, 0.6);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.8);
  color: var(--text-main);
  border: 1px solid var(--border-gold);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: var(--gold-light);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
}

.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1.05rem; }

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: radial-gradient(circle at center, rgba(212, 163, 62, 0.15) 0%, transparent 70%);
}

.hero-content {
  max-width: 850px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(212, 163, 62, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-title {
  font-family: var(--font-family);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(212, 163, 62, 0.5), 0 4px 10px rgba(0,0,0,0.9);
}

.hero-title span {
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* GRID LAYOUTS */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

/* GLASS CARDS */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--border-gold-glow);
  box-shadow: var(--shadow-glow);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 163, 62, 0.2);
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
}

.card-title {
  font-family: var(--font-family);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* PROGRESS BAR */
.progress-bar {
  background: rgba(30, 41, 59, 0.8);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 6px;
}
.progress-fill {
  background: var(--gold-gradient);
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* TABLES */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th {
  background: rgba(30, 41, 59, 0.7);
  color: var(--gold-light);
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-gold);
}

td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}

tr:hover td {
  background: rgba(212, 163, 62, 0.05);
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-family);
}
.badge-success { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid #10b981; }
.badge-warning { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid #f59e0b; }
.badge-danger { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid #ef4444; }

/* MODALS */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #0f172a;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.9), 0 0 30px rgba(212, 163, 62, 0.3);
  border-radius: var(--radius);
  width: 100%;
  max-width: 440px;
  padding: 2rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-backdrop.show .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-close:hover { color: #fff; }

/* FORMS */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(212, 163, 62, 0.3);
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
  font-family: var(--font-family);
}

.form-control:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 10px rgba(212, 163, 62, 0.3);
}

/* EVENT TIMERS */
.event-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.event-name { font-weight: 600; font-size: 0.9rem; color: #fff; }
.event-timer { color: var(--gold-light); font-weight: 700; }

/* GUIDE SECTION STYLES */
.guide-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.guide-card h3 {
  color: var(--gold-light);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(212, 163, 62, 0.2);
  padding-bottom: 0.6rem;
}
.guide-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.cmd-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}
.cmd-table th {
  background: rgba(212, 163, 62, 0.15);
  color: var(--gold-light);
  padding: 8px 12px;
  font-size: 0.85rem;
}
.cmd-table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cmd-table code {
  background: rgba(245, 158, 11, 0.15);
  color: #fde047;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-gold);
  background: #04060a;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4rem;
}