/* GameMania.com - Custom CSS Styles */

/* ---------- VARIABLES & ROOT STYLES ---------- */
:root {
    --primary: #7B4DFF;       /* Primary brand color - purple */
    --primary-light: #9E76FF;
    --primary-dark: #5D3BAD;
    --secondary: #FF6B35;     /* Secondary accent - orange */
    --text-light: #F8F9FA;
    --text-dark: #212529;
    --dark: #1A1A2E;
    --darker: #121225;
    --light-bg: rgba(255, 255, 255, 0.05);
    
    /* Typography */
    --font-display: 'Rajdhani', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Quicksand', sans-serif;
  }
  
  body {
    background-color: var(--dark);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
  }
  
  /* ---------- TYPOGRAPHY REFINEMENTS ---------- */
  .title, .subtitle {
    font-family: var(--font-heading);
    color: var(--text-light);
  }
  
  .title.is-1, .title.is-2 {
    font-weight: 800;
    letter-spacing: -0.02em;
  }
  
  .subtitle {
    color: rgba(255, 255, 255, 0.85);
  }
  
  .highlight {
    color: var(--secondary);
    font-weight: 700;
  }
  
  /* ---------- CUSTOM BACKGROUND STYLES ---------- */
  .background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
    background-image: url('/img/bg-main.png');
    background-size: cover;
    background-position: center;
    pointer-events: none;
  }
  
  .moving-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }
  
  .moving-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: moveAround 30s infinite;
  }
  
  .shape1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    top: -100px;
    left: -100px;
    animation-delay: 0s;
  }
  
  .shape2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #2ECECE, var(--primary));
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
  }
  
  .shape3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--secondary), #FF5FBA);
    top: 50%;
    left: 60%;
    animation-delay: -5s;
  }
  
  @keyframes moveAround {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(150px, 150px) rotate(90deg); }
    50% { transform: translate(0, 300px) rotate(180deg); }
    75% { transform: translate(-150px, 150px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
  }
  
  /* ---------- CUSTOM BACKGROUND GRADIENTS ---------- */
  .has-background-dark-gradient {
    background: linear-gradient(135deg, var(--darker) 0%, #2D1B5A 100%);
  }
  
  .has-background-gradient {
    background: linear-gradient(135deg, #2D1B5A 0%, var(--secondary) 100%);
  }
  
  .has-background-dark-light {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  
  /* ---------- NAVBAR CUSTOMIZATION ---------- */
  .navbar {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-item {
    color: var(--text-light);
    transition: all 0.3s ease;
  }
  
  .navbar-item:hover {
    color: var(--primary-light) !important;
    background: transparent !important;
  }
  
  /* ---------- HERO SECTION CUSTOMIZATION ---------- */
  .hero {
    position: relative;
    overflow: hidden;
  }
  
  .hero.is-fullheight-with-navbar {
    min-height: calc(100vh - 3.25rem);
  }
  
  .hero-body {
    z-index: 2;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  .age-warning .tag {
    animation: pulse 2s infinite;
    background: rgba(231, 76, 60, 0.85) !important;
    font-weight: 600;
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
  }
  
  /* ---------- FEATURED CASINO STYLING ---------- */
  .featured-casino-wrapper {
    position: relative;
    padding-top: 20px;
  }
  
  .featured-casino {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .featured-casino:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  .featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(45deg, var(--secondary), #FF9F64);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    z-index: 1;
  }
  
  .stars i {
    transition: transform 0.3s ease;
  }
  
  .featured-casino:hover .stars i {
    animation: starPulse 1s infinite;
  }
  
  @keyframes starPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
  }
  
  /* ---------- CASINO CARD STYLING ---------- */
  .casino-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  .casino-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
      circle at var(--mouse-x, center) var(--mouse-y, center),
      rgba(255, 255, 255, 0.1) 0%,
      transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  
  .casino-card:hover::after {
    opacity: 1;
  }
  
  .logo-wrapper {
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin: 0 auto;
    max-width: 180px;
  }
  
  .casino-card:hover .logo-wrapper {
    transform: scale(1.05);
  }
  
  .tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
  }
  
  .tag:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
  }
  
  .button.is-success {
    background: linear-gradient(45deg, #00C853, #00E676);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .button.is-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 200, 83, 0.3);
  }
  
  .button.is-success::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      45deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent
    );
    transform: rotate(45deg);
    animation: buttonShimmer 3s infinite;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .button.is-success:hover::before {
    opacity: 1;
  }
  
  @keyframes buttonShimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
  }
  
  /* ---------- SECTION STYLING ---------- */
  .section {
    position: relative;
    z-index: 1;
    padding: 5rem 1.5rem;
  }
  
  .image-hover-effect {
    overflow: hidden;
    border-radius: 16px;
  }
  
  .image-hover-effect img {
    transition: transform 0.5s ease;
  }
  
  .image-hover-effect:hover img {
    transform: scale(1.05);
  }
  
  .has-rounded-corners {
    border-radius: 16px;
  }
  
  /* ---------- PRELOADER STYLES ---------- */
  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  
  .preloader.fade-out {
    opacity: 0;
    visibility: hidden;
  }
  
  /* Casino Cards Animation */
  .casino-cards {
    position: relative;
    width: 200px;
    height: 160px;
    margin: 0 auto 20px;
    perspective: 1000px;
  }
  
  .card_ {
    position: absolute;
    width: 100px;
    height: 140px;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
  }
  
  .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transform-style: preserve-3d;
    animation: flip 2s linear infinite;
  }
  
  .card-front_,
  .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  
  .card-front_ {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: black;
  }
  
  .card-back {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: rotateY(180deg);
    background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(0,0,0,0.1) 10px,
      rgba(0,0,0,0.1) 20px
    );
  }
  
  .suit {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 5px;
  }
  
  .value_ {
    font-size: 36px;
    font-weight: bold;
    font-family: var(--font-display);
  }
  
  .card-ace {
    transform: translate(-50%, -50%) rotate(-15deg);
    animation: floatLeft 2s ease-in-out infinite;
  }
  
  .card-king {
    transform: translate(-50%, -50%);
    animation: floatCenter 2s ease-in-out infinite;
    animation-delay: 0.3s;
  }
  
  .card-queen {
    transform: translate(-50%, -50%) rotate(15deg);
    animation: floatRight 2s ease-in-out infinite;
    animation-delay: 0.6s;
  }
  
  @keyframes floatLeft {
    0%, 100% { transform: translate(-80%, -50%) rotate(-15deg); }
    50% { transform: translate(-80%, -60%) rotate(-15deg); }
  }
  
  @keyframes floatCenter {
    0%, 100% { transform: translate(-50%, -50%) rotate(0); }
    50% { transform: translate(-50%, -60%) rotate(0); }
  }
  
  @keyframes floatRight {
    0%, 100% { transform: translate(-20%, -50%) rotate(15deg); }
    50% { transform: translate(-20%, -60%) rotate(15deg); }
  }
  
  @keyframes flip {
    0% { transform: rotateY(0); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
  }
  
  /* Loading Text Animation */
  .loading-text {
    display: flex;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
  }
  
  .loading-text span {
    animation: bounce 0.8s ease infinite;
    opacity: 0.5;
  }
  
  .loading-text span:nth-child(2) { animation-delay: 0.1s; }
  .loading-text span:nth-child(3) { animation-delay: 0.2s; }
  .loading-text span:nth-child(4) { animation-delay: 0.3s; }
  .loading-text span:nth-child(5) { animation-delay: 0.4s; }
  .loading-text span:nth-child(6) { animation-delay: 0.5s; }
  .loading-text span:nth-child(7) { animation-delay: 0.6s; }
  .loading-text span:nth-child(8) { animation-delay: 0.7s; }
  .loading-text span:nth-child(9) { animation-delay: 0.8s; }
  
  @keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-15px); opacity: 1; }
  }
  
  /* ---------- COOKIE NOTICE STYLING ---------- */
  .cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(123, 77, 255, 0.3);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    padding: 1rem;
  }
  
  .cookie-notice.visible {
    transform: translateY(0);
  }
  
  .cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  
  .cookie-text {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
  }
  
  /* ---------- RESPONSIVE ADJUSTMENTS ---------- */
  @media (max-width: 768px) {
    .section {
      padding: 3rem 1rem;
    }
    
    .hero-body {
      padding-top: 2rem;
      padding-bottom: 2rem;
    }
    
    .title.is-1 {
      font-size: 2rem !important;
    }
    
    .title.is-2 {
      font-size: 1.75rem !important;
    }
    
    .subtitle.is-4 {
      font-size: 1.25rem !important;
    }
    
    .cookie-content {
      flex-direction: column;
      text-align: center;
    }
    
    .cookie-notice.visible {
      padding: 1rem;
    }
    
    .casino-card {
      margin-bottom: 1.5rem;
    }
    
    .featured-badge {
      right: 10px;
      font-size: 0.85rem;
      padding: 6px 15px;
    }
    
    .loading-text {
      font-size: 20px;
    }
    
    .moving-shape {
      opacity: 0.2;
    }
  }
  
  /* ---------- BULMA CAROUSEL CUSTOMIZATION ---------- */
  .carousel {
    overflow: hidden;
  }
  
  .carousel-container {
    margin: 0 -1rem;
  }
  
  .carousel-item {
    padding: 1rem;
  }
  
  .carousel-navigation-next,
  .carousel-navigation-previous {
    background: var(--primary) !important;
    color: white !important;
  }
  
  .carousel-navigation-next:hover,
  .carousel-navigation-previous:hover {
    background: var(--primary-light) !important;
  }
  
  .carousel-indicator span {
    background: rgba(255, 255, 255, 0.3) !important;
  }
  
  .carousel-indicator .is-active span {
    background: var(--primary) !important;
  }
  
  /* ---------- ICON & BONUS STYLING ---------- */
  .icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(123, 77, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
  }

  strong {
    color: var(--secondary)!important;
    font-weight: 700;
}

  .box {
    color: var(--text-light);
  }
  
  .box:hover .icon-circle {
    transform: scale(1.1);
    background: rgba(123, 77, 255, 0.3);
  }
  
  .bonus-list, .responsible-list {
    list-style: none;
    padding: 0;
  }
  
  .bonus-list li, .responsible-list li {
    display: flex;
    align-items: center;
  }
  
  .bonus-list i, .responsible-list i {
    margin-right: 0.5rem;
    flex-shrink: 0;
  }
  
  /* ---------- LICENSING LOGOS SECTION ---------- */
  .license-link {
    display: inline-block;
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  
  .license-link:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1) !important;
  }
  
  .footer-icon {
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  
  .license-link:hover .footer-icon {
    opacity: 1;
  }

  /* Дополнительные стили для эффекта волны */
.button {
    position: relative;
    overflow: hidden;
  }
  
  .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
  }
  
  @keyframes ripple {
    to {
      transform: scale(4);
      opacity: 0;
    }
  }

  /* ========== HERO SECTION STYLING ========== */
