
:root {
    --dark-blue: #0d1b3e;
    --darker-blue: #071029;
    --gold: #ffc857;
    --pale-gold: #ffe0a3;
    --light-gold: #ffe0a3;
    --dark-gold: #cc9a28;
    --new-gold: #ffb50a;
    --medium-blue: #000a27;
    --light-blue: #00112c;
    --quest-blue: #1a256f5c;
    --quest-light-blue: #00005c7e;
                --primary-color: #4e54c8;
            --secondary-color: #8f94fb;
            --text-color: #333;
            --light-text: #fff;
            --border-radius: 12px;
            --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}




body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: white;
    text-align: center;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;

 /* Немного увеличиваем видео */
}

.container {
    position: relative;
}

h1 {
    font-size: 40px;
    margin-bottom: 30px;
    text-shadow: 0 6px 8px rgba(0, 0, 0, 1);
}

.ramka {
    position: relative;
    background-image: url("./ramka.png");
    background-repeat: no-repeat;
    width: 370px;
    height: 370px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* Center horizontally */
    margin-top: 150px; /* Added margin to move it slightly lower */
    margin-bottom: 50px; /* Added margin to move it slightly lower */
    background-size: cover;
    background-position-y: -5px;
}



.wheel-container {
    z-index: -1;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    position: relative;

}

.wheel {
    width: 100%;
    height: 100%;
    background: conic-gradient(
        /* Сектор 1: чёрный → синий */
        #0c1866 0deg,
        #00005c 45deg,
    
        /* Сектор 2: белый → серый */
        #ffffff 45deg,
        #cccccc 90deg,
    
        /* Сектор 3: тёмно-синий → фиолетовый */
        #0c1866 90deg,
        #00005c 135deg,
    
    
        /* Сектор 4: белый → светло-серый */
        #ffffff 135deg,
        #dddddd 180deg,
    
        /* Сектор 5: тёмно-фиолетовый → синий */
        #0c1866 180deg,
        #00005c 225deg,
    
        /* Сектор 6: белый → серо-голубой */
        #ffffff 225deg,
        #b0c4de 270deg,
    
        /* Сектор 7: тёмно-синий → сине-зелёный */
        #0c1866 270deg,
        #00005c 315deg,
    
        /* Сектор 8: белый → голубой */
        #ffffff 315deg,
        #add8e6 360deg
    );
    
    border-radius: 50%;
    position: absolute;
    transform-origin: center;
    transition: transform 4s cubic-bezier(0.2, 0.9, 0.3, 1);

    box-shadow: 0 0 25px 25px rgba(255, 200, 87, 0.5), inset 0 0 10px 12px rgba(255, 200, 87, 0.3);
    animation: wheel-glow 2s infinite alternate;

}


    @keyframes wheel-glow {
        0% {
            box-shadow: 0 0 15px 15px rgba(255, 200, 87, 0.3), inset 0 0 5px 6px rgba(255, 200, 87, 0.2);
        }
        100% {
            box-shadow: 0 0 25px 25px rgba(255, 200, 87, 0.5), inset 0 0 10px 12px rgba(255, 200, 87, 0.3);
        }
    }
    
    


.segment {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 50%;
    left: 50%;
    transform-origin: 0% 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--new-gold);
    font-weight: bold;
    font-size: 12px;
    text-shadow: 0 0 5px rgba(254, 240, 32, 0.3), 
                 -0.5px -0.5px 0 #0a0078,
                 0.5px -0.5px 0 #0a0078,
                 -0.5px 0.5px 0 #0a0078,
                 0.5px 0.5px 0 #0a0078;
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 0.5px;
}

