/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Морская спокойная палитра */
  --primary-bg: #F0F8FF;
  --secondary-bg: #E8F4F8;
  --text-primary: #2C3E50;
  --text-secondary: #5A6C7D;
  --accent: #3498DB;
  --accent-hover: #2980B9;
  --accent-light: #85C1E9;
  --button: #3498DB;
  --button-hover: #2980B9;
  --white: #FFFFFF;
  --border: #D6EAF8;
  --shadow-sm: rgba(52, 152, 219, 0.1);
  --shadow-md: rgba(52, 152, 219, 0.15);
  --shadow-lg: rgba(52, 152, 219, 0.2);
  --shadow-xl: rgba(52, 152, 219, 0.25);
  
  /* Material Design Elevation */
  --elevation-1: 0 2px 4px rgba(0, 0, 0, 0.1);
  --elevation-2: 0 4px 8px rgba(0, 0, 0, 0.12);
  --elevation-3: 0 6px 12px rgba(0, 0, 0, 0.15);
  --elevation-4: 0 8px 16px rgba(0, 0, 0, 0.18);
  --elevation-6: 0 12px 24px rgba(0, 0, 0, 0.2);
  --elevation-8: 0 16px 32px rgba(0, 0, 0, 0.22);
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--primary-bg);
  background-image: url("../images/bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -1;
  pointer-events: none;
}

.main {
  min-height: 100vh;
  position: relative;
}

.main-index {
  position: relative;
}

.main-index::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(240, 248, 255, 0.7) 0%,
    rgba(232, 244, 248, 0.75) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.main-index > * {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header - Material Design */
.header {
  background: var(--white);
  box-shadow: var(--elevation-2);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header:hover {
  box-shadow: var(--elevation-4);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
  transform: scale(1.05);
}

.logo:active {
  transform: scale(0.98);
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 4px var(--shadow-sm));
}

/* Hero Section - Material Design */
.hero {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.08) 0%, rgba(133, 193, 233, 0.08) 100%);
  color: var(--text-primary);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
  letter-spacing: -0.5px;
}

.hero-title strong {
  display: block;
  margin-top: 10px;
  font-size: 64px;
  color: var(--accent);
  font-weight: 800;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
  font-weight: 400;
}

.hero-features {
  list-style: none;
  margin: 40px 0;
  text-align: left;
  display: inline-block;
  position: relative;
  z-index: 2;
}

.hero-features li {
  padding: 12px 0;
  padding-left: 35px;
  position: relative;
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 400;
}

.hero-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: var(--accent);
  font-size: 24px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.badge {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--elevation-1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.badge:hover {
  box-shadow: var(--elevation-3);
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

.hero-disclaimer {
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
  font-weight: 400;
}

/* Betting Sites Section */
.betting-sites {
  padding: 80px 0;
  position: relative;
  background: var(--secondary-bg);
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
  color: var(--text-primary);
  position: relative;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.sites-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Material Design Card */
.site-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--elevation-2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin-bottom: 40px;
  border: 1px solid var(--border);
}

.site-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elevation-6);
  border-color: var(--accent-light);
}

.site-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--elevation-4);
}

.site-card.featured:hover {
  box-shadow: var(--elevation-8);
  transform: translateY(-6px);
}

.card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: var(--elevation-2);
}

.card-main {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: 16px 16px 0 0;
  min-height: 200px;
  position: relative;
  padding: 0;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  flex: 1 1 100%;
  justify-content: stretch;
}

.card-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 24px;
  border-right: 1px solid var(--border);
  position: relative;
  flex: 1 1 auto;
}

.card-section:last-child {
  border-right: none;
}

