:root {
  --bg: #ffffff;
  --bg-alt: #f8f9fa;
  --text: #1a1a1a;
  --text-muted: #6c757d;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #10b981;
  --accent: #f59e0b;
  --error: #ef4444;
  --success: #10b981;
  --warning: #f59e0b;
  --border: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --transition: 0.2s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
}

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

.nav-list {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

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

.nav-cta {
  display: flex;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  text-align: center;
}

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

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

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

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

.btn-lg {
  padding: 14px 28px;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
  display: block;
}

.btn-danger {
  color: var(--error);
  border-color: var(--error);
}

.btn-danger:hover {
  background: var(--error);
  color: white;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-18 {
  background: var(--error);
  color: white;
  padding: 6px 12px;
  font-size: 0.875rem;
}

.badge-lg {
  font-size: 1.5rem;
  padding: 12px 24px;
}

.badge-xl {
  font-size: 3rem;
  padding: 24px 48px;
}

.badge-free {
  background: var(--success);
  color: white;
}

.badge-private {
  background: var(--accent);
  color: white;
}

.badge-sponsored {
  background: var(--warning);
  color: white;
}

.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.compliance-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--shadow);
}

.compliance-strip p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px var(--shadow);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text);
}

.features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

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

.feature-card:hover {
  box-shadow: 0 8px 24px var(--shadow);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.5;
}

.testimonials {
  padding: 80px 0;
  background: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  padding: 32px;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--shadow);
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  color: var(--text);
}

.author-role {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.faq-teaser {
  padding: 80px 0;
}

.faq-preview {
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
}

.faq-item {
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text);
}

.faq-item p {
  color: var(--text-muted);
}

.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
}

.cta-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px var(--shadow);
}

