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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #2c3e50;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Notification Banner */
.notification-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.95), rgba(255, 152, 0, 0.95));
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.5s ease-out;
    transform-origin: top;
}

.notification-banner.dismissed {
    animation: slideUp 0.3s ease-in forwards;
}

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

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1a1a1a;
}

.banner-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #1a1a1a;
}

.banner-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.banner-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    color: #1a1a1a;
}

.banner-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.banner-close svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .notification-banner {
        padding: 10px 16px;
    }

    .banner-text {
        font-size: 0.85rem;
    }

    .banner-icon {
        width: 20px;
        height: 20px;
    }
}

#subtitle {
    max-width: 900px;
    margin: auto;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: white;
    opacity: 0.8;
    font-size: 1em;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

.container {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.bear-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

.speech-bubble {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: white;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 100;
    min-width: 100px;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.speech-bubble.show {
    transform: translateX(-50%) scale(1);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(0deg);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0) rotate(0deg) scale(1);
    }

    25% {
        transform: translateX(-10px) rotate(-5deg) scale(1.2);
    }

    75% {
        transform: translateX(10px) rotate(5deg) scale(1.2);
    }
}

@keyframes tilt {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(-8deg);
    }
}

.bear-container.angry {
    animation: shake 1s ease-in-out;
}

.bear-container.angry .bear-head {
    transform: scale(1.2);
}

.bear-container.angry .bear-eye {
    height: 3px !important;
    width: 16px !important;
}

.bear-head {
    transition: transform 0.3s ease;
}

.bear-container.tilting {
    animation: tilt 1s ease-in-out;
}

.bear {
    width: 200px;
    height: 200px;
    position: relative;
}

.bear-head {
    width: 120px;
    height: 120px;
    background: #8B4513;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    left: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bear-ear {
    width: 50px;
    height: 50px;
    background: #8B4513;
    border-radius: 50%;
    position: absolute;
}

.bear-ear.left {
    top: 10px;
    left: 25px;
}

.bear-ear.right {
    top: 10px;
    right: 25px;
}

.bear-ear-inner {
    width: 30px;
    height: 30px;
    background: #D2691E;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 10px;
}

.bear-snout {
    width: 70px;
    height: 50px;
    background: #D2691E;
    border-radius: 50%;
    position: absolute;
    bottom: 20px;
    left: 25px;
}

.bear-nose {
    width: 20px;
    height: 15px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 25px;
}

.bear-eye {
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 50px;
    transition: height 0.1s ease;
}

.bear-eye.wink {
    height: 2px;
}

.bear-eye.left {
    left: 30px;
}

.bear-eye.right {
    right: 30px;
}

.santa-hat {
    width: 70px;
    height: 60px;
    background: #DC143C;
    position: absolute;
    top: -5px;
    left: 35px;
    border-radius: 0 50px 0 0;
    transform: rotate(-15deg);
}

.hat-pom {
    width: 25px;
    height: 25px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -10px;
}

.hat-trim {
    width: 80px;
    height: 15px;
    background: white;
    position: absolute;
    bottom: 0;
    left: -5px;
    border-radius: 10px;
}

.hammer {
    width: 80px;
    height: 15px;
    background: #8B4513;
    position: absolute;
    bottom: 30px;
    right: -40px;
    transform: rotate(-45deg);
    border-radius: 5px;
}

.hammer-head {
    width: 35px;
    height: 30px;
    background: #696969;
    position: absolute;
    right: -5px;
    top: -8px;
    border-radius: 3px;
}

h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.progress-bar {
    width: 300px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    margin: 2rem auto;
    overflow: hidden;
    transition: border-radius 0.5s ease;
}

.progress-bar.shape-1 {
    border-radius: 10px;
}

.progress-bar.shape-2 {
    border-radius: 0px;
}

.progress-bar.shape-3 {
    border-radius: 5px 20px 5px 20px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 10px;
    animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.message {
    color: white;
    font-size: 1rem;
    opacity: 0.8;
}

/* Feeds Section */
.feeds-section {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 200px;
    z-index: 998;
    opacity: 0;
    animation: fadeIn 1s ease-out 2s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.feeds-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

.feeds-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 280px;
    overflow: hidden;
    position: relative;
}

.feeds-scroll-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    will-change: transform;
}

.feeds-scroll-wrapper.scrolling {
    animation: scrollFeeds linear infinite;
}

@keyframes scrollFeeds {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(var(--scroll-height));
    }
}

.feed-card {
    display: flex;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
    opacity: 0.7;
}

.feed-card:hover {
    opacity: 1;
    text-decoration: none;
}

.feed-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    opacity: 0.8;
}

.feed-content {
    flex: 1;
    min-width: 0;
}

.feed-title {
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-description {
    display: none;
}

@media (max-width: 1024px) {
    .feeds-section {
        display: none;
    }
}

.email-contact {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    opacity: 0.9;
    z-index: 999;
    margin: 0;
}

.email-contact a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.email-contact a:hover {
    opacity: 1;
    text-decoration: underline;
}

.click-instruction {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px 15px;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.click-instruction.show {
    opacity: 1;
    transform: translateY(0);
}

.cursor-icon {
    width: 20px;
    height: 20px;
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}