.game-hero {
    position: relative;
    min-height: 100vh;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0B0E1F 0%, #1A103C 100%);
  }
  
  .game-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .animated-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .grid-item {
    position: absolute;
    background: linear-gradient(135deg, rgba(123, 77, 255, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-radius: 10px;
    width: 200px;
    height: 200px;
    filter: blur(15px);
    opacity: 0.5;
    transition: all 0.3s ease;
    animation: float 10s infinite;
  }
  
  .grid-item:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    width: 300px;
    height: 300px;
  }
  
  .grid-item:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 2s;
    width: 250px;
    height: 250px;
  }
  
  .grid-item:nth-child(3) {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
    width: 180px;
    height: 180px;
  }
  
  .grid-item:nth-child(4) {
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
    width: 220px;
    height: 220px;
  }
  
  .grid-item:nth-child(5) {
    top: 40%;
    left: 50%;
    animation-delay: 2.5s;
    width: 200px;
    height: 200px;
  }
  
  @keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, 20px) rotate(5deg); }
    50% { transform: translate(0, 40px) rotate(0deg); }
    75% { transform: translate(-20px, 20px) rotate(-5deg); }
  }
  
  .particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
  }
  
  .game-hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem 0;
  }
  
  .hero-left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
  }
  
  .pulse-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 2s infinite;
  }
  
  .mega-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1px;
  }
  
  .gradient-text {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
  }
  
  .hero-highlight {
    display: block;
    font-size: 3.8rem;
  }
  
  .subtitle-accent {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
  }
  
  .hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
  
  .feature-pill {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
  }
  
  .feature-pill:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
  }
  
  .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 10px;
  }
  
  .feature-text {
    font-weight: 600;
  }
  
  .hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }
  
  .button.is-primary {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    transition: all 0.3s ease;
    padding: 1.25rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
  }
  
  .button.is-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(123, 77, 255, 0.3);
  }
  
  .button.is-outlined {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    padding: 1.25rem 2rem;
    font-weight: 600;
  }
  
  .button.is-outlined:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
  }
  
  .trusted-by {
    display: flex;
    align-items: center;
    margin-top: 2rem;
  }
  
  .trusted-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-right: 1rem;
  }
  
  .trusted-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  .trusted-logos img {
    height: 30px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
  }
  
  .trusted-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
  }
  
  /* Hero Carousel */
  .hero-right-column {
    position: relative;
  }
  
  .hero-carousel {
    position: relative;
    height: 540px;
    perspective: 1000px;
  }
  
  .premium-casino-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 40px rgba(123, 77, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateY(20px) rotateY(-10deg) scale(0.9);
    pointer-events: none;
  }
  
  .premium-casino-card.active {
    opacity: 1;
    transform: translateY(0) rotateY(0) scale(1);
    z-index: 2;
    pointer-events: auto;
  }
  
  .premium-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(123, 77, 255, 0.3);
  }
  
  .premium-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  
  .premium-logo img {
    max-width: 100%;
    border-radius: 12px;
    transition: transform 0.3s ease;
  }
  
  .premium-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  
  .premium-rating .stars {
    color: #FFD700;
    margin-right: 0.5rem;
  }
  
  .premium-rating .rating-score {
    font-weight: 700;
  }
  
  .premium-bonus {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
  }
  
  .bonus-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
  }
  
  .bonus-extra {
    font-weight: 600;
  }
  
  .premium-features {
    margin-bottom: 1.5rem;
  }
  
  .premium-features .feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
  }
  
  .premium-features .feature i {
    color: var(--secondary);
    margin-right: 0.5rem;
  }
  
  .button.is-gradient {
    background: linear-gradient(90deg, var(--secondary) 0%, #FF9F64 100%);
    color: white;
    border: none;
    padding: 1.25rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  
  .button.is-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
  }
  
  .carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
  }
  
  .carousel-dots {
    display: flex;
    gap: 0.5rem;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .dot.active {
    background: var(--primary);
    transform: scale(1.3);
  }
  
  .carousel-arrows {
    display: flex;
    gap: 1rem;
    margin-left: 2rem;
  }
  
  .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .arrow:hover {
    background: var(--primary);
    transform: scale(1.1);
  }
  
  /* ========== POPULAR GAMES SECTION ========== */
  .popular-games-section {
    background: linear-gradient(135deg, #0D1426 0%, #1F1336 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
  }
  
  .title-accent {
    color: var(--secondary);
  }
  
  .section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
  }
  
  .games-tabs {
    margin-bottom: 3rem;
  }
  
  .tabs {
    margin-bottom: 2rem;
  }
  
  .tab-list {
    display: flex;
    justify-content: center;
    border-bottom: none;
  }
  
  .tab-list li {
    margin: 0 1rem;
  }
  
  .tab-list li button {
    display: flex;
    background: transparent;
    border: none;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
  }
  
  .tab-list li.is-active button {
    color: var(--primary);
    border-bottom-color: var(--primary);
  }
  
  .tab-list li:hover button {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
  }
  
  .tab-list li button .icon {
    margin-right: 0.5rem;
  }
  
  .tab-content {
    position: relative;
    min-height: 400px;
  }
  
  .tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .tab-pane.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
  }
  
  .game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .game-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
  }
  
  .game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .game-card:hover .game-thumbnail img {
    transform: scale(1.05);
  }
  
  .game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .game-card:hover .game-overlay {
    opacity: 1;
  }
  
  .play-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--secondary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
  }
  
  .play-button:hover {
    transform: scale(1.1);
    background: var(--primary);
  }
  
  .demo-button {
    color: white;
    font-weight: 600;
    text-decoration: underline;
  }
  
  .game-provider {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
  }
  
  .game-info {
    padding: 1rem;
  }
  
  .game-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .game-meta {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
  }
  
  .game-rating {
    display: flex;
    align-items: center;
  }
  
  .game-rating i {
    color: #FFD700;
    margin-right: 0.25rem;
  }
  
  .view-all-games {
    text-align: center;
    margin-top: 3rem;
  }
  
  /* ========== HOW TO PLAY SECTION ========== */
  .how-to-play-section {
    background: linear-gradient(135deg, #1A103C 0%, #0B0E1F 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
  }
  
  .interactive-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
  }
  
  .blob1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(45deg, var(--primary-light), var(--primary-dark));
    top: -200px;
    left: -200px;
    animation: blobMove 20s infinite alternate;
  }
  
  .blob2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, var(--secondary), #FF9F64);
    bottom: -200px;
    right: -200px;
    animation: blobMove 20s infinite alternate-reverse;
  }
  
  @keyframes blobMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 100px) rotate(30deg); }
  }
  
  
  
  .payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .payment-methods img {
    height: 25px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  
  .payment-methods img:hover {
    opacity: 1;
  }
  
  .bonus-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.2);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
  }
  
  .bonus-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    margin-right: 1rem;
  }
  
  .bonus-text {
    font-weight: 700;
    color: var(--secondary);
  }
  
  .steps-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
  }
  
  .nav-button {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .nav-button:hover:not(:disabled) {
    background: var(--primary);
  }
  
  .nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .nav-button.prev-step i {
    margin-right: 0.5rem;
  }
  
  .nav-button.next-step i {
    margin-left: 0.5rem;
  }
  
  .steps-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 2rem;
  }
  
  .steps-dots .dot {
    width: 8px;
    height: 8px;
  }
  
  /* Responsive Styles */
  @media (max-width: 1023px) {
    
  .navbar-menu {
    background: var(--darker);
  }

  .navbar-burger {
    color: var(--secondary);
  }
    .mega-title {
      font-size: 3.5rem;
    }
    
    .hero-highlight {
      font-size: 3rem;
    }
    
    .subtitle-accent {
      font-size: 2rem;
    }
    
    .hero-carousel {
      height: 480px;
    }
    
    .step-item {
      width: 100%;
      display: none;
    }
    
    .step-item.active {
      display: block;
    }
    
    .timeline-steps {
      flex-direction: column;
    }
    
    .timeline-track {
      display: none;
    }
  }
  
  @media (max-width: 768px) {
    .mega-title {
      font-size: 2.8rem;
    }
    
    .hero-highlight {
      font-size: 2.4rem;
    }
    
    .subtitle-accent {
      font-size: 1.6rem;
    }
    
    .game-hero {
      padding: 4rem 0;
    }
    
    .feature-pill:last-of-type {
      display: none;
    }

    .hero-features, .mega-title {
      margin-bottom: 0;
    }
    
    .hero-cta {
      flex-direction: column;
    }
    
    .hero-carousel {
      height: 450px;
      margin-top: 3rem;
    }
    
    .section-title {
      font-size: 2.4rem;
    }
    
    .game-cards {
      grid-template-columns: 1fr;
    }
  }

  /* ========== MUNDO CASINO SECTION STYLING ========== */