.cta-box h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text);
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.disclaimer {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.footer {
  background: var(--text);
  color: white;
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-compliance {
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-compliance p {
  margin-bottom: 8px;
}

.copyright {
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-simple {
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}

.footer-simple a {
  color: inherit;
  margin: 0 8px;
}

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

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

.text-sm {
  font-size: 0.875rem;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.page-header {
  padding: 60px 0;
  background: var(--bg-alt);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

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

.auth-section {
  padding: 60px 0;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.auth-box {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px var(--shadow);
}

.auth-box h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  text-align: center;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.auth-form {
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
  display: block;
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  gap: 8px;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 4px;
  cursor: pointer;
}

.auth-footer {
  text-align: center;
  color: var(--text-muted);
}

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

.auth-disclaimer {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.alert-info {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.dashboard-section {
  padding: 40px 0;
  min-height: calc(100vh - 200px);
}

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

.dashboard-header h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.dashboard-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--shadow);
}

.dashboard-card h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--text);
}

.matches-list,
.contests-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.match-item {
  padding: 12px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.match-teams {
  font-weight: 600;
}

.match-time {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
}

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

.action-icon {
  font-size: 2rem;
}

.privacy-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-item {
  padding: 12px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
}

.toggle-input {
  position: relative;
  width: 48px;
  height: 24px;
  appearance: none;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-input:checked {
  background: var(--primary);
}

.toggle-input::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-input:checked::after {
  left: 26px;
}

.team-builder-section {
  padding: 20px 0;
  min-height: calc(100vh - 100px);
}

.team-builder-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 24px;
}

.team-builder-sidebar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 80px;
}

.team-summary {
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 600;
}

.summary-breakdown {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 0.875rem;
}

.selected-team {
  margin-bottom: 24px;
}

.selected-team h2 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.team-builder-filters {
  margin-bottom: 24px;
}

.filter-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.filter-btn {
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

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

.player-card {
  padding: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.player-card:hover {
  box-shadow: 0 4px 12px var(--shadow);
}

.steps-container {
  display: grid;
  gap: 32px;
}

.step-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-card h2 {
  margin-bottom: 12px;
  padding-top: 16px;
}

.scoring-section {
  margin-top: 60px;
  padding: 40px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.scoring-tables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.scoring-table h3 {
  margin-bottom: 16px;
  color: var(--primary);
}

.scoring-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
}

.scoring-table th,
.scoring-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.scoring-table th {
  background: var(--bg-alt);
  font-weight: 600;
}

.fair-play-section {
  margin-top: 60px;
}

.fair-play-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.fair-play-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.fair-play-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.contests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.contest-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--shadow);
}

.contest-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.contest-header h2 {
  font-size: 1.25rem;
  color: var(--text);
}

.contest-details {
  margin-bottom: 20px;
}

.contest-detail-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.contest-detail-item .label {
  color: var(--text-muted);
}

.contest-detail-item .value {
  font-weight: 600;
}

.contest-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.info-box {
  padding: 32px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin-top: 40px;
}

.info-box h2 {
  margin-bottom: 16px;
}

.info-box ul {
  list-style: none;
  padding-left: 0;
}

.info-box li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.info-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item-expanded {
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.faq-item-expanded h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.faq-item-expanded p {
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
}

.download-hero {
  padding: 60px 0;
  background: var(--bg-alt);
}

.download-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.download-text h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.download-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.store-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.store-btn {
  display: block;
  transition: var(--transition);
}

.store-btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.store-btn img {
  height: 48px;
  width: auto;
}

.download-note {
  padding: 12px;
  background: white;
  border-radius: var(--radius);
}

.download-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.download-options {
  padding: 60px 0;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.download-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.download-card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.download-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.download-card-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.qr-section {
  padding: 60px 0;
  background: var(--bg-alt);
}

.qr-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 40px;
  background: white;
  border-radius: var(--radius);
}

.qr-content h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.qr-code img {
  display: block;
  width: 200px;
  height: 200px;
}

.app-features {
  padding: 60px 0;
}

.system-requirements {
  padding: 60px 0;
  background: var(--bg-alt);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.requirements-card {
  padding: 24px;
  background: white;
  border-radius: var(--radius);
}

.requirements-card h3 {
  margin-bottom: 16px;
  color: var(--primary);
}

.requirements-card ul {
  list-style: none;
  padding-left: 0;
}

.requirements-card li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.requirements-card li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--primary);
  font-weight: 700;
}

.disclaimer-box {
  padding: 24px;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
}

.disclaimer-box p {
  margin-bottom: 12px;
  color: var(--text);
}

.about-intro {
  text-align: center;
  margin-bottom: 60px;
}

.about-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-section {
  margin-bottom: 60px;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--text);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.value-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.skill-based-content {
  padding: 32px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.skill-list {
  margin: 24px 0;
  padding-left: 24px;
}

.skill-list li {
  margin-bottom: 16px;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.team-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.contact-item {
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.contact-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-container h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-info-box {
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.contact-info-box h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.required {
  color: var(--error);
}

.form-select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: white;
  cursor: pointer;
}

.policy-header {
  padding: 60px 0;
  background: var(--bg-alt);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.policy-header h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.policy-header p {
  color: var(--text-muted);
}

.policy-content {
  padding: 60px 0;
}

.policy-content h2 {
  font-size: 1.75rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text);
}

.policy-content h3 {
  font-size: 1.25rem;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--primary);
}

.policy-content p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 16px;
  padding-left: 32px;
}

.policy-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.policy-content a {
  color: var(--primary);
  text-decoration: underline;
}

.policy-footer {
  margin-top: 40px;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.highlight-box {
  padding: 24px;
  background: #fff3cd;
  border: 2px solid var(--warning);
  border-radius: var(--radius);
  margin: 24px 0;
}

.highlight-box h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.warning-box {
  padding: 24px;
  background: #fee2e2;
  border: 2px solid var(--error);
  border-radius: var(--radius);
  margin: 24px 0;
}

.warning-message {
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  margin: 24px 0;
}

.age-warning-badge {
  margin-bottom: 24px;
}

.age-warning-section {
  padding: 60px 0;
}

.age-warning-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border: 2px solid var(--error);
  border-radius: var(--radius);
}

.age-warning-icon {
  text-align: center;
  margin-bottom: 24px;
}

.age-warning-box h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 32px;
  color: var(--error);
}

.age-warning-content h2 {
  font-size: 1.75rem;
  margin-top: 32px;
  margin-bottom: 16px;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
}

.cookie-table th,
.cookie-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cookie-table th {
  background: var(--bg-alt);
  font-weight: 600;
}

.link-button {
  background: none;
  border: none;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  padding: 0;
}

.link-button:hover {
  color: var(--primary-hover);
}

.example-box {
  padding: 16px;
  background: var(--bg-alt);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  margin: 16px 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 2px solid var(--border);
  box-shadow: 0 -4px 16px var(--shadow);
  z-index: 100;
  padding: 24px;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.cookie-banner p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: none;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--shadow);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
}

.modal-close:hover {
  color: var(--text);
}

.modal-body {
  padding: 24px;
}

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

.cookie-category {
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cookie-category h3 {
  font-size: 1.125rem;
  margin: 0;
}

.cookie-status {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.toggle-slider {
  display: none;
}

@media (max-width: 1024px) {
  .hero-content,
  .download-content {
    grid-template-columns: 1fr;
  }

  .team-builder-layout {
    grid-template-columns: 1fr;
  }

  .team-builder-sidebar {
    position: static;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 12px;
  }

  .nav-cta {
    flex-direction: column;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid,
  .testimonials-grid,
  .contests-grid,
  .download-cards {
    grid-template-columns: 1fr;
  }

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

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

  .store-btn {
    width: 100%;
    max-width: 200px;
  }

  .store-btn img {
    width: 100%;
    height: auto;
  }

  .download-hero {
    padding: 40px 0;
  }

  .download-text h1 {
    font-size: 2rem;
    text-align: center;
  }

  .download-subtitle {
    font-size: 1.125rem;
    text-align: center;
  }

  .download-note {
    text-align: center;
  }

  .download-image {
    text-align: center;
  }

  .download-image img {
    max-width: 300px;
  }

  .qr-box {
    flex-direction: column;
    text-align: center;
  }

  .qr-content {
    text-align: center;
  }

  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cookie-banner-actions {
    flex-direction: column;
  }

  .cookie-banner-actions .btn {
    width: 100%;
  }
}

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

  .hero {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .btn-lg {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .features,
  .testimonials,
  .content-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 32px;
  }

  .auth-box {
    padding: 24px;
  }

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