/* Import fonts */
@font-face {
    font-family: 'Impact';
    src: url('font/IMPACT.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('font/INTER-REGULAR.TTF') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('font/INTER-BOLD.TTF') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #090909;
    color: #fff;
}

/* Hero section — первый экран на весь viewport */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
.header {
    position: relative;
    z-index: 10;
    padding: 0px 40px;
    width: 100%;
}

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

/* Background image — слой фона */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Слой со спинами (фишками) — под фото */
.pins-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.pins-layer img {
    width: 100%;
    max-width: 1400px;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
}

/* Hero content — текст поверх градиента */
.hero-content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 0;
}

/* Streamer photo — поверх слоя со спинами */
.streamer-photo {
    display: flex;
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    z-index: 3;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
}


.logo {
    display: flex;
    justify-content: center;
}

/* Text content */
.text-content {
    display: flex;
    position: relative;
    max-width: 640px;
    gap: 8px;
    color: #fff;
    z-index: 7;
    flex-direction: column;
    align-items: center;
    padding: 0 20px 40px;
}

.main-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(28px, 5vw, 56px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.description {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.4;
    font-weight: 400;
    opacity: 0.9;
    padding-bottom: 24px;
}

/* Animated arrow */
.scroll-arrow {
    display: inline-block;
    animation: bounce 2s infinite;
}

.scroll-arrow img,
.scroll-arrow svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Shine animation for cart_get_bonus button */
@keyframes shine {
    0% {
        transform: translateX(-100%) skewX(-15deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(200%) skewX(-15deg);
        opacity: 0;
    }
}

/* Обёртка блока Bonusvergleich — чёрный фон первого экрана снизу */
.catalog_heder_wrap {
    background: #000000;
    width: 100%;
}

.catalog_heder {
    display: flex;
    max-width: 1200px;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 auto;
    padding: 32px 24px 40px;
    align-items: center;
}

.catalog_desk_group {
    display: flex;
    gap: 10px;
    font-size: 16px;
}

h2 {
    font-size: 40px;
    font-weight: 600;
}

.catalog_container {
    display: flex;
    max-width: 1200px;
    margin: auto;
    flex-direction: column;
    gap: 30px;
}

div#catalog_items {
    display: flex;
    max-width: 1200px;
    flex-direction: column;
    width: 100%;
}

.cart_heder {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
    background: #171717;
    max-width: 1200px;
    gap: 40px;
}

.cart_logo {
    display: flex;
    max-width: 260px;
    width: 100%;
    height: auto;
    background: #fff;
    align-items: center;
    justify-content: center;
}

.inverted-logo {
    filter: grayscale(100%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.logo-blend {
    mix-blend-mode: difference;
}

.inverted-logo:hover {
    opacity: 1;
}

.cart_logo img {
    width: 100%;
}

.cart_heder_box {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 20px;
}

.cart_heder_box_item {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-direction: row;
}

.cart_title_box {
    width: 100%;
}

.cart_icon_box {
    display: flex;
    flex-direction: row;
    gap: 14px;
}

.cart_icon_item {
    display: flex;
    gap: 6px;
    font-size: 14px;
}

.cart_open_section_item1 img {
    width: 80%;
}

.cart_button_box {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

a.cart_detals {
    display: flex;
    width: 142px;
    background: #2E2E2E;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    gap: 4px;
}

a.cart_get_bonus {
    background: #A9FF5A;
    display: flex;
    width: auto;
    height: 64px;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(169, 255, 90, 0.3);
}

/* Shine effect for cart_get_bonus button */
.cart_get_bonus::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);
    animation: shine 2s infinite;
}

.cart_detals_box_text {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.rewiews_box {
    display: flex;
    font-size: 12px;
    width: 100%;
    justify-content: space-between;
    font-weight: 400;
}

span.rewiews_box_text_item {
    opacity: 0.6;
}

.divider {
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(to right, rgba(204, 204, 204, 0.1) 0, rgba(204, 204, 204, 0.1) 4px, transparent 1px, transparent 9px);
}

.cart_title_box {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.cart_title {
    font-size: 26px;
    font-weight: 600;
}

span.yelow {
    color: #ffc107;
}

.divider_vertical {
    height: 100%;
    width: 1px;
    background: rgb(255 255 255 / 10%);
}

.divider_hrizontal {
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(to right, rgba(204, 204, 204, 0.1) 0, rgba(204, 204, 204, 0.1) 4px, transparent 1px, transparent 9px);
}

.cart_icon_item img {
    width: 15px;
}

.cart_heder_box_benefits {
    display: flex;
    gap: 10px;
}

.cart_heder_box_benefits_item {
    display: flex;
    gap: 6px;
    padding: 4px 10px;
    background: rgb(169 255 90 / 10%);
}

.cart_open {
    background: rgb(255 255 255 / 10%);
}

.cart_open_section {
    display: flex;
    padding: 20px;
    justify-content: space-between;
    line-height: 1.4;
}

.cart_open_section_item {
    display: flex;
    flex-direction: column;
    max-width: 340px;
    width: 100%;
    gap: 10px;
}

.divider_vertical_vr {
    width: 1px;
    background: repeating-linear-gradient(to bottom, rgba(204, 204, 204, 0.1) 0, rgba(204, 204, 204, 0.1) 6px, transparent 2px, transparent 10px);
}

.cart_open_section_item_box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart_open_section_item_box_item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
}

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

.cart_open_section_item_heder {
    font-weight: 600;
}

.cart_open_section_item_box_bank {
    display: flex;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
    flex-direction: row;
}

.cart_open_section_item_box_bank img {
    flex: 1;
}

.cart_open_section_item1 {
    display: flex;
    flex-direction: column;
    max-width: 340px;
    width: 100%;
    gap: 2px;
    line-height: 1.4;
    align-items: center;
}

.cart_open_section_item_digit {
    font-size: 36px;
    color: #FFC107;
    font-weight: 600;
}

.cart_open_section_item_descriptor {
    font-size: 12px;
    opacity: 0.6;
    font-weight: 400;
}

.cart_open_section_logo {
    display: flex;
    padding: 20px;
    justify-content: space-between;
    line-height: 1.4;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cart_open_section_item_logo {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

.open_btn_logo {
    display: flex;
    background: rgb(255 255 255 / 10%);
    gap: 4px;
    padding: 8px 20px;
}

.bonus-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: #373737;
    width: 100%;
}

.bonus-left {
    display: flex;
    padding: 20px;
    background: #141414;
    flex-direction: column;
    font-size: 16px;
    font-weight: 600;
    width: 450px;
}

p.bonus-sub {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.6;
}

.bonus-kpis {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
    align-items: center;
    padding: 20px;
}

.kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 600;
}

span.kpi-label {
    font-size: 12px;
    opacity: 0.6;
    font-weight: 400;
}

.bonus-input-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    /* белая рамка */
}

.input-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 20px;
    width: auto;
    /* ширина блока, меняй по необходимости */
}

.input-box input {
    flex: 1;
    background: transparent;
    /* прозрачный фон для инпута */
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 400;
    color: #7ED957;
    /* зелёный текст */
    width: 160px;
}

.input-box input::placeholder {
    color: #7ED957;
    /* зелёный плейсхолдер */
    opacity: 1;
}

.input-box .suffix {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    /* символ € белого цвета */
}

.cart_footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0px;
    background: #222222;
}

