/* ===================================
   StarlightCasinoTop - Style Sheet
   Charcoal Black, Champagne Gold, Cosmic Purple
   =================================== */

:root {
  --charcoal-black: #1a1a1a;
  --champagne-gold: #d4af37;
  --cosmic-purple: #6a1b9a;
  --dark-purple: #4a148c;
  --light-gold: #f4d03f;
  --silver: #c0c0c0;
  --white: #ffffff;
  --text-light: #f0f0f0;
  --overlay-dark: rgba(26, 26, 26, 0.95);
  --card-bg: #2a2a2a;
}

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

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #1a1a1a;
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Site Background Image */
.site-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ===================================
   AGE VERIFICATION MODAL
   =================================== */

.age-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.age-modal-content {
  background: var(--card-bg);
  border: 3px solid var(--champagne-gold);
  border-radius: 20px;
  padding: 50px;
  max-width: 550px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.age-modal-header h2 {
  color: var(--champagne-gold);
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.age-modal-body p {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.age-disclaimer {
  font-size: 1rem;
  color: var(--silver);
}

.age-modal-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 35px;
}

.btn-age-yes,
.btn-age-no {
  padding: 18px 45px;
  font-size: 1.2rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
}

.btn-age-yes {
  background: var(--champagne-gold);
  color: var(--charcoal-black);
}

.btn-age-yes:hover {
  background: var(--light-gold);
}

.btn-age-no {
  background: var(--silver);
  color: var(--charcoal-black);
}

.btn-age-no:hover {
  background: #a0a0a0;
}

/* ===================================
   COOKIE BANNER
   =================================== */

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--charcoal-black);
  border-top: 3px solid var(--champagne-gold);
  padding: 25px;
  z-index: 9999;
}

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

.cookie-banner-content p {
  flex: 1;
  min-width: 300px;
  color: var(--text-light);
  font-size: 1rem;
}

.cookie-banner-content a {
  color: var(--champagne-gold);
  text-decoration: underline;
}

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

.btn-cookie-accept,
.btn-cookie-decline {
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-cookie-accept {
  background: var(--champagne-gold);
  color: var(--charcoal-black);
}

.btn-cookie-accept:hover {
  background: var(--light-gold);
}

.btn-cookie-decline {
  background: transparent;
  border: 2px solid var(--silver);
  color: var(--silver);
}

.btn-cookie-decline:hover {
  background: var(--silver);
  color: var(--charcoal-black);
}

/* ===================================
   HEADER
   =================================== */

.header {
  background: rgba(26, 26, 26, 0.95);
  border-bottom: 3px solid var(--champagne-gold);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo a {
  font-size: 2rem;
  font-weight: 800;
  color: var(--champagne-gold);
  text-decoration: none;
  letter-spacing: 1px;
}

.menu-toggle {
  display: none;
}

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

.burger-line {
  width: 30px;
  height: 3px;
  background: var(--champagne-gold);
  border-radius: 3px;
  transition: all 0.3s ease;
  position: absolute;
  left: 0;
}

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

.burger-line:nth-child(2) {
  top: 10px;
}

.burger-line:nth-child(3) {
  top: 20px;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
  min-height: 50px;
  height: 50px;
  width: 100%;
  max-width: 600px;
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 8px;
  min-height: 40px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--champagne-gold);
}

/* Burger Menu - Mobile */
@media (max-width: 900px) {
  .logo a {
    font-size: 1.5rem;
  }

  .burger-icon {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--charcoal-black);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    gap: 0;
    transition: right 0.3s ease;
    min-height: 100vh;
  }

  .nav-menu a {
    width: 100%;
    padding: 20px 30px;
    border-radius: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .menu-toggle:checked ~ .nav-menu {
    right: 0;
  }

  .menu-toggle:checked ~ .burger-icon .burger-line:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
  }

  .menu-toggle:checked ~ .burger-icon .burger-line:nth-child(2) {
    transform: scale(0);
    opacity: 0;
  }

  .menu-toggle:checked ~ .burger-icon .burger-line:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
  }
}

