* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    background-attachment: fixed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(72, 149, 180, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(44, 83, 100, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(15, 32, 39, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

h1 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(72, 149, 180, 0.4);
    margin-bottom: 0.3rem;
    padding: 1.5rem 2rem 0.5rem;
}

.subtitle {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(160, 200, 220, 0.7);
    margin-bottom: 1.5rem;
}

hr {
    border: none;
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(72, 149, 180, 0.6), transparent);
    margin: 0.5rem auto 2rem;
}

p {
    text-align: center;
    font-size: 1.35rem;
    font-style: italic;
    color: rgba(224, 224, 224, 0.9);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

p::before {
    content: '\201C';
    font-size: 2.5rem;
    color: rgba(72, 149, 180, 0.5);
    vertical-align: -0.3em;
    margin-right: 0.1em;
}

p::after {
    content: '\201D';
    font-size: 2.5rem;
    color: rgba(72, 149, 180, 0.5);
    vertical-align: -0.3em;
    margin-left: 0.1em;
}

body > img {
    display: block;
    margin: 0 auto;
    max-width: min(90vw, 500px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body > img:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* Weather Widget */
.weather-widget {
    position: fixed;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    background: rgba(15, 32, 39, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(72, 149, 180, 0.2);
    border-radius: 16px;
    padding: 1.2rem 1rem;
    z-index: 10;
    text-align: center;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.weather-widget.loaded {
    opacity: 1;
}

.weather-widget-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(160, 200, 220, 0.8);
    margin-bottom: 0.6rem;
}

.weather-widget-icon {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.weather-widget-temp {
    font-size: 1.5rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 0.1rem;
}

.weather-widget-desc {
    font-size: 0.7rem;
    color: rgba(200, 220, 230, 0.7);
    margin-bottom: 0.8rem;
}

.weather-widget-details,
.weather-widget-extra {
    display: flex;
    justify-content: space-between;
    gap: 0.4rem;
}

.weather-widget-details {
    padding-top: 0.7rem;
    border-top: 1px solid rgba(72, 149, 180, 0.15);
    margin-bottom: 0.5rem;
}

.weather-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.weather-detail-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(160, 200, 220, 0.5);
    margin-bottom: 0.15rem;
}

.weather-detail-value {
    font-size: 0.8rem;
    color: rgba(224, 224, 224, 0.9);
    font-weight: 400;
}

.weather-widget-tomorrow {
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(72, 149, 180, 0.15);
}

.weather-tomorrow-title {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(160, 200, 220, 0.6);
    margin-bottom: 0.4rem;
}

.weather-tomorrow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.weather-tomorrow-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.weather-tomorrow-desc {
    font-size: 0.65rem;
    color: rgba(200, 220, 230, 0.7);
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1.1rem;
    }

    .weather-widget {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: auto;
        max-width: 280px;
        margin: 0 auto 1.5rem;
    }
}
