/* Floating button */
.advent-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    z-index: 999998;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(100px);
    animation: floatButton 0.5s ease forwards;
}

.advent-floating-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.advent-floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.6);
}

.advent-floating-text {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.5s ease;
}

.advent-floating-btn:hover .advent-floating-text {
    max-width: 200px;
}

/* Modal */
.advent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.advent-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    opacity: 0;
}

/* Snow animation */
.snow-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: absolute;
    top: -30px;
    color: white;
    user-select: none;
    pointer-events: none;
    animation-name: snowFall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    opacity: 0.7;
}

.advent-modal-content {
    position: relative;
    background: linear-gradient(145deg, #0c2461 0%, #1e3799 100%);
    border-radius: 25px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 100px rgba(255, 255, 255, 0.05);
    color: white;
    z-index: 2;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
}

/* Christmas lights border */
.advent-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        #ff0000 0%, #ff0000 16.66%,
        #ff8000 16.66%, #ff8000 33.33%,
        #ffff00 33.33%, #ffff00 50%,
        #00ff00 50%, #00ff00 66.66%,
        #0000ff 66.66%, #0000ff 83.33%,
        #8000ff 83.33%, #8000ff 100%);
    border-radius: 25px 25px 0 0;
    animation: lights 3s linear infinite;
}

/* Glitter effect */
.advent-modal-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: twinkle 3s infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.advent-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10;
}

.advent-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Header */
.advent-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.advent-header h2 {
    color: white;
    font-size: 36px;
    margin: 0 0 15px 0;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffffff, #f1c40f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advent-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

/* Sock - minimalistyczna */
.sock-container {
    position: relative;
    height: 100px;
    margin: 20px 0 40px;
    z-index: 3;
}

.sock {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 120px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 40px 40px 10px 10px;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        inset 0 -15px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

.sock::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10px;
    right: 10px;
    height: 20px;
    background: linear-gradient(90deg, #f1c40f 0%, #f1c40f 50%, #ffffff 50%, #ffffff 100%);
    border-radius: 10px;
}

/* Coupon */
.coupon-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 3px #f1c40f,
        0 0 0 6px rgba(241, 196, 15, 0.1);
    color: #2c3e50;
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(100px) scale(0.8);
}

.coupon-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.coupon-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.5s !important;
    background: white;
}

.coupon-image:hover img {
    transform: scale(1.05);
}

.coupon-image::after {
    content: '🎄 DZIEŃ ' + attr(data-day) + ' 🎄';
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.9) 0%, rgba(192, 57, 43, 0.9) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.coupon-content {
    padding: 30px;
}

.coupon-content h3 {
    margin: 0 0 20px 0;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.coupon-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #f1c40f, #3498db);
    border-radius: 2px;
}

.coupon-description {
    margin-bottom: 25px;
    color: #5d6d7e;
    line-height: 1.7;
    font-size: 16px;
    text-align: center;
    padding: 0 20px;
}

.coupon-code {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4fc 100%);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    border: 2px dashed #3498db;
    position: relative;
}

.coupon-code::before {
    content: '🎁';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 24px;
    z-index: 1;
}

.coupon-code strong {
    color: #2c3e50;
    font-size: 16px;
    flex-shrink: 0;
    font-weight: 600;
}

.coupon-code-value {
    font-family: 'Courier New', monospace;
    font-size: 22px;
    font-weight: bold;
    background: white;
    padding: 12px 25px;
    border-radius: 10px;
    color: #e74c3c;
    border: 2px solid #f1c40f;
    letter-spacing: 2px;
    flex: 1;
    text-align: center;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.2);
    min-width: 200px;
}

.copy-coupon-code {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    letter-spacing: 1px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    font-size: 16px;
}

.copy-coupon-code:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.copy-coupon-code.copied {
    background: linear-gradient(135deg, #27ae60 0%, #219653 100%);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.coupon-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.coupon-button {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

.coupon-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.5);
}

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

.advent-calendar-info {
    text-align: center;
    margin-top: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    z-index: 3;
    position: relative;
    backdrop-filter: blur(10px);
}

