/* Meteor Showers Page Styles */

/* Hero Section */
.meteors-hero {
    background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.95), 
        rgba(25, 25, 60, 0.9)
    ), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="star"><stop offset="0%" stop-color="white" stop-opacity="0.8"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="20" cy="30" r="0.5" fill="url(%23star)"/><circle cx="80" cy="20" r="0.3" fill="url(%23star)"/><circle cx="60" cy="70" r="0.4" fill="url(%23star)"/><circle cx="30" cy="80" r="0.2" fill="url(%23star)"/></svg>');
    background-size: 200px 200px;
    padding: 120px 0 3rem 0;
    position: relative;
    overflow: hidden;
}

.meteors-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    animation: meteorTrail 8s linear infinite;
}

@keyframes meteorTrail {
    0% { transform: translateX(-100%) translateY(100%); }
    100% { transform: translateX(100%) translateY(-100%); }
}

.meteors-title {
    font-size: 3rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.meteors-subtitle {
    font-size: 1.2rem;
    color: #b8b8d1;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Activity Summary */
.activity-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.summary-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
}

.summary-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.summary-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.summary-label {
    font-size: 0.9rem;
    color: #9393b3;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
}

/* Main Content */
.meteors-content {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(15, 15, 35, 0.8), rgba(10, 10, 25, 0.9));
    min-height: 100vh;
}

.meteors-section {
    margin-bottom: 4rem;
}

.meteors-section h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #9393b3;
    margin-bottom: 2rem;
}

/* Active Showers Grid */
.showers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.shower-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.shower-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shower-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(74, 144, 226, 0.3);
}

.shower-card:hover::before {
    opacity: 1;
}

.shower-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.shower-name {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
    margin: 0;
}

.shower-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

.status-peak {
    background: rgba(255, 159, 67, 0.2);
    color: #ff9f43;
    border: 1px solid rgba(255, 159, 67, 0.3);
}

.status-upcoming {
    background: rgba(116, 185, 255, 0.2);
    color: #74b9ff;
    border: 1px solid rgba(116, 185, 255, 0.3);
}

.shower-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    text-align: center;
}

.detail-label {
    font-size: 0.8rem;
    color: #9393b3;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
}

.shower-description {
    color: #b8b8d1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.viewing-conditions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.condition-tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Peaks Timeline */
.peaks-timeline {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-date {
    min-width: 120px;
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}

.timeline-content {
    flex: 1;
    margin-left: 2rem;
}

.timeline-shower {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-details {
    color: #9393b3;
    font-size: 0.9rem;
}

.timeline-rate {
    min-width: 100px;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    color: #4ecdc4;
}

/* Annual Calendar */
.annual-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.month-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.month-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 144, 226, 0.3);
}

.month-name {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.month-showers {
    list-style: none;
    padding: 0;
    margin: 0;
}

.month-shower {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.month-shower:last-child {
    border-bottom: none;
}

.shower-mini-name {
    color: #ffffff;
    font-weight: 500;
}

.shower-mini-date {
    color: #9393b3;
    font-size: 0.9rem;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.tip-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.tip-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tip-card p {
    color: #b8b8d1;
    line-height: 1.6;
}

/* Loading States */
.loading-showers,
.loading-timeline {
    text-align: center;
    padding: 3rem;
    color: #9393b3;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #4ecdc4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #9393b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .meteors-hero {
        padding: 110px 0 2.5rem 0;
    }
    
    .meteors-title {
        font-size: 2.2rem;
    }
    
    .meteors-subtitle {
        font-size: 1rem;
    }
    
    .activity-summary {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .summary-card {
        padding: 1.5rem;
    }
    
    .showers-grid {
        grid-template-columns: 1fr;
    }
    
    .shower-details {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .timeline-content {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .timeline-rate {
        text-align: left;
        margin-top: 0.5rem;
    }
    
    .annual-calendar {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .meteors-hero {
        padding: 100px 0 2rem 0;
    }
    
    .meteors-content {
        padding: 2rem 0;
    }
    
    .meteors-section {
        margin-bottom: 3rem;
    }
    
    .shower-card,
    .peaks-timeline,
    .tip-card {
        padding: 1.5rem;
    }
} 