* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #e94560;
  --secondary-color: #0f3460;
  --dark-bg: #16213e;
  --darker-bg: #1a1a2e;
  --text-light: #ffffff;
  --text-muted: #94a1b2;
  --border-color: #2a3a5a;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Age Disclaimer Modal */
.age-disclaimer-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.age-disclaimer-wrapper.hidden {
  display: none;
}

.custom-modal {
  background: linear-gradient(145deg, var(--dark-bg), var(--darker-bg));
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  padding: 50px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(233, 69, 96, 0.3);
}

.custom-modal h3 {
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.custom-modal img {
  margin: 20px 0;
  max-width: 100px;
}

.custom-modal p {
  color: var(--text-muted);
  margin: 20px 0;
}

.mbtn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.mbtn:hover {
  background: #ff5277;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark-bg);
  border-top: 2px solid var(--primary-color);
  padding: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  color: var(--text-muted);
}

.cookie-banner a {
  color: var(--primary-color);
  text-decoration: none;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--primary-color);
  color: white;
}

.cookie-accept:hover {
  background: #ff5277;
}

.cookie-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.cookie-decline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Top Disclaimer */
.top-disc {
  background: var(--secondary-color);
  padding: 15px 0;
}

.top-disc p {
  color: var(--text-muted);
  font-size: 14px;
}

.img-bg {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
}

/* Age Badge - 18+ Circle */
.age-badge {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), #ff5277);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: white;
  box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.2);
  margin: 0 auto;
}

.age-badge-large {
  width: 100px;
  height: 100px;
  font-size: 32px;
  margin: 20px auto;
}

.age-badge-xlarge {
  width: 140px;
  height: 140px;
  font-size: 48px;
}

/* Navigation */
.top-nav {
  padding-top: 15px;
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  width: 120px;
  height: auto;
  display: block;
}

.ul-links {
  display: flex;
}

.ul-links ul {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
}

.ul-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.ul-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.ul-links a:hover::after,
.ul-links a.active-my::after {
  width: 100%;
}

.ul-links a:hover,
.ul-links a.active-my {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    rgba(233, 69, 96, 0.1) 0%,
    rgba(15, 52, 96, 0.1) 100%
  );
  padding: 80px 0;
  margin: 40px 0;
  border-radius: 20px;
}

.her-cont {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.her-cont h1 {
  font-size: 48px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), #ff5277);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.her-cont h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.her-cont p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 18px;
}

.link-main {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.link-main:hover {
  background: #ff5277;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(233, 69, 96, 0.4);
}

/* Sections */
.py-5 {
  padding: 60px 0;
}

.py-3 {
  padding: 20px 0;
}

.pb-4 {
  padding-bottom: 30px;
}

.mb-4 {
  margin-bottom: 30px;
}

.mb-3 {
  margin-bottom: 20px;
}

.mb-5 {
  margin-bottom: 40px;
}

.m-0 {
  margin: 0;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--text-light);
}

h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.has-style {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
}

.col-lg-3,
.col-lg-4,
.col-lg-9,
.col-lg-11,
.col-lg-1 {
  padding: 0 15px;
}

.col-lg-1 {
  width: 8.33%;
}
.col-lg-3 {
  width: 25%;
}
.col-lg-4 {
  width: 33.33%;
}
.col-lg-9 {
  width: 75%;
}
.col-lg-11 {
  width: 91.67%;
}

.align-items-center {
  align-items: center;
}

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Element Items */
.element-item {
  background: linear-gradient(145deg, var(--dark-bg), var(--darker-bg));
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.element-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(233, 69, 96, 0.2);
}

.element-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.element-item h3 {
  color: var(--primary-color);
  font-size: 20px;
}