.card-logo {
  flex: 0 0 220px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.card-logo a {
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-logo a:hover {
  transform: scale(1.1);
}

.brand-logo {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px var(--shadow-sm));
}

.card-score {
  flex: 0 0 140px;
  background: var(--white);
  text-align: center;
  border-right: 1px solid var(--border);
}

.score-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.score-value {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.card-rating {
  flex: 1 1 200px;
  background: var(--white);
  text-align: center;
  border-right: 1px solid var(--border);
}

.star-rating {
  margin-bottom: 12px;
}

.star {
  font-size: 22px;
  color: #E0E0E0;
  margin: 0 3px;
}

.star.filled {
  color: #FFC107;
}

.star.half {
  background: linear-gradient(90deg, #FFC107 50%, #E0E0E0 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--text-secondary);
}

.info-icon {
  font-size: 14px;
  color: var(--accent);
}

.views-count {
  color: var(--text-secondary);
}

.card-bonus {
  flex: 1 1 220px;
  background: var(--white);
  text-align: center;
  border-right: 1px solid var(--border);
}

.bonus-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bonus-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.card-button {
  flex: 0 0 auto;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
}

/* Material Design Button with Ripple */
.btn-bonus {
  display: inline-block;
  background: var(--button);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 28px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--elevation-2);
  text-align: center;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-bonus::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-bonus:hover::before {
  width: 300px;
  height: 300px;
}

.btn-bonus:hover {
  background: var(--button-hover);
  transform: translateY(-2px);
  box-shadow: var(--elevation-4);
}

.btn-bonus:active {
  transform: translateY(0);
  box-shadow: var(--elevation-2);
}

.card-disclaimer {
  background: var(--secondary-bg);
  color: var(--text-secondary);
  padding: 20px 30px;
  font-size: 11px;
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

/* Info Section */
.info-section {
  padding: 80px 0;
  position: relative;
  background: var(--primary-bg);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--elevation-2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--elevation-4);
  border-color: var(--accent-light);
}

.info-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-weight: 600;
}

.info-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 15px;
  font-weight: 400;
}

/* About Section */
.about-section {
  padding: 80px 0;
  position: relative;
  background: var(--white);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content p {
  margin-bottom: 25px;
  color: var(--text-primary);
  line-height: 1.9;
  font-size: 17px;
  font-weight: 400;
}

/* Footer */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 60px 0 40px;
  position: relative;
  z-index: 10;
  box-shadow: 0 -2px 8px var(--shadow-sm);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-section h3 {
  color: var(--text-primary);
  font-size: 20px;
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px;
  display: inline-block;
  font-weight: 400;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  margin-top: 40px;
}

.footer-disclaimer {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 25px;
}

.footer-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 25px;
  font-weight: 400;
}

/* Page Styles */
.page-content {
  padding: 80px 0;
  background: var(--primary-bg);
  min-height: 60vh;
  position: relative;
}

.page-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.page-content h2 {
  font-size: 32px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-weight: 600;
}

.page-content h3 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-primary);
  font-weight: 600;
}

.page-content p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 16px;
  font-weight: 400;
}

.page-content ul,
.page-content ol {
  margin: 25px 0;
  padding-left: 35px;
}

.page-content li {
  margin-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 400;
}

.page-content a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

.page-content a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Material Design Form Styles */
.contact-form {
  max-width: 600px;
  margin: 30px 0;
}

.contact-form form {
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--elevation-2);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--elevation-1);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1), var(--elevation-2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background: var(--button);
  color: var(--white);
  padding: 14px 32px;
  border: none;
  border-radius: 28px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--elevation-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.form-submit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.form-submit:hover::before {
  width: 300px;
  height: 300px;
}

.form-submit:hover {
  background: var(--button-hover);
  transform: translateY(-2px);
  box-shadow: var(--elevation-4);
}

.form-submit:active {
  transform: translateY(0);
  box-shadow: var(--elevation-2);
}

/* Responsive for cards */
@media (max-width: 1200px) {
  .card-main {
    flex-wrap: wrap;
  }

  .card-section {
    flex: 1 1 50%;
    min-width: 150px;
  }

  .card-button {
    flex: 1 1 100%;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-title strong {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 32px;
  }

  .card-main {
    flex-direction: column;
  }

  .card-section {
    flex: 1 1 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .card-logo,
  .card-score,
  .card-rating,
  .card-bonus {
    min-width: 100%;
  }

  .card-button {
    border-top: 1px solid var(--border);
  }

  .btn-bonus {
    max-width: 100%;
    padding: 14px 32px;
  }

  .sites-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 32px;
  }

  .contact-form form {
    padding: 24px;
  }
}
