/* Promo Banner Styles - COOL & EYE-CATCHING */

@keyframes promo-pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.12); 
    }
}

@keyframes promo-shine {
    0% { 
        background-position: -200% center; 
    }
    100% { 
        background-position: 200% center; 
    }
}

@keyframes slideDown {
    from { 
        transform: translateY(-100%); 
        opacity: 0;
    }
    to { 
        transform: translateY(0); 
        opacity: 1;
    }
}

@keyframes promo-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.4);
    }
}

@keyframes diagonal-stripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Ikony s animací */
.promo-icon {
    display: inline-block;
    animation: promo-pulse 1.5s ease-in-out infinite;
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.promo-icon-small {
    display: inline-block;
    animation: promo-pulse 1.5s ease-in-out infinite;
    font-size: 2rem;
    margin-right: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Kód - EXTRA VÝRAZNÝ */
.promo-code {
    font-weight: 900;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    user-select: none;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border: 3px dashed rgba(255, 255, 255, 0.5);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    animation: promo-glow 2s ease-in-out infinite;
    font-size: 2.5rem !important;
    letter-spacing: 4px !important;
}

.promo-code-small {
    font-weight: 800;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    user-select: none;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    font-size: 1.4rem !important;
    letter-spacing: 3px !important;
}

.promo-code-inline {
    font-weight: 800;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    user-select: none;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

/* Hover efekt pro copy */
.promo-code:hover, 
.promo-code-small:hover, 
.promo-code-inline:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-style: solid;
}

.promo-code:active,
.promo-code-small:active,
.promo-code-inline:active {
    transform: scale(1.02);
}

/* Top banner v hlavičce - EXTRA VÝRAZNÝ */
#promo-top-banner {
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    font-size: 16px;
    font-weight: 600;
}

#promo-top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
    animation: diagonal-stripes 20s linear infinite;
    pointer-events: none;
}

#promo-top-banner > div {
    position: relative;
    z-index: 1;
}

/* Responzivita */
@media (max-width: 768px) {
    #promo-top-banner {
        font-size: 14px;
        padding: 8px 15px !important;
    }
    
    #promo-top-banner > div {
        flex-direction: column !important;
        gap: 5px !important;
    }
    
    .promo-icon {
        font-size: 2rem;
    }
    
    .promo-code {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 576px) {
    #promo-top-banner {
        font-size: 12px;
    }
    
    .promo-code-small {
        font-size: 0.9rem !important;
    }
}

/* Copy feedback tooltip */
.copy-feedback {
    display: none;
    font-size: 0.8rem;
    color: #4CAF50;
    margin-left: 10px;
    animation: fadeIn 0.3s ease-in;
}

.copy-feedback.show {
    display: inline;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Homepage a Detail bannery - ŠIROKÉ, VÝRAZNÉ */
.promo-banner-homepage,
.promo-banner-detail {
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: 5px solid rgba(255,255,255,0.2);
    overflow: hidden;
}

.promo-banner-homepage::before,
.promo-banner-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 15px,
        rgba(255,255,255,0.03) 15px,
        rgba(255,255,255,0.03) 30px
    );
    animation: diagonal-stripes 30s linear infinite;
    pointer-events: none;
}

.promo-banner-homepage .promo-content,
.promo-banner-detail .promo-content {
    position: relative;
    z-index: 1;
}

/* Větší fonty pro homepage */
.promo-banner-homepage h2 {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.promo-banner-homepage p {
    font-size: 1.5rem !important;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Větší fonty pro detail */
.promo-banner-detail {
    font-size: 1.2rem;
}

.promo-banner-detail .promo-title {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}