.advent-calendar-info p {
    margin: 0;
    position: relative;
    display: inline-block;
}

/* Reopen button */
.advent-reopen-container {
    text-align: center;
    margin-top: 20px;
}

#advent-reopen-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

#advent-reopen-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes snowFall {
    0% {
        transform: translateY(-30px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 3px #f1c40f; }
    50% { transform: scale(1.02); box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 0 3px #f1c40f, 0 0 20px rgba(241, 196, 15, 0.5); }
}

@keyframes lights {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

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

/* Responsywność */
@media (max-width: 768px) {
    .advent-modal-content {
        padding: 25px;
        width: 95%;
        max-width: 95%;
    }
    
    .coupon-content {
        padding: 20px;
    }
    
    .coupon-code {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 10px;
    }
    
    .coupon-code-value {
        min-width: auto;
        font-size: 18px;
        padding: 10px 15px;
    }
    
    .coupon-button {
        min-width: 100%;
    }
    
    .advent-header h2 {
        font-size: 28px;
    }
    
    .advent-floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .advent-floating-text {
        display: none;
    }
    
    .advent-floating-btn:hover .advent-floating-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .advent-modal-content {
        padding: 20px;
    }
    
    .advent-header h2 {
        font-size: 24px;
    }
    
    .advent-subtitle {
        font-size: 16px;
    }
    
    .coupon-content h3 {
        font-size: 22px;
    }
    
    .coupon-code-value {
        font-size: 16px;
    }
    
    .copy-coupon-code,
    .coupon-button {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .advent-floating-btn {
        bottom: 15px;
        right: 15px;
        padding: 10px 15px;
        font-size: 24px;
    }
}

/* WAŻNE: Modal musi być początkowo niewidoczny */
.advent-modal {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Przyciski muszą być widoczne i klikalne */
.advent-modal-close,
.copy-coupon-code,
.coupon-button,
.dismiss-modal,
#advent-reopen-btn {
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
}

/* Overlay musi być nad wszystkimi innymi elementami */
.advent-modal-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.85) !important;
    z-index: 1 !important;
}

/* Content modal musi być nad overlay */
.advent-modal-content {
    position: relative !important;
    z-index: 2 !important;
}

/* Floating button */
#advent-floating-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 25px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4) !important;
    z-index: 999998 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    opacity: 0;
    transform: translateY(100px);
}

#advent-floating-btn.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: floatButton 0.5s ease forwards !important;
}

/* Upewnij się że przyciski są widoczne */
button, a.coupon-button {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

/* WAŻNE: Modal musi być początkowo niewidoczny */
.advent-modal {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Przyciski muszą być widoczne i klikalne */
.advent-modal-close,
.copy-coupon-code,
.coupon-button,
.dismiss-modal,
#advent-reopen-btn {
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
}

/* Overlay musi być nad wszystkimi innymi elementami */
.advent-modal-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.85) !important;
    z-index: 1 !important;
}

/* Content modal musi być nad overlay */
.advent-modal-content {
    position: relative !important;
    z-index: 2 !important;
}

/* Floating button */
#advent-floating-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 25px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4) !important;
    z-index: 999998 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    opacity: 0;
    transform: translateY(100px);
}

#advent-floating-btn.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: floatButton 0.5s ease forwards !important;
}

/* Upewnij się że przyciski są widoczne */
button, a.coupon-button {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
}

/* ============================================
   RESET I WAŻNE STYLE DLA MODALA
   ============================================ */

