/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  overflow-x: hidden;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c3e50;
  color: #fff;
  padding: 20px;
  z-index: 10000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 250px;
}

.cookie-content a {
  color: #4a90e2;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.btn-cookie {
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-accept {
  background: #4a90e2;
  color: #fff;
}

.btn-accept:hover {
  background: #3a7bc8;
}

.btn-decline {
  background: #7f8c8d;
  color: #fff;
}

.btn-decline:hover {
  background: #6c7a7b;
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #4a90e2;
}

.burger-checkbox {
  display: none;
}

.burger-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.burger-line {
  width: 100%;
  height: 3px;
  background: #333;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: absolute;
}

.burger-line:nth-child(1) {
  top: 0;
}

.burger-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger-line:nth-child(3) {
  bottom: 0;
}

.burger-checkbox:checked ~ .burger-icon .burger-line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.burger-checkbox:checked ~ .burger-icon .burger-line:nth-child(2) {
  transform: translateY(-50%) scale(0);
}

.burger-checkbox:checked ~ .burger-icon .burger-line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

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

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #4a90e2;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #4a90e2 0%, #5f6d7e 100%);
  z-index: -1;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: #4a90e2;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Sections */
.section {
  padding: 80px 20px;
}

.section-alt {
  background: #f8f9fa;
}

.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  color: #2c3e50;
}

.section-image-wrapper {
  max-width: 1000px;
  margin: 0 auto 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.content-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.content-card h3 {
  color: #4a90e2;
  margin-bottom: 15px;
  font-size: 20px;
}

.content-card p {
  color: #555;
  line-height: 1.7;
}

/* Responsible Gaming Section */
.responsible-content {
  max-width: 900px;
  margin: 0 auto;
}

.warning-box {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 25px;
  margin-bottom: 40px;
  border-radius: 4px;
}

.warning-box h3 {
  color: #856404;
  margin-bottom: 15px;
}

.warning-box p {
  color: #856404;
  margin-bottom: 10px;
}

.highlight {
  font-weight: 700;
  font-size: 18px;
}

.help-resources {
  margin-bottom: 40px;
}

.help-resources h3 {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
}

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

.help-card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.help-card h4 {
  color: #4a90e2;
  margin-bottom: 12px;
}

.help-card p {
  color: #555;
  margin-bottom: 12px;
}

.phone-number {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
}

.help-link {
  display: inline-block;
  color: #4a90e2;
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

.help-link:hover {
  border-color: #4a90e2;
}

.responsible-tips h3 {
  margin-bottom: 20px;
  color: #2c3e50;
}

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

.tips-list li {
  padding: 12px 0 12px 30px;
  position: relative;
  color: #555;
}

.tips-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4a90e2;
  font-weight: 700;
  font-size: 18px;
}

/* Operator Section */
.operator-content {
  max-width: 1200px;
  margin: 0 auto;
}

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

.operator-card {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.operator-banner {
  margin-bottom: 20px;
  text-align: center;
}

.operator-logo {
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

.operator-card h3 {
  color: #4a90e2;
  margin-bottom: 20px;
  font-size: 26px;
  text-align: center;
}

.operator-card > p {
  color: #555;
  margin-bottom: 25px;
  line-height: 1.7;
}

.operator-features,
.operator-info,
.license-info {
  margin-top: 30px;
}

.operator-features h4,
.operator-info h4 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.operator-features ul {
  list-style: none;
  padding: 0;
}

.operator-features li {
  padding: 10px 0;
  color: #555;
}

.operator-features strong {
  color: #4a90e2;
}

.operator-actions {
  margin-top: 30px;
  text-align: center;
}

.btn-operator {
  display: inline-block;
  padding: 14px 32px;
  background: #4a90e2;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn-operator:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
  background: #3a7bc8;
}

.license-info {
  background: #e8f4f8;
  padding: 20px;
  border-radius: 4px;
}

.license-info p {
  color: #2c3e50;
  margin: 0;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-text h3 {
  color: #4a90e2;
  margin: 25px 0 15px;
  font-size: 22px;
}

.about-text h3:first-child {
  margin-top: 0;
}

.about-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

.about-image .image-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #cbd5e0;
  border-radius: 8px;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3,
.contact-form-wrapper h3 {
  color: #2c3e50;
  margin-bottom: 25px;
}

.contact-item {
  margin-bottom: 25px;
}

.contact-item strong {
  color: #4a90e2;
  display: block;
  margin-bottom: 5px;
}

.contact-item p {
  color: #555;
  margin: 0;
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a90e2;
}

.checkbox-group {
  margin: 25px 0;
}

.checkbox-label {
  display: flex;
  align-items: start;
  gap: 10px;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: auto;
}

.checkbox-label span {
  flex: 1;
  color: #555;
}

.checkbox-label a {
  color: #4a90e2;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: #4a90e2;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #3a7bc8;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 50px 20px 30px;
}

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

.footer-brand p {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-divider {
  height: 1px;
  background: #455a64;
  margin: 30px 0;
}

.footer-partners h4,
.footer-legal h4 {
  color: #4a90e2;
  margin-bottom: 15px;
}

.partner-links,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.partner-item {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.3s;
}

.partner-item:hover {
  opacity: 0.8;
}

.partner-banner-wrapper {
  position: relative;
  display: inline-block;
}

.partner-banner {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.partner-item:hover .partner-banner {
  opacity: 0.8;
}

.legal-links a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s;
}

.legal-links a:hover {
  color: #4a90e2;
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
}

.footer-bottom p {
  margin: 10px 0;
  font-size: 14px;
  color: #95a5a6;
}

.warning-text {
  color: #ffc107;
  font-weight: 600;
}

/* Mobile Styles */
@media (max-width: 900px) {
  .burger-icon {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    padding: 80px 20px;
  }

  .burger-checkbox:checked ~ .nav {
    transform: translateX(0);
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-link {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

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

  .section {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .section-image-wrapper {
    margin-bottom: 30px;
    border-radius: 4px;
  }

  .content-grid {
    gap: 20px;
  }

  .content-card {
    padding: 20px;
  }

  .operators-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .operator-card {
    padding: 25px;
  }

  .operator-logo {
    max-width: 150px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .partner-links,
  .legal-links {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

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

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

  .section-title {
    font-size: 24px;
  }

  .help-cards {
    grid-template-columns: 1fr;
  }
}