.element-item-1 {
  background: rgba(233, 69, 96, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.element-item-1:hover {
  background: rgba(233, 69, 96, 0.1);
  border-color: var(--primary-color);
}

.element-item-1 h5 {
  color: var(--primary-color);
  font-size: 18px;
}

/* Game Section */
.game-sect img {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
  background: var(--darker-bg);
  padding: 60px 0 30px;
  margin-top: 80px;
  border-top: 2px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 14px;
}

.responsible-gaming {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.responsible-gaming a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 20px 30px;
  border-radius: 12px;
  min-width: 180px;
  min-height: 100px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.responsible-gaming a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.responsible-gaming img {
  height: 60px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 1;
}

.responsible-gaming img:hover {
  opacity: 0.85;
}

/* Reviews */
.review-card {
  background: linear-gradient(145deg, var(--dark-bg), var(--darker-bg));
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: var(--primary-color);
  transform: translateX(5px);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
}

.review-info h4 {
  color: var(--text-light);
  margin-bottom: 5px;
}

.review-date {
  color: var(--text-muted);
  font-size: 14px;
}

.review-rating {
  color: #ffd700;
  margin-bottom: 15px;
}

.review-text {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Legal Pages */
.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.legal-page h1 {
  font-size: 42px;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.legal-page h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.legal-page h3 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-light);
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.8;
}

.legal-page ul {
  margin-left: 30px;
  margin-bottom: 20px;
}

.legal-page strong {
  color: var(--text-light);
}

/* Responsive */

/* Large Tablets and Small Desktops (992px - 1200px) */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  /* Navigation */
  .top-nav {
    gap: 15px;
  }

  .ul-links ul {
    gap: 30px;
  }

  .ul-links a {
    font-size: 15px;
  }

  h2 {
    font-size: 32px;
  }

  .her-cont h1 {
    font-size: 42px;
  }
}

/* Tablets and Small Laptops (768px - 992px) */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
    padding: 0 15px;
  }

  /* Grid System */
  .col-lg-1,
  .col-lg-3,
  .col-lg-4,
  .col-lg-9,
  .col-lg-11 {
    width: 100%;
    margin-bottom: 20px;
  }

  .row {
    margin: 0;
  }

  /* Navigation */
  .top-nav {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .ul-links ul {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .ul-links a {
    font-size: 16px;
    padding: 10px 0;
  }

  /* Hero Section */
  .hero {
    padding: 60px 20px;
    margin: 30px 0;
  }

  .her-cont h1 {
    font-size: 36px;
  }

  .her-cont h3 {
    font-size: 24px;
  }

  .her-cont p {
    font-size: 16px;
  }

  /* Typography */
  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 22px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-section {
    text-align: center;
  }

  /* Cookie Banner */
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  /* Top Disclaimer */
  .top-disc .row {
    text-align: center;
  }

  .top-disc .col-lg-1,
  .top-disc .col-lg-11 {
    width: 100%;
  }

  .top-disc img {
    margin: 0 auto 10px;
  }

  /* Sections */
  .py-5 {
    padding: 40px 0;
  }

  /* Contact Page */
  .contact-container {
    padding: 0 15px;
  }

  .contact-box {
    padding: 30px 20px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Legal Pages */
  .legal-page {
    padding: 40px 15px;
  }

  .legal-page h1 {
    font-size: 36px;
  }

  .legal-page h2 {
    font-size: 26px;
  }
}

/* Mobile Landscape and Small Tablets (576px - 768px) */
@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  /* Hero Section */
  .hero {
    padding: 40px 15px;
    margin: 20px 0;
  }

  .her-cont h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .her-cont h3 {
    font-size: 20px;
  }

  .her-cont p {
    font-size: 15px;
  }

  /* Typography */
  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  .has-style {
    font-size: 15px;
  }

  /* Buttons and Links */
  .link-main {
    padding: 12px 30px;
    font-size: 15px;
  }

  /* Modals */
  .custom-modal {
    padding: 30px 20px;
    margin: 15px;
    max-width: 90%;
  }

  .custom-modal h3 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .custom-modal img {
    width: 80px !important;
  }

  .custom-modal p {
    font-size: 14px;
  }

  .mbtn {
    padding: 12px 30px;
    font-size: 15px;
  }

  /* Cookie Banner */
  .cookie-banner {
    padding: 15px;
  }

  .cookie-banner p {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .cookie-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Navigation */
  .logo img {
    width: 100px;
  }

  .top-nav {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  /* Element Items */
  .element-item,
  .element-item-1 {
    padding: 25px;
  }

  .element-item h3 {
    font-size: 18px;
  }

  /* Game Section - Play Page */
  .game-container {
    padding: 25px 15px;
    margin: 20px 10px;
  }

  .game-header h1 {
    font-size: 28px;
  }

  #slot-canvas {
    max-width: 100%;
    height: auto;
  }

  .game-controls {
    flex-direction: column;
    gap: 20px;
  }

  .control-value {
    font-size: 24px;
  }

  #spin-btn {
    padding: 15px 40px;
    font-size: 20px;
    width: 100%;
  }

  #message-display {
    font-size: 18px;
  }

  .payouts {
    grid-template-columns: 1fr;
  }

  /* Reviews Page */
  .review-card {
    padding: 20px;
  }

  .review-header {
    flex-direction: column;
    text-align: center;
  }

  .review-avatar {
    margin: 0 auto 15px;
  }

  /* Contact Page */
  .contact-container {
    margin: 30px auto;
  }

  .contact-box h1 {
    font-size: 32px;
  }

  .faq-item {
    padding: 20px;
  }

  .faq-item h3 {
    font-size: 18px;
  }

  /* Legal Pages */
  .legal-page {
    padding: 30px 15px;
  }

  .legal-page h1 {
    font-size: 32px;
  }

  .legal-page h2 {
    font-size: 24px;
  }

  .legal-page h3 {
    font-size: 20px;
  }

  .legal-page ul {
    margin-left: 20px;
  }

  /* Cookie Policy Table */
  .legal-page table {
    font-size: 13px;
  }

  .legal-page th,
  .legal-page td {
    padding: 8px !important;
  }

  /* Responsible Gaming Logos */
  .responsible-gaming {
    gap: 20px;
  }

  .responsible-gaming a {
    padding: 15px 25px;
    min-width: 150px;
    min-height: 85px;
  }

  .responsible-gaming img {
    height: 45px;
    max-width: 120px;
  }

  /* Footer */
  footer {
    padding: 40px 0 20px;
    margin-top: 40px;
  }

  .footer-section h4 {
    font-size: 18px;
  }

  .footer-section ul li {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 13px;
    padding-top: 20px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}

/* Mobile Portrait (480px - 576px) */
@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 12px;
  }

  /* Hero Section */
  .hero {
    padding: 30px 12px;
    border-radius: 15px;
  }

  .her-cont h1 {
    font-size: 24px;
  }

  .her-cont h3 {
    font-size: 18px;
  }

  .her-cont p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  /* Typography */
  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  /* Buttons */
  .link-main {
    padding: 10px 25px;
    font-size: 14px;
  }

  /* Sections */
  .py-5 {
    padding: 30px 0;
  }

  .pb-4 {
    padding-bottom: 20px;
  }

  /* Navigation */
  .logo img {
    width: 80px;
  }

  .ul-links ul {
    gap: 10px;
  }

  .ul-links a {
    font-size: 15px;
  }

  /* Top Disclaimer */
  .top-disc {
    padding: 10px 0;
  }

  .top-disc p {
    font-size: 12px;
  }

  .top-disc img {
    width: 50px !important;
  }

  /* Modals */
  .custom-modal {
    padding: 25px 15px;
    max-width: 95%;
  }

  .custom-modal h3 {
    font-size: 22px;
  }

  .custom-modal img {
    width: 70px !important;
  }

  /* Cookie Banner */
  .cookie-banner {
    padding: 12px;
  }

  .cookie-banner p {
    font-size: 12px;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
    padding: 10px;
  }

  /* Element Items */
  .element-item,
  .element-item-1 {
    padding: 20px;
  }

  /* Game Container */
  .game-container {
    padding: 20px 12px;
    margin: 15px 5px;
  }

  .game-header h1 {
    font-size: 24px;
  }

  .game-header p {
    font-size: 13px;
  }

  .control-group label {
    font-size: 12px;
  }

  .control-value {
    font-size: 20px;
  }

  .bet-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  #spin-btn {
    padding: 12px 30px;
    font-size: 18px;
  }

  #message-display {
    font-size: 16px;
  }

  .game-info {
    padding: 15px;
  }

  .game-info h3 {
    font-size: 18px;
  }

  .game-info p {
    font-size: 13px;
  }

  .payout-item .symbols {
    font-size: 20px;
  }

  /* Reviews */
  .review-card {
    padding: 15px;
    margin-bottom: 20px;
  }

  .review-avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .review-info h4 {
    font-size: 16px;
  }

  .review-date {
    font-size: 12px;
  }

  .review-text {
    font-size: 14px;
  }

  /* Contact Page */
  .contact-container {
    margin: 20px auto;
  }

  .contact-box {
    padding: 25px 15px;
  }

  .contact-box h1 {
    font-size: 28px;
  }

  .contact-method {
    padding: 20px;
  }

  .contact-method .icon {
    font-size: 36px;
  }

  .contact-method h3 {
    font-size: 18px;
  }

  .faq-item {
    padding: 15px;
  }

  .faq-item h3 {
    font-size: 16px;
  }

  .faq-item p {
    font-size: 14px;
  }

  /* Legal Pages */
  .legal-page {
    padding: 20px 12px;
  }

  .legal-page h1 {
    font-size: 28px;
  }

  .legal-page h2 {
    font-size: 22px;
    margin-top: 30px;
  }

  .legal-page h3 {
    font-size: 18px;
  }

  .legal-page p,
  .legal-page li {
    font-size: 14px;
  }

  .legal-page ul {
    margin-left: 15px;
  }

  /* Footer */
  footer {
    padding: 30px 0 15px;
    margin-top: 30px;
  }

  .footer-content {
    gap: 20px;
  }

  .footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .footer-section ul li {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .footer-bottom {
    padding-top: 15px;
  }

  .footer-bottom p {
    font-size: 11px;
  }

  /* Responsible Gaming */
  .responsible-gaming {
    gap: 15px;
  }

  .responsible-gaming a {
    padding: 12px 20px;
    min-width: 130px;
    min-height: 75px;
  }

  .responsible-gaming img {
    height: 40px;
    max-width: 100px;
  }
}

