/* ============================================ */
/* OLD CODE - ORIGINAL AI LAUNCH DESIGN (COMMENTED OUT) */
/* ============================================

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

#topbar {
    height: 80px;
    width: 100%;
    background: linear-gradient(135deg, #0079FF 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 0 40px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 121, 255, 0.3);
    animation: glow 3s ease-in-out infinite alternate;
    position: relative;
}

@keyframes glow {
    0% { box-shadow: 0 4px 20px rgba(0, 121, 255, 0.3); }
    100% { box-shadow: 0 4px 30px rgba(139, 92, 246, 0.4); }
}

#topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.topbar-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rocket-icon {
    font-size: 24px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.topbar-text {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.highlight {
    color: #FFD700;
    font-weight: 800;
}

.cta-button {
    background: white;
    color: #0079FF;
    padding: 10px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
    background: #f8f9ff;
    text-decoration: none !important;
}

.topbar-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    color: #fff !important;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    transition: color 0.2s ease;
}
.topbar-close:hover {
    color: #FFD700 !important;
}

.sparkle {
    position: absolute;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    animation: sparkle 3s infinite;
}

.sparkle:nth-child(1) { top: 15px; left: 200px; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 45px; right: 300px; animation-delay: 1s; }
.sparkle:nth-child(3) { top: 25px; right: 500px; animation-delay: 2s; }

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

@media (max-width: 768px) {
    #topbar { padding: 0 20px; height: 70px; }
    .topbar-text { font-size: 14px; }
    .cta-button { padding: 10px 18px; font-size: 14px; }
}
@media (max-width: 480px) {
    .topbar-text { font-size: 12px; }
    .cta-button { padding: 8px 16px; font-size: 12px; }
    .sparkle { display: none; }
}

@media (max-width: 768px) {
    #topbar {
        padding: 0 15px;
        height: auto;
        flex-wrap: wrap;
        gap: 15px;
        text-align: center;
    }

    .topbar-content {
        flex: 1 1 100%;
        justify-content: center;
    }

    .topbar-text {
        font-size: 14px;
        line-height: 1.4;
    }

    .cta-button {
        padding: 10px 18px;
        font-size: 14px;
        flex-shrink: 0;
    }

    .topbar-close {
        right: 10px;
        top: 10px;
        transform: none;
    }
}

@media (max-width: 480px) {
    #topbar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 12px;
        min-width: max-content;
    }

    .topbar-content {
        flex: unset;
        justify-content: center;
    }

    .rocket-icon {
        font-size: 20px;
    }

    .topbar-text {
        font-size: 12px;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 12px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .sparkle {
        display: none;
    }

    .topbar-close {
        position: absolute;
        top: 1px;
        right: 5px;
        font-size: 20px;
    }
}

============================================ */
/* END OLD CODE */
/* ============================================ */


/* ============================================ */
/* NEW CODE - HALLOWEEN SPECIAL DESIGN */
/* ============================================ */

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

/* Halloween Topbar Base */
.halloween-topbar {
    height: 80px;
    width: 100%;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #1a0b2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 0 40px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
    animation: halloweenGlow 3s ease-in-out infinite alternate;
    position: relative;
    border-bottom: 2px solid #ff6600;
}

/* Halloween Glow Animation */
@keyframes halloweenGlow {
    0% { 
        box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
    }
    100% { 
        box-shadow: 0 4px 30px rgba(255, 102, 0, 0.7), 
                    0 0 40px rgba(138, 43, 226, 0.3);
    }
}

/* Spooky Overlay Effect */
.halloween-topbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 10px,
            rgba(255, 102, 0, 0.05) 10px,
            rgba(255, 102, 0, 0.05) 20px
        );
    pointer-events: none;
    animation: slideStripes 20s linear infinite;
}

@keyframes slideStripes {
    0% { background-position: 0 0; }
    100% { background-position: 100px 0; }
}

/* Floating Halloween Elements */
.floating-element {
    position: absolute;
    font-size: 20px;
    opacity: 0.6;
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(255, 102, 0, 0.5));
}

.bat {
    top: 10px;
    left: 15%;
    animation: float 4s ease-in-out infinite;
}

.ghost {
    top: 15px;
    right: 20%;
    animation: float 5s ease-in-out infinite 1s;
}

.pumpkin {
    bottom: 15px;
    left: 25%;
    animation: float 6s ease-in-out infinite 2s;
}

