/*
Theme Name: Padeloo
Theme URI: https://padeloo.com
Author: Padeloo Team
Description: Custom dark theme for Padeloo - padel court booking app
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: padeloo
*/

/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-primary: #0d0f14;
  --bg-secondary: #141720;
  --bg-card: #1c2032;
  --bg-card-hover: #222840;
  --accent: #c7dc53;
  --accent-dark: #b0c73a;
  --accent-glow: rgba(199, 220, 83, 0.15);
  --text-primary: #ffffff;
  --text-secondary: #8b90a7;
  --text-muted: #555b72;
  --border: #252a3a;
  --border-light: #2e3448;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 10px;
  --font-sans:
    "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --transition: 0.2s ease;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 0 40px rgba(199, 220, 83, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

html {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-accent {
  color: var(--accent);
}
.text-muted {
  color: var(--text-secondary);
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  outline: none;
}

.btn:focus,
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: none;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: none;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
}

/* Store buttons (App Store / Google Play) */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 22px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 700;
  transition: var(--transition);
  outline: none;
}

.btn-store:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-store:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn-store-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.btn-store-name {
  font-size: 16px;
  font-weight: 700;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* =============================================
   TOPBAR
   ============================================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--bg-secondary);
  padding: 8px 0;
  font-size: 14px;
  color: #8b90a7;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.topbar a {
  color: #8b90a7;
  font-weight: 600;
}

.topbar a:hover {
  text-decoration: underline;
}

.topbar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;

  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(13, 15, 20, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

/* Nav + button grouped on the right */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.navbar-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d0f14;
  font-size: 16px;
  font-weight: 900;
}

.navbar-logo .logo-text {
  color: var(--text-primary);
}

.navbar-logo-img {
  height: 64px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .navbar-logo-img {
    height: 44px;
  }
}

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

.navbar-nav a {
  padding: 8px 18px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar-nav a:hover {
  color: var(--text-primary);
}

.navbar-nav a.nav-active {
  color: var(--accent);
  font-weight: 600;
}

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

/* Navbar button — isti radius kao hero dugme */
.navbar-actions .btn-primary {
  border-radius: var(--radius-md);
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  margin-left: 8px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  outline: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  padding: 240px 0 80px;
}

/* Background image layer — ubaci svoju sliku padel terena ovde */
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* slika se postavlja inline u front-page.php */
  background-color: #060d10;
}

/* Dark overlay — tamniji s leve strane gde je tekst */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13, 15, 20, 0.85) 0%,
    rgba(13, 15, 20, 0.72) 45%,
    rgba(13, 15, 20, 0.45) 100%
  );
}

.hero-grid {
  position: absolute;
  inset: 0;
  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: 60px 60px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 0%,
    transparent 70%
  );
}