/* Extra Small Mobile (up to 480px) */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 10px;
  }

  /* Hero */
  .hero {
    padding: 25px 10px;
  }

  .her-cont h1 {
    font-size: 22px;
  }

  .her-cont h3 {
    font-size: 16px;
  }

  .her-cont p {
    font-size: 13px;
  }

  /* Typography */
  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 16px;
  }

  .has-style {
    font-size: 13px;
  }

  /* Navigation */
  .logo img {
    width: 70px;
  }

  .ul-links a {
    font-size: 14px;
  }

  /* Modals */
  .custom-modal {
    padding: 20px 12px;
  }

  .custom-modal h3 {
    font-size: 20px;
  }

  /* Game Container */
  .game-container {
    padding: 15px 10px;
    margin: 10px 5px;
  }

  .game-header h1 {
    font-size: 20px;
  }

  #spin-btn {
    padding: 10px 25px;
    font-size: 16px;
  }

  /* Reviews */
  .review-card {
    padding: 12px;
  }

  /* Contact */
  .contact-box {
    padding: 20px 12px;
  }

  .contact-box h1 {
    font-size: 24px;
  }

  /* Legal Pages */
  .legal-page h1 {
    font-size: 24px;
  }

  .legal-page h2 {
    font-size: 20px;
  }

  .legal-page h3 {
    font-size: 16px;
  }

  .legal-page p,
  .legal-page li {
    font-size: 13px;
  }

  /* Cookie Table - Make it scrollable on very small screens */
  .legal-page table {
    font-size: 11px;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .legal-page th,
  .legal-page td {
    padding: 6px !important;
  }
}

