:root {
    --bg-gradient: linear-gradient(135deg, #6dd5ed 0%, #2193b0 100%);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --accent-orange: #ff9a9e;
    --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
}

.app-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

header {
    text-align: center;
    margin-bottom: 8px;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(to bottom, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.date-display {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Glassmorphism Styles */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--card-shadow);
}

/* Current Weather */
.current-weather {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: fadeInDown 0.8s ease-out;
}

.weather-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-weather-icon {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15));
}

.temp-container {
    display: flex;
    align-items: flex-start;
}

.temp {
    font-size: 5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.unit {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 12px;
}

.description {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: capitalize;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.detail-item .value {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Forecast Sections */
.forecast-section h2,
.forecast-list-section h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 700;
}

.forecast-highlight {
    padding: 20px;
}

.forecast-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.day-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.small-icon {
    width: 48px;
    height: 48px;
}

.forecast-temp {
    font-size: 1.1rem;
    font-weight: 600;
}

.forecast-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Forecast List */
.forecast-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.forecast-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.forecast-item .date {
    display: flex;
    flex-direction: column;
    width: 60px;
}

.forecast-item .day {
    font-weight: 700;
    font-size: 1rem;
}

.forecast-item .num-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

footer {
    text-align: center;
    margin-top: auto;
    padding: 20px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

footer a {
    color: #fff;
    text-decoration: underline;
}

.install-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #fff;
    color: #2193b0;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.loading-placeholder {
    padding: 20px;
    text-align: center;
    font-style: italic;
    opacity: 0.7;
}