/* Promocode Styles */
.promocode-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.promocode-wrapper {
    position: relative;
    display: inline-block;
    padding: 1.5rem 3rem;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1), rgba(255, 215, 0, 0.1));
    background-size: 400% 400%;
    border: 2px solid #ffd700;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
    animation: promocodeGlow 3s ease-in-out infinite, backgroundShift 4s ease-in-out infinite;
    overflow: hidden;
}

.promocode-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ff6b35, #f7931e, #ffd700);
    background-size: 400% 400%;
    border-radius: 25px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

.promocode-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s ease-in-out infinite;
    z-index: 1;
}

.promocode-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    letter-spacing: 3px;
    position: relative;
    z-index: 2;
    animation: textPulse 2s ease-in-out infinite;
}

.promocode-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #cccccc;
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promocode-code {
    color: #ffd700;
    font-weight: 900;
    text-shadow: 0 0 15px rgba(255, 215, 0, 1);
}

/* Floating particles animation */
.promocode-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: floatingGlow 4s ease-in-out infinite;
}

/* Keyframe animations */
@keyframes promocodeGlow {
    0%, 100% { 
        box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
    }
    50% { 
        box-shadow: 0 8px 32px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.4);
    }
}

@keyframes backgroundShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes textPulse {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 30px rgba(255, 215, 0, 0.5);
        transform: scale(1.02);
    }
}

@keyframes floatingGlow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.6;
    }
}

/* Hover effects */
.promocode-wrapper:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.5);
    border-color: #ffffff;
}

.promocode-wrapper:hover .promocode-text {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 30px rgba(255, 215, 0, 0.7);
}

/* Responsive design */
@media (max-width: 768px) {
    .promocode-wrapper {
        padding: 1rem 2rem;
    }
    
    .promocode-text {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
    
    .promocode-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .promocode-wrapper {
        padding: 0.8rem 1.5rem;
    }
    
    .promocode-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

