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

:root {
  --primary: #1a1a2e;
  --accent: #f4a700;
  --accent-dark: #d48f00;
  --bg: #ffffff;
  --text: #222222;
  --text-light: #555555;
  --btn-bg: #32373c;
  --border: #e0e0e0;
}

body {
  font-family: 'Roboto', 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

/* ==================== NAV ==================== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.logo-img {
  height: 80px;
  width: auto;
}

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

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--accent);
  color: var(--text) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent-dark);
  color: var(--text) !important;
  transform: scale(1.05);
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  background: #1a1a2e;
  color: #ffffff;
  text-align: center;
  padding: 8rem 2rem 6rem;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.65);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero h1 span {
  display: block;
  font-size: 2.5rem;
  color: var(--accent);
  letter-spacing: 6px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-block;
  background: var(--btn-bg);
  color: #ffffff;
  padding: 0.9rem 2.5rem;
  border: none;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn:hover {
  background: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn-hero {
  font-size: 1.3rem;
  padding: 1rem 3rem;
  background: var(--accent);
  color: var(--text);
}

.btn-hero:hover {
  background: var(--accent-dark);
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ==================== ABOUT ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border: 3px solid var(--border);
}

.about-text h2 {
  text-align: left;
}

.about-text h2::after {
  margin: 0.75rem 0 0;
}

.about-text p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.about-slogan {
  font-size: 1.2rem;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ==================== TOURNAMENT PACKAGE ==================== */
.package-content {
  max-width: 600px;
  margin: 0 auto;
}

.package-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.package-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.package-list {
  list-style: none;
  padding: 0;
}

.package-list li {
  padding: 0.5rem 0;
  font-size: 1.05rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  padding-left: 1.25rem;
  position: relative;
}

.package-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ==================== DETAILS CARDS ==================== */
.details-section {
  background: #f5f5f5;
  max-width: none;
  padding: 5rem 2rem;
  color: var(--text);
}

.details-section h2 {
  color: var(--primary);
}

.details-section h2::after {
  background: var(--accent);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 1.05rem;
  color: var(--text-light);
}

/* ==================== SCHEDULE ==================== */
.schedule-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.schedule-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.schedule-time {
  background: var(--accent);
  color: var(--text);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 1.25rem 1.5rem;
  min-width: 140px;
  text-align: center;
}

.schedule-event {
  padding: 1.25rem 1.5rem;
  font-weight: 500;
  font-size: 1.05rem;
}

/* ==================== PAYMENT NOTICE ==================== */
.payment-notice-section {
  background: #f9f9f9;
  max-width: none;
  padding: 3rem 2rem 0;
  text-align: center;
}

.payment-notice {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
}

.payment-notice a {
  color: var(--accent-dark);
}

/* ==================== REGISTER ==================== */
.register-section {
  background: #f9f9f9;
  max-width: none;
  padding: 5rem 2rem;
  color: var(--text);
}

.register-section h2 {
  color: var(--primary);
}

.register-section h2::after {
  background: var(--accent);
}

#registration-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

#registration-form input,
#registration-form select {
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background: #ffffff;
  color: var(--text);
  transition: border-color 0.2s;
}

#registration-form input::placeholder {
  color: #999999;
}

#registration-form select {
  color: #999999;
}

#registration-form select option {
  background: #ffffff;
  color: var(--text);
}

#registration-form input:focus,
#registration-form select:focus {
  outline: none;
  border-color: var(--accent);
}

#registration-form .btn {
  align-self: stretch;
  text-align: center;
  margin-top: 0.5rem;
}

#registration-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#form-message {
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  min-height: 1.5em;
}

#form-message.form-success {
  color: #2e7d32;
}

#form-message.form-error {
  color: #c62828;
}

/* ==================== FOOTER ==================== */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 2rem 1.5rem;
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero h1 span {
    font-size: 1.6rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text h2 {
    text-align: center;
  }

  .about-text h2::after {
    margin: 0.75rem auto 0;
  }

  .schedule-item {
    flex-direction: column;
  }

  .schedule-time {
    min-width: 100%;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero h1 span {
    font-size: 1.3rem;
  }

  nav {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero {
    padding: 5rem 1.5rem 4rem;
  }
}