/* Hero content — left-aligned, bottom of the section */
.hero-text-wrap {
  position: relative;
  max-width: 720px;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .accent-line {
  display: block;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 18px;
  color: white;
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-free {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-free i {
  color: var(--accent);
  font-size: 15px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-bottom: 0;
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 20px 100px;
}

.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(
    ellipse at center,
    rgba(199, 220, 83, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.phone-svg {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5));
}

/* App UI inside phone */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 16px 12px;
}

.app-logo-sm {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d0f14;
  font-size: 14px;
  font-weight: 800;
}

.app-city {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}

.app-city svg {
  width: 12px;
  height: 12px;
  fill: var(--text-secondary);
}

.app-dates {
  display: flex;
  gap: 6px;
  padding: 0 16px 12px;
  overflow: hidden;
}

.app-date {
  flex: 1;
  text-align: center;
  padding: 6px 4px;
  border-radius: 10px;
  font-size: 10px;
  color: var(--text-secondary);
}

.app-date.active {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}

.app-date .day {
  font-weight: 600;
  font-size: 11px;
}
.app-date .date-num {
  font-weight: 700;
  font-size: 13px;
  margin-top: 1px;
}

.app-section-title {
  padding: 4px 16px 8px;
  font-size: 14px;
  font-weight: 700;
}

.app-club-card {
  margin: 0 12px 8px;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.app-club-img {
  width: 100%;
  height: 64px;
  background: linear-gradient(135deg, #1a3040 0%, #0d2030 100%);
  position: relative;
  overflow: hidden;
}

.app-club-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.court-lines {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.app-club-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
}

.app-club-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d0f14;
  font-weight: 700;
}

.app-club-name {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.app-club-price {
  font-size: 9px;
  color: var(--text-secondary);
}

.app-time-slots {
  display: flex;
  gap: 4px;
  padding: 4px 10px 10px;
  flex-wrap: wrap;
}

.app-slot {
  background: var(--bg-secondary);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 9px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.app-slot.accent {
  background: rgba(199, 220, 83, 0.15);
  color: var(--accent);
  border-color: rgba(199, 220, 83, 0.3);
}

.app-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background: rgba(13, 15, 20, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 8px 0 16px;
}

.app-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: var(--text-muted);
}

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

.app-nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating cards — overlap the phone */
.floating-card {
  position: absolute;
  border-radius: var(--radius-md);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.floating-card:nth-child(2) {
  animation-delay: -2s;
}

.floating-card:nth-child(3) {
  animation-delay: -4s;
}

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

.float-card-1 {
  top: 120px;
  left: -20px;
  width: 220px;
}

.float-card-2 {
  bottom: 160px;
  right: 0px;
  width: 220px;
}

.fc-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.fc-value {
  font-size: 16px;
  font-weight: 700;
}

.fc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--accent);
  background: var(--accent-glow);
  border-radius: 100px;
  padding: 2px 8px;
  margin-top: 4px;
}

/* SVG floating cards */
.floating-card-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.floating-card:has(.floating-card-img) {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features {
  background: var(--bg-secondary);
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border-light),
    transparent
  );
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

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

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(199, 220, 83, 0.3),
    transparent
  );
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(199, 220, 83, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Wide feature card */
.feature-card-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-card-wide .feature-visual {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.how-it-works .steps-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(33.33% / 2);
  right: calc(33.33% / 2);
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--border),
    var(--accent),
    var(--border)
  );
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   FOR CLUBS SECTION
   ============================================= */
.for-clubs {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.for-clubs::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 60% at 80% 50%,
    rgba(199, 220, 83, 0.05) 0%,
    transparent 60%
  );
}

.for-clubs-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.clubs-text .section-title {
  text-align: left;
}

.clubs-features-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clubs-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.clubs-feature-check {
  width: 24px;
  height: 24px;
  background: var(--accent-glow);
  border: 1px solid rgba(199, 220, 83, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 11px;
  color: var(--accent);
}

.clubs-feature-text .title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}

.clubs-feature-text .desc {
  font-size: 13px;
  color: var(--text-secondary);
}

/* MacBook preview */
.macbook-preview {
  display: flex;
  align-items: center;
  justify-content: center;
}

.macbook-img {
  width: 100%;
  max-width: 780px;
  height: auto;
  display: block;
}

/* Dashboard preview */
.dashboard-preview {
  background: #ffffff08;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.dashboard-topbar {
  background: var(--bg-card);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.db-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.db-dot.red {
  background: #ff5f57;
}
.db-dot.yellow {
  background: #febc2e;
}
.db-dot.green {
  background: #28c840;
}

.dashboard-topbar span {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 280px;
}

.db-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 16px 0;
}

.db-sidebar-header {
  padding: 0 16px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.db-sidebar-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.db-sidebar-club {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

.db-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.db-nav-item:hover,
.db-nav-item.active {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.db-nav-item.active {
  border-right: 2px solid var(--accent);
  color: var(--accent);
}

.db-nav-icon {
  font-size: 14px;
}

.db-main {
  padding: 16px;
  background: var(--bg-primary);
}

.db-main-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.db-calendar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.db-cal-btn {
  width: 24px;
  height: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  color: var(--text-secondary);
}

.db-cal-date {
  font-size: 12px;
  font-weight: 600;
}

.db-court-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.db-court-tab {
  padding: 4px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
}

.db-court-tab.active {
  background: rgba(199, 220, 83, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}

.db-reservation {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 6px;
  border-left: 3px solid;
}

.db-reservation.yellow {
  border-left-color: var(--accent);
}
.db-reservation.blue {
  border-left-color: #4a8fe7;
}
.db-reservation.gray {
  border-left-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.db-res-name {
  font-size: 11px;
  font-weight: 600;
}
.db-res-time {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 1px;
}
.db-res-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}

/* =============================================
   ZA IGRACE SECTION
   ============================================= */
.za-igrace {
  background: var(--bg-primary);
  position: relative;
}

.za-igrace::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 60% at 20% 50%,
    rgba(199, 220, 83, 0.05) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.igrace-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.igrace-text .section-title {
  text-align: left;
}

.igrace-text .section-eyebrow {
  display: inline-block;
}

.igrace-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.igrace-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}


.igrace-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.igrace-feature-icon {
  width: 28px;
  flex-shrink: 0;
  font-size: 22px;
  color: var(--accent);
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.igrace-feature-item .title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.igrace-feature-item .desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================
   STEP STRIP (Za igrače — 3 koraka)
   ============================================= */
.step-strip {
  background: var(--bg-secondary);
}

.step-strip-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-strip-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  letter-spacing: 0.02em;
}

.step-strip-sub strong {
  color: var(--accent);
  font-weight: 700;
}

.strip-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.strip-free-badge i {
  color: var(--accent);
  font-size: 15px;
}

.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.step-item {
  text-align: center;
  padding: 0 24px;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 34px;
  color: #0d0f14;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

@media (hover: hover) {
  .step-item:hover .step-icon {
    transform: scale(1.18);
  }
}

.step-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

.step-divider {
  width: 1px;
  height: 80px;
  background: var(--border-light);
  align-self: center;
}

/* =============================================
   APP FEATURES SECTION
   ============================================= */
.app-features {
  background: var(--bg-secondary);
}

.app-features-header {
  text-align: center;
  margin-bottom: 56px;
}

.app-features-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.app-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

.app-feature-card:hover {
  border-color: rgba(199, 220, 83, 0.4);
  transform: translateY(-2px);
}

.app-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
  color: var(--accent);
}

.app-feature-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.app-feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =============================================
   KONTAKT SECTION
   ============================================= */
.kontakt-section {
  background: var(--bg-primary);
}

.partner-section {
  background: var(--bg-secondary);
}

.partner-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.partner-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 620px;
  margin: 20px auto 40px;
  text-align: justify;
}

.partner-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 40px;
}

.partner-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--text-secondary);
}

