/**
 * Underground Oasis - Website Styles v1.5.1
 * Dark sci-fi theme matching auth pages
 */

/* ==================== Root Variables ==================== */
:root {
  --color-primary: #0a0a1a;
  --color-secondary: #1a1a2e;
  --color-accent: #4ECDC4;
  --color-accent2: #00ffc8;
  --color-warning: #FFD700;
  --color-danger: #e94560;
  --color-success: #4ECDC4;
  --color-info: #00aaff;
  
  --bg-dark: #050510;
  --bg-darker: #030308;
  --bg-light: #16213e;
  --bg-panel: rgba(15, 20, 35, 0.95);
  
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0b0;
  --text-muted: #666680;
  
  --border-color: rgba(78, 205, 196, 0.15);
  --border-light: rgba(78, 205, 196, 0.25);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.1);
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

body.landing-page {
  --landing-container-max: 1320px;
  --landing-section-space: clamp(44px, 6.8vh, 84px);
  --landing-section-space-mobile: clamp(36px, 6vh, 56px);
}

/* ==================== Reset & Base ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-darker);
  color: var(--text-primary);
  overflow-x: hidden;
}
body { font-size: 16px; line-height: 1.6; }

/* ==================== Navbar ==================== */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(10, 10, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 12px 0;
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-logo img { height: 45px; filter: drop-shadow(0 0 8px rgba(0,212,255,0.3)); }
.nav-logo span { text-shadow: 0 0 10px rgba(78,205,196,0.3); }

.nav-links { display: flex; gap: 24px; }
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-normal);
  letter-spacing: 0.5px;
}
.nav-link:hover { color: var(--color-accent); }

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

.nav-greeting {
  color: #eaf7ff;
  border: 1px solid rgba(140,205,255,0.35);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}


.nav-language select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 6px 10px;
  border-radius: var(--radius-md);
  font-size: 13px;
  cursor: pointer;
}
.nav-language select option { background: var(--color-secondary); }

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: linear-gradient(135deg, #00ffc8, #00aaff);
  color: #0a0a1a;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,212,255,0.3);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--color-accent); }
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}
.btn-outline:hover { background: rgba(78,205,196,0.1); }
.btn-large { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-lg); }

/* ==================== Hero Section ==================== */
.hero {
  min-height: clamp(620px, 86vh, 940px);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(112px, 13vh, 160px) clamp(24px, 4vw, 64px) clamp(96px, 11vh, 140px);
  margin: 0 0 clamp(26px, 4vh, 56px);
  background:
    radial-gradient(110% 110% at 50% -10%, rgba(44, 86, 146, 0.45) 0%, rgba(11, 18, 36, 0.15) 52%, rgba(5, 8, 18, 0.94) 100%),
    linear-gradient(180deg, rgba(3, 7, 15, 0.92) 0%, rgba(7, 12, 24, 0.96) 44%, rgba(4, 7, 15, 1) 100%);
  position: relative;
  overflow: clip;
  isolation: isolate;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero::before {
  background:
    radial-gradient(80% 60% at 20% 20%, rgba(0, 255, 200, 0.16), transparent 65%),
    radial-gradient(65% 55% at 80% 30%, rgba(0, 170, 255, 0.2), transparent 72%);
  opacity: 0.75;
}
.hero::after {
  background: linear-gradient(180deg, rgba(5, 8, 16, 0.08) 0%, rgba(5, 8, 16, 0.7) 78%, rgba(6, 10, 20, 0.95) 100%);
}
.hero-inner {
  width: min(100%, var(--landing-container-max));
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.3fr);
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
}
.hero-content {
  width: 100%;
  max-width: 580px;
  text-align: left;
}
.hero-content h1 {
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  letter-spacing: 0.01em;
  line-height: 1.04;
  margin-bottom: clamp(14px, 2vh, 22px);
  text-wrap: balance;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.hero-content p {
  max-width: 54ch;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.62;
  color: rgba(228, 237, 252, 0.9);
  margin-bottom: clamp(22px, 3.2vh, 34px);
}
.hero-video-wrapper {
  width: 100%;
  border-radius: clamp(16px, 1.8vw, 28px);
  border: 1px solid rgba(159, 212, 255, 0.28);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  position: relative;
}
.hero-video-wrapper::before,
.hero-video-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.hero-video-wrapper::before {
  background: linear-gradient(180deg, rgba(6, 11, 22, 0.08) 0%, rgba(6, 11, 22, 0.48) 72%, rgba(5, 8, 18, 0.68) 100%);
}
.hero-video-wrapper::after {
  background: linear-gradient(120deg, rgba(59, 145, 214, 0.14), transparent 58%);
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}
.hero-media-panel2 {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.hero-buttons .btn {
  min-width: 164px;
}
.hero-buttons .btn:hover {
  transform: translateY(-2px);
}

/* ==================== Sections ==================== */
body.landing-page .landing-section {
  width: min(100%, var(--landing-container-max));
  padding: var(--landing-section-space) clamp(20px, 4vw, 44px);
  margin: 0 auto;
}
body.landing-page .landing-section h2 {
  text-align: center;
  font-size: 32px;
  color: var(--color-accent);
  margin-bottom: clamp(22px, 3.5vh, 34px);
  text-shadow: 0 0 15px rgba(78,205,196,0.3);
}

/* ==================== Features Slider ==================== */
.features { overflow: hidden; }
.features-slider {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.features-slider::-webkit-scrollbar { height: 4px; }
.features-slider::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
.features-slider::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 2px; }

.feature-slide {
  min-width: 300px;
  scroll-snap-align: start;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.feature-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.feature-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}
.feature-text { padding: 20px; }
.feature-text h3 { color: var(--color-warning); font-size: 18px; margin-bottom: 8px; }
.feature-text p { color: var(--text-secondary); font-size: 14px; }

/* ==================== About Section ==================== */
.about { text-align: center; }
.about-content p { color: var(--text-secondary); max-width: 700px; margin: 0 auto 40px; font-size: 16px; }
.about-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.about-feature {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--transition-normal);
}
.about-feature:hover { transform: translateY(-4px); }
.feature-icon { font-size: 40px; margin-bottom: 12px; }
.about-feature h3 { color: var(--color-accent); font-size: 18px; margin-bottom: 8px; }
.about-feature p { color: var(--text-secondary); font-size: 14px; }

/* ==================== Classes & Pets ==================== */
.classes-grid, .pets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.class-card, .pet-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.class-card:hover, .pet-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(78,205,196,0.15);
}
.class-card img, .pet-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 10px rgba(0,212,255,0.2));
}
.class-card h3, .pet-card h3 { color: var(--color-warning); font-size: 18px; margin-bottom: 6px; }
.class-card p, .pet-card p { color: var(--text-secondary); font-size: 13px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input, .form-group select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  transition: border-color var(--transition-normal);
}
.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 12px rgba(78,205,196,0.15);
}
.form-group select option { background: var(--color-secondary); }