.footer_info {
    display: flex;
    background: #000000;
    margin-top: 40px;
    justify-content: center;
}

.footer {
    display: flex;
    max-width: 1200px;
    justify-content: center;
    gap: 40px;
    padding: 40px;
}

/* Interactive animations */
.cart_open {
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease;
    overflow: hidden;
}

.cart_detals {
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.cart_detals:hover {
    background-color: #404040;
}

.cart_get_bonus {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.cart_get_bonus:hover {
    background-color: #98E54A;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(169, 255, 90, 0.4), 0 0 20px rgba(169, 255, 90, 0.2);
}

.cart_get_bonus:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(169, 255, 90, 0.3);
}

img[src*="open_arrov"] {
    transition: transform 0.3s ease;
}

.open_btn_logo {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.open_btn_logo:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Logo animation */
.cart_open_section_item_logo img {
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.cart_open_section_item_logo img:hover {
    transform: scale(1.05);
}

/* Input styling improvements */
.bonus-input-wrap {
    position: relative;
}

.input-box input:focus {
    outline: 2px solid #A9FF5A;
    outline-offset: 2px;
}

/* Card expansion animation */
.cart_container {
    transition: box-shadow 0.2s ease;
}

.cart_container:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* KPI values animation */
.kpi-value {
    transition: color 0.2s ease, transform 0.1s ease;
}

.kpi:hover .kpi-value {
    color: #A9FF5A;
    transform: scale(1.05);
}

/* Smooth scrolling when cards open */
.cart_open_box {
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============== RESPONSIVE DESIGN =============== */

/* Small desktop / Large tablet styles (769px to 1200px) */
@media (max-width: 1200px) and (min-width: 769px) {

    /* Main container adjustments */
    .catalog_container {
        max-width: 900px;
        padding: 0 30px;
    }

    .catalog_heder_wrap {
        padding: 0;
    }

    .catalog_heder {
        max-width: 900px;
        margin: 0 auto;
        padding: 28px 30px 32px;
    }

    /* Header adjustments */
    .header {
        padding: 0px 30px;
    }

    /* Hero section adjustments */
    .text-content {
        max-width: 500px;
    }

    .main-title {
        font-size: 50px;
    }

    /* Card adjustments for better fit */
    .cart_heder {
        gap: 30px;
        padding: 18px;
        flex-direction: column;
    }

    .cart_logo {
        max-width: 220px;
    }

    .cart_title {
        font-size: 24px;
    }

    /* Cart open section adjustments */
    .cart_open_section_item {
        max-width: 240px;
    }

    .cart_open_section_item1 {
        max-width: 240px;
    }

    .cart_open_section_item_box_bank img {
        flex: 1;
        width: 52px;
    }

    .cart_icon_item {
        font-size: 14px;
    }

    /* Benefits section spacing */
    .cart_heder_box_benefits {
        gap: 8px;
        flex-wrap: wrap;
        font-size: 12px;
    }

    .input-box input {
        width: 100px;
    }

    .cart_heder_box_benefits_item {
        padding: 6px 12px;
    }

    .bonus-left {
        width: 280px;
    }

    /* Footer section */
    .footer_info {
        padding: 0 30px;
    }

    .footer {
        max-width: 900px;
        padding: 30px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Tablet styles (768px and below) */
@media (max-width: 768px) {

    /* Header adjustments */
    .header {
        padding: 0px 20px;
    }

    .logo img {
        height: 50px;
    }

    /* Hero section adjustments */
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .text-content {
        padding: 0 16px 28px;
        max-width: 100%;
    }

    .main-title {
        font-size: clamp(24px, 7vw, 32px);
        line-height: 1.2;
        text-align: center;
    }

    .streamer-photo img {
        width: min(360px, 85vw);
        height: auto;
    }

    .pins-layer img {
        max-width: 100%;
    }

    .description {
        font-size: 14px;
        text-align: center;
    }

    /* Catalog header */
    .catalog_heder_wrap {
        padding: 0;
    }

    .catalog_heder {
        padding: 24px 20px 32px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
        max-width: 100%;
        width: 100%;
    }

    h2 {
        font-size: 26px;
    }

    .catalog_desk_group {
        justify-content: center;
        font-size: 12px;
        align-items: center;
    }

    /* Main container adjustments */
    .catalog_container {
        padding: 0 20px;
        max-width: 360px;
    }

    /* Card adjustments */
    .cart_heder {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }

    .cart_logo {
        max-width: 100%;
        height: auto;
    }

    .cart_heder_box_item {
        flex-direction: column;
        gap: 20px;
    }

    .cart_title {
        font-size: 22px;
        text-align: left;
    }

    .cart_title_box {
        gap: 20px;
    }

    .cart_icon_box {
        flex-direction: column;
        gap: 10px;
    }

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

    a.cart_detals {
        width: 100%;
        order: 2;
    }

    a.cart_get_bonus {
        width: 100%;
        order: 1;
        padding: 15px;
    }

    .cart_heder_box_benefits {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Cart open section adjustments */
    .cart_open_section {
        flex-direction: column;
        gap: 20px;
    }

    /* KPI section - special layout for Max bet/Freispiele/Lizenz */
    .cart_kpi_section {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }

    .cart_kpi_section .cart_open_section_item1 {
        flex: 1;
        text-align: center;
        min-height: 80px;
    }

    .cart_kpi_section .divider_vertical_vr {
        display: block;
        width: 1px;
        height: 100px;
        background: repeating-linear-gradient(to bottom, rgba(204, 204, 204, 0.1) 0, rgba(204, 204, 204, 0.1) 6px, transparent 2px, transparent 10px);
    }

    .cart_open_section_item_box {
        font-size: 12px;
    }

    .cart_open_section_item {
        max-width: 100%;
    }

    .divider_vertical_vr {
        display: none;
    }

    .cart_open_section_item_box_bank img {
        /* flex: 1; */
        width: 62px;
    }

    .cart_open_section_item_logo img {
        max-width: 120px;
    }

    .bonus-row {
        flex-direction: column;
    }

    .bonus-left {
        width: 100%;
    }

    .bonus-kpis {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .bonus-input-wrap {
        width: 100%;
    }

    img.arrow-icon {
        display: none;
    }

    .kpi {
        flex-direction: row;
        gap: 10px;
    }

    .cart_footer {
        padding: 10px 20px;
        line-height: 1.5;
    }

    .input-box {
        width: 100%;
    }

    .divider_vertical {
        display: none;
    }

    /* Footer section */
    .section_footer {
        padding: 0 20px;
    }

    .footer {
        flex-direction: column;
        max-width: 360px;
        gap: 20px;
        align-items: flex-start;
    }

    .footer img {
        width: 200px;
    }

    .cart_open_section_item_descriptor {
        font-size: 9px;
    }
}

/* Mobile styles (480px and below) */
@media (max-width: 480px) {

    /* Header */
    .header {
        padding: 0px 15px;
    }

    .logo img {
        height: 40px;
    }

    /* Hero section */
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .text-content {
        padding: 0 15px 24px;
    }

    .main-title {
        font-size: clamp(22px, 6vw, 28px);
        line-height: 1.3;
    }

    .description {
        font-size: 14px;
    }

    /* Catalog */
    .catalog_heder {
        padding: 20px 15px 28px;
    }

    h2 {
        font-size: 28px;
    }

    .catalog_container {
        padding: 0 15px;
    }

    /* Cards */
    .cart_heder {
        padding: 12px;
    }

    .cart_title {
        font-size: 20px;
    }

    .cart_icon_item {
        font-size: 14px;
    }

    .cart_icon_box_text {
        font-size: 14px;
    }

    .cart_heder_box_benefits_item_text {
        font-size: 14px;
    }

    a.cart_get_bonus {
        padding: 12px;
        font-size: 14px;
    }

    a.cart_detals {
        padding: 10px;
        font-size: 14px;
    }

    /* Cart open sections */
    .cart_open_section {
        padding: 15px;
    }

    .cart_open_section_item_box_item_text {
        font-size: 14px;
    }

    .cart_open_section_item_heder {
        font-size: 14px;
    }

    .cart_open_section_item_digit {
        font-size: 28px;
    }

    /* Logo section adjustments */
    .cart_open_section_logo {
        padding: 15px;
    }

    .cart_open_section_item_logo {
        gap: 8px;
    }

    .cart_open_section_item_logo img {
        max-width: 60px;
        height: auto;
    }

    .cart_open_section_item_descriptor {
        font-size: 9px;
    }
}

   / *   U p d a t e d   s t y l e s   f r o m   i n d e x . h t m l   * /   . c a r t _ i c o n _ i t e m    {
       d i s p l a y :    f l e x ;
       g a p :    6 p x ;
       f o n t - s i z e :    1 4 p x ;
       
}

   b o d y ,
   i n p u t ,
   t e x t a r e a ,
   s e l e c t ,
   b u t t o n    {
       f o n t - s i z e :    1 2 p x ;
       f o n t - f a m i l y :    ' I n t e r '  ,    s a n s - s e r i f ;
       
}

   . c a r t _ o p e n _ s e c t i o n _ i t e m 1   i m g    {
       w i d t h :    8 0 p x ;
       
}

   @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )    {
       . c a r t _ o p e n _ s e c t i o n _ i t e m 1   i m g    {
           w i d t h :    6 0 p x ;
           
    }

       
}

     