/* ==========================================================================
   GOOD RIDERS RC - MODERN DESIGN SYSTEM & STYLESHEET
   Website: goodriders.ro
   ========================================================================== */

:root {
  /* Core Color Tokens */
  --bg-dark: #08080a;
  --panel-bg: rgba(16, 18, 24, 0.78);
  --panel-border: rgba(255, 255, 255, 0.12);
  --panel-border-glow: rgba(255, 183, 3, 0.35);
  
  --gold-primary: #ffb703;
  --gold-secondary: #fb8500;
  --gold-glow: rgba(255, 183, 3, 0.4);
  
  --crimson-primary: #ff3b30;
  --crimson-glow: rgba(255, 59, 48, 0.4);

  --text-main: #f8f9fa;
  --text-muted: #a0a5b5;
  --text-dim: #6c757d;

  /* Typography Fonts */
  --font-title: 'Cinzel', serif;
  --font-heading: 'Bebas Neue', cursive;
  --font-body: 'Montserrat', sans-serif;

  /* Spacing & Layout */
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   BACKGROUND COVER & CANVAS
   ========================================================================== */

.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.parallax-cover {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  opacity: 1;
  transform: scale(1.02);
  transition: transform 0.1s ease-out;
  filter: brightness(0.4) contrast(1.15) saturate(1.1);
}

#bgCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.bg-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(8, 8, 10, 0.2) 0%, rgba(8, 8, 10, 0.85) 75%, rgba(8, 8, 10, 0.98) 100%);
}

.bg-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.4;
}

/* ==========================================================================
   MAIN LAYOUT & NAVIGATION
   ========================================================================== */

.app-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 2rem;
}

/* Top Navigation Bar */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 1.5rem;
  background: rgba(14, 16, 22, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--panel-border);
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

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

.nav-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--gold-glow));
  transition: transform var(--transition-fast);
}

.nav-brand:hover .nav-logo {
  transform: rotate(-8deg) scale(1.08);
}

.nav-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.accent-text {
  color: var(--gold-primary);
}

/* Quick Action Icon Toggles */
.quick-toggles {
  display: flex;
  gap: 0.5rem;
}

.icon-toggle-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.icon-toggle-btn:hover {
  background: rgba(255, 183, 3, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.25);
}

.icon-toggle-btn.playing {
  animation: pulseAudioGlow 2s infinite ease-in-out;
  background: rgba(255, 183, 3, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

@keyframes pulseAudioGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 183, 3, 0.4); }
  50% { box-shadow: 0 0 25px rgba(255, 183, 3, 0.8); }
}

.btn-tooltip {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(0, 0, 0, 0.9);
  color: var(--text-main);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-toggle-btn:hover .btn-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   CLEAN MAIN CONTENT SECTION & CRISP VECTOR SVG LOGO
   ========================================================================== */

.main-content-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 2.5rem auto;
  max-width: 850px;
  width: 100%;
}

/* Logo Interactive Container */
.logo-showcase-container {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  transform-style: preserve-3d;
  cursor: pointer;
}

.logo-aura {
  position: absolute;
  width: 190px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  filter: blur(30px);
  opacity: 0.75;
  transition: opacity var(--transition-smooth);
}

.logo-showcase-container:hover .logo-aura {
  opacity: 1;
  transform: scale(1.15);
}

/* Crisp Vector Logo Engine - Fixes 3D Transform GPU Raster Blur */
.main-logo-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transform-style: preserve-3d;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: transform 0.12s cubic-bezier(0.1, 1, 0.2, 1), filter var(--transition-fast);
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.95));
}

.main-logo-img.logo-black {
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.95)) brightness(1.25);
}

/* Typography & Titles */
.club-title {
  font-family: var(--font-title);
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: 5px;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--gold-primary) 50%, var(--gold-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Coming Soon Banner */
.coming-soon-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border-radius: 100px;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 0 25px rgba(255, 183, 3, 0.25);
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-primary);
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.banner-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  letter-spacing: 2.5px;
  color: var(--gold-primary);
}

.club-tagline {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.25rem auto;
  width: 50%;
}

.divider-line::before, .divider-line::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.divider-icon {
  color: var(--gold-primary);
  font-size: 1rem;
}

/* ==========================================================================
   FOOTER (PURE CLEAN TEXT ONLY)
   ========================================================================== */

.app-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.2rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   RESPONSIVE MOBILE BREAKPOINTS
   ========================================================================== */

@media (max-width: 768px) {
  .app-wrapper {
    padding: 1rem;
  }

  .club-title {
    font-size: 2.2rem;
    letter-spacing: 3px;
  }

  .banner-text {
    font-size: 1.1rem;
    letter-spacing: 1.5px;
  }

  .club-tagline {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .app-footer {
    padding: 1rem;
  }
}