.partner-badge i {
  font-size: 16px;
  color: var(--accent);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.kontakt-info-col {
  padding-top: 8px;
}

.kontakt-heading {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 12px 0 20px;
  line-height: 1.1;
}

.kontakt-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.kontakt-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.kontakt-detail-item i {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.kontakt-detail-item a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.kontakt-detail-item a:hover {
  color: var(--accent);
}

/* Legacy — čuvamo ako se koristi negde */
.kontakt-info-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border: 1px solid rgba(199, 220, 83, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  color: var(--accent);
}

.kontakt-info-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.kontakt-info-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 6px;
}

.kontakt-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}

.kontakt-link:hover {
  text-decoration: underline;
}

/* Forma */
.kontakt-forma {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kontakt-forma input,
.kontakt-forma textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
  resize: none;
}

.kontakt-forma input::placeholder,
.kontakt-forma textarea::placeholder {
  color: var(--text-muted);
}

.kontakt-forma input:focus,
.kontakt-forma textarea:focus {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.forma-submit {
  width: 100%;
  background: var(--accent);
  color: #0d0f14;
  border: none;
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 4px;
  letter-spacing: -0.01em;
}

.forma-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.forma-submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Contact Form 7 stilovi */
.kontakt-forma .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kontakt-forma .wpcf7-form p {
  margin: 0;
}

.kontakt-forma .wpcf7-form textarea {
  height: 120px;
}

.kontakt-forma .wpcf7-form input[type="text"],
.kontakt-forma .wpcf7-form input[type="email"],
.kontakt-forma .wpcf7-form input[type="tel"],
.kontakt-forma .wpcf7-form textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: var(--transition);
  outline: none;
  resize: none;
  box-sizing: border-box;
}

.kontakt-forma .wpcf7-form input::placeholder,
.kontakt-forma .wpcf7-form textarea::placeholder {
  color: var(--text-muted);
}

.kontakt-forma .wpcf7-form input:focus,
.kontakt-forma .wpcf7-form textarea:focus {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.kontakt-forma .wpcf7-form input[type="submit"] {
  width: 100%;
  background: var(--accent);
  color: #0d0f14;
  border: none;
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 4px;
  letter-spacing: -0.01em;
}

.kontakt-forma .wpcf7-form input[type="submit"]:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.kontakt-forma .wpcf7-not-valid-tip {
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 4px;
}

.kontakt-forma .wpcf7-response-output {
  border: none !important;
  padding: 12px 16px !important;
  border-radius: var(--radius-md) !important;
  font-size: 14px !important;
  margin: 8px 0 0 !important;
  background: var(--bg-card);
  color: var(--text-secondary);
}

/* Phosphor ikone u feature listama */
.igrace-feature-icon i,
.kontakt-info-icon i {
  font-size: inherit;
  line-height: 1;
}

/* Footer logo */
.footer-logo-img {
  height: 72px;
  width: auto;
  display: block;
  margin-bottom: 20px;
}

/* =============================================
   DOWNLOAD CTA SECTION
   ============================================= */
.download-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}