.spider {
    top: 20px;
    right: 15%;
    animation: float 4.5s ease-in-out infinite 0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(5deg); }
    50% { transform: translateY(-4px) rotate(-5deg); }
    75% { transform: translateY(-10px) rotate(3deg); }
}

/* Topbar Content */
.topbar-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Halloween Icon (Pumpkin) */
.halloween-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.8));
    animation: pumpkinPulse 2s infinite;
}

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

/* Topbar Text */
.topbar-text {
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(255, 102, 0, 0.6);
    letter-spacing: 0.5px;
}

.spooky-text {
    color: #ff9933;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255, 102, 0, 0.8);
}

.highlight {
    color: #FFD700;
    font-weight: 900;
    font-size: 22px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 15px rgba(255, 215, 0, 0.8); }
    50% { text-shadow: 0 0 25px rgba(255, 215, 0, 1); }
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timer-block {
    background: rgba(255, 102, 0, 0.2);
    border: 2px solid #ff6600;
    border-radius: 8px;
    padding: 6px 10px;
    min-width: 50px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.3);
}

.timer-value {
    display: block;
    color: #FFD700;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

.timer-label {
    display: block;
    color: #ff9933;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

/* CRAZY Halloween "Grab the Deal" Button 🎃💥 (No Juggling) */
.halloween-cta {
    display: inline-block;
    background: linear-gradient(180deg, #ff7a00 0%, #ff4800 100%);
    color: #fff;
    font-family: 'Creepster', cursive; /* spooky style font */
    font-size: 16px;
    padding: 10px 28px;
    border-radius: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 72, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
}

.halloween-cta:hover {
    background: linear-gradient(180deg, #ff4800 0%, #ff7a00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 72, 0, 0.7);
    text-decoration: none !important;
    color: #ffffff !important;
}

.halloween-cta:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(255, 72, 0, 0.5);
}

.halloween-cta::before {
    content: "💀";
    margin-right: 8px;
}

/* Close Button */
.topbar-close {
    position: absolute;
    right: 20px;
    top: 50%;
    text-decoration: none;
    transform: translateY(-50%);
    font-size: 28px;
    color: #ff9933 !important;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(255, 102, 0, 0.6);
}

.topbar-close:hover {
    color: #FFD700 !important;
    transform: translateY(-50%) rotate(90deg);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.9);
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */

/* Tablet */
@media (max-width: 968px) {
    .halloween-topbar {
        padding: 0 20px;
        height: auto;
        min-height: 80px;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: space-between;
    }

    .topbar-content {
        flex: 1 1 auto;
        justify-content: flex-start;
    }

    .topbar-text {
        font-size: 15px;
        line-height: 1.3;
    }

    .countdown-timer {
        gap: 6px;
    }

    .timer-block {
        min-width: 45px;
        padding: 5px 8px;
    }

    .timer-value {
        font-size: 18px;
    }

    .halloween-cta {
        padding: 10px 20px;
        font-size: 14px;
    }

    .floating-element {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .halloween-topbar {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 15px 20px;
        height: auto;
    }

    .topbar-content {
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
    }

    .topbar-text {
        font-size: 14px;
        line-height: 1.4;
    }

    .highlight {
        font-size: 18px;
    }

    .countdown-timer {
        flex-wrap: nowrap;
        gap: 5px;
    }

    .timer-block {
        min-width: 40px;
        padding: 4px 6px;
    }

    .timer-value {
        font-size: 16px;
    }

    .timer-label {
        font-size: 8px;
    }

    .halloween-cta {
        padding: 10px 24px;
        font-size: 14px;
        width: auto;
    }

    .topbar-close {
        right: 10px;
        top: 10px;
        transform: none;
        font-size: 24px;
    }

    .topbar-close:hover {
        transform: rotate(90deg);
    }

    .floating-element {
        display: none; /* hide on small screens */
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .halloween-topbar {
        padding: 12px 15px;
        gap: 10px;
    }

    .halloween-icon {
        font-size: 24px;
    }

    .topbar-text {
        font-size: 12px;
    }

    .highlight {
        font-size: 16px;
    }

    .countdown-timer {
        gap: 4px;
    }

    .timer-block {
        min-width: 35px;
        padding: 3px 5px;
        border-width: 1px;
    }

    .timer-value {
        font-size: 14px;
    }

    .timer-label {
        font-size: 7px;
    }

    .halloween-cta {
        padding: 8px 20px;
        font-size: 13px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .topbar-close {
        right: 8px;
        top: 8px;
        font-size: 20px;
    }
}

/* ============================================ */
/* END NEW CODE */
/* ============================================ */
