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

 body {
     background: #000;
     color: #fff;
     font-family: "Raleway", sans-serif;
     overflow-x: hidden;
     min-height: 100vh;
    
     -webkit-touch-callout: none;
     -webkit-user-select: none;
     -khtml-user-select: none;
     -moz-user-select: none;
     -ms-user-select: none;
     user-select: none;
 }


 p, span, h1, h2, h3, h4, h5, h6, a {
     -webkit-user-select: text;
     -moz-user-select: text;
     -ms-user-select: text;
     user-select: text;
 }

 .bg-video {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100vh;
     object-fit: cover;
     z-index: -1;
 }


 .logo {
     position: absolute;
     top: 40px;
     left: 40px;
     z-index: 10;
 }

 .logo img {
     height: 60px;
     width: auto;
 }


 .maincontainer {
     max-width: 1200px;
     width: 100%;
     margin: 0 auto;
     min-height: 100vh;
     display: flex;
     flex-direction: column;
     justify-content: center;
     position: relative;
     z-index: 2;
 }


 .hero {
     text-align: center;
     margin-top: 100px;
 }

 .hero-title {
     font-size: clamp(26px, 5vw, 33px);
     font-weight: 900;
     text-transform: uppercase;
     letter-spacing: -1px;
     line-height: 0.9;
 }

 .hero-subtitle {
     font-size: clamp(16px, 4vw, 22px);
     font-weight: 300;
     margin: 20px auto;
 }


 .content-section {
     display: grid;
     grid-template-columns: 1fr 2fr;
     grid-auto-rows: 1fr 1fr;
     height: 90vh;
     position: relative;
     background-image: url(img/777.png);
     background-size: contain;
     background-repeat: no-repeat;
     background-position: right bottom;
 }

 .full-width {
     grid-column: 1 / -1;
 }

 .content-left {
     z-index: 3;
     display: flex;
     z-index: 3;
     padding-left: 40px;
     height: 100%;
     flex-direction: column;
     justify-content: flex-start;
 }

 .section-title {
     font-size: clamp(24px, 5vw, 54px);
     font-weight: 900;
     text-transform: uppercase;
     letter-spacing: -2px;
     white-space: nowrap;
     text-shadow:
         0 0 5px rgba(255, 255, 255, 0.4),
         0 0 10px rgba(255, 255, 255, 0.3),
         0 0 20px rgba(255, 255, 255, 0.2),
         0 0 30px rgba(255, 255, 255, 0.1);
 }

 .section-text {
     font-size: clamp(20px, 4vw, 28px);
     font-weight: 300;
     margin-top: -10px;
     white-space: nowrap;
     text-shadow:
         0 0 5px rgba(0, 0, 0, 0.4),
         0 0 10px rgba(0, 0, 0, 0.3),
         0 0 20px rgba(0, 0, 0, 0.2),
         0 0 30px rgba(0, 0, 0, 0.1);
 }

 .content-right {
     position: relative;
 }

 .main-image {
     width: 100%;
     max-width: 500px;
     height: auto;
 }

 
 .container {
     width: 100%;
     max-width: 1400px;
     margin: 0 auto;
     padding: 40px 20px;
     overflow: hidden;
     margin-top: -350px;
 }

 .carousel-wrapper {
     position: relative;
     height: 400px;
     overflow: visible;
     display: flex;
     align-items: center;

     touch-action: pan-y pinch-zoom; 
 }

 .carousel {
     position: relative;
     width: 100%;
     height: 100%;
     perspective: 1200px;
     transform-style: preserve-3d;

     touch-action: manipulation; 
 }

 .card {
     position: absolute;
     width: 225px;
     height: 320px;
     background: #1a1a1a;
     border-radius: 16px;
     left: 50%;
     top: 50%;
     transform: translate(-50%, -50%);

  
     transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
     will-change: transform, opacity;

     cursor: pointer;
     overflow: hidden;
     box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
     
   
     -webkit-backface-visibility: hidden;
     backface-visibility: hidden;
     -webkit-transform-style: preserve-3d;
     transform-style: preserve-3d;
 }

 .card-image {
     width: 100%;
     aspect-ratio: 1;
     background: #161616;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     font-size: 48px;
     font-weight: bold;
     position: relative;
     overflow: hidden;
     border-radius: 20px;
     background-image: url('img/card-bg.png');
     background-size: cover;
     background-repeat: no-repeat;
 }

 .card-image img {
     width: 100%;
     height: 100%;
     object-fit: contain;
     padding: 20px;
     margin-bottom: 30px;
     
     -webkit-user-drag: none;
     -khtml-user-drag: none;
     -moz-user-drag: none;
     -o-user-drag: none;
     user-drag: none;
     pointer-events: none;
 }

 .card-image span {
     width: 100%;
     height: 100%;
     text-align: center;
     font-weight: 800;
     padding-top: 20px;
     padding-left: 20px;
     letter-spacing: -4px;
     text-shadow:
         0 0 5px rgba(255, 255, 255, 0.4),
         0 0 10px rgba(255, 255, 255, 0.3),
         0 0 20px rgba(255, 255, 255, 0.2),
         0 0 30px rgba(255, 255, 255, 0.1);
 }

 .card-title {
     padding: 15px;
     font-size: 16px;
     font-weight: 600;
     text-align: center;
     flex: 1;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
 }

 .card-title p {
     display: flex;
     flex-direction: row;
 }

 .card-title span {
     font-size: 22px;
     font-weight: 900;
     margin-top: -10px;
 }

 .more {
     display: flex;
     font-size: 22px;
     font-weight: 500;
     justify-content: center;
     margin-top: 5px;
     color: #93d166;
     letter-spacing: -2px;
 }

 .card-title img {
     margin-top: 10px;
     margin-left: 6px;
     height: 14px;
 }

 /* Позиции карточек */
 .card[data-pos="0"] {
     transform: translate(-20%, -50%) translateX(-600px) translateZ(-300px) rotateY(45deg) scale(1.2);
     opacity: 0.7;
     z-index: 1;
 }

 .card[data-pos="1"] {
     transform: translate(-30%, -50%) translateX(-400px) translateZ(-200px) rotateY(45deg) scale(1.1);
     opacity: 0.8;
     z-index: 2;
 }

 .card[data-pos="2"] {
     transform: translate(-40%, -50%) translateX(-200px) translateZ(-100px) rotateY(30deg) scale(1);
     opacity: 0.9;
     z-index: 3;
 }

 .card[data-pos="3"] {
     transform: translate(-50%, -50%) translateX(0) translateZ(0) rotateY(0deg) scale(1);
     opacity: 1;
     z-index: 7;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
 }

 .card[data-pos="4"] {
     transform: translate(-60%, -50%) translateX(200px) translateZ(-100px) rotateY(-30deg) scale(1);
     opacity: 0.9;
     z-index: 3;
 }

 .card[data-pos="5"] {
     transform: translate(-70%, -50%) translateX(400px) translateZ(-200px) rotateY(-45deg) scale(1.1);
     opacity: 0.8;
     z-index: 2;
 }

 .card[data-pos="6"] {
     transform: translate(-80%, -50%) translateX(600px) translateZ(-300px) rotateY(-45deg) scale(1.2);
     opacity: 0.7;
     z-index: 1;
 }


 .arrow {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     color: #fff;
     width: 48px;
     height: 48px;
     cursor: pointer;
     z-index: 10;
     opacity: 0.3;
     transition: all 0.3s ease;
     user-select: none;
     display: flex;
     align-items: center;
     justify-content: center;
  
     touch-action: manipulation;
     -webkit-tap-highlight-color: transparent;
 }

 .arrow:hover {
     opacity: 0.8;
     transform: translateY(-50%) scale(1.1);
 }

 .arrow:active {
     transform: translateY(-50%) scale(0.95);
 }

 .arrow svg {
     width: 24px;
     height: 24px;
     stroke: #fff;
     stroke-width: 2;
     fill: none;
     pointer-events: none;
 }

 .arrow-left {
     left: 0px;
 }

 .arrow-right {
     right: 0px;
 }