.casino-world-section {
    background: linear-gradient(135deg, #0D0C2B 0%, #1A103C 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
  }
  
  /* Galaxy Background */
  .galaxy-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .star {
    position: absolute;
    background: white;
    border-radius: 50%;
    filter: blur(1px);
    animation: twinkle 5s infinite alternate;
  }
  
  .star1 {
    width: 2px;
    height: 2px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
  }
  
  .star2 {
    width: 3px;
    height: 3px;
    top: 25%;
    left: 75%;
    animation-delay: 0.5s;
  }
  
  .star3 {
    width: 2px;
    height: 2px;
    top: 60%;
    left: 40%;
    animation-delay: 1s;
  }
  
  .planet {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.4;
    animation: rotate 40s infinite linear;
  }
  
  .planet1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--primary-light), var(--secondary));
    top: -50px;
    right: -50px;
  }
  
  .planet2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #2ECECE, var(--primary));
    bottom: -80px;
    left: -80px;
    animation-direction: reverse;
  }
  
  .comet {
    position: absolute;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, white);
    top: 30%;
    left: -100px;
    transform: rotate(15deg);
    filter: blur(1px);
    animation: cometMove 8s infinite linear;
  }
  
  @keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
  }
  
  @keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  @keyframes cometMove {
    0% { left: -100px; opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 120%; opacity: 0; }
  }
  
  /* Tabs Styling */
  .category-tabs {
    position: relative;
    z-index: 2;
  }
  
  /* Advantage Cards */
  .advantage-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
  }
  
  .advantage-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .advantage-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
  }
  
  .advantage-icon {
    width: 70px;
    height: 70px;
    background: rgba(123, 77, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-light);
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
  }
  
  .advantage-card:hover .advantage-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
  }
  
  .advantage-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .advantage-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    flex-grow: 1;
  }
  
  .advantage-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
  }
  
  .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 0.25rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* Security Features */
  .security-features {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  .security-main {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .security-shield {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
  }
  
  .shield-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    z-index: 2;
  }
  
  .security-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .layer {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-out 3s infinite;
  }
  
  .layer1 {
    width: 60%;
    height: 60%;
    background: rgba(123, 77, 255, 0.3);
    animation-delay: 0s;
  }
  
  .layer2 {
    width: 80%;
    height: 80%;
    background: rgba(123, 77, 255, 0.2);
    animation-delay: 0.5s;
  }
  
  .layer3 {
    width: 100%;
    height: 100%;
    background: rgba(123, 77, 255, 0.1);
    animation-delay: 1s;
  }
  
  @keyframes pulse-out {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
  }
  
  .security-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .security-description {
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
  }
  
  .security-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .security-feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
  }
  
  .security-feature:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .security-feature .feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
  }
  
  .security-feature:hover .feature-icon {
    background: var(--secondary);
    color: white;
    transform: scale(1.1);
  }
  
  .security-feature h4 {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
  }
  
  .security-feature p {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
  }
  
  /* Payment Methods */
  .payment-methods-showcase {
    padding: 1rem;
  }
  
  .payment-methods-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .methods-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .methods-subtitle {
    color: rgba(255, 255, 255, 0.7);
  }
  
  .methods-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }
  
  .method-category {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .method-category.active {
    background: var(--primary);
    border-color: var(--primary);
  }
  
  .method-category i {
    margin-right: 0.5rem;
  }
  
  .payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .payment-method-card {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
  }
  
  .payment-method-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .method-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--text-light);
  }
  
  .method-info {
    flex-grow: 1;
  }
  
  .method-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
  }
  
  .method-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
  }
  
  .detail .label {
    color: rgba(255, 255, 255, 0.6);
  }
  
  .detail .value {
    font-weight: 600;
  }
  
  /* Statistics Tab */
  .statistics-dashboard {
    padding: 1rem;
  }
  
  .stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
  }
  
  .stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .stat-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
  }
  
  .trend-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
  }
  
  .stat-card.growing .trend-icon {
    color: #4CAF50;
  }
  
  .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
  }
  
  .value-number {
    color: var(--primary-light);
  }
  
  .value-unit {
    font-size: 1.2rem;
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .stat-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .stat-graph {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 150px;
  }
  
  .graph-bar {
    width: 18%;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .graph-bar span {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
  }
  
  .graph-bar.future {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-bottom: none;
  }
  
  .stat-card.users .stat-visualization {
    margin-bottom: 1.5rem;
  }
  
  .user-distribution {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .age-group {
    display: flex;
    align-items: center;
  }
  
  .group-label {
    width: 50px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .group-bar {
    height: 24px;
    background: linear-gradient(90deg, var(--secondary) 0%, #FF9F64 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
  }
  
  .age-group:hover .group-bar {
    transform: scaleX(1.05);
  }
  
  .devices-chart {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .device-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 80px;
  }
  
  .device-segment::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--percentage);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 8px;
    z-index: -1;
    transition: all 0.3s ease;
  }
  
  .device-segment:hover::before {
    height: calc(var(--percentage) + 10%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  }
  
  .segment-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
  }
  
  .device-segment:hover .segment-icon {
    transform: scale(1.1);
  }
  
  .device-segment.mobile .segment-icon {
    color: #4CAF50;
  }
  
  .device-segment.desktop .segment-icon {
    color: #2196F3;
  }
  
  .device-segment.tablet .segment-icon {
    color: #FFC107;
  }
  
  .segment-value {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
  }
  
  .segment-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .global-statistics {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
  }
  
  .global-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
  }
  
  .global-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .global-stat {
    text-align: center;
  }
  
  .global-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
  }
  
  .global-value .counter {
    display: inline-block;
  }
  
  .global-label {
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* Media Queries */
  @media (max-width: 1023px) {
    .security-features {
      flex-direction: column;
    }
    
    .advantage-cards,
    .security-features-grid,
    .payment-methods-grid,
    .stat-cards,
    .global-stats-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .casino-world-section {
      padding: 3rem 0;
    }
    
    .advantage-cards,
    .security-features-grid,
    .payment-methods-grid,
    .stat-cards,
    .global-stats-grid {
      grid-template-columns: 1fr;
    }
    
    .methods-categories {
      flex-wrap: wrap;
    }
    
    .method-category {
      width: calc(50% - 0.5rem);
    }
    
    .devices-chart {
      flex-direction: column;
      align-items: center;
    }
    
    .device-segment {
      width: 100%;
      margin-bottom: 1.5rem;
    }
    
    .device-segment::before {
      width: 80%;
      height: 8px;
      bottom: -15px;
    }
    
    .device-segment:hover::before {
      height: 8px;
      width: 90%;
    }
  }

  /* Стили для улучшенной секции "Como Começar" */
.how-to-play-section {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(to bottom, #0B0E1F, #1A103C);
  color: #fff;
  overflow: hidden;
}

.interactive-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}

.glow-effect {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  z-index: 0;
}

.glow1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(45deg, #7B4DFF, #FF6B35);
  top: -200px;
  left: -200px;
  animation: float 25s infinite linear alternate;
}

.glow2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(45deg, #FF6B35, #4ECDC4);
  bottom: -200px;
  right: -200px;
  animation: float 25s infinite linear alternate-reverse;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(100px, 50px) rotate(30deg); }
}

.container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
}

