/* ========================================
   PlaySpot - Athletic Sports Field Rental
   Design: Dynamic Athletic Premium
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* CSS Variables */
:root {
  --primary: #0a1628;
  --primary-light: #1a2d4a;
  --accent: #c8ff00;
  --accent-dark: #a8d900;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --success: #00c853;
  --warning: #ffc107;
  --danger: #ff5252;
  --info: #00b0ff;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.16);
  --shadow-xl: 0 16px 60px rgba(10, 22, 40, 0.2);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--gray-100);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-600); }

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-fluid {
  width: 100%;
  padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary);
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand .logo {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--primary);
  transform: skewX(-5deg);
}

.navbar-brand span {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  letter-spacing: 0.05em;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 20px;
  color: var(--gray-300);
  font-weight: 500;
  font-size: 15px;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::before {
  width: 60%;
}

.nav-link.active {
  color: var(--accent);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 255, 0, 0.3);
}

.btn-secondary {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--gray-300);
  color: var(--gray-700);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
}

.btn-outline-light:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--primary);
}

.btn-ghost {
  color: var(--gray-600);
}

.btn-ghost:hover {
  background: var(--gray-200);
  color: var(--primary);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-sm);
}

.btn-icon.sm {
  width: 40px;
  height: 40px;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  background: var(--primary);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  opacity: 0.05;
  transform: rotate(-15deg);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--primary), transparent);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(200, 255, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(200, 255, 0, 0.05) 0%, transparent 40%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 255, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(200, 255, 0, 0.1);
  border: 1px solid rgba(200, 255, 0, 0.2);
  border-radius: 50px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: clamp(48px, 8vw, 88px);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 0.95;
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-description {
  font-size: 18px;
  color: var(--gray-400);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  box-shadow: var(--shadow-xl);
}

.hero-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 20%;
  left: -40px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 20%;
  right: -40px;
  animation-delay: 1s;
}

.float-card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 24px;
}

.float-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--primary);
}

.float-card-text {
  font-size: 14px;
  color: var(--gray-600);
}

/* ========================================
   Cards
   ======================================== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
}

.card-favorite {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  cursor: pointer;
  transition: var(--transition);
}

.card-favorite:hover,
.card-favorite.active {
  color: var(--danger);
  transform: scale(1.1);
}

.card-body {
  padding: 24px;
}

.card-category {
  font-size: 12px;
  color: var(--accent-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 8px;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--warning);
}

.card-price {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--primary);
}

.card-price span {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 400;
}

/* ========================================
   Section Styles
   ======================================== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

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

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--primary);
  margin-bottom: 16px;
}

.section-dark .section-title {
  color: var(--white);
}

.section-description {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-description {
  color: var(--gray-400);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ========================================
   Features Section
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  transform: rotate(-5deg);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: rotate(0deg) scale(1.1);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ========================================
   Search Bar
   ======================================== */
.search-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-lg);
}

.search-input-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-right: 1px solid var(--gray-200);
}

.search-input-group:last-of-type {
  border-right: none;
}

.search-input-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.search-input-group input,
.search-input-group select {
  width: 100%;
  padding: 8px 0;
  font-size: 15px;
  color: var(--gray-800);
  background: transparent;
}

.search-input-group input::placeholder {
  color: var(--gray-400);
}

.search-bar .btn {
  padding: 16px 32px;
  flex-shrink: 0;
}

/* ========================================
   Form Styles
   ======================================== */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--gray-800);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 255, 0, 0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 48px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.form-hint {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 6px;
}

.form-error {
  font-size: 13px;
  color: var(--danger);
  margin-top: 6px;
}

/* ========================================
   Auth Pages
   ======================================== */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-visual {
  background: var(--primary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.auth-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(200, 255, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(200, 255, 0, 0.05) 0%, transparent 50%);
}

.auth-visual-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 60px;
}

.auth-visual-title {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--white);
  margin-bottom: 24px;
}

.auth-visual-text {
  font-size: 18px;
  color: var(--gray-400);
  max-width: 400px;
}

.auth-form-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.auth-form-wrapper {
  width: 100%;
  max-width: 440px;
}

.auth-header {
  margin-bottom: 40px;
}

.auth-header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.auth-header .logo-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--primary);
  transform: skewX(-5deg);
}