.cards-grid-section {
    background: transparent;
    position: relative;
    z-index: 2;
}

.cards-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.4),
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    justify-items: center;
}


.grid-card {
    width: 100%;
    max-width: 225px;
    height: auto;
    aspect-ratio: 225/320;
    background: #1a1a1a;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;

    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.grid-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.grid-card:active {
    transform: translateY(-5px) scale(1.01);
}

.grid-card-image {
    width: 100%;
    aspect-ratio: 1;
    background: #161616;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: clamp(32px, 8vw, 48px);
    font-weight: bold;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-image: url('img/card-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.grid-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    margin-bottom: 30px;
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.grid-card-image span {
    width: 100%;
    height: 100%;
    text-align: center;
    font-weight: 800;
    padding-top: 20px;
    padding-left: 20px;
    letter-spacing: -4px;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.4),
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.grid-card-title {
    padding: clamp(10px, 3vw, 15px);
    font-size: clamp(14px, 3vw, 16px);
    font-weight: 600;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.grid-card-title p {
    display: flex;
    flex-direction: row;
}

.grid-card-title span {
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 900;
    margin-top: -6px;
}

.grid-more {
    display: flex;
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 500;
    justify-content: center;
    margin-top: 5px;
    color: #93d166;
    letter-spacing: -2px;
}

.grid-card-title img {
    margin-top: 10px;
    margin-left: 6px;
    height: clamp(12px, 3vw, 14px);
}

.totalwrap{
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

 .display-one {
    width: clamp(320px, 80vw, 1200px);
    margin-top: -50px;
    min-height: 300px;
    background-image: url(img/fresh.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
 }

 .display-two {
    width: clamp(320px, 80vw, 1200px);
    margin-top: 20px;
    min-height: 300px;
    background-image: url(img/desired.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
 }

 .lucky {
    width: clamp(320px, 80vw, 1200px);
    margin-top: 20px;
    min-height: 500px;
    background-image: url(img/lucky.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
 }

 .display-content-l {
    width: 60%;
    margin-right: 250px;
    max-width: 700px;
 }

 .display-content {
    width: 60%;
 }

 .display-title {
    font-size: clamp(22px, 3vw, 54px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
 }

 .display-desc {
    display: flex;
    flex-direction: column;
    align-items: left;
    font-size: clamp(16px, 4vw, 22px);
    font-weight: 300;
    margin: 20px auto;
 }


.magnetic-card {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

.card-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.magnetic-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 999;
    mix-blend-mode: soft-light;
}

.magnetic-card:hover .magnetic-glow {
    opacity: 1;
}

.magnetic-glow::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, 
        #fa3d3b 00%,
        #ff0400 30%,
        transparent 60%
    );
    border-radius: 50%;
    transform: translate(-50%, -50%);
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
}

.percent-value {
    width: 100%;
    height: 100%;
    text-align: center;
    font-weight: 800;
    padding-top: 20px;
    padding-left: 20px;
    letter-spacing: -4px;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.4),
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease, transform 0.3s ease;
}

.magnetic-card:hover .percent-value {
    color: #98ff1b;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}


.lucky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: #fa3d3b;
  color: white;
  font-size: 22px;
  font-weight: 800;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.1s ease;
  margin-top: 20px;
  width: 80%;
  height: 80px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lucky-btn .clover-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
}

.lucky-btn svg {
  width: 100%;
  height: 100%;
  transition: transform 0.8s linear;
}

.lucky-btn .clover {
  fill: #67F500;
  transition: fill 0.3s ease;
}

.lucky-btn:hover {
  background-color: #93d166;
}

.lucky-btn:hover .clover {
  fill: #fa3d3b;
}

.lucky-btn:hover svg {
  transform: rotate(360deg);
}


.section-block {
    background: transparent;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

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

.section-mobile-title {
    display: none;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.4),
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background-image: url(img/display-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 10px 70px;
}


.animate-element {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.animate-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}


.animate-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.animate-card.card-animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}


.hero {
    transition-delay: 0.2s;
}

.content-section {
    transition-delay: 0.1s;
}

.container {
    transition-delay: 0.3s;
}

.display-one.animate-in {
    transform: translateY(0) translateX(0);
}

.display-two.animate-in {
    transform: translateY(0) translateX(0);
}

.lucky.animate-in {
    transform: translateY(0) scale(1);
}


.carousel .card.animate-card {
    opacity: 0.7; 
    transform: translateY(20px) scale(0.98);
}

.carousel .card.card-animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}


.carousel .card[data-pos="3"].card-animate-in {
    animation: centerCardPop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes centerCardPop {
    0% {
        transform: translate(-50%, -50%) translateX(0) translateZ(0) rotateY(0deg) scale(0.8);
        opacity: 0.5;
    }
    70% {
        transform: translate(-50%, -50%) translateX(0) translateZ(10px) rotateY(0deg) scale(1.05);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) translateX(0) translateZ(0) rotateY(0deg) scale(1);
        opacity: 1;
    }
}


.grid-card.animate-card {
    transform: translateY(40px) scale(0.9) rotateX(10deg);
    opacity: 0;
}

.grid-card.card-animate-in {
    transform: translateY(0) scale(1) rotateX(0deg);
    opacity: 1;
}


.section-card.animate-card {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
}

.section-card.card-animate-in {
    transform: translateY(0) scale(1);
    opacity: 1;
}


.lucky-btn {
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.lucky.animate-in .lucky-btn {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0s;
}

/* Country Selector Panel */
.country-selector-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.country-selector-panel.show {
    transform: translateY(0);
}

.country-panel-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
}

.country-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.country-panel-icon {
    font-size: 24px;
    margin-right: 12px;
}

.country-panel-text {
    font-size: 16px;
    font-weight: 500;
    flex: 1;
}

.country-panel-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.country-panel-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.country-panel-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.country-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    min-width: 140px;
    justify-content: center;
}

.country-option:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.country-option-default {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.country-flag {
    font-size: 20px;
}

.country-name {
    font-weight: 500;
    font-size: 14px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .country-panel-content {
        padding: 12px 16px;
    }
    
    .country-panel-options {
        gap: 8px;
    }
    
    .country-option {
        padding: 10px 16px;
        min-width: 120px;
        font-size: 13px;
    }
    
    .country-panel-text {
        font-size: 14px;
    }
}

/* Body padding when panel is shown */
body.country-panel-active {
    padding-top: 120px;
    transition: padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    body.country-panel-active {
        padding-top: 100px;
    }
}


.section-cards-title, .section-mobile-title {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-block.animate-in .section-cards-title,
.section-block.animate-in .section-mobile-title {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
}


.section-text-column {
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-block.animate-in .section-text-column {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.3s;
}


.section-benefit-checkbox {
    transform: scale(0) rotate(-180deg);
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.section-block.animate-in .section-benefit-checkbox {
    animation-play-state: running;
}


.display-content, .display-content-l {
    transform: translateX(50px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.display-one.animate-in .display-content,
.display-two.animate-in .display-content,
.lucky.animate-in .display-content-l {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.2s;
}


.footer {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer.animate-in {
    transform: translateY(0);
    opacity: 1;
}

/* Анимация для footer CTA */
.footer-cta-text {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-cta-btn {
    transform: translateY(30px) scale(0.9);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.footer-cta-section.animate-in .footer-cta-text {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.2s;
}

.footer-cta-section.animate-in .footer-cta-btn {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition-delay: 0.4s;
}


.hero-title {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-subtitle {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero.animate-in .hero-title {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.hero.animate-in .hero-subtitle {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}


.arrow {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: #fff;
}

.container.animate-in .arrow {
    transform: scale(1);
    opacity: 0.8;
    transition-delay: 0s;
    background-color: #98ff1b3f;
    border-radius: 50px;
}



.container.animate-in .arrow:hover{
    transform: scale(1.2);
    opacity: 1;
    background-color: #98ff1b;
 
}


@media (prefers-reduced-motion: reduce) {
    .animate-element,
    .animate-card,
    .hero-title,
    .hero-subtitle,
    .section-text-column,
    .display-content,
    .display-content-l,
    .footer-cta-text,
    .footer-cta-btn,
    .arrow {
        transition-duration: 0.3s;
        transform: none !important;
    }
    
    .animate-element.animate-in,
    .animate-card.card-animate-in {
        opacity: 1;
        transform: none !important;
    }
}


@media (max-width: 768px) {
    .animate-element {
        transform: translateY(30px);
        transition-duration: 0.6s;
    }
    
    .animate-card {
        transform: translateY(20px) scale(0.97);
        transition-duration: 0.5s;
    }
    
  
    .section-text-column {
        transform: translateX(-20px);
    }
    
    .display-content, .display-content-l {
        transform: translateX(30px);
    }
}

.section-grid.mirrored {
    background-position: right 20px;
}

.section-grid.mirrored .section-cards-column {
    order: 1;
}

.section-grid.mirrored .section-text-column {
    order: 2;
}

.section-text-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.section-benefit-item {
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-benefit-checkbox {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transform: scale(0);
    animation: checkboxPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.section-benefit-checkbox svg {
    width: 100%;
    height: 100%;
}

.checkbox-bg {
    fill: none;
    stroke: #67f500;
    stroke-width: 2;
    transition: fill 0.3s ease;
}

.checkbox-check {
    fill: none;
    stroke: #67f500;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform-origin: center;
    transform: scale(0);
    animation: checkPop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes checkboxPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.2) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes checkPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.3); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

.section-benefit-item:nth-child(1) .section-benefit-checkbox {
    animation-delay: 0.2s;
}

.section-benefit-item:nth-child(1) .checkbox-check {
    animation-delay: 0.5s;
}

.section-benefit-item:nth-child(2) .section-benefit-checkbox {
    animation-delay: 0.6s;
}

.section-benefit-item:nth-child(2) .checkbox-check {
    animation-delay: 0.9s;
}

.section-benefit-item:nth-child(3) .section-benefit-checkbox {
    animation-delay: 1.0s;
}

.section-benefit-item:nth-child(3) .checkbox-check {
    animation-delay: 1.3s;
}

.section-description {
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 300;
    line-height: 1.5;
    color: #fff;
    text-align: left;
}

.section-cards-column {
    display: flex;
    flex-direction: column;
}

.section-cards-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.4),
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.section-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    justify-items: center;
}

.section-additional-row {
    display: none;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    justify-items: center;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-additional-row.show {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

.section-card {
    width: 100%;
    max-width: 200px;
    min-width: 130px;
    height: auto;
    aspect-ratio: 180/256;
    background: #1a1a1a;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease, opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.section-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.section-card-image {
    width: 100%;
    aspect-ratio: 1;
    background: #161616;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 6vw, 36px);
    font-weight: bold;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-image: url('img/card-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.section-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    margin-bottom: 20px;
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.section-card-image span {
    width: 100%;
    height: 100%;
    text-align: center;
    font-weight: 800;
    padding-top: 15px;
    padding-left: 15px;
    letter-spacing: -3px;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.4),
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.section-card-title {
    padding: clamp(8px, 2vw, 12px);
    font-size: clamp(10px, 1vw, 14px);
    font-weight: 600;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-card-title p {
    display: flex;
    flex-direction: row;
}

.section-card-title span {
    font-size: clamp(14px, 1.4vw, 18px);
    font-weight: 900;
    margin-top: -4px;
}

.section-more {
    display: flex;
    font-size: clamp(14px, 3vw, 18px);
    font-weight: 500;
    justify-content: center;
    margin-top: 3px;
    color: #93d166;
    letter-spacing: -1px;
}

.section-card-title img {
    margin-top: 8px;
    margin-left: 4px;
    height: clamp(10px, 2.5vw, 12px);
}

.section-load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.section-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background-color: #fa3d3b;
    color: white;
    font-size: 18px;
    font-weight: 800;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    width: 200px;
    height: 60px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.section-load-more-btn:hover {
    background-color: #93d166;
}

.section-load-more-btn.hidden {
    opacity: 0;
    pointer-events: none;
}


.footer-cta-section {
    background-image: url('img/footer-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    z-index: 2;
    margin-top: 40px;
    padding: 60px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80vw;
}

.footer-cta-container {
    margin: 0 auto;
    padding: 0 20px;
}

.footer-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-cta-text {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 300;
    line-height: 1.6;
    color: #fff;
    margin: 0;
    max-width: 900px;
}

.footer-cta-button-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
    overflow: visible;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background-color: #fa3d3b;
    color: white;
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 800;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: auto;
    min-width: 400px;
    height: 70px;
    position: relative;
    overflow: visible;
    text-decoration: none;
    box-sizing: border-box;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.footer-cta-image {
    position: absolute;
    left: -50%;
    top: 50%;
    transform: translateY(-50%);
    height: 400px;
    width: auto;
    z-index: 10;
    pointer-events: none;
}

.footer-cta-text-btn {
    margin-left: 80px;
    z-index: 1;
}

.footer-cta-btn:hover {
    background-color: #93d166;
    transform: translateY(-2px);
}

.footer-cta-btn:active {
    transform: translateY(0);
}


.footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
}

.footer .contact-info {
    margin-bottom: 50px;
    font-size: 20px;
}

.footer .contact-info a {
    color: #fa3d3b;
    text-decoration: none;
    font-weight: 600;
}

.footer .contact-info a:hover {
    text-decoration: underline;
}

.footer .images-row {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer .images-row img {
    height: 30px;
    width: auto;
}

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

.footer .links-row a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.footer .links-row a:hover {
    color: #fa3d3b;
}

.footer .copyright {
    color: #666;
    font-size: 16px;
}

/* ============================================================================
   MOBILE ADAPTATIONS
   ============================================================================ */
@media (max-width: 900px) {
    .cards-grid-section {
        margin-top: 0px;
        padding: 0px 0;
    }
    
    .cards-grid-container {
        padding: 0 15px;
    }
    
    .grid-section-title {
        margin-bottom: 30px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .container {
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        padding: 40px 20px;
        overflow: hidden;
        margin-top: -300px;
    }

    .hero {
        text-align: center;
        margin-top: 90px;
    }

    .arrow-left {
        left: 0px;
    }

    .arrow-right {
        right: 0px;
    }

    .content-section {
        background-position: -30px 80px;
        background-size: 130%;
    }

    .section-title {
        font-size: clamp(32px, 5vw, 54px);
    }

    .section-text {
        font-size: clamp(14px, 4vw, 28px);
        margin-top: 1px;
    }

    .logo {
        left: auto;
        top: 10px;
    }

    .hero-subtitle {
        font-size: clamp(16px, 4vw, 22px);
        font-weight: 300;
        margin: 20px auto;
        width: 80%;
    }

    .content-left {
        position: relative;
        z-index: 4;
        background: rgba(0, 0, 0, 0.6);
        padding: 20px;
        border-radius: 0 20px 20px 0;
        backdrop-filter: blur(2px);
        margin-top: -15px;
        height: 30%;
    }

    /* Section mobile adaptations */
    .section-mobile-title {
        display: block;
    }
    
    .section-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        background-position: center;
    }
    
    .section-grid.mirrored {
        background-position: center;
    }
    
    .section-grid.mirrored .section-cards-column {
        order: 2;
    }
    
    .section-grid.mirrored .section-text-column {
        order: 1;
    }
    
    .section-cards-title {
        display: none;
    }
    
    .section-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .section-additional-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .section-card {
        max-width: none;
    }
    
    .section-description {
        text-align: left;
    }
    
    .section-benefits {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .lucky-btn {
        width: 100%;
        font-size: 16px;
    }

    .display-title {
        font-size: clamp(18px, 3vw, 54px);
        letter-spacing: -1px;
    }

    .display-one {
        width: 100vw;
        background-size: 200%;
        background-position: -140px 30px;
        margin-top: -30px;
    }

    .display-two {
        width: 100vw;
        background-size: 200%;
        background-position: -140px 30px;
        margin-top: 0px;
    }

    .display-content {
        width: 60%;
        background: rgba(0, 0, 0, 0.2);
        padding: 20px;
        border-radius: 20px;
        backdrop-filter: blur(5px);
    }

    .display-content-l {
        width: 60%;
        margin-left: 30px;
        margin-right: 0px;
    }

    .lucky {
        min-height: 300px;
        justify-content: flex-start;
        width: 100vw;
        background-size: 140%;
        background-position-x: -140px;
    }

    .container {
        padding: 40px 0;
        z-index: 5;
        margin-top: -300px;
    }

    .carousel-wrapper {
        height: 300px;
    }

    .arrow {
        width: 40px;
        height: 40px;
        opacity: 0.4;
    }

    .arrow svg {
        width: 20px;
        height: 20px;
    }

    .arrow-left {
        left: 0px;
    }

    .arrow-right {
        right: -0px;
    }

    .card {
        width: 200px;
        height: 280px;
    }

    .card-image {
        aspect-ratio: 1;
    }

    .card-title {
        font-size: 14px;
        padding: 10px;
    }


    .card[data-pos="0"] {
        transform: translate(130%, -50%) translateX(-650px) translateZ(-350px) rotateY(45deg) scale(1.1);
        opacity: 0.4;
    }

    .card[data-pos="1"] {
        transform: translate(70%, -50%) translateX(-450px) translateZ(-250px) rotateY(45deg) scale(1);
        opacity: 0.6;
    }

    .card[data-pos="2"] {
        transform: translate(10%, -50%) translateX(-225px) translateZ(-120px) rotateY(30deg) scale(0.9);
        opacity: 0.8;
    }

    .card[data-pos="3"] {
        transform: translate(-50%, -50%) translateX(0) translateZ(0) rotateY(0deg) scale(0.9);
        opacity: 1;
    }

    .card[data-pos="4"] {
        transform: translate(-110%, -50%) translateX(225px) translateZ(-120px) rotateY(-30deg) scale(0.9);
        opacity: 0.8;
    }

    .card[data-pos="5"] {
        transform: translate(-170%, -50%) translateX(450px) translateZ(-250px) rotateY(-45deg) scale(1);
        opacity: 0.6;
    }

    .card[data-pos="6"] {
        transform: translate(-230%, -50%) translateX(650px) translateZ(-350px) rotateY(-45deg) scale(1.1);
        opacity: 0.4;
    }


    .footer-cta-section {
        padding: 40px 0;
        min-height: 400px;
    }
    
    .footer-cta-container {
        padding: 0 15px;
    }
    
    .footer-cta-content {
        gap: 20px;
    }
    
    .footer-cta-text {
        font-size: clamp(14px, 4vw, 18px);
    }
    
    .footer-cta-image {
        height: 200px;
        left: -90px;
        top: 40px;
    }
    
    .footer-cta-btn {
        font-size: clamp(16px, 4vw, 20px);
        min-width: 200px;
        height: 60px;
        padding: 12px 25px;
    }

    .footer-cta-text-btn {
        margin-left: 60px;
    }

    .footer .images-row {
        gap: 30px;
    }
    
    .footer .links-row {
        gap: 35px;
        flex-direction: column;
        align-items: center;
    }
    
    .footer .images-row img {
        height: 40px;
    }

    .section-container {
        padding: 0 15px;
    }
    
    .section-load-more-btn {
        width: 100%;
        font-size: 16px;
    }
    
    .section-benefit-item {
        font-size: clamp(14px, 4vw, 20px);
    }
    
    .magnetic-glow::before {
        width: 250px;
        height: 250px;
    }
    
    .magnetic-card.touch-active .percent-value {
        color: #93d166;
        transform: scale(1.1);
    }
}

@media (max-width: 480px) {
    .footer-cta-section {
        padding: 30px 0;
        min-height: 350px;
    }
    
    .footer-cta-btn {
        min-width: 260px;
        height: 50px;
        font-size: 16px;
    }
}


.card[data-pos="3"]:hover {
    transform: translate(-50%, -50%) translateX(0) translateZ(20px) rotateY(0deg) scale(1.05);
}


@media (min-width: 1200px) {
    .card[data-pos="0"] {
        transform: translate(-20%, -50%) translateX(-650px) translateZ(-350px) rotateY(45deg) scale(1.2);
    }

    .card[data-pos="1"] {
        transform: translate(-30%, -50%) translateX(-450px) translateZ(-250px) rotateY(45deg) scale(1.1);
    }

    .card[data-pos="2"] {
        transform: translate(-40%, -50%) translateX(-225px) translateZ(-120px) rotateY(30deg) scale(1);
    }

    .card[data-pos="4"] {
        transform: translate(-60%, -50%) translateX(225px) translateZ(-120px) rotateY(-30deg) scale(1);
    }

    .card[data-pos="5"] {
        transform: translate(-70%, -50%) translateX(450px) translateZ(-250px) rotateY(-45deg) scale(1.1);
    }

    .card[data-pos="6"] {
        transform: translate(-80%, -50%) translateX(650px) translateZ(-350px) rotateY(-45deg) scale(1.2);
    }
}