@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

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

body {
    min-height: 100vh;
    background: url('img/brawl-back.webp') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}



.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: rgb(0, 89, 255);
    backdrop-filter: blur(10px);
    width: 660px;
    min-height: 560px;
    border-radius: 20px;
    padding: 0.5rem;
    box-shadow: 0 0 30px rgba(0, 140, 255, 0.5);
}

.title-animated {
    font-size: 1.5rem;
    color: #FFD700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Base card styles */
.packs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
    padding: 2rem;
}

.pack {
    position: relative;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;   
    width: 150px;
    height: 50px !important;
    overflow: visible;
    cursor: pointer;
}

.pack:hover {
    transform: translateY(-2px);
}

.pack-content {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.gems-image {
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
    transition: all 0.3s ease;
}

.gems-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pack:hover .gems-image {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.5));
}

.pack h3 {
    color: #FFD700;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.pack-description {
    color: #fff;
    font-size: 0.7rem;
    text-align: center;
    opacity: 0.8;
    margin: 0;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.original-price {
    color: #ff4d4d;
    text-decoration: line-through;
    font-size: 0.7rem;
    opacity: 0.8;
}

.free-label {
    background: linear-gradient(45deg, #00ff00, #00dd00);
    color: #000;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 255, 0, 0.3);
    animation: pulse 2s infinite;
}

.promo-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(45deg, #ff4d4d, #ff0000);
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
    transform: rotate(15deg);
    z-index: 2;
}

/* Custom scrollbar for the parent container */
.parent::-webkit-scrollbar {
    width: 6px;
}

.parent::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.parent::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.5);
    border-radius: 10px;
}

.parent::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.7);
}

/* Special pack styles */
.pack.featured {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(255, 215, 0, 0.1));
    border: 2px solid #FFD700;
    transform: scale(1.05);
}

.pack.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pack.featured::after {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFD700;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.pack.mega {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(255, 77, 77, 0.1));
    border: 2px solid #ff4d4d;
}

.pack.legendary {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(255, 0, 255, 0.1));
    border: 2px solid #ff00ff;
}

.pack.mega button {
    background: linear-gradient(45deg, #ff4d4d, #ff6b6b);
}

.pack.legendary button {
    background: linear-gradient(45deg, #ff00ff, #ff66ff);
}

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

/* Form styles */
.user-form, .user-info, .cpa-tasks {
    margin-top: 0.5rem;
    text-align: center;
    padding: 0.5rem;
}

.user-form {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.9));
    border-radius: 25px;
    padding: 2rem;
    max-width: 500px;
    margin: 2rem auto;
    text-align: center;
    border: 2px solid rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.user-form h2 {
    color: #FFD700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

input {
    padding: 0.3rem;
    margin: 0.3rem 0;
    width: 90%;
    max-width: 200px;
    border-radius: 4px;
    border: none;
    font-size: 0.8rem;
}

.user-form input {
    width: 100%;
    max-width: 350px;
    padding: 1.2rem 1.8rem;
    border: 2px solid #FFD700;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.6), rgba(20, 20, 20, 0.8));
    color: #00a40e;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 215, 0, 0.1);
}

.user-form input::placeholder {
    color: rgb(0, 0, 0);
}

.user-form input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.user-form button {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.user-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.user-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #FFA500, #FFD700);
}

.user-form button:hover::before {
    left: 100%;
}

.user-form button:active {
    transform: translateY(1px);
}

/* CPA Tasks styles */
.cpa-tasks {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.cpa-tasks iframe {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
}

.cpa-loader {
    margin-top: 1rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    margin: 20px auto;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FFD700;
    border-right: 4px solid #FFA500;
    border-bottom: 4px solid #FF4500;
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Player Info Styles */
.player-info-title {
    color: #FFD700;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: titlePulse 2s infinite;
}

@keyframes titlePulse {
    0% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
    100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
}

.player-data-container {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid rgba(255, 215, 0, 0.3);
    animation: containerFade 0.5s ease-out;
    width: 350px !important;
}

@keyframes containerFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.player-welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.player-icon {
    font-size: 1.8rem;
    animation: iconRotate 3s infinite linear;
}

@keyframes iconRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.player-name {
    color: #FFD700;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    animation: nameGlow 2s infinite;
}

@keyframes nameGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 215, 0, 1); }
}

.player-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateX(10px);
    background: rgba(255, 215, 0, 0.1);
}

.stat-icon {
    font-size: 1.5rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.stat-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.stat-label {
    color: #ccc;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.stat-value {
    color: #FFD700;
    font-size: 1.2rem;
    font-weight: bold;
}

.continue-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.continue-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.button-icon {
    font-size: 1.2rem;
    animation: buttonIconPulse 1s infinite;
}

@keyframes buttonIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Loading Animation Styles */
.loading-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.gems-loading-animation {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.gems-transfer-container {
    position: relative;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 20px;
    padding: 0.5rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.2);
    text-align: center;
    width: 300px !important;
    min-height: 200px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    margin: 20px auto;
}

.gems-source {
    margin: 0.5rem auto;
    animation: floatUpDown 2s infinite ease-in-out;
}

.source-gem {
    width: 25px;
    height: 25px;
    animation: pulseGlow 2s infinite;
}

.transfer-path {
    position: relative;
    height: 40px;
    margin: 0.5rem 0;
}
.target-gem{
    width: 50px !important;
}

.transfer-line {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(255, 215, 0, 0.2),
        rgba(255, 215, 0, 1),
        rgba(255, 215, 0, 0.2));
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.moving-gems {
    position: relative;
    height: 100%;
}

.moving-gem {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.7));
}