.download-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(
    ellipse at center,
    rgba(199, 220, 83, 0.08) 0%,
    transparent 70%
  );
}

.download-cta .section-title {
  max-width: 560px;
  margin: 0 auto 16px;
}

.download-cta .section-subtitle {
  max-width: 440px;
  margin: 0 auto 40px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  transition: var(--transition);
  min-width: 180px;
}

.store-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.store-btn-icon {
  font-size: 28px;
  line-height: 1;
}

.store-btn-text .pre {
  font-size: 10px;
  color: var(--text-secondary);
}

.store-btn-text .name {
  font-size: 16px;
  font-weight: 700;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 32px;
}

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

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d0f14;
  font-size: 16px;
  font-weight: 800;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

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

.social-link {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 16px;
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links-bottom {
  display: flex;
  gap: 20px;
}

.footer-links-bottom a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links-bottom a:hover {
  color: var(--text-secondary);
}

/* =============================================
   MOBILE NAV OVERLAY
   ============================================= */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-primary);
  flex-direction: column;
  padding: 100px 32px 40px;
  gap: 8px;
}

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

.mobile-nav-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 0;
  transition: var(--transition);
}

.mobile-nav-link:hover {
  color: var(--text-primary);
}

.mobile-nav .btn {
  margin-top: 24px;
  align-self: flex-start;
  font-size: 15px;
  padding: 12px 28px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .phone-mockup {
    width: 240px;
    height: 500px;
  }

  .float-card-1 {
    right: -20px;
  }
  .float-card-2 {
    left: -20px;
  }

  .igrace-content {
    gap: 48px;
  }

  .for-clubs-content {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .navbar-nav {
    display: none;
  }

  .navbar-actions .btn-primary {
    display: none;
  }

  .navbar {
    background: rgba(13, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 80px 0 60px;
    align-items: center;
    min-height: 100svh;
  }

  .hero-text-wrap {
    text-align: left;
  }

  .hero-cta {
    flex-wrap: wrap;
    gap: 10px;
  }

  .btn-store {
    flex: 1 1 140px;
  }

  .phone-mockup {
    width: 220px;
    height: 450px;
  }

  .float-card-1,
  .float-card-2 {
    display: none;
  }

  .igrace-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: 2;
  }

  .igrace-text {
    order: 1;
    text-align: center;
  }

  .igrace-text .section-title {
    text-align: center;
  }

  .igrace-feature-item {
    text-align: left;
  }

  .phone-mockup-wrap {
    padding: 20px;
  }

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

  .steps-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-divider {
    display: none;
  }

  .for-clubs-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .clubs-text {
    text-align: center;
  }

  .clubs-text .section-title {
    text-align: center;
  }

  .clubs-feature-item {
    text-align: left;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .db-sidebar {
    display: none;
  }

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

  .app-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .forma-row {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: span 2;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-cta {
    flex-wrap: wrap;
  }

  .btn-store {
    flex: 1 1 140px;
  }

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

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

  .footer-brand {
    grid-column: span 1;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* =============================================
   LEGAL PAGES (Privacy Policy, Terms)
   ============================================= */
.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-header {
  max-width: 760px;
  margin: 0 auto 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  transition: var(--transition);
}

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

.legal-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content section {
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 20px;
  color: var(--text-primary);
}

.legal-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-content ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(2).animate-in {
  transition-delay: 0.1s;
}
.feature-card:nth-child(3).animate-in {
  transition-delay: 0.2s;
}
.feature-card:nth-child(4).animate-in {
  transition-delay: 0.05s;
}
.feature-card:nth-child(5).animate-in {
  transition-delay: 0.15s;
}
.feature-card:nth-child(6).animate-in {
  transition-delay: 0.25s;
}

.step:nth-child(2).animate-in {
  transition-delay: 0.15s;
}
.step:nth-child(3).animate-in {
  transition-delay: 0.3s;
}

.clubs-feature-item:nth-child(2).animate-in {
  transition-delay: 0.1s;
}
.clubs-feature-item:nth-child(3).animate-in {
  transition-delay: 0.2s;
}
.clubs-feature-item:nth-child(4).animate-in {
  transition-delay: 0.3s;
}