.segment:nth-child(1) { 
    transform: rotate(22.5deg) translate(10%, -50%);
    

}
.segment:nth-child(2) { transform: rotate(67.5deg) translate(10%, -50%); }
.segment:nth-child(3) { transform: rotate(112.5deg) translate(10%, -50%); }
.segment:nth-child(4) { transform: rotate(157.5deg) translate(10%, -50%); }
.segment:nth-child(5) { transform: rotate(202.5deg) translate(10%, -50%); }
.segment:nth-child(6) { transform: rotate(247.5deg) translate(10%, -50%); }
.segment:nth-child(7) { transform: rotate(292.5deg) translate(10%, -50%); }
.segment:nth-child(8) { transform: rotate(337.5deg) translate(10%, -50%); }

.arrow {
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 40px solid white;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    z-index: 3; /* Ensure the arrow is above the wheel */
}





#spinButton {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: none;
    border-radius: 50%;
    background: none;
    cursor: pointer;
    outline: none;
    transition: transform 0.1s ease;
    z-index: 1000; /* Ensure the button is above the wheel */
    
}

#spinButton:active {
    transform: translate(-50%, -50%) scale(0.6); /* Уменьшаем на 10% при нажатии */
}

.spinner-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    animation: glow 1.5s infinite alternate;

}

@keyframes glow {
    0% {
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 35px rgba(255, 255, 255, 1));
    }
}



.menu-container {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.bottom-menu {
    width: 80%;
    background: rgba(118, 152, 244, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    display: flex;
    justify-content: space-around;
    padding: 12.5px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(151, 178, 28, 0.1);
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 15px;
}

.menu-item.active .menu-icon {
    color: var(--gold);
    transform: translateY(-3px);
}

.menu-item.active .menu-text {
    color: var(--gold);
    opacity: 1;
}

.menu-icon {
    font-size: 24px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
}

.menu-text {
    font-size: 12px;
    opacity: 0.7;
    transition: all 0.3s ease;
}



.wheel-info {
    position: relative;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 1px;
    width: 200px;
    border-radius: 50px;
    color: white;
    font-size: 14px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}









































































@media (max-width: 430px) {
    h1 {
        font-size: 24px;
        margin-bottom: 20px;
        margin-top: 100px;
    }

    .segment {
        font-size: 12px;
    }

    #spinButton {
        width: 80px;
        height: 80px;
    }
    #spinButton:active {
        transform: translate(-50%, -50%) scale(0.6); /* Уменьшаем на 10% при нажатии */
    }

    .arrow {
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-bottom: 30px solid white;
        top: -20px;
    }
}

@media (min-width: 431px) and (max-width: 768px) {
    h1 {
        font-size: 32px;
        margin-bottom: 25px;
        margin-top: 80px;
    }

    .segment {
        font-size: 13px;
    }

    #spinButton {
        width: 90px;
        height: 90px;
    }

    .arrow {
        border-left: 22px solid transparent;
        border-right: 22px solid transparent;
        border-bottom: 35px solid white;
        top: -20px;
    }
}



















.shop-for-activity-container {
    background: linear-gradient(145deg, var(--dark-blue), var(--darker-blue));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 3px;

    margin: 50px auto ; /* Added top margin */
    max-width: 800px;
    color: var(--light-gold);
    text-align: center;
    border: 1px solid var(--gold);
    margin-bottom: -30px;
}

.shop-for-activity-header h2 {
    font-size: 1rem;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(212, 175, 55, 0.5);
    position: relative;
    display: inline-block;
}

.shop-for-activity-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.hide-container {
    width: 100%;
    height: 200px; /* Adjust height as needed */
    background: transparent;
    pointer-events: none; /* Prevent interaction */
}


.shop-for-balance-container {
       background: linear-gradient(145deg, var(--dark-blue), var(--darker-blue));
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 3px;
    max-width: 800px;
    color: var(--light-gold);
    text-align: center;
    border: 1px solid var(--gold);
    margin-bottom: -40px;

}

.shop-for-balance-header h2 {
    font-size: 1rem;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(212, 175, 55, 0.5);
    position: relative;
    display: inline-block;
}

.shop-for-balance-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}





        
.shop-container {
    max-width: 1700px;
    margin: 0 auto 100px;
    padding: 2rem;
}

.shop-header {
    text-align: center;
    margin-bottom: 3rem;
}