.title-accent {
  color: #FF6B35;
}

.section-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* Стили для временной шкалы */
.steps-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.step-indicators {
  display: flex;
  justify-content: space-between;
  width: 80%;
  max-width: 800px;
  position: relative;
}

.step-indicators::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 2.5%;
  right: 2.5%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
  z-index: 1;
}

.step-indicator {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 0.3s ease;
}

.step-indicator:hover .indicator-circle {
  background-color: rgba(123, 77, 255, 0.3);
  border-color: rgba(123, 77, 255, 0.6);
  transform: scale(1.1);
}

.step-indicator.active .indicator-circle {
  background-color: #7B4DFF;
  border-color: #7B4DFF;
  box-shadow: 0 0 20px rgba(123, 77, 255, 0.5);
}

.indicator-line {
  position: absolute;
  top: 50%;
  width: 0%;
  height: 2px;
  background-color: #7B4DFF;
  transform: translateY(-50%);
  left: 100%;
  transition: width 0.3s ease;
  z-index: 1;
}

.step-indicator.completed .indicator-line {
  width: calc(100% - 40px);
}

/* Карточки шагов */
.steps-container {
  position: relative;
  /* min-height: 500px;  */
}

.step-card {
  /* position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  transform: translateX(30px);
  display: none;
}

.step-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  display: block;
}

.step-card-inner {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  height: 100%;
}

.step-card.expanded .step-card-inner {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.step-header {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, #7B4DFF, #9969FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.step-content {
  padding: 1.5rem;
}

.step-description {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.step-expanded-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  opacity: 0;
}

.step-card.expanded .step-expanded-content {
  max-height: 2000px; /* Достаточно большое значение для раскрытия */
  margin-bottom: 1.5rem;
  opacity: 1;
}