/* ==================== Footer ==================== */
.footer {
  background: rgba(10,10,26,0.95);
  border-top: 1px solid var(--border-color);
  padding: 40px 20px 20px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.footer-logo img { height: 38px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--color-accent); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { font-size: 20px; text-decoration: none; transition: transform var(--transition-fast); }
.footer-social a:hover { transform: scale(1.2); }
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 13px;
}
.nav-container {
  gap: 12px;
}


/* ==================== Hamburger Menu ==================== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 6px;
  transition: all var(--transition-normal);
  order: -1;
}
.nav-hamburger:hover { background: rgba(78,205,196,0.15); border-color: var(--color-accent); }
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-normal);
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (min-width: 1800px) {
  body.landing-page {
    --landing-container-max: 1680px;
    --landing-section-space: clamp(56px, 6vh, 96px);
  }
  .hero {
    padding-left: clamp(36px, 4.5vw, 96px);
    padding-right: clamp(36px, 4.5vw, 96px);
  }
}

/* ==================== Responsive Design ==================== */
@media (max-width: 968px) {
  .nav-hamburger { display: flex; }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link { font-size: 15px; padding: 8px 0; }
  
  .nav-auth .btn { padding: 7px 14px; font-size: 12px; }
  
  .nav-language select { padding: 4px 8px; font-size: 12px; }
  
  .hero {
    min-height: auto;
    padding: 108px 22px 72px;
    margin-bottom: 22px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 24px;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  
  .features-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 700px) {
  .features-slider { grid-template-columns: 1fr; }
  
  .nav-container {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
  }
  .nav-logo span { font-size: 16px; }
  .nav-logo img { height: 35px; }
  .nav-auth .btn { padding: 6px 10px; font-size: 11px; }
  .nav-language select { font-size: 11px; padding: 3px 6px; }
  
  .hero {
    padding: 96px 18px 62px;
  }
  body.landing-page .landing-section {
    padding: var(--landing-section-space-mobile) 18px;
  }
  .hero-content h1 { font-size: clamp(2rem, 7.4vw, 2.55rem); }
  .hero-content p { font-size: 0.98rem; }
  .hero-video-wrapper {
    border-radius: var(--radius-lg);
    aspect-ratio: 16 / 10;
  }
  .hero-buttons .btn { padding: 10px 20px; font-size: 13px; }
}

@media (max-width: 480px) {
  .nav-logo span { font-size: 14px; }
  .nav-auth .btn { padding: 5px 8px; font-size: 10px; }
  .hero {
    padding: 90px 14px 52px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-content h1 { font-size: 1.9rem; }
  body.landing-page .landing-section { padding: 34px 16px; }
  body.landing-page .landing-section h2 { font-size: 22px; }
}
/* ==================== Notifications ==================== */
/*
  Legacy website-level `.notification` rules are disabled.
  Runtime/game notification positioning and styling are centralized
  in `public/css/notifications.css`.
*/
.website-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 14px;
  z-index: 100000;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}
.website-notification.active { opacity: 1; transform: translateX(0); }
.website-notification-success { background: rgba(78,205,196,0.9); }
.website-notification-error { background: rgba(233,69,96,0.9); }
.website-notification-info { background: rgba(0,170,255,0.9); }
.website-notification-warning { background: rgba(255,215,0,0.9); color: #1a1a2e; }