/* Modal - MUSI być widoczny po pokazaniu */
.advent-modal {
    display: none; /* Na początku ukryty */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Kiedy modal jest aktywny - POKAŻ GO! */
.advent-modal[style*="display: flex"],
.advent-modal[style*="display: block"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Overlay - MUSI być widoczny */
.advent-modal-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(5px) !important;
    z-index: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Content modal - MUSI być widoczny */
.advent-modal-content {
    position: relative !important;
    background: linear-gradient(145deg, #0c2461 0%, #1e3799 100%) !important;
    border-radius: 25px !important;
    padding: 40px !important;
    max-width: 700px !important;
    width: 90% !important;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 100px rgba(255, 255, 255, 0.05) !important;
    color: white !important;
    z-index: 2 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

/* Przyciski - MUSZĄ być klikalne */
.advent-modal-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    font-size: 28px !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.3s !important;
    z-index: 10 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.advent-modal-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: rotate(90deg) !important;
}

/* Floating button - MUSI być widoczny */
#advent-floating-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 15px 25px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4) !important;
    z-index: 999998 !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    opacity: 0;
    transform: translateY(100px);
}

#advent-floating-btn.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

#advent-floating-btn:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.6) !important;
}

/* Snow animation */
.snow-animation {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

.snowflake {
    position: absolute !important;
    top: -30px !important;
    color: white !important;
    user-select: none !important;
    pointer-events: none !important;
    animation-name: snowFall !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
    opacity: 0.7 !important;
    z-index: 1 !important;
}

/* Christmas lights border */
.advent-modal-content::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg,
        #ff0000 0%, #ff0000 16.66%,
        #ff8000 16.66%, #ff8000 33.33%,
        #ffff00 33.33%, #ffff00 50%,
        #00ff00 50%, #00ff00 66.66%,
        #0000ff 66.66%, #0000ff 83.33%,
        #8000ff 83.33%, #8000ff 100%) !important;
    border-radius: 25px 25px 0 0 !important;
    animation: lights 3s linear infinite !important;
    z-index: 1 !important;
}

/* ============================================
   POZOSTAŁE STYLE
   ============================================ */

/* Header */
.advent-header {
    text-align: center !important;
    margin-bottom: 40px !important;
    position: relative !important;
    z-index: 3 !important;
}

.advent-header h2 {
    color: white !important;
    font-size: 36px !important;
    margin: 0 0 15px 0 !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    background: linear-gradient(45deg, #ffffff, #f1c40f) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.advent-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 18px !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

/* Sock */
.sock-container {
    position: relative !important;
    height: 100px !important;
    margin: 20px 0 40px !important;
    z-index: 3 !important;
}

.sock {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 120px !important;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    border-radius: 40px 40px 10px 10px !important;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        inset 0 -15px 20px rgba(0, 0, 0, 0.2) !important;
    opacity: 1 !important;
    z-index: 4 !important;
}

.sock::before {
    content: '' !important;
    position: absolute !important;
    top: 20px !important;
    left: 10px !important;
    right: 10px !important;
    height: 20px !important;
    background: linear-gradient(90deg, #f1c40f 0%, #f1c40f 50%, #ffffff 50%, #ffffff 100%) !important;
    border-radius: 10px !important;
}

/* Coupon */
.coupon-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 3px #f1c40f,
        0 0 0 6px rgba(241, 196, 15, 0.1) !important;
    color: #2c3e50 !important;
    position: relative !important;
    z-index: 3 !important;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.coupon-image {
    height: 200px !important;
    overflow: hidden !important;
    position: relative !important;
}

.coupon-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.5s !important;
	background: white;
}

.coupon-image:hover img {
    transform: scale(1.05) !important;
}

.coupon-image::after {
    content: '🎄 DZIEŃ ' attr(data-day) ' 🎄' !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.9) 0%, rgba(192, 57, 43, 0.9) 100%) !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    letter-spacing: 1px !important;
    z-index: 2 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}

.coupon-content {
    padding: 10px !important;
}

.coupon-content h3 {
    margin: 0 0 20px 0 !important;
    color: #2c3e50 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    text-align: center !important;
    position: relative !important;
    padding-bottom: 15px !important;
}

.coupon-content h3::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #e74c3c, #f1c40f, #3498db) !important;
    border-radius: 2px !important;
}

.coupon-description {
    margin-bottom: 25px !important;
    color: #5d6d7e !important;
    line-height: 1.7 !important;
    font-size: 16px !important;
    text-align: center !important;
    padding: 0 20px !important;
}

.coupon-code {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4fc 100%) !important;
    padding: 20px !important;
    border-radius: 15px !important;
    margin-bottom: 25px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
    border: 2px dashed #3498db !important;
    position: relative !important;
}