@media (max-width: 600px) {
  .logo a {
    font-size: 1.3rem;
  }

  .header {
    padding: 15px 0;
  }

  .header-content {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 1.1rem;
  }

  .header {
    padding: 12px 0;
  }

  .header-content {
    gap: 10px;
  }

  .burger-icon {
    width: 25px;
    height: 20px;
  }

  .burger-line {
    width: 25px;
    height: 2px;
  }
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 800px;
  height: 100vh;
  max-height: 1000px;
  width: 100%;
  /* LCP optimization */
  content-visibility: auto;
  contain-intrinsic-size: 1200px 800px;
}

.hero-main {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
  min-height: 500px;
  height: 60vh;
  max-height: 600px;
}

.hero-text {
  flex: 1;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
}

.hero-image-container {
  flex: 1;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
}

.hero-text {
  text-align: left;
}

.hero-image-container {
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--champagne-gold);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
  width: 100%;
  max-width: 500px;
  height: 400px;
  flex-shrink: 0;
  min-width: 300px;
  min-height: 300px;
  /* LCP optimization */
  content-visibility: auto;
  contain-intrinsic-size: 500px 400px;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  min-width: 300px;
  min-height: 300px;
  max-width: 500px;
  max-height: 400px;
  /* LCP optimization */
  content-visibility: auto;
  contain-intrinsic-size: 500px 400px;
}

