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

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Brand Colors */
:root {
  --primary-blue: #007bff;
  --dark-blue: #0056b3;
  --black: #000;
  --white: #fff;
  --light-gray: #f8f9fa;
  --gray: #6c757d;
  --border-color: #dee2e6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--black);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

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

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

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

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn i {
  margin-right: 8px;
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 40px;
  width: auto;
}

.flag {
  height: 24px;
  width: auto;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-link:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.header-buttons {
  display: flex;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--black);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
  padding: 4rem 0;
}

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

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Key Info Section */
.key-info {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card i {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.info-card h3 {
  margin-bottom: 0.5rem;
  color: var(--black);
}

.info-card p {
  color: var(--gray);
  margin: 0;
}

/* Tables */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 600px;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: var(--primary-blue);
  color: var(--white);
  font-weight: 600;
}

tr:hover {
  background-color: var(--light-gray);
}

.total-row {
  background-color: var(--light-gray);
  font-weight: 600;
}

/* Advantages Section */
.advantages {
  padding: 4rem 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.advantage-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-3px);
}

.advantage-card i {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.advantage-card h3 {
  color: var(--black);
  margin-bottom: 0.5rem;
}

.advantages-image {
  text-align: center;
  margin: 3rem 0;
}

.section-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Registration Section */
.registration {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.steps-container {
  margin: 2rem 0;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
  background-color: var(--primary-blue);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: var(--black);
}

.step-content p {
  margin: 0;
}

.registration-image {
  text-align: center;
  margin: 3rem 0;
}

/* Bonus Section */
.bonus {
  padding: 4rem 0;
}

/* Deposit Section */
.deposit {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

/* Withdrawal Section */
.withdrawal {
  padding: 4rem 0;
}

/* Mobile App Section */
.mobile-app {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.app-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

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

/* Legal & Safety Section */
.legal-safety {
  padding: 4rem 0;
}

.legal-points {
  margin: 2rem 0;
}

.legal-point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.legal-point i {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-right: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.legal-point h3 {
  margin-bottom: 0.5rem;
  color: var(--black);
}

.legal-point p {
  margin: 0;
}

/* Responsible Gambling Section */
.responsible-gambling {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.responsible-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.responsible-feature {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.responsible-feature i {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.responsible-feature h3 {
  margin-bottom: 0.5rem;
  color: var(--black);
}

.responsible-image {
  text-align: center;
  margin: 3rem 0;
}

/* FAQ Section */
.faq {
  padding: 4rem 0;
}

.faq-list {
  margin: 2rem 0;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background-color: var(--light-gray);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

.faq-question:hover i {
  color: var(--white);
}

.faq-question h4 {
  margin: 0;
  font-size: 1.1rem;
  color: inherit;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary-blue);
}

.faq-item.active .faq-question {
  background-color: var(--primary-blue);
  color: var(--white);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--white);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background-color: var(--white);
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-answer p {
  margin: 0;
  color: var(--gray);
}

/* Footer */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--gray);
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-blue);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--primary-blue);
  color: var(--white);
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: var(--dark-blue);
}

.footer-bottom {
  border-top: 1px solid var(--gray);
  padding-top: 1rem;
  text-align: center;
  color: var(--gray);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  transition: left 0.3s ease;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-content {
  background-color: var(--white);
  width: 80%;
  height: 100%;
  padding: 2rem;
  position: relative;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  margin-top: 3rem;
}

.mobile-nav-link {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.mobile-buttons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Error styles */
.error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Notification styles */
.notification {
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-2 {
  margin-top: 2rem;
}

.section-padding {
  padding: 4rem 0;
}

/* Focus styles for accessibility */
.btn:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .nav,
  .header-buttons {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

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

  .hero-buttons {
    justify-content: center;
  }

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

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

  .app-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .legal-point {
    flex-direction: column;
    text-align: center;
  }

  .legal-point i {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .responsible-features {
    grid-template-columns: 1fr;
  }

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

  .social-links {
    justify-content: center;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 1rem;
  }

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

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

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

  .hero {
    padding: 2rem 0;
  }

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

  .section-padding {
    padding: 2rem 0;
  }

  .info-card,
  .advantage-card,
  .step,
  .legal-point,
  .responsible-feature {
    padding: 1.5rem;
  }

  .btn {
    padding: 10px 20px;
  }

  .btn-large {
    padding: 12px 24px;
  }

  table {
    font-size: 0.9rem;
  }

  th,
  td {
    padding: 0.75rem;
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .mobile-menu,
  .hero-buttons,
  .btn {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }

  .table-container {
    page-break-inside: avoid;
  }
}