.expanded-section {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.expanded-section:last-child {
  margin-bottom: 0;
}

.expanded-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #7B4DFF;
}

/* Стили для списков */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: #4CAF50;
}

/* Стили для сетки преимуществ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(123, 77, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: #7B4DFF;
  flex-shrink: 0;
}

.benefit-text strong {
  display: block;
  margin-bottom: 0.25rem;
}

.benefit-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Поля регистрации */
.registration-fields {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.reg-field {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem;
  border-radius: 8px;
}

.reg-field i {
  margin-right: 0.75rem;
  color: #7B4DFF;
}

/* Верификация */
.verification-types {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.verification-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
}

.verification-item i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #FF6B35;
}

.verification-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.verification-item p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Бейджи функций */
.feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.badge {
  background: rgba(123, 77, 255, 0.2);
  border: 1px solid rgba(123, 77, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
}

.badge i {
  margin-right: 0.5rem;
}

/* Заметка о безопасности */
.security-note {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 10px;
  margin: 1.5rem 0;
}

.security-note i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: #4CAF50;
}

.security-note p {
  margin: 0;
  font-size: 0.9rem;
}

/* Методы оплаты */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-method-row {
  display: flex;
  gap: 1rem;
}

.payment-method {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem;
  border-radius: 10px;
}