.hero-title {
  font-size: 3.5rem;
  background: linear-gradient(
    135deg,
    var(--champagne-gold) 0%,
    var(--light-gold) 50%,
    var(--cosmic-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  font-weight: 900;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--silver);
  line-height: 1.8;
}

.hero-features {
  text-align: center;
  min-height: 200px;
}

.features-title {
  font-size: 2rem;
  color: var(--champagne-gold);
  margin-bottom: 35px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
  min-height: 120px;
}

.feature-card {
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card {
  background: var(--card-bg);
  border: 2px solid var(--champagne-gold);
  border-radius: 15px;
  padding: 20px 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 100px;
  height: 100px;
  width: 100%;
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-text {
  flex: 1;
  min-height: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.feature-text h3 {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 600;
  text-align: center;
  width: 100%;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
  .hero {
    min-height: 100vh;
    height: auto;
    max-height: none;
  }

  .hero-main {
    flex-direction: column;
    gap: 40px;
    min-height: 600px;
    height: auto;
    max-height: none;
  }

  .hero-text {
    text-align: center;
    width: 100%;
    min-height: 300px;
  }

  .hero-image-container {
    width: 100%;
    max-width: 400px;
    height: 300px;
    margin: 0 auto;
    min-width: 300px;
    min-height: 250px;
  }

  .features-grid {
    flex-direction: column;
    align-items: center;
  }

  .feature-card {
    width: 100%;
    max-width: 300px;
    min-height: 80px;
    height: 80px;
  }

  .feature-text {
    min-height: 30px;
    height: 30px;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 80px 20px 60px;
    min-height: 90vh;
  }

  .hero-main {
    gap: 30px;
    min-height: 500px;
  }

  .hero-text {
    min-height: 250px;
  }

  .hero-image-container {
    max-width: 350px;
    height: 250px;
    min-width: 280px;
    min-height: 200px;
  }

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

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .features-grid {
    gap: 15px;
  }

  .feature-card {
    max-width: 280px;
    padding: 15px 12px;
    min-height: 70px;
    height: 70px;
  }

  .feature-text {
    min-height: 25px;
    height: 25px;
  }

  .feature-icon {
    font-size: 1.8rem;
  }

  .feature-text h3 {
    font-size: 0.9rem;
  }
}

/* ===================================
   OFFERS SECTION
   =================================== */

.offers-section {
  padding: 80px 20px;
  background: rgba(26, 26, 26, 0.8);
  min-height: 500px;
}

.section-title {
  font-size: 2.8rem;
  color: var(--champagne-gold);
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.offer-card {
  background: var(--card-bg);
  border: 3px solid var(--champagne-gold);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  min-height: 200px;
}

.offer-logo {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
}

.offer-content {
  flex: 1;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-cta {
  flex-shrink: 0;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-card.featured {
  border-width: 4px;
  box-shadow: 0 15px 50px rgba(212, 175, 55, 0.5);
}

.offer-logo {
  width: 200px;
  height: 150px;
  background: transparent;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 2px solid var(--champagne-gold);
  padding: 15px;
  flex-shrink: 0;
  min-width: 0;
}

.casino-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.1);
}

.offer-content {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.offer-name {
  font-size: 2rem;
  color: var(--champagne-gold);
  margin-bottom: 15px;
  font-weight: 700;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.offer-description {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 1.05rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.offer-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.stars {
  color: var(--light-gold);
  font-size: 1.5rem;
}

.rating-text {
  color: var(--silver);
  font-weight: 600;
}

.payment-methods {
  margin-top: 20px;
}

.payment-label {
  color: var(--silver);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 10px;
}

.payment-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-badge {
  background: var(--cosmic-purple);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.offer-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}

.btn-offer {
  background: var(--champagne-gold);
  color: var(--charcoal-black);
  padding: 20px 40px;
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 15px;
  transition: all 0.3s ease;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-offer:hover {
  background: var(--light-gold);
}

.offer-terms {
  font-size: 0.85rem;
  color: var(--silver);
  font-style: italic;
}

/* Mobile responsiveness for offers */
@media (max-width: 900px) {
  .offer-card {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding: 20px;
  }

  .offer-logo {
    width: 200px;
    height: 150px;
    margin: 0 auto;
  }

  .payment-icons {
    justify-content: center;
  }

  .btn-offer {
    font-size: 1.4rem;
    padding: 20px 40px;
    width: 100%;
    max-width: 300px;
  }

  .offer-name {
    font-size: 1.6rem;
  }

  .offer-description {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .offer-card {
    padding: 15px;
    gap: 20px;
  }

  .offer-logo {
    width: 150px;
    height: 112px;
  }

  .offer-name {
    font-size: 1.4rem;
  }

  .offer-description {
    font-size: 0.95rem;
  }

  .btn-offer {
    font-size: 1.2rem;
    padding: 16px 30px;
  }

  .payment-badge {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials-section {
  padding: 80px 20px;
  min-height: 600px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-items: center;
  min-height: 400px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 2px solid var(--champagne-gold);
  border-radius: 15px;
  padding: 30px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--champagne-gold);
  flex-shrink: 0;
}

.testimonial-info h4 {
  color: var(--champagne-gold);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.testimonial-location {
  color: var(--silver);
  font-size: 0.9rem;
}

.testimonial-rating {
  color: var(--light-gold);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.testimonial-text {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

/* Mobile responsiveness for testimonials */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
  }

  .testimonial-card {
    max-width: 400px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .testimonials-grid {
    gap: 15px;
  }

  .testimonial-card {
    max-width: 350px;
    padding: 20px;
  }

  .testimonial-header {
    gap: 10px;
  }

  .testimonial-info h4 {
    font-size: 1rem;
  }

  .testimonial-location {
    font-size: 0.85rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}

/* ===================================
   SECURITY SECTION
   =================================== */

.security-section {
  padding: 80px 20px;
  background: rgba(26, 26, 26, 0.8);
  min-height: 600px;
}

.security-intro {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}

.security-intro p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.9;
}

.certificates-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  min-height: 400px;
}

.certificate-card {
  background: var(--card-bg);
  border: 2px solid var(--champagne-gold);
  border-radius: 15px;
  padding: 20px 15px;
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  height: auto;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.certificate-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.certificate-card h3 {
  color: var(--champagne-gold);
  margin-bottom: 15px;
  font-size: 1.3rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  flex-shrink: 0;
}

.certificate-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

@media (max-width: 900px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    min-height: 600px;
  }

  .certificate-card {
    padding: 15px 12px;
    height: auto;
    min-height: 180px;
    max-height: 220px;
  }

  .certificate-icon {
    font-size: 3rem;
    margin-bottom: 15px;
  }

  .certificate-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    flex-shrink: 0;
  }

  .certificate-card p {
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 600px) {
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    min-height: 500px;
  }

  .certificate-card {
    padding: 12px 10px;
    height: auto;
    min-height: 160px;
    max-height: 200px;
  }

  .certificate-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }

  .certificate-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    flex-shrink: 0;
  }

  .certificate-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 480px) {
  .certificates-grid {
    gap: 12px;
    min-height: 400px;
  }

  .certificate-card {
    padding: 10px 8px;
    min-height: 140px;
    max-height: 180px;
  }

  .certificate-icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .certificate-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    flex-shrink: 0;
  }

  .certificate-card p {
    font-size: 0.8rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

/* ===================================
   FAQ SECTION
   =================================== */

.faq-section {
  padding: 80px 20px;
  min-height: 800px;
}

.faq-item {
  background: var(--card-bg);
  border: 2px solid var(--champagne-gold);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 25px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-question {
  color: var(--champagne-gold);
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

.faq-answer p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* ===================================
   BANNERS SECTION
   =================================== */

.banners-section {
  padding: 80px 20px;
  background: rgba(26, 26, 26, 0.8);
  min-height: 400px;
}

.banners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  min-height: 200px;
}

.banner-item {
  flex: 1;
  min-width: 120px;
  max-width: 200px;
  height: 120px;
}

.banner-item {
  background: var(--card-bg);
  border: 2px solid var(--champagne-gold);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.banner-item:hover {
  border-color: var(--light-gold);
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.1);
  transition: filter 0.3s ease;
  max-width: 100%;
  max-height: 100%;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* WebP optimization */
.banner-item img[src$=".webp"] {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Special handling for EGBA banner with unusual aspect ratio */
.banner-item img[src*="EGBA"] {
  object-fit: contain;
  object-position: center;
  max-width: 100%;
  max-height: 100%;
  width: 120px;
  height: 60px;
}

.banner-item:hover img {
  filter: brightness(1.3);
}

/* Mobile responsiveness for banners */
@media (max-width: 768px) {
  .banners-grid {
    gap: 15px;
  }

  .banner-item {
    padding: 18px;
    min-height: 80px;
    max-width: 140px;
  }

  /* Special handling for EGBA on mobile */
  .banner-item img[src*="EGBA"] {
    object-fit: contain;
    object-position: center;
    max-width: 90%;
    max-height: 90%;
    width: 100px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .banners-grid {
    max-width: 400px;
    gap: 12px;
  }

  .banner-item {
    padding: 15px;
    min-height: 70px;
    max-width: 120px;
  }

  /* Special handling for EGBA on small screens */
  .banner-item img[src*="EGBA"] {
    object-fit: contain;
    object-position: center;
    max-width: 85%;
    max-height: 85%;
    width: 80px;
    height: 40px;
  }

  /* Последний баннер (5-й) занимает всю ширину */
  .banner-item:nth-child(5) {
    flex-basis: 100%;
    max-width: 120px;
    margin: 0 auto;
  }
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
  padding: 80px 20px;
  min-height: 500px;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  min-height: 300px;
}

.contact-intro {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
  min-height: 200px;
}

.contact-item {
  background: var(--card-bg);
  border: 2px solid var(--champagne-gold);
  border-radius: 15px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  min-height: 150px;
  justify-content: center;
}

.contact-icon {
  font-size: 3rem;
}

.contact-details h3 {
  color: var(--champagne-gold);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.contact-email {
  color: var(--text-light);
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: break-word;
}

.contact-email:hover {
  color: var(--champagne-gold);
}

.contact-website {
  color: var(--text-light);
  font-size: 1.1rem;
  word-break: break-word;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background: var(--charcoal-black);
  border-top: 3px solid var(--champagne-gold);
  padding: 60px 20px 30px;
  min-height: 400px;
}

.responsible-gaming {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  min-height: 200px;
}

.responsible-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 150px;
}

.age-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}

.responsible-text h3 {
  color: var(--champagne-gold);
  font-size: 2rem;
  margin-bottom: 10px;
}

.responsible-text h4 {
  color: var(--silver);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.responsible-text p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--silver);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1.05rem;
}

.footer-links a:hover {
  color: var(--champagne-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-disclaimer {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 1.05rem;
  font-weight: 600;
}

.footer-copyright {
  color: var(--silver);
  font-size: 0.95rem;
}

/* Mobile Footer */
@media (max-width: 768px) {
  .responsible-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}
