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

:root {
  --green-dark:   #1a5c2b;
  --green-mid:    #2e8b3a;
  --green-light:  #d6ebd9;
  --green-pale:   #f0f7f1;
  --gold:         #c9a800;
  --gold-light:   #fff8cc;
  --red:          #c0392b;
  --white:        #ffffff;
  --grey-50:      #f8f9fa;
  --grey-100:     #f0f0f0;
  --grey-200:     #e0e0e0;
  --grey-600:     #666666;
  --grey-800:     #333333;
  --font:         'Inter', system-ui, sans-serif;
  --radius:       10px;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-ball { font-size: 1.6rem; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s;
}

nav a:hover, nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

nav a.nav-cta {
  background: var(--gold);
  color: var(--green-dark);
  font-weight: 700;
}

nav a.nav-cta:hover {
  background: #e0bb00;
  color: var(--green-dark);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
  font-family: var(--font);
}

.btn-primary { background: var(--gold); color: var(--green-dark); }
.btn-primary:hover { background: #e0bb00; text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); text-decoration: none; }

.btn-full { width: 100%; text-align: center; padding: 14px; font-size: 1rem; }

.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #0f3d1c 60%, #1a2f0e 100%);
  color: var(--white);
  padding: 80px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "⚽";
  position: absolute;
  font-size: 300px;
  opacity: 0.04;
  top: -60px;
  right: -60px;
  line-height: 1;
}

.hero-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,0,0.2);
  border: 1px solid rgba(201,168,0,0.4);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-sub { color: var(--gold); display: block; }
.hero-desc { color: rgba(255,255,255,0.65); font-size: 1rem; margin-bottom: 36px; }

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #0f3d1c 100%);
  color: var(--white);
  padding: 52px 24px;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1rem; }

.section { padding: 60px 24px; }

.container { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin: 48px 0 28px;
  color: var(--green-dark);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

.how-card {
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.how-icon { font-size: 2.2rem; margin-bottom: 12px; }
.how-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.how-card p { font-size: 0.9rem; color: var(--grey-600); line-height: 1.5; }

.prize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.prize-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: box-shadow 0.15s, transform 0.15s;
}

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

.prize-card.prize-gold {
  background: linear-gradient(135deg, #fffbe6, #fff0a0);
  border-color: var(--gold);
}

.prize-emoji { font-size: 2rem; margin-bottom: 8px; }
.prize-name { font-size: 0.85rem; font-weight: 700; color: var(--grey-800); margin-bottom: 6px; }
.prize-amount { font-size: 1.4rem; font-weight: 800; color: var(--green-dark); margin-bottom: 6px; }
.prize-card.prize-gold .prize-amount { color: #7a5f00; }
.prize-desc { font-size: 0.78rem; color: var(--grey-600); line-height: 1.4; }

.cta-bar {
  background: var(--green-dark);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-bar p { color: var(--white); font-size: 1.1rem; font-weight: 600; }

.rules-container { max-width: 860px; }

.rules-intro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 40px;
}

.rules-intro-item { display: flex; flex-direction: column; gap: 2px; }

.rules-intro-item strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-dark);
}

.rules-intro-item span { font-size: 0.95rem; font-weight: 600; color: var(--grey-800); }

.rules-container h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--gold);
}

.rules-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

.rules-table th {
  background: var(--green-dark);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rules-table td { padding: 12px 16px; border-bottom: 1px solid var(--grey-200); vertical-align: top; }
.rules-table tr:nth-child(even) td { background: var(--grey-50); }
.rules-table tr:hover td { background: var(--green-pale); }
.rules-table tr.total-row td { background: var(--gold-light) !important; font-weight: 600; border-top: 2px solid var(--gold); }

.rule-emoji { margin-right: 4px; }
.amount { font-weight: 700; color: var(--green-dark); white-space: nowrap; }

.sp-block {
  background: var(--grey-50);
  border-left: 4px solid var(--green-mid);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.sp-block h3 { font-size: 1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 10px; }
.sp-block ul, .sp-block ol { padding-left: 20px; }
.sp-block li { font-size: 0.9rem; color: var(--grey-800); margin-bottom: 6px; line-height: 1.5; }

.form-wrap { max-width: 520px; margin: 0 auto; }

.form-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-card h2 { font-size: 1.4rem; font-weight: 800; color: var(--green-dark); margin-bottom: 8px; }
.form-intro { font-size: 0.9rem; color: var(--grey-600); margin-bottom: 28px; line-height: 1.6; }

.form-error {
  background: #fdf0f0;
  border: 1px solid #f5c6c6;
  color: var(--red);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.form-group { margin-bottom: 20px; }

.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--grey-800); margin-bottom: 6px; }

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-200);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font);
  color: var(--grey-800);
  transition: border-color 0.15s, box-shadow 0.15s;
  background: var(--white);
}

.form-group input:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(46,139,58,0.12);
}

.form-group input::placeholder { color: #aaa; }

.form-small { font-size: 0.78rem; color: var(--grey-600); margin-top: 16px; line-height: 1.5; text-align: center; }
.form-small a { color: var(--green-mid); }

.success-card {
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
}

.success-icon { font-size: 3rem; margin-bottom: 16px; }
.success-card h2 { font-size: 1.6rem; font-weight: 800; color: var(--green-dark); margin-bottom: 12px; }
.success-card p { font-size: 0.95rem; color: var(--grey-600); margin-bottom: 10px; line-height: 1.6; }
.success-card .btn { margin-top: 20px; }

footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 28px 24px;
  font-size: 0.85rem;
}

.footer-inner p { margin-bottom: 4px; }
.footer-small { font-size: 0.75rem; opacity: 0.7; }

@media (max-width: 600px) {
  .hero { padding: 56px 20px 64px; }
  .hero h1 { font-size: 2.2rem; }
  .header-inner { padding: 0 16px; }
  nav a:not(.nav-cta) { display: none; }
  .form-card { padding: 28px 20px; }
  .rules-table { font-size: 0.82rem; }
  .rules-table th, .rules-table td { padding: 10px 10px; }
  .cta-bar { flex-direction: column; gap: 12px; }
}

.success-card .btn-secondary {
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.success-card .btn-secondary:hover {
  background: var(--green-pale);
}

.success-card .btn-secondary {
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.success-card .btn-secondary:hover {
  background: var(--green-pale);
}