.shop-header h1 {
    font-size: 3rem;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(212, 175, 55, 0.5);
    position: relative;
    display: inline-block;
}

.shop-header h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.shop-header p {
    font-size: 1.2rem;
    color: var(--light-gold);
    max-width: 800px;
    margin: 0 auto;
}

.rotations-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.rotation-card {
    background-color: rgba(10, 26, 47, 0.8);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 0.2rem;

}

.rotation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.rotation-card:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--dark-blue), transparent, var(--darker-blue));
    z-index: -1;
    border-radius: 14px;
    opacity: 0.7;
}

.card-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.card-header h2 {
    margin: 0;
    color: var(--gold);
    font-size: 1.8rem;
}

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rotation-price {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    color: white;
}

.price-currency {
    font-size: 1rem;
    vertical-align: super;
    color: var(--light-gold);
}

.rotation-features {
    margin-top: 50px;
    padding-left: 1.5rem;
}

.rotation-features li {

    position: relative;
    list-style-type: none;
}

.rotation-features li:before {
    content: '✦';
    color: var(--gold);
    position: absolute;
    left: -1.5rem;
}

.buy-button {
    display: block;
    width: calc(100% - 1rem);
    padding: 1rem;
    background: linear-gradient(45deg, var(--gold), var(--light-gold), var(--gold));
    background-size: 200% 200%;
    color: var(--dark-blue);
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    text-decoration: none;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    animation: gradient-shift 5s infinite linear;
}


.buy-button-activity{
    display: block;
    width: calc(100% - 1rem);
    padding: 0.7rem;
    background: linear-gradient(45deg, var(--gold), var(--light-gold), var(--gold));
    background-size: 200% 200%;
    color: var(--dark-blue);
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    text-decoration: none;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    animation: gradient-shift 5s infinite linear;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(212, 175, 55, 0.5);
}

.buy-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
}


.buy-button-activity:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(212, 175, 55, 0.5);
}

.buy-button-activity:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--gold);
    color: var(--dark-blue);
    padding: 0.05rem 0.7rem;
    font-weight: bold;
    font-size: 0.9rem;
    opacity: 0.7;
    border-bottom-left-radius: 8px;
}


























.quest-container {
    width: 95%;
    margin: 0 auto; /* Center horizontally */
    overflow-x: auto;
    padding: 20px 0;
    display: flex; /* Use flexbox for horizontal layout */
    gap: 16px; /* Add spacing between items */
    scrollbar-width: none; /* Firefox */
    -webkit-overflow-scrolling: touch; /* Ensures smooth scrolling on iOS */
}

.quest-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.quest-rotations-container {
    display: flex; /* Use flexbox for horizontal layout */
    gap: 1.5rem; /* Add spacing between items */
    margin-top: 2rem;
    width: max-content; /* Ensure it fits content horizontally */
}

.quest-rotations-container1 {
    display: flex; /* Use flexbox for horizontal layout */
    gap: 1.5rem; /* Add spacing between items */
    margin-top: 2rem;
    width: max-content; /* Ensure it fits content horizontally */
}

.quest-rotation-card {
    background-color: rgba(10, 26, 47, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
    width: 80%;
}

.quest-rotation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.quest-rotation-card:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--dark-blue), transparent, var(--darker-blue));
    z-index: -1;
    border-radius: 12px;
    opacity: 0.7;
}

.quest-card-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.quest-card-header h2 {
    margin: 0;
    color: var(--gold);
    font-size: 1.8rem;
}

.quest-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quest-rotation-price {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    color: white;
}

.quest-price-currency {
    font-size: 1rem;
    vertical-align: super;
    color: var(--light-gold);
}

.quest-rotation-features {
    margin-top: 50px;
    padding-left: 1.5rem;
}

.quest-rotation-features li {

    position: relative;
    list-style-type: none;
}

.quest-rotation-features li:before {
    content: '✦';
    color: var(--gold);
    position: absolute;
    left: -1.5rem;
}



