/* Schedule Page Styles - Fam Unity Rules Theme */

/* Font Import (matching main theme) */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;600;700&family=Inter:wght@300;400;600&display=swap');

/* Variables for consistent theme colors */
:root {
    --primary-yellow: #fbbf24;
    --primary-orange: #f97316;
    --primary-red: #ef4444;
    --secondary-yellow: #fcd34d;
    --secondary-orange: #fb923c;
    --accent-yellow: #fef3c7;
    --accent-orange: #fed7aa;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --background-light: #fffbeb;
    --background-white: #ffffff;
    --border-light: #fde68a;
    --shadow-yellow: rgba(251, 191, 36, 0.3);
    --shadow-orange: rgba(249, 115, 22, 0.3);
}

/* Base styling */
body {
    font-family: 'Kanit', 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-white) 50%, #ffedd5 100%);
    min-height: 100vh;
}

/* Hero Section Animations */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-icon {
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.hero-icon:hover {
    transform: translateY(-10px) scale(1.1);
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation delays for particles */
.animation-delay-1000 { 
    animation-delay: 1s; 
}
.animation-delay-2000 { 
    animation-delay: 2s; 
}
.animation-delay-3000 { 
    animation-delay: 3s; 
}
.animation-delay-4000 { 
    animation-delay: 4s; 
}

/* Hero Section Scroll Indicator */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Parallax effect for hero background */
.hero-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
}

/* Particle animations with delays */
.animation-delay-1000 {
    animation-delay: 1s;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-3000 {
    animation-delay: 3s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Loading Spinner */
.loading-spinner {
    border: 3px solid #f3f4f6;
    border-radius: 50%;
    border-top: 3px solid var(--primary-yellow);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Schedule Cards */
.schedule-card {
    background: linear-gradient(135deg, var(--background-white) 0%, var(--accent-yellow) 100%);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.schedule-card:hover::before {
    left: 100%;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-yellow);
    border-color: var(--primary-orange);
}

/* Activity Status Indicators */
.status-active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    animation: pulse 2s infinite;
}

.status-upcoming {
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    color: white;
}

.status-completed {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.status-break {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

/* Time Display Components */
.time-display {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    border: 2px solid var(--primary-yellow);
    font-family: 'Inter', monospace;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.digital-time {
    font-family: 'Inter', 'Courier New', monospace;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-orange);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
}

/* Navigation Pills */
.nav-pill {
    background: var(--background-white);
    border: 2px solid var(--border-light);
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-pill:hover,
.nav-pill.active {
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    color: white;
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--shadow-orange);
}

/* Activity Category Icons */
.category-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.category-icon.daily {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.category-icon.weekly {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
}

.category-icon.special {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.category-icon.break {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

/* Event Cards */
.event-card {
    background: var(--background-white);
    border-left: 4px solid var(--primary-yellow);
    transition: all 0.3s ease;
    position: relative;
}

.event-card:hover {
    border-left-color: var(--primary-orange);
    box-shadow: 0 10px 25px var(--shadow-yellow);
    transform: translateX(5px);
}

.event-card.active {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
}

.event-card.completed {
    opacity: 0.7;
    border-left-color: #6b7280;
}

/* Button Styles matching main theme */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow), var(--primary-orange));
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-orange);
}

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

/* Enhanced Buttons */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-enhanced:hover::before {
    left: 100%;
}

.btn-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Quick Schedule Styles */
.quick-schedule-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.airdrop-time-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border: 2px solid #fbbf24;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.airdrop-time-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.airdrop-time-card:hover::before {
    transform: translateX(100%);
}

.airdrop-time-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.airdrop-time-card.active {
    border-color: #10b981;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    animation: pulse-green 2s infinite;
}

.airdrop-time-card.family {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.airdrop-time-card.public {
    border-color: #10b981;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.activity-quick-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.activity-quick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.15);
}

.activity-quick-card.active {
    border-color: #10b981;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

/* Next Activity Indicator */
.next-activity-indicator {
    position: relative;
}

.next-activity-indicator::before {
    content: 'ถัดไป';
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    z-index: 10;
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
    }
}

/* Countdown Text */
.countdown-text {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-weight: 600;
    color: #1e40af;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
}

/* Enhanced Airdrop Cards */
.airdrop-card-enhanced {
    position: relative;
    overflow: hidden;
}

.airdrop-card-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.airdrop-card-enhanced:hover::after {
    left: 100%;
}

/* Time Summary Box */
.time-summary-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
    border: 2px solid #f59e0b;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.time-summary-box .time-list {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-weight: 600;
    color: #b45309;
    letter-spacing: 0.05em;
}

/* Enhanced Airdrop Schedule Design */
.airdrop-schedule-container {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.1);
}

.time-period-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.time-period-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.time-slot {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.time-slot:hover {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    padding-left: 0.75rem;
}

.time-badge {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    min-width: 60px;
    text-align: center;
    margin-right: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.time-badge.family {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    color: #b45309;
    border: 1px solid #f59e0b;
}

.time-badge.public {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #10b981;
}

.time-label {
    font-size: 0.875rem;
    font-weight: 500;
}

.time-label.family {
    color: #b45309;
}

.time-label.public {
    color: #065f46;
}

.period-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f3f4f6;
}

.period-header h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.period-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.stats-container {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
}

.stat-value {
    font-weight: 700;
    margin-left: 0.25rem;
}

.stat-value.total {
    color: #2563eb;
}

.stat-value.family {
    color: #d97706;
}

.stat-value.public {
    color: #059669;
}

/* Modern Quick Schedule Design */
.quick-schedule-modern {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.quick-schedule-header {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    padding: 1.5rem;
}

.quick-schedule-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.quick-schedule-header p {
    color: #bfdbfe;
    font-size: 0.875rem;
}

.airdrop-time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.time-period-modern {
    background: linear-gradient(135deg, var(--bg-from), var(--bg-to));
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.time-period-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.time-period-modern:hover::before {
    left: 100%;
}

.time-period-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.time-period-modern.morning {
    --bg-from: #eef2ff;
    --bg-to: #dbeafe;
    --border-color: #c7d2fe;
}

.time-period-modern.afternoon {
    --bg-from: #fef3c7;
    --bg-to: #fed7aa;
    --border-color: #fbbf24;
}

.time-period-modern.evening {
    --bg-from: #fdf4ff;
    --bg-to: #f3e8ff;
    --border-color: #d8b4fe;
}

.time-period-modern.night {
    --bg-from: #f8fafc;
    --bg-to: #f1f5f9;
    --border-color: #cbd5e1;
}

.time-period-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.time-period-modern.morning .time-period-title {
    --text-color: #4338ca;
}

.time-period-modern.afternoon .time-period-title {
    --text-color: #d97706;
}

.time-period-modern.evening .time-period-title {
    --text-color: #7c3aed;
}

.time-period-modern.night .time-period-title {
    --text-color: #475569;
}

.time-slots {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.time-slot-modern {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
    transition: all 0.2s ease;
}

.time-slot-modern:hover {
    transform: scale(1.05);
}

.time-slot-modern.family {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    color: #b45309;
    border: 1px solid #f59e0b;
}

.time-slot-modern.public {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border: 1px solid #10b981;
}

.legend-modern {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.legend-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.legend-item.family {
    background: linear-gradient(135deg, #fef3c7, #fed7aa);
    color: #b45309;
    border: 1px solid #f59e0b;
}

.legend-item.public {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border: 1px solid #10b981;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.legend-item.family .legend-dot {
    background: #f59e0b;
}

.legend-item.public .legend-dot {
    background: #10b981;
}

.next-airdrop-indicator {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.next-airdrop-indicator:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
}

.next-airdrop-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.next-airdrop-info {
    flex: 1;
}

.next-airdrop-title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.next-airdrop-time {
    font-size: 0.875rem;
    color: #6b7280;
}

.next-airdrop-countdown {
    text-align: right;
}

.countdown-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.countdown-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: #2563eb;
    font-size: 1.1rem;
}

/* Enhanced Quick Schedule Styles */
.highlight-animation {
    animation: highlightPulse 2s ease-in-out;
}

@keyframes highlightPulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
        transform: scale(1.02);
    }
}

/* Live Status Indicator */
.live-status {
    position: relative;
    overflow: hidden;
}

.live-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Enhanced Timeline Cards */
.timeline-card {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Quick Access Buttons */
.quick-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.quick-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.quick-button:hover::before {
    width: 100%;
    height: 100%;
}

.quick-button:hover {
    transform: translateY(-2px);
}

/* Enhanced Countdown Display */
.countdown-display {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Legend Enhancement */
.legend-item {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(5px);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Status Dot Animation */
.status-dot {
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .timeline-card {
        padding: 1rem;
    }
    
    .quick-button {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
    
    .countdown-display {
        font-size: 1.25rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 640px) {
    .next-activity-indicator::before {
        font-size: 0.6rem;
        padding: 1px 6px;
    }
    
    .countdown-text {
        font-size: 0.65rem;
    }
    
    .time-badge {
        min-width: 50px;
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .time-label {
        font-size: 0.8rem;
    }
    
    .period-header h6 {
        font-size: 0.8rem;
    }
    
    .airdrop-time-grid {
        grid-template-columns: 1fr;
    }
}

/* Font Awesome Icon Enhancements */
.fa-clock, .fa-parachute-box, .fa-users, .fa-user, .fa-calendar-day, .fa-timeline, .fa-info-circle, .fa-sync-alt, .fa-bell, .fa-cog {
    transition: all 0.3s ease;
}

.fa-clock:hover, .fa-parachute-box:hover, .fa-users:hover, .fa-user:hover {
    transform: scale(1.1);
}

/* Glass Morphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Typography */
.text-glow {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Responsive Grid Enhancements */
@media (max-width: 640px) {
    .grid-responsive {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .grid-responsive {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 769px) {
    .grid-responsive {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Accessibility Improvements */
.focus-visible:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .timeline-card, .legend-item {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* Time Slots */
.time-slot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fef7ed 100%);
    border-radius: 0.75rem;
    border: 1px solid #fcd34d;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.time-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

/* Activity Type Cards */
.activity-type-card {
    transition: all 0.3s ease;
}

.activity-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Time Filter Buttons */
.time-filter-btn {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border: 1px solid #d1d5db;
    color: #6b7280;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.time-filter-btn:hover {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    color: #374151;
    transform: translateY(-1px);
}

.time-filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Hourly Schedule Grid */
.hourly-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    max-height: 600px;
    overflow-y: auto;
    padding: 0.5rem;
}

.hour-block {
    background: linear-gradient(135deg, #fafafa, #f5f5f5);
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.hour-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hour-block h6 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.hour-block .time-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 0.75rem;
    font-size: 0.875rem;
}

.activity-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.activity-item:hover {
    border-color: #3b82f6;
    background: #f8faff;
}

.activity-item:last-child {
    margin-bottom: 0;
}

.activity-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.activity-icon.airdrop { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.activity-icon.airdrug { background: linear-gradient(135deg, #ef4444, #dc2626); }
.activity-icon.airbox { background: linear-gradient(135deg, #f97316, #ea580c); }
.activity-icon.robbery { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.activity-icon.patrol { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.activity-icon.business { background: linear-gradient(135deg, #6b7280, #4b5563); }
.activity-icon.event { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.activity-details {
    flex: 1;
}

.activity-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.activity-description {
    color: #6b7280;
    font-size: 0.75rem;
    line-height: 1.3;
}

.activity-status {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.activity-status.active {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.activity-status.upcoming {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.activity-status.completed {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

/* Loading States */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hourly-schedule-grid {
        grid-template-columns: 1fr;
        max-height: 500px;
    }
    
    .time-filter-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .hour-block {
        padding: 0.75rem;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .activity-item .activity-status {
        align-self: flex-end;
    }
}

/* Print Styles */
@media print {
    .time-filter-btn, .quick-button {
        display: none !important;
    }
    
    .hourly-schedule-grid {
        max-height: none;
        overflow: visible;
    }
    
    .activity-type-card {
        break-inside: avoid;
    }
}