.auth-header .logo-text {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--primary);
}

.auth-title {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 8px;
}

.auth-subtitle {
  color: var(--gray-600);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--gray-500);
  font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.social-login {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
}

.social-btn:hover {
  border-color: var(--gray-300);
  background: var(--gray-100);
}

.auth-footer {
  text-align: center;
  margin-top: 32px;
  color: var(--gray-600);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 600;
}

.auth-footer a:hover {
  color: var(--accent-dark);
}

/* ========================================
   Dashboard Layout
   ======================================== */
.dashboard {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: var(--primary);
  padding: 24px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  overflow-y: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-brand .logo {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
  transform: skewX(-5deg);
}

.sidebar-brand span {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--white);
}

.sidebar-nav {
  margin-bottom: 32px;
}

.sidebar-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 16px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--gray-400);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  transition: var(--transition);
}

.sidebar-link:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
}

.sidebar-link.active {
  background: var(--accent);
  color: var(--primary);
}

.sidebar-link .icon {
  width: 24px;
  text-align: center;
  font-size: 18px;
}

.sidebar-link .badge {
  margin-left: auto;
  padding: 4px 8px;
  background: var(--danger);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50px;
}

.sidebar-user {
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-user-avatar {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--primary);
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-name {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-email {
  font-size: 13px;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-main {
  flex: 1;
  margin-left: 280px;
  background: var(--gray-100);
}

.dashboard-header {
  background: var(--white);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.dashboard-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--primary);
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dashboard-content {
  padding: 32px;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-card-icon.blue {
  background: rgba(0, 176, 255, 0.1);
  color: var(--info);
}

.stat-card-icon.green {
  background: rgba(0, 200, 83, 0.1);
  color: var(--success);
}

.stat-card-icon.yellow {
  background: rgba(255, 193, 7, 0.1);
  color: var(--warning);
}

.stat-card-icon.purple {
  background: rgba(156, 39, 176, 0.1);
  color: #9c27b0;
}

.stat-card-content {
  flex: 1;
}

.stat-card-label {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.stat-card-value {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--primary);
  line-height: 1;
}

.stat-card-change {
  font-size: 13px;
  margin-top: 8px;
}

.stat-card-change.positive {
  color: var(--success);
}

.stat-card-change.negative {
  color: var(--danger);
}

/* Data Tables */
.data-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.data-table thead {
  background: var(--gray-100);
}

.data-table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
}

.data-table tbody tr:hover {
  background: var(--gray-50);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
}

.status-badge.success {
  background: rgba(0, 200, 83, 0.1);
  color: var(--success);
}

.status-badge.warning {
  background: rgba(255, 193, 7, 0.1);
  color: #c79100;
}

.status-badge.danger {
  background: rgba(255, 82, 82, 0.1);
  color: var(--danger);
}

.status-badge.info {
  background: rgba(0, 176, 255, 0.1);
  color: var(--info);
}

/* ========================================
   Booking Flow
   ======================================== */
.booking-page {
  padding-top: 100px;
  min-height: 100vh;
  background: var(--gray-100);
}

.booking-header {
  background: var(--primary);
  padding: 40px 0;
  margin-bottom: 40px;
}

.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.booking-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
}

.booking-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.booking-step.active .booking-step-number {
  background: var(--accent);
  color: var(--primary);
}

.booking-step.completed .booking-step-number {
  background: var(--success);
  color: var(--white);
}

.booking-step-text {
  font-size: 14px;
  font-weight: 500;
}

.booking-step.active .booking-step-text {
  color: var(--white);
}

.booking-step-divider {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.1);
}

.booking-step.completed + .booking-step-divider {
  background: var(--success);
}

.booking-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  padding-bottom: 60px;
}

.booking-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.booking-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.booking-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.booking-summary-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.booking-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
}

.booking-summary-item span:first-child {
  color: var(--gray-600);
}

.booking-summary-item span:last-child {
  font-weight: 600;
  color: var(--gray-800);
}

.booking-summary-total {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 2px solid var(--gray-200);
}

.booking-summary-total span:first-child {
  font-weight: 600;
  color: var(--primary);
}

.booking-summary-total span:last-child {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--primary);
}