.payment-logo {
  width: 40px;
  height: 30px;
  object-fit: contain;
  margin-right: 1rem;
}

.payment-details {
  display: flex;
  flex-direction: column;
}

.method-name {
  font-weight: 600;
}

.processing-time {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Информационный список */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.info-list li:last-child {
  margin-bottom: 0;
}

.info-list li i {
  margin-right: 1rem;
  font-size: 1.2rem;
  color: #7B4DFF;
}

.info-list li strong {
  display: block;
  margin-bottom: 0.25rem;
}

.info-list li p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Профессиональный совет */
.pro-tip {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 10px;
  margin-top: 1.5rem;
}

.tip-icon {
  width: 40px;
  height: 40px;
  background: #FFC107;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.tip-content h5 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.tip-content p {
  margin: 0;
  font-size: 0.9rem;
}

/* Типы бонусов */
.bonus-types {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bonus-type {
  display: flex;
  align-items: flex-start;
}

.bonus-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 107, 53, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: #FF6B35;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.bonus-details h5 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.bonus-details p {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.bonus-example {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  border-radius: 8px;
  position: relative;
}

.example-badge {
  position: absolute;
  top: -10px;
  left: 10px;
  background: #FF6B35;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.bonus-example p {
  margin: 0;
  font-size: 0.9rem;
}

/* Rollover объяснение */
.rollover-explainer {
  margin-top: 1rem;
}

.rollover-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.rollover-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
}

