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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.container {
    text-align: center;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
    transition: all 0.3s ease;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.status-icon:hover {
    transform: scale(1.1);
}

.status-text {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.refresh-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: light) {
    body {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

    .container {
        background: rgba(255, 255, 255, 0.95);
        color: #333;
        backdrop-filter: blur(10px);
    }

    .refresh-btn {
        background: #667eea;
        color: white;
    }

    .refresh-btn:hover {
        background: #5a6fd8;
    }

    a {
        color: #667eea;
    }

    a:hover {
        color: #5a6fd8;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
        color: white;
    }

    .container {
        background: rgba(30, 30, 30, 0.95);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
    }

    .refresh-btn {
        background: #bb86fc;
        color: #000;
    }

    .refresh-btn:hover {
        background: #a86fe8;
    }

    a {
        color: #bb86fc;
    }

    a:hover {
        color: #a86fe8;
    }

}

.additional-info {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (prefers-color-scheme: light) {
    .additional-info {
        background: rgba(0, 0, 0, 0.05);
    }
}

@media (prefers-color-scheme: dark) {
    .additional-info {
        background: rgba(255, 255, 255, 0.05);
    }
}

.sparkly {
    --sparkly-text-size: 1em;
    --sparkly-text-animation-length: 1.5s;
    --sparkly-text-color: #4ab9f8;

    position: relative;
    display: inline-block;
    z-index: 0;
}

.sparkly::before,
.sparkly::after,
.sparkly .sparkle {
    content: '';
    position: absolute;
    width: var(--sparkly-text-size);
    height: var(--sparkly-text-size);
    background-image: url("data:image/svg+xml,%3Csvg width='1200' height='1200' viewBox='0 0 1200 1200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%234ab9f8' d='m611.04 866.16c17.418-61.09 50.25-116.68 95.352-161.42 45.098-44.742 100.94-77.133 162.17-94.062l38.641-10.68-38.641-10.68c-61.227-16.93-117.07-49.32-162.17-94.062-45.102-44.738-77.934-100.33-95.352-161.42l-11.039-38.641-11.039 38.641c-17.418 61.09-50.25 116.68-95.352 161.42-45.098 44.742-100.94 77.133-162.17 94.062l-38.641 10.68 38.641 10.68c61.227 16.93 117.07 49.32 162.17 94.062 45.102 44.738 77.934 100.33 95.352 161.42l11.039 38.641z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transform-origin: center;
    pointer-events: none;
    z-index: -1;
}

@media (prefers-reduced-motion: no-preference) {
    .sparkly::before {
        top: calc(20% - var(--sparkly-text-size) / 2);
        left: calc(10% - var(--sparkly-text-size) / 2);
        animation: sparkle-spin var(--sparkly-text-animation-length) linear infinite;
        animation-delay: 0s;
    }

    .sparkly::after {
        top: calc(80% - var(--sparkly-text-size) / 2);
        right: calc(15% - var(--sparkly-text-size) / 2);
        animation: sparkle-spin var(--sparkly-text-animation-length) linear infinite;
        animation-delay: 0.5s;
    }

    .sparkly .sparkle {
        top: calc(40% - var(--sparkly-text-size) / 2);
        left: calc(70% - var(--sparkly-text-size) / 2);
        animation: sparkle-spin var(--sparkly-text-animation-length) linear infinite;
        animation-delay: 1s;
    }
}

@keyframes sparkle-spin {
    0% {
        scale: 0;
        opacity: 0;
        rotate: 0deg;
    }

    50% {
        scale: 1;
        opacity: 1;
    }

    100% {
        scale: 0;
        opacity: 0;
        rotate: 180deg;
    }
}
