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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fce4ec;
}

header {
    background: #2c3e50;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

main {
    flex: 1;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.sky {
    width: 100%;
    max-width: 560px;
    margin: 2rem auto 2.5rem;
    position: relative;
    padding-top: 5.5rem;
}

.sun {
    width: 72px;
    height: 72px;
    background: radial-gradient(circle at 38% 38%, #fff5a0, #ffd000 55%, #f7a800);
    border-radius: 50%;
    position: absolute;
    top: 0.75rem;
    left: 2rem;
    box-shadow:
        0 0 0 6px rgba(255, 215, 0, 0.20),
        0 0 20px 8px rgba(247, 185, 0, 0.28),
        0 0 48px 16px rgba(247, 160, 0, 0.14);
    z-index: 1;
}

.sun::before {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: repeating-conic-gradient(
        rgba(255, 220, 0, 0.22) 0deg 10deg,
        transparent 10deg 20deg
    );
    mask-image: radial-gradient(circle, transparent 46%, black 47%, black 70%, transparent 71%);
    -webkit-mask-image: radial-gradient(circle, transparent 46%, black 47%, black 70%, transparent 71%);
}

@media (max-width: 480px) {
    .sky {
        padding-top: 4rem;
    }
    .sun {
        width: 52px;
        height: 52px;
        top: 0.5rem;
        left: 1rem;
    }
    .sun::before {
        inset: -12px;
    }
}

.rainbow {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    position: relative;
}

.rainbow__arc {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        transparent 34%,
        #8b00ff 36%,
        #8b00ff 39%,
        #4444dd 40%,
        #4444dd 43%,
        #1e90ff 44%,
        #1e90ff 47%,
        #00b050 48%,
        #00b050 51%,
        #f7d000 52%,
        #f7d000 55%,
        #f4831f 56%,
        #f4831f 59%,
        #e63946 60%,
        #e63946 63%,
        transparent 64%
    );
    filter: blur(0.5px);
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
}