.quest-progress-container {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quest-progress-bar {
    flex-grow: 1;
    height: 6px;
    background-color: #525252; /* Темно-синий фон */
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(57, 57, 57, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6a631a, #d4af37); /* Градиент от синего к золотому */
    border-radius: 3px;
    transition: width 0.3s ease;
}



.claim-button {
    display: block;
    width: calc(90% - 1rem); /* Reduced width */
    padding: 0.8rem; /* Reduced padding */
    background: linear-gradient(45deg, #b0b0b0, #d3d3d3, #b0b0b0);
    color: #6e6e6e;
    cursor: not-allowed;
    box-shadow: none;
    background-size: 200% 200%;
    color: var(--dark-blue);
    border: none;
    border-radius: 8px; /* Reduced border radius */
    font-size: 0.6rem; /* Reduced font size */
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    text-decoration: none;
    margin-top: 1rem; /* Reduced margin-top */
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3); /* Reduced shadow */
    animation: gradient-shift 5s infinite linear;

    /* Center horizontally */
    margin-left: auto;
    margin-right: auto;
}
.claim-button.active {
    display: block;
    width: calc(90% - 1rem); /* Reduced width */
    padding: 0.8rem; /* Reduced padding */
    background: linear-gradient(45deg, var(--gold), var(--light-gold), var(--gold));
    background-size: 200% 200%;
    color: var(--dark-blue);
    border: none;
    border-radius: 8px; /* Reduced border radius */
    font-size: 0.6rem; /* Reduced font size */
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    text-decoration: none;
    margin-top: 1rem; /* Reduced margin-top */
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3); /* Reduced shadow */
    animation: gradient-shift 5s infinite linear;

    /* Center horizontally */
    margin-left: auto;
    margin-right: auto;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.claim-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(212, 175, 55, 0.5);
}

.claim-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
}





























.promo-banner {
    background: linear-gradient(to right, var(--light-blue), var(--medium-blue));
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.promo-banner:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold), transparent, var(--gold));
    z-index: -1;
    border-radius: 14px;
    opacity: 0.7;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo-text {
    flex: 2;
}

.promo-text h3 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-top: 0;
}

.promo-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.promo-code {
    background-color: rgba(10, 26, 47, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1.2rem;
    border: 1px dashed var(--gold);
    color: var(--light-gold);
    display: inline-block;
}

.promo-action {
    flex: 1;
    text-align: center;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 7px 18px rgba(212, 175, 55, 0.7), 0 0 20px rgba(212, 175, 55, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
    }
}

@keyframes shine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}












        .quest-container {
            width: 90%;
            overflow-x: auto;
            padding: 20px 0;
            scrollbar-width: none; /* Firefox */
            -webkit-overflow-scrolling: touch; /* Ensures smooth scrolling on iOS */
            scroll-snap-type: x mandatory; /* Enable scroll snapping */
        }

        .quest-container::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Edge */
        }

        .quest-cards-wrapper {
            display: flex;
            gap: 16px;
            padding: 10px 20px;
            width: max-content;
            touch-action: pan-x; /* Optimize for horizontal touch gestures */
        }

        .quest-card {
            width: 280px;
            flex-shrink: 0;
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--card-shadow);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            scroll-snap-align: center; /* Snap each card to center */
        }

        .quest-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        .quest-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: var(--light-text);
            padding: 15px 20px;
            border-radius: var(--border-radius) var(--border-radius) 0 0;
        }

        .quest-header h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
        }

        .quest-body {
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .quest-description p {
            margin: 0;
            font-size: 16px;
            line-height: 1.5;
        }

        .quest-button-check {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            border: none;
            color: white;
            padding: 12px 20px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            box-shadow: 0 4px 10px rgba(78, 84, 200, 0.3);
        }

        .quest-button-check:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(78, 84, 200, 0.4);
        }

        .quest-button-check:active {
            transform: translateY(0);
            box-shadow: 0 2px 5px rgba(78, 84, 200, 0.4);
        }

        /* Touch slider indicators and scroll help */
        .slider-indicator {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 20px;
        }

        .indicator-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: #ccc;
            transition: background-color 0.3s ease;
        }

        .indicator-dot.active {
            background-color: var(--primary-color);
        }

        /* Add arrow indicators for desktop */
        .scroll-arrows {
            display: flex;
            justify-content: space-between;
            position: relative;
            margin: 0 40px;
        }

        .arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background-color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--card-shadow);
            cursor: pointer;
            z-index: 1;
        }

        .arrow-left {
            left: -20px;
        }

        .arrow-right {
            right: -20px;
        }

        .arrow:after {
            content: '';
            width: 10px;
            height: 10px;
            border-top: 2px solid var(--primary-color);
            border-right: 2px solid var(--primary-color);
        }

        .arrow-left:after {
            transform: rotate(-135deg);
            margin-left: 3px;
        }

        .arrow-right:after {
            transform: rotate(45deg);
            margin-right: 3px;
        }

        /* Make sure design is responsive */
        @media (max-width: 768px) {
            .scroll-arrows {
                display: none; /* Hide arrows on mobile since swipe is more natural */
            }

            .quest-card {
                width: calc(90vw - 40px); /* Take most of screen width on iPhone */
            }
            
            .quest-container {
                padding: 20px 5px;
            }
            
            .quest-cards-wrapper {
                padding: 10px;
                gap: 12px;
            }
        }
        
        /* iPhone specific optimizations */
        @supports (-webkit-touch-callout: none) {
            .quest-container {
                -webkit-overflow-scrolling: touch;
            }
            
            /* Prevent text size adjustment on orientation change */
            html {
                -webkit-text-size-adjust: 100%;
            }
        }
