.step-number {
  width: 30px;
  height: 30px;
  background: #7B4DFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-label {
  text-align: center;
  font-size: 0.9rem;
}

.rollover-arrow {
  margin: 0 1rem;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.rollover-example {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

/* Highlight бонус */
.bonus-highlight {
  display: flex;
  align-items: center;
  background: linear-gradient(45deg, rgba(255, 107, 53, 0.2), rgba(123, 77, 255, 0.2));
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1.5rem;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: #FF6B35;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.3rem;
}

.highlight-text {
  font-size: 1.2rem;
}

.highlight-text strong {
  font-size: 1.3rem;
  color: #FF6B35;
}

/* Категории игр */
.game-categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.game-category {
  display: flex;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
}

.category-icon {
  width: 50px;
  height: 50px;
  background: rgba(123, 77, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: #7B4DFF;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.category-details h5 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.category-details p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsible Gaming */
.responsible-gaming {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gaming-rule {
  display: flex;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 10px;
}

.rule-icon {
  width: 40px;
  height: 40px;
  background: rgba(76, 175, 80, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: #4CAF50;
  flex-shrink: 0;
}

.rule-text strong {
  display: block;
  margin-bottom: 0.25rem;
}

.rule-text p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* CTA for Start Playing */
.start-playing-cta {
  display: flex;
  align-items: center;
  background: linear-gradient(45deg, rgba(123, 77, 255, 0.2), rgba(255, 107, 53, 0.2));
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1.5rem;
}

.cta-graphic {
  margin-right: 1rem;
  flex-shrink: 0;
}

.cta-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.cta-message h5 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.cta-message p {
  margin: 0;
  font-size: 0.9rem;
}

/* Step Action */
.step-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.action-button {
  background: linear-gradient(45deg, #7B4DFF, #9969FF);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.action-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(123, 77, 255, 0.3);
}

.expand-button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.expand-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.expand-button i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.step-card.expanded .expand-button i {
  transform: rotate(180deg);
}

.collapse-text {
  display: none;
}

.step-card.expanded .expand-text {
  display: none;
}

.step-card.expanded .collapse-text {
  display: inline;
}

/* Steps Navigation */
.steps-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.nav-button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.nav-button:not(:disabled):hover {
  background: #7B4DFF;
  border-color: #7B4DFF;
}

.prev-step i {
  margin-right: 0.5rem;
}

.next-step i {
  margin-left: 0.5rem;
}

.steps-dots {
  display: flex;
  gap: 0.5rem;
  margin: 0 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #7B4DFF;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(123, 77, 255, 0.5);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .step-indicators {
    width: 100%;
  }
  
  .payment-method-row {
    flex-direction: column;
  }
  
  .rollover-graphic {
    flex-direction: column;
    gap: 1rem;
  }
  
  .rollover-arrow {
    transform: rotate(90deg);
  }
  
  .start-playing-cta {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-graphic {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  #casino-section {
    display: none;
  }

  .game-hero-content {
    position: relative;
    z-index: 10;
    padding: 0rem 0;
}

.hero-badge {

  padding: 0.5rem 0rem;
  margin-bottom: 0rem;
}
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .step-indicators {
    display: none;
  }
  
  .steps-container {
    /* min-height: 580px; */
  }
  
  .step-action {
    flex-direction: column;
    gap: 1rem;
  }
  
  .action-button, .expand-button {
    width: 100%;
    justify-content: center;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .verification-types {
    flex-direction: column;
  }
  
  .bonus-type, .game-category, .gaming-rule {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .bonus-icon, .category-icon, .rule-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/* Улучшенные стили для фоновых линий в стиле комиксов */
.hero-right-column {
  position: relative;
  overflow: visible; /* Изменено с hidden на visible, чтобы линии могли выходить за границы */
}

.comic-bg-lines {
  position: absolute;
  top: -200px; /* Значительно увеличен размер во все стороны */
  left: -300px;
  right: -200px;
  bottom: -200px;
  background-image: url('/img/bgline.png');
  background-size: 1000px 1000px; /* Задаем конкретный размер вместо cover */
  background-position: center;
  background-repeat: repeat; /* Добавляем повторение */
  opacity: 0.15; /* Немного увеличена непрозрачность */
  z-index: 0;
  pointer-events: none;
  transform: rotate(-8deg) scale(1.5); /* Увеличен масштаб и угол наклона */
}

/* Делаем точки и кнопки слайдера полупрозрачными */
.carousel-dots .dot {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-arrows .arrow {
  background: rgba(255, 255, 255, 0.2);
}

/* Добавляем второй слой линий для эффекта глубины */
.comic-bg-lines::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/bgline.png');
  background-size: 700px 700px; /* Другой масштаб для второго слоя */
  background-position: center;
  opacity: 0.1;
  transform: rotate(12deg); /* Противоположный угол наклона */
  z-index: -1;
}

/* Анимация для линий */
@keyframes slowly-rotate {
  0% { transform: rotate(-8deg) scale(1.5); }
  50% { transform: rotate(-4deg) scale(1.6); }
  100% { transform: rotate(-8deg) scale(1.5); }
}

.comic-bg-lines {
  animation: slowly-rotate 30s infinite ease-in-out;
}

/* Отзывчивость: увеличиваем размер на мобильных устройствах */
@media (max-width: 991px) {
  .comic-bg-lines {
      top: -300px;
      left: -300px;
      right: -300px;
      bottom: -300px;
      background-size: 1200px 1200px;
  }
}

/* Базовые стили слайдера */
.hero-carousel {
  position: relative;
  height: 540px; /* Фиксированная высота */
}

.premium-casino-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) rotateY(-10deg) scale(0.9);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.premium-casino-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotateY(0) scale(1);
  z-index: 2;
  pointer-events: auto;
}

/* При инициализации слайдера первая карточка видна */
.premium-casino-card:first-child {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotateY(0) scale(1);
  z-index: 2;
  pointer-events: auto;
}

/* Стили контролов слайдера */
.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  margin: 0 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #7B4DFF;
  transform: scale(1.2);
}

.carousel-arrows {
  display: flex;
  gap: 1rem;
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arrow:hover {
  background: #7B4DFF;
}

.premium-casino-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) rotateY(-10deg) scale(0.9);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  z-index: 1; /* Базовый z-index для скрытых карточек */
}

.premium-casino-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotateY(0) scale(1);
  z-index: 2; /* Более высокий z-index для активных карточек */
  pointer-events: auto;
}

/* CSS для индикаторов свайпа */
@media (max-width: 991px) {
  /* Добавляем стрелки-индикаторы на мобильных */
  .hero-carousel::before, .hero-carousel::after {
      content: '\f104'; /* Стрелка Font Awesome */
      font-family: 'Font Awesome 5 Free';
      font-weight: 900;
      position: absolute;
      top: 50%;
      font-size: 24px;
      color: rgba(255,255,255,0.5);
      z-index: 10;
      animation: pulse-hint 2s infinite;
  }
  
  .hero-carousel::before {
      left: 10px;
  }
  
  .hero-carousel::after {
      right: 10px;
      content: '\f105';
  }
  
  @keyframes pulse-hint {
      0%, 100% { opacity: 0.5; }
      50% { opacity: 0.8; }
  }
}