.moving-gem:nth-child(1) { animation: moveGem 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1); }
.moving-gem:nth-child(2) { animation: moveGem 2.5s infinite 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.moving-gem:nth-child(3) { animation: moveGem 2.5s infinite 1.6s cubic-bezier(0.4, 0, 0.2, 1); }

.gems-target {
    font-size: 2.5rem;
    margin: 0.5rem 0;
    animation: targetPulse 2s infinite;
}

.transfer-status {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.transfer-status h3 {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.gems-amount {
    font-size: 1rem;
    font-weight: bold;
    color: #FFA500;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.progress-bar {
    width: 90%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin: 1.5rem auto;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 6px;
    transition: width 0.5s ease;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.transfer-message {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

@keyframes moveGem {
    0% {
        left: -5%;
        opacity: 0;
        transform: translateY(-50%) scale(0.8) rotate(-10deg);
    }
    20% {
        opacity: 1;
        transform: translateY(-50%) scale(1) rotate(0deg);
    }
    80% {
        opacity: 1;
        transform: translateY(-50%) scale(1) rotate(0deg);
    }
    100% {
        left: 105%;
        opacity: 0;
        transform: translateY(-50%) scale(0.8) rotate(10deg);
    }
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.8));
        transform: scale(1.1);
    }
}

@keyframes targetPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.1);
        filter: brightness(1.2);
    }
}

/* Animation for CPA Tasks container appearance */
.cpa-tasks {
    animation: slideUpFade 0.5s ease-out;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop styles */
@media (min-width: 768px) {
    .container { 
        padding: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .packs { 
        grid-template-columns: repeat(3, minmax(200px, 1fr));
        gap: 3rem 2rem;
        padding: 2rem;
    }
    
    .pack { 
        min-height: 350px;
        border-radius: 15px;
        padding: 1rem;
    }
    
    .pack-content { 
        padding: 1rem;
    }
    
    .pack button {
        width: 80%;
        padding: 1rem 2rem;
        font-size: 1rem;
        bottom: -20px;
        opacity: 1;
        visibility: visible;
    }

    /* Special button styles */
    .pack.featured button {
        background: linear-gradient(45deg, #FFD700, #FFC107);
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    }

    .pack.mega button {
        background: linear-gradient(45deg, #ff4d4d, #ff6b6b);
        box-shadow: 0 4px 20px rgba(255, 77, 77, 0.4);
    }

    .pack.legendary button {
        background: linear-gradient(45deg, #ff00ff, #ff66ff);
        box-shadow: 0 4px 20px rgba(255, 0, 255, 0.4);
    }

    /* Button hover effects */
    .pack button:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }

    .pack:hover button {
        bottom: -25px;
    }

    /* Add shine effect */
    .pack button::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
            to bottom right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.2) 40%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.2) 60%,
            rgba(255, 255, 255, 0) 100%
        );
        transform: rotate(45deg);
        transition: all 0.3s ease;
        opacity: 0;
    }

    .pack button:hover::after {
        animation: shine 1.5s ease-out infinite;
    }

    @keyframes shine {
        0% {
            transform: translateX(-100%) rotate(45deg);
            opacity: 0;
        }
        50% {
            opacity: 0.5;
        }
        100% {
            transform: translateX(100%) rotate(45deg);
            opacity: 0;
        }
    }
}