.pulse-button {
    animation: pulse 2s infinite;
    background: linear-gradient(45deg, var(--gold), var(--light-gold), var(--gold), var(--light-gold));
    background-size: 300% 100%;
    animation: pulse 2s infinite, shine 3s infinite linear;
}



@media (max-width: 768px) {
    .shop-header h1 {
        font-size: 2.5rem;
    }
    
    .shop-header p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .rotations-container {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding: 0.5rem 0.5rem 1.5rem;
        gap: 1rem;
        width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        scroll-snap-type: x mandatory;
    }
    
    .rotations-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .rotation-card {
        min-width: 200px;
        max-width: 200px;
        flex: 0 0 auto;
        scroll-snap-align: start;
        transform: scale(0.95);
        margin-right: 0.5rem;
    }
    
    .promo-content {
        flex-direction: column;
    }
    
    .promo-action {
        margin-top: 2rem;
    }
    
    .promo-text h3 {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .rotation-features {
        font-size: 0.9rem;
    }
    
    .rotation-price {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .shop-container {
        padding: 1.5rem 1rem;
    }
    
    .shop-header h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .shop-header p {
        font-size: 1rem;
    }
    
    .card-header h2 {
        font-size: 1.2rem;
    }
    
    .card-header {
        padding: 1rem;
    }
    
    .rotation-icon {
        font-size: 2rem;
        height: 60px;
        width: 60px;
    }
    
    .rotation-card {
        min-width: 160px;
        max-width: 160px;
        border-radius: 12px;
    }
    
    .promo-banner {
        padding: 1.5rem;
    }
    
    .promo-text h3 {
        font-size: 1.3rem;
    }
    
    .promo-code {
        font-size: 1rem;
    }
    
    .buy-button {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .rotation-features {
        font-size: 0.8rem;
        margin: 1rem 0;
        padding-left: 1.2rem;
    }
    
    .rotation-features li {
        margin-bottom: 0.5rem;
    }
    
    .rotation-features li:before {
        left: -1.2rem;
    }
    
    .rotation-price {
        font-size: 1.7rem;
        margin: 0.7rem 0;
    }
    
    .price-currency {
        font-size: 0.8rem;
    }
}






@media (max-width: 400px) {


    .profile-photo {
        width: 120px;
        height: 120px;
    }

    .profile-username {
        font-size: 20px;
    }



    .balance-value, .balance-value-bot, .balance-value-point {
        font-size: 20px;
    }

    .prizes-button {
        font-size: 16px;
        padding: 10px 0;
    }
    .ramka {
        width: 300px;
        height: 300px;
        margin: 50px auto; /* Adjusted margin for smaller screens */
    }
    .wheel-container {
        width: calc(100% - 40px);
        height: calc(100% - 40px);
    }
    .wheel {
        width: 100%;
        height: 100%;
    }
    .segment {
        font-size: 10px;
    }
    #spinButton {
        width: 80px;
        height: 80px;
    }
    .spinner-image {
        width: 80px;
        height: 80px;
    }
    .menu-container {
        bottom: 10px;
    }
    .bottom-menu {
        width: 90%;
        padding: 10px 0;
    }
    .menu-item {
        padding: 0 10px;
    }
    .menu-icon {
        font-size: 20px;
    }
    .menu-text {
        font-size: 10px;
    }


    
}



@media (max-width: 350px) {
    .menu-item
    {
        padding: 0 5px;
    }
    .profile-balance, .profile-balance-bot, .profile-balance-point {
        padding: 3px;


    }

    .profile-container {
        width: calc(100% - 1rem);
        max-width: 220px;
        max-height: 500px;
        padding: 20px;
    }
 
}










































































.profile-container {
    background: linear-gradient(145deg, #0a17398b, #183161b2);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: calc(100% - 5rem);
    max-width: 250px;
    max-height: 565px;
    padding: 30px;
    position: absolute;
    overflow: hidden;
    border: 1px solid #1e3a6a;
    /* Center both horizontally and vertically */
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Ensure it appears above other elements */
}

.profile-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #a67c00, #ffd700, #a67c00);
}

.profile-header {
    text-align: center;
    margin-bottom: 15px;
}

.profile-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid #ffd700;
    object-fit: cover;
    margin: 0 auto 15px;
    display: block;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.profile-id {
    font-size: 16px;
    color: #a9b3c9;
    margin-bottom: 5px;
}

.profile-id span {
    background: linear-gradient(45deg, var(--gold), var(--light-gold), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.profile-username {
    font-size: 24px;
    font-weight: bold;
    color: var(--pale-gold);
    margin-bottom: 10px;
}

.profile-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(13, 26, 59, 0.7);
    padding: 10px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #1e3a6a;
}

.balance-label {
    font-size: 16px;
    color: #9dafd7;
}

.balance-value {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, var(--gold), var(--light-gold), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.profile-balance-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(13, 26, 59, 0.7);
    padding: 10px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #1e3a6a;
}

.balance-label-bot {
    font-size: 16px;
    color: #9dafd7;
}

.balance-value-bot {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, var(--gold), var(--light-gold), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-balance-point {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(13, 26, 59, 0.7);
    padding: 10px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #1e3a6a;
}

.balance-label-point {
    font-size: 16px;
    color: #9dafd7;
}

.balance-value-point {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, var(--gold), var(--light-gold), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.prizes-button {
    background: linear-gradient(45deg, var(--gold), var(--light-gold), var(--gold));
    color: #0a1229;
    border: none;
    padding: 10px 0;
    width: 100%;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


.prizes-container {
    margin-top: 20px;
    background-color: rgba(13, 26, 59, 0.7);
    border-radius: 12px;
    padding: 20px;
    display: none;
    border: 1px solid #1e3a6a;
}

.prize-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #0d1a3b;
    border-radius: 8px;
    border-left: 3px solid #ffd700;
}

.prize-icon {
    width: 40px;
    height: 40px;
    background-color: #ffd700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.prize-details {
    flex-grow: 1;
}

.prize-name {
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 5px;
}

.prize-date {
    font-size: 12px;
    color: #a9b3c9;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.rotate {
    transform: rotate(180deg);
}