:root {
    /* Spiritual color palette - inspired by traditional Indian spirituality */
    --saffron: #FF9933;
    --saffron-light: #FFB366;
    --saffron-dark: #CC7A29;
    --deep-orange: #E87722;
    --sacred-gold: #D4AF37;
    --lotus-pink: #FFC0CB;
    --spiritual-purple: #7B2CBF;
    --meditation-blue: #4A5899;
    --earth-brown: #8B4513;
    
    /* Modern neutrals */
    --white: #FFFFFF;
    --off-white: #FAF9F6;
    --warm-gray: #F5F5F0;
    --light-gray: #E8E6E1;
    --mid-gray: #9E9B93;
    --dark-gray: #2C2C2C;
    --near-black: #1A1A1A;
    
    /* Semantic colors */
    --auspicious: #10B981;
    --auspicious-light: #D1FAE5;
    --auspicious-dark: #059669;
    --neutral: #F59E0B;
    --neutral-light: #FEF3C7;
    --inauspicious: #EF4444;
    --inauspicious-light: #FEE2E2;
    
    /* Shadows and effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--warm-gray) 0%, var(--off-white) 100%);
    color: var(--dark-gray);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Decorative background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 153, 51, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(123, 44, 191, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.app-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    z-index: 1;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.header-content {
    position: relative;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.title-main {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--deep-orange) 50%, var(--spiritual-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.title-sub {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--mid-gray);
}

.tagline {
    font-size: 1.125rem;
    color: var(--mid-gray);
    font-weight: 300;
}

/* Location Section */
.location-section {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.location-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 153, 51, 0.1);
    transition: all 0.3s ease;
}

.location-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 153, 51, 0.2);
}

.location-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.location-icon {
    color: var(--saffron);
}

#current-location {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.location-change-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--deep-orange) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.location-change-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.location-change-btn:active {
    transform: translateY(0);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--mid-gray);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--light-gray);
    color: var(--dark-gray);
}

.modal-body {
    padding: 1.5rem;
}

.city-search-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.city-search-input:focus {
    outline: none;
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1);
}

.city-results {
    margin-top: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.city-result-item {
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.city-result-item:hover {
    background: var(--warm-gray);
    border-color: var(--saffron);
}

.city-name {
    font-weight: 500;
    color: var(--dark-gray);
}

.city-country {
    font-size: 0.875rem;
    color: var(--mid-gray);
    margin-top: 0.25rem;
}

/* Date Section */
.date-section {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.date-card {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--deep-orange) 100%);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.date-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.date-location-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.date-location-row .location-icon {
    opacity: 0.8;
    flex-shrink: 0;
}

.date-location-row #current-location {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
}

.location-edit-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 4px;
    padding: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.location-edit-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.location-edit-btn svg {
    stroke: var(--white);
}

.date-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Date Navigation */
.date-navigation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    padding: 0.35rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: var(--white);
}

.date-nav-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.date-nav-btn:active {
    transform: scale(0.95);
}

.date-nav-btn svg {
    stroke: var(--white);
}

.date-picker-wrapper {
    position: relative;
    cursor: pointer;
}

.date-picker-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.date-picker-input::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.today-btn {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.today-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.today-btn:active {
    transform: scale(0.95);
}

.today-btn.hidden {
    display: none;
}

.date-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}

.sunrise-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sunrise-info svg {
    width: 32px;
    height: 32px;
    opacity: 0.9;
}

.sunrise-info > div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sunrise-label {
    font-size: 0.75rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sunrise-time {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}

/* Current Hora Card */
.current-hora-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--mid-gray);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out 0.25s backwards;
}

.current-hora-card.auspicious {
    border-left-color: var(--auspicious);
    background: linear-gradient(135deg, var(--auspicious-light) 0%, var(--white) 30%);
}

.current-hora-card.neutral {
    border-left-color: var(--neutral);
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--white) 30%);
}

.current-hora-card.inauspicious {
    border-left-color: var(--inauspicious);
    background: linear-gradient(135deg, var(--inauspicious-light) 0%, var(--white) 30%);
}

.current-hora-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.current-hora-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mid-gray);
}

.current-hora-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--mid-gray);
    color: var(--white);
}

.current-hora-status.auspicious {
    background: var(--auspicious);
}

.current-hora-status.neutral {
    background: var(--neutral);
}

.current-hora-status.inauspicious {
    background: var(--inauspicious);
}

.current-hora-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.current-hora-planet {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.current-hora-planet .planet-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1.1;
}

.current-hora-planet .planet-sanskrit {
    font-size: 1rem;
    color: var(--mid-gray);
    font-weight: 400;
}

.current-hora-time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.current-hora-time .hora-time-range {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.current-hora-time .hora-time-remaining {
    font-size: 0.85rem;
    color: var(--mid-gray);
    font-weight: 500;
}

.current-hora-description {
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.5;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

/* Countdown Section */
.countdown-section {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.22s backwards;
}

.countdown-section.hidden {
    display: none;
}

.countdown-card {
    background: linear-gradient(135deg, var(--auspicious-light) 0%, var(--white) 50%);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--auspicious);
    transition: all 0.3s ease;
}

.countdown-card.in-auspicious {
    background: linear-gradient(135deg, var(--auspicious) 0%, var(--auspicious-dark) 100%);
    border-left-color: var(--white);
}

.countdown-card.in-auspicious .countdown-label,
.countdown-card.in-auspicious .countdown-time,
.countdown-card.in-auspicious .countdown-planet,
.countdown-card.in-auspicious .countdown-icon {
    color: var(--white);
    stroke: var(--white);
}

.countdown-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.countdown-icon {
    color: var(--auspicious);
    flex-shrink: 0;
}

.countdown-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--auspicious-dark);
}