/* Time Slots */
.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.time-slot {
  padding: 16px;
  text-align: center;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.time-slot:hover:not(.disabled) {
  border-color: var(--accent);
}

.time-slot.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--primary);
}

.time-slot.disabled {
  background: var(--gray-100);
  color: var(--gray-400);
  cursor: not-allowed;
}

.time-slot-time {
  font-weight: 600;
  font-size: 15px;
}

.time-slot-price {
  font-size: 13px;
  margin-top: 4px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--primary);
  padding: 80px 0 40px;
  color: var(--gray-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .logo {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--primary);
  transform: skewX(-5deg);
}

.footer-brand span {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
}

.footer-about {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--primary);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 15px;
  color: var(--gray-400);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 14px;
  color: var(--gray-500);
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    display: none;
  }

  .booking-container {
    grid-template-columns: 1fr;
  }

  .booking-sidebar {
    position: static;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: var(--transition);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
  }

  .search-bar {
    flex-direction: column;
  }

  .search-input-group {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    width: 100%;
  }

  .search-input-group:last-of-type {
    border-bottom: none;
  }

  .search-bar .btn {
    width: 100%;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

/* ========================================
   Utilities
   ======================================== */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-none { display: none; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Membership Page Specific */
.membership-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 140px 0 80px;
  text-align: center;
}

.membership-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.plan-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
}

.plan-card.featured {
  border-color: var(--accent);
  transform: scale(1.05);
}

.plan-card.featured::before {
  content: 'POPULER';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary);
  padding: 6px 20px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50px;
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.plan-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 8px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 8px;
}

.plan-price span {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-500);
}

.plan-description {
  color: var(--gray-600);
  margin-bottom: 32px;
}

.plan-features {
  text-align: left;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features .check {
  color: var(--success);
}

.plan-features .cross {
  color: var(--gray-400);
}

/* Community Page */
.community-hero {
  background: var(--primary);
  padding: 140px 0 60px;
}

.match-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.match-card:hover {
  box-shadow: var(--shadow-md);
}

.match-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.match-avatar {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
}

.match-info h4 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--primary);
}

.match-info p {
  font-size: 14px;
  color: var(--gray-600);
}

.match-details {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  padding: 16px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
}

.match-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-700);
}

.match-actions {
  display: flex;
  gap: 12px;
}

/* Calendar Widget */
.calendar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.calendar-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--primary);
}

.calendar-nav {
  display: flex;
  gap: 8px;
}

.calendar-nav button {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.calendar-nav button:hover {
  background: var(--accent);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day-name {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  padding: 8px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.calendar-day:hover {
  background: var(--gray-100);
}

.calendar-day.other-month {
  color: var(--gray-400);
}

.calendar-day.today {
  background: var(--primary);
  color: var(--white);
}

.calendar-day.selected {
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
}

.calendar-day.has-event::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* Detail Page Gallery */
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
}

.gallery-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-thumb:hover {
  opacity: 0.8;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Review List */
.review-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}

.review-item:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--gray-600);
}

.review-author {
  font-weight: 600;
  color: var(--primary);
}

.review-date {
  font-size: 13px;
  color: var(--gray-500);
}

.review-rating {
  margin-left: auto;
  display: flex;
  gap: 4px;
  color: var(--warning);
}

.review-text {
  color: var(--gray-700);
  line-height: 1.7;
}

/* Confirmation Page */
.confirmation-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.confirmation-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--success) 0%, #00a844 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  font-size: 48px;
  color: var(--white);
  animation: pulse 2s ease-in-out infinite;
}

.confirmation-title {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
}

.confirmation-text {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.confirmation-details {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  margin-bottom: 32px;
}

.confirmation-detail {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}

.confirmation-detail:last-child {
  border-bottom: none;
}

.confirmation-detail span:first-child {
  color: var(--gray-600);
}

.confirmation-detail span:last-child {
  font-weight: 600;
  color: var(--primary);
}

/* Notification Dropdown */
.notification-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 360px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 16px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.notification-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 16px;
  border-bottom: 1px solid var(--gray-100);
}

.notification-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  transition: var(--transition);
}

.notification-item:hover {
  background: var(--gray-50);
}

.notification-item.unread {
  background: rgba(200, 255, 0, 0.05);
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-text {
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 4px;
}

.notification-time {
  font-size: 12px;
  color: var(--gray-500);
}