/* Welcome Section - Красивый вводный блок */
.about {
  position: relative;
  padding: 50px 40px;
  background: linear-gradient(
    135deg,
    rgba(233, 69, 96, 0.05) 0%,
    rgba(15, 52, 96, 0.08) 100%
  );
  border-radius: 25px;
  border: 1px solid rgba(233, 69, 96, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.about:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3), 0 0 20px rgba(233, 69, 96, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-color: rgba(233, 69, 96, 0.3);
}

.about h2 {
  font-size: 38px;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    #ff9a5a 0%,
    var(--primary-color) 50%,
    #ff5277 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.about .has-style {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 900px;
  margin: 0 auto;
}

/* About helzbach Section - Красивый блок */
.about-2 {
  position: relative;
  padding: 60px 0 !important;
}

.about-2 .row {
  position: relative;
  z-index: 1;
}

.about-2 .img-bg {
  background: linear-gradient(
    135deg,
    rgba(233, 69, 96, 0.15) 0%,
    rgba(15, 52, 96, 0.15) 100%
  );
  border-radius: 20px;
  padding: 20px !important;
  border: 2px solid rgba(233, 69, 96, 0.3);
  box-shadow: 0 15px 35px rgba(233, 69, 96, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
}

.about-2 .img-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(233, 69, 96, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.about-2 .img-bg:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(233, 69, 96, 0.35),
    0 0 30px rgba(233, 69, 96, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

.about-2 .img-bg:hover::before {
  top: 100%;
  left: 100%;
}

.about-2 .img-bg img {
  border-radius: 15px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.about-2 .img-bg:hover img {
  transform: scale(1.05);
  filter: brightness(1.1) saturate(1.1);
}

.about-2 h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #ff5277 50%,
    #ff9a5a 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.about-2 h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  border-radius: 2px;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
  50% {
    opacity: 0.7;
    transform: scaleX(1.5);
  }
}

.about-2 .has-style {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  text-align: justify;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--primary-color);
  margin-left: 0;
}

.about-2 .has-style::first-letter {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  float: left;
  line-height: 1;
  margin-right: 8px;
  margin-top: 4px;
}

/* Анимация появления при скролле */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-2 .col-lg-5,
.about-2 .col-lg-7 {
  animation: fadeInUp 0.8s ease-out;
}

.about-2 .col-lg-7 {
  animation-delay: 0.2s;
}

.about-2 .col-lg-5 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Адаптивность для About блока */

/* Планшеты и ниже (до 992px) */
@media (max-width: 992px) {
  .about {
    padding: 40px 30px;
  }

  .about h2 {
    font-size: 32px;
  }

  .about .has-style {
    font-size: 15px;
    line-height: 1.75;
  }

  .about-2 {
    padding: 50px 0 !important;
  }

  .about-2 h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
  }

  .about-2 .has-style {
    text-align: left;
    padding-left: 15px;
    font-size: 15px;
  }

  .about-2 .img-bg {
    margin-bottom: 30px;
    max-width: 400px;
  }

  .about-2 .col-lg-5 {
    justify-content: center;
  }
}

/* Средние планшеты (до 768px) */
@media (max-width: 768px) {
  .about {
    padding: 35px 25px;
  }

  .about h2 {
    font-size: 28px;
  }

  .about .has-style {
    font-size: 14.5px;
  }

  .about-2 {
    padding: 40px 0 !important;
  }

  .about-2 h2 {
    font-size: 28px;
  }

  .about-2 .has-style {
    font-size: 14.5px;
    padding-left: 12px;
  }

  .about-2 .img-bg {
    max-width: 350px;
    padding: 18px !important;
  }

  .about-2 .has-style::first-letter {
    font-size: 28px;
  }
}

/* Мобильные устройства (до 576px) */
@media (max-width: 576px) {
  .about {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .about h2 {
    font-size: 24px;
  }

  .about .has-style {
    font-size: 14px;
    line-height: 1.7;
  }

  .about-2 {
    padding: 35px 0 !important;
  }

  .about-2 h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .about-2 .has-style {
    font-size: 14px;
    line-height: 1.75;
    text-align: left;
    padding-left: 12px;
    border-left-width: 2px;
  }

  .about-2 .img-bg {
    max-width: 300px;
    padding: 15px !important;
    margin-bottom: 25px;
  }

  .about-2 .has-style::first-letter {
    font-size: 24px;
    margin-right: 6px;
  }

  .about-2 .col-lg-5,
  .about-2 .col-lg-7 {
    animation: none;
  }
}

/* Очень маленькие экраны (до 375px) */
@media (max-width: 375px) {
  .about {
    padding: 25px 15px;
    border-radius: 15px;
  }

  .about h2 {
    font-size: 22px;
  }

  .about .has-style {
    font-size: 13px;
    line-height: 1.65;
  }

  .about-2 {
    padding: 30px 0 !important;
  }

  .about-2 h2 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .about-2 h2::after {
    width: 40px;
    height: 3px;
  }

  .about-2 .has-style {
    font-size: 13px;
    line-height: 1.7;
    padding-left: 10px;
  }

  .about-2 .img-bg {
    max-width: 250px;
    padding: 12px !important;
    margin-bottom: 20px;
    border-radius: 15px;
  }

  .about-2 .img-bg img {
    border-radius: 10px;
  }

  .about-2 .has-style::first-letter {
    font-size: 22px;
    margin-right: 5px;
    margin-top: 2px;
  }

  .about-2 .img-bg:hover {
    transform: translateY(-4px) scale(1.01);
  }

  /* Дополнительные общие стили для очень маленьких экранов */
  .her-cont h1 {
    font-size: 20px;
  }

  .her-cont h3 {
    font-size: 15px;
  }

  h2 {
    font-size: 20px;
  }

  .custom-modal h3 {
    font-size: 18px;
  }

  .custom-modal img {
    width: 60px !important;
  }

  .logo img {
    width: 60px;
  }

  .game-header h1 {
    font-size: 18px;
  }

  .contact-box h1 {
    font-size: 22px;
  }

  .legal-page h1 {
    font-size: 22px;
  }
}