.coupon-code::before {
    content: '🎁' !important;
    position: absolute !important;
    top: -15px !important;
    left: 20px !important;
    font-size: 24px !important;
    z-index: 1 !important;
}

.coupon-code strong {
    color: #2c3e50 !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
    font-weight: 600 !important;
}

.coupon-code-value {
    font-family: 'Courier New', monospace !important;
    font-size: 22px !important;
    font-weight: bold !important;
    background: white !important;
    padding: 12px 25px !important;
    border-radius: 10px !important;
    color: #e74c3c !important;
    border: 2px solid #f1c40f !important;
    letter-spacing: 2px !important;
    flex: 1 !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.2) !important;
    min-width: 200px !important;
}

.copy-coupon-code {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3) !important;
    font-size: 16px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.copy-coupon-code:hover {
    background: linear-gradient(135deg, #2980b9 0%, #21618c 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4) !important;
}

.copy-coupon-code.copied {
    background: linear-gradient(135deg, #27ae60 0%, #219653 100%) !important;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3) !important;
}

.coupon-actions {
    display: flex !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
}

.coupon-button {
    flex: 1 !important;
    min-width: 200px !important;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: white !important;
    text-decoration: none !important;
    padding: 18px 30px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    text-align: center !important;
    letter-spacing: 1px !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.coupon-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.5) !important;
}

.coupon-button:active {
    transform: translateY(-1px) !important;
}

.advent-calendar-info {
    text-align: center !important;
    margin-top: 25px !important;
    padding: 15px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    z-index: 3 !important;
    position: relative !important;
    backdrop-filter: blur(10px) !important;
}

.advent-calendar-info p {
    margin: 0 !important;
    position: relative !important;
    display: inline-block !important;
}

.advent-calendar-info p::before,
.advent-calendar-info p::after {
    content: '🎅' !important;
    margin: 0 10px !important;
    font-size: 20px !important;
}

.advent-reopen-container {
    text-align: center !important;
    margin-top: 20px !important;
}

#advent-reopen-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    padding: 10px 25px !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: all 0.3s !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#advent-reopen-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Animations */
@keyframes snowFall {
    0% {
        transform: translateY(-30px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 3px #f1c40f; 
    }
    50% { 
        transform: scale(1.02); 
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 0 3px #f1c40f, 0 0 20px rgba(241, 196, 15, 0.5); 
    }
}

@keyframes lights {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

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

@keyframes swing {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-10px) rotate(5deg); }
}

/* Responsywność */
@media (max-width: 768px) {
    .advent-modal-content {
        padding: 25px !important;
        width: 95% !important;
        max-width: 95% !important;
    }
    
    .coupon-content {
        padding: 20px !important;
    }
    
    .coupon-code {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        gap: 10px !important;
    }
    
    .coupon-code-value {
        min-width: auto !important;
        font-size: 18px !important;
        padding: 10px 15px !important;
    }
    
    .coupon-button {
        min-width: 100% !important;
    }
    
    .advent-header h2 {
        font-size: 28px !important;
    }
    
    #advent-floating-btn {
        bottom: 20px !important;
        right: 20px !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
    }
    
    .advent-floating-text {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .advent-modal-content {
        padding: 20px !important;
    }
    
    .advent-header h2 {
        font-size: 24px !important;
    }
    
    .advent-subtitle {
        font-size: 16px !important;
    }
    
    .coupon-content h3 {
        font-size: 22px !important;
    }
    
    .coupon-code-value {
        font-size: 16px !important;
    }
    
    .copy-coupon-code,
    .coupon-button {
        font-size: 14px !important;
        padding: 10px 20px !important;
    }
    
    #advent-floating-btn {
        bottom: 15px !important;
        right: 15px !important;
        padding: 10px 15px !important;
        font-size: 24px !important;
    }
}

@media(max-width: 768px){
	.coupon-code {
		padding: 3px;
	}
	
	.coupon-content h3 {
		font-size: 16px !important;
	}
	
	.advent-header {
		margin-bottom: 0 !important;
	}
	
	.coupon-image {
		display: none;
	}
}