/* Mobile styles (max-width: 768px) */
@media (max-width: 768px) {
    body {
        padding: 0;
        margin: 0;
    }
    
    .gems-transfer-container {
        width: calc(105% - 20px) !important;
        
    }

    .gems-source {
        margin: 1rem auto;
    }
    
    .source-gem {
        width: 60px;
        height: 60px;
    }
    
    .transfer-path {
        height: 100px;
        margin: 1rem 0;
    }

    .transfer-status h3 {
        font-size: 1.4rem;
    }

    .gems-amount {
        font-size: 1.2rem;
    }
    
    .transfer-message {
        font-size: 1rem;
    }
    .parent {
        margin-left: 10px;
        width: calc(105% - 20px);
    }
    .container {
        width: 394px !important;
        height: 177px !important;
        margin: 0rem !important;
        padding: 0.3rem;
    }
    
    .packs {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 2rem;
        row-gap: 4rem; /* Increased gap between rows */
        margin: 2rem 0;
    }

    .pack {
        position: relative;
        padding: 0.3rem;
        border-radius: 8px;
        border-width: 1px;
        width: 120px !important;
        height: 180px !important;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    } 
       .pack-content {
        width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.2rem;
        gap: 0.2rem;
        z-index: 1;
    }

    .gems-image {
        width: 35px;
        height: 35px;
        margin-bottom: 0.3rem;
        margin-left: 0.5rem;
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
        transition: all 0.3s ease;
    }

    .pack h3 {
        color: #FFD700;
        font-size: 0.9rem;
        font-weight: 700;
        text-align: center;
        margin: 0;
        text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    }

    .pack-description {
        color: #fff;
        font-size: 0.7rem;
        text-align: center;
        opacity: 0.8;
        margin: 0;
    }

    .price-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
        margin: 0.3rem 0;
    }

    .original-price {
        color: #ff4d4d;
        text-decoration: line-through;
        font-size: 0.7rem;
        opacity: 0.8;
    }

    .free-label {
        background: linear-gradient(45deg, #00ff00, #00dd00);
        color: #000;
        padding: 0.2rem 0.6rem;
        border-radius: 10px;
        font-size: 0.7rem;
        font-weight: bold;
        text-transform: uppercase;
        box-shadow: 0 2px 10px rgba(0, 255, 0, 0.3);
        animation: pulse 2s infinite;
    }

    .pack button {
        width: 90%;
        padding: 0.5rem;
        border: none;
        border-radius: 15px;
        background: linear-gradient(45deg, #FFD700, #FFA500);
        color: #000;
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: auto;
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
        position: relative;
        overflow: hidden;
    }

    .promo-badge {
        position: absolute;
        top: 28px !important;
        right: 30px !important;
        background: linear-gradient(45deg, #ff4d4d, #ff0000);
        color: white;
        padding: 0.2rem 0.4rem;
        border-radius: 8px;
        font-size: 0.6rem;
        font-weight: bold;
        box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
        transform: rotate(15deg);
        z-index: 2;
    }

    .pack.featured::after {
        font-size: 0.5rem;
        top: 2px;
    }

    /* Disable some desktop hover effects on mobile */
    .pack:hover {
        transform: none;
    }

    .pack button:hover {
        transform: none;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .packs {
        gap: 0.2rem;
        padding: 0.1rem;
    }

    .pack h3 {
        font-size: 0.6rem;
    }

    .pack-description {
        font-size: 0.45rem;
    }

    .gems-image {
        width: 30px;
        height: 30px;
    }
}

/* Verification Interface Styles */
.verify-container {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    margin: 1rem auto;
    max-width: 500px;
}

.verify-content {
    text-align: center;
}

.verify-content h3 {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.verify-content p {
    color: #fff;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.verify-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.verify-options button {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.verify-options button:hover {
    background: linear-gradient(45deg, #2a2a2a, #3a3a3a);
    border-color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.verify-options .icon {
    font-size: 1.5rem;
}

.verify-note {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}

.verify-note p {
    color: #FFD700;
    margin: 0;
    font-size: 0.9rem;
}

.verify-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.verify-progress .loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-top: 4px solid #FFD700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Shelly Character Styles */
.shelly-character {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 200px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.shelly-image {
    width: 150px;
    height: 150px;
    background: url('img/shellly.png') no-repeat center center;
    background-size: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.shelly-image:hover {
    transform: scale(1.1);
}

.shelly-speech {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #FFD700;
    border-radius: 15px;
    padding: 15px;
    color: white;
    font-size: 1rem;
    margin-bottom: 10px;
    max-width: 250px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    position: relative;
}

.shelly-speech.active {
    opacity: 1;
    transform: translateY(0);
}

.shelly-speech::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #FFD700;
}

@media (max-width: 768px) {
    .shelly-character {
        bottom: 10px;
        right: 10px;
    }

    .shelly-image {
        width: 100px;
        height: 100px;
    }

    .shelly-speech {
        font-size: 0.9rem;
        padding: 10px;
        max-width: 200px;
    }
}

.gems-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.gem-pack-image {
    width: 130px;
    height: 140px;
    object-fit: cover;
    border: 3px solid white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6), 0 4px 8px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.5));
    margin: 0;
    transform: skew(-5deg);
}

.gem-pack-image:hover {
    transform: translateY(-8px) scale(1.02) skew(-5deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.8), 0 8px 16px rgba(0, 0, 0, 0.6);
}

.gem-pack-image.selected {
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.5);
    transform: translateY(-8px) scale(1.05);
}

/* Gem pack grid responsive styles */
@media (max-width: 768px) {
    .packs {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .gem-pack-image {
        width: 110px;
        height: 120px;
        margin: 20px !important;
    }
}

@media (max-width: 480px) {
    .packs {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .gem-pack-image {
        width: 90px;
        height: 100px;
    }
}

.logo-container {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem;
}

.logo-image {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    animation: logo-float 3s ease-in-out infinite;
}

@keyframes logo-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .logo-container {
        margin-bottom: 0.5rem;
        padding: 0.5rem;
    }
    
    .logo-image {
        max-width: 150px;
    }
}