.countdown-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.countdown-time {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.countdown-planet {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--auspicious-dark);
}

/* Filter Section */
.filter-section {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.25s backwards;
}

.filter-toggle-group {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

.filter-btn {
    flex: 1;
    max-width: 150px;
    padding: 0.625rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--mid-gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: var(--warm-gray);
    color: var(--dark-gray);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--deep-orange) 100%);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.filter-btn.active:hover {
    box-shadow: var(--shadow-md);
}

/* Schedule Section */
.schedule-section {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    text-align: center;
}

.schedule-grid {
    display: grid;
    gap: 1rem;
}

.hora-block {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInSlide 0.5s ease-out forwards;
}

.hora-block:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.hora-block.auspicious {
    border-left-color: var(--auspicious);
    background: linear-gradient(90deg, var(--auspicious-light) 0%, var(--white) 20%);
}

.hora-block.neutral {
    border-left-color: var(--neutral);
    background: linear-gradient(90deg, var(--neutral-light) 0%, var(--white) 20%);
}

.hora-block.inauspicious {
    border-left-color: var(--inauspicious);
    background: linear-gradient(90deg, var(--inauspicious-light) 0%, var(--white) 20%);
}

.hora-block.current {
    border-left-width: 6px;
    box-shadow: var(--shadow-lg);
    opacity: 1;
    animation: fadeInSlide 0.5s ease-out forwards, pulse 2s ease-in-out 0.5s infinite;
}

.hora-block.filtered-out {
    display: none;
}

.hora-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.hora-time {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.hora-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hora-block.auspicious .hora-status {
    background: var(--auspicious);
    color: var(--white);
}

.hora-block.neutral .hora-status {
    background: var(--neutral);
    color: var(--white);
}

.hora-block.inauspicious .hora-status {
    background: var(--inauspicious);
    color: var(--white);
}

.hora-planet {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.hora-description {
    font-size: 0.875rem;
    color: var(--mid-gray);
    line-height: 1.5;
}

/* Legend Section */
.legend-section {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.legend-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    text-align: center;
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legend-indicator {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.legend-item.auspicious .legend-indicator {
    background: linear-gradient(135deg, var(--auspicious) 0%, var(--auspicious-dark) 100%);
}

.legend-item.neutral .legend-indicator {
    background: linear-gradient(135deg, var(--neutral) 0%, #D97706 100%);
}

.legend-item.inauspicious .legend-indicator {
    background: linear-gradient(135deg, var(--inauspicious) 0%, #DC2626 100%);
}

.legend-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.legend-label {
    font-weight: 500;
    color: var(--dark-gray);
}

.legend-desc {
    font-size: 0.875rem;
    color: var(--mid-gray);
}

/* Past Hours Toggle */
.past-hours-toggle {
    margin-bottom: 1rem;
}

.past-hours-toggle .toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--white);
    border: 1px dashed var(--light-gray);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--mid-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.past-hours-toggle .toggle-btn:hover {
    background: var(--warm-gray);
    border-color: var(--saffron);
    color: var(--dark-gray);
}

.past-hours-toggle .toggle-icon {
    transition: transform 0.3s ease;
}

.past-hours-toggle.expanded .toggle-icon {
    transform: rotate(180deg);
}

/* Past Hours Container */
.past-hours-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.past-hours-container.expanded {
    max-height: 2000px;
    opacity: 1;
    margin-bottom: 1rem;
}

.past-hours-container .hora-block {
    opacity: 0.7;
    margin-bottom: 1rem;
}

.past-hours-container .hora-block:last-child {
    margin-bottom: 0;
}

.past-hours-container .hora-block:hover {
    opacity: 1;
}

/* Midnight Divider */
.midnight-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 0 0.5rem;
}

.midnight-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--spiritual-purple) 50%, transparent 100%);
}

.midnight-text {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--spiritual-purple);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 1rem;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.1) 0%, rgba(123, 44, 191, 0.05) 100%);
    border-radius: 20px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--mid-gray);
    font-size: 0.875rem;
    animation: fadeIn 1s ease-out 0.5s backwards;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer-attribution {
    font-style: italic;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: var(--shadow-lg);
    }
    50% {
        box-shadow: 0 10px 20px -3px rgba(255, 153, 51, 0.3), 0 4px 6px -2px rgba(255, 153, 51, 0.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .title-main {
        font-size: 2.5rem;
    }

    .date-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .date-left {
        gap: 0.5rem;
    }

    .sunrise-info {
        justify-content: flex-start;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    .current-hora-main {
        flex-direction: column;
        align-items: stretch;
    }

    .current-hora-time {
        align-items: flex-start;
        padding-top: 0.75rem;
        border-top: 1px dashed var(--light-gray);
        margin-top: 0.5rem;
    }

    .legend-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .app-container {
        padding: 1.5rem 1rem;
    }

    .title-main {
        font-size: 2rem;
    }

    .date-value {
        font-size: 1.25rem;
    }

    .sunrise-time {
        font-size: 1.1rem;
    }

    .current-hora-planet .planet-name {
        font-size: 1.75rem;
    }

    .current-hora-time .hora-time-range {
        font-size: 1.1rem;
    }
}
