/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #d4af37;
    --deep-purple: #4a1c4a;
    --jazz-blue: #1e3a8a;
    --nola-green: #228B22;
    --warm-cream: #faf8f3;
    --dark-text: #2c1810;
    --accent-orange: #ff6b35;
    --gradient: linear-gradient(135deg, var(--deep-purple), var(--jazz-blue));
    --shadow: 0 4px 20px rgba(0,0,0,0.15);
    --border-radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: var(--warm-cream);
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-tagline {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    background: white;
    box-shadow: var(--shadow);
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.tab-btn {
    flex: 1;
    padding: 1rem 0.5rem;
    background: white;
    border: none;
    font-family: inherit;
    font-weight: 600;
    color: var(--dark-text);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-size: 0.9rem;
}

.tab-btn span {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.7;
    margin-top: 0.2rem;
}

.tab-btn:hover {
    background: #f8f6f0;
}

.tab-btn.active {
    border-bottom-color: var(--primary-gold);
    background: #faf8f3;
    color: var(--deep-purple);
}

/* Main Content */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.day-section {
    display: none;
    padding: 2rem 0;
}

.day-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.day-header {
    text-align: center;
    margin-bottom: 2rem;
}

.day-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--deep-purple);
    margin-bottom: 0.5rem;
}

.day-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 90px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-gold);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 82px;
    top: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-gold);
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.time {
    min-width: 80px;
    font-weight: 600;
    color: var(--deep-purple);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    height: fit-content;
}

.event {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

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

.event h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--deep-purple);
    margin-bottom: 0.5rem;
}

.event p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.highlight {
    transform: scale(1.02);
}

.highlight::before {
    background: var(--accent-orange);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.confirmed .event {
    border-left: 4px solid var(--nola-green);
    background: #f0f9f0;
}

.confirmed::before {
    background: var(--nola-green);
}

.options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.option {
    background: var(--primary-gold);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.details {
    background: rgba(212, 175, 55, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.detail {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.detail:last-child {
    margin-bottom: 0;
}

.backup {
    background: #f0f0f0;
    padding: 0.8rem;
    border-radius: 8px;
    font-style: italic;
    color: #666;
    margin-top: 1rem;
    border-left: 3px solid #ccc;
}

.timing {
    background: rgba(30, 58, 138, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: 500;
    color: var(--jazz-blue);
    margin-top: 0.5rem;
}

/* Quick Reference Section */
.reference-grid {
    display: grid;
    gap: 2rem;
}

.ref-category {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.ref-category h3 {
    font-family: 'Playfair Display', serif;
    color: var(--deep-purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.ref-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.ref-item:last-child {
    border-bottom: none;
}

.ref-item strong {
    display: block;
    color: var(--deep-purple);
    margin-bottom: 0.3rem;
}

.address {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.uber-time {
    color: var(--nola-green);
    font-weight: 500;
    font-size: 0.9rem;
}

.ref-item.confirmed {
    background: rgba(34, 139, 34, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(34, 139, 34, 0.2);
}

/* Beignet Scorecard */
.beignet-scorecard {
    background: var(--gradient);
    color: white;
    padding: 2rem 1rem;
    margin: 2rem 0 0;
}

.scorecard-header {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.scorecard-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.scorecard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.beignet-spot {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.beignet-spot:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.spot-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.spot-address {
    opacity: 0.8;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.rating-stars {
    margin-bottom: 1rem;
}

.star {
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.2s ease;
    margin: 0 2px;
}

.star.active {
    opacity: 1;
}

.visit-status {
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    background: rgba(255,255,255,0.1);
    display: inline-block;
    font-size: 0.85rem;
}

.beignet-spot.visited .visit-status {
    background: var(--nola-green);
    color: white;
}

/* Emergency Section */
.emergency-section {
    background: #2c1810;
    color: white;
    padding: 2rem 1rem;
}

.emergency-section h3 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-gold);
}

/* Casino Time Special Styling */
.casino-highlight {
    position: relative;
    overflow: hidden;
}

.casino-highlight::before {
    background: linear-gradient(45deg, #ffd700, #ff6b35, #ffd700);
    animation: casino-pulse 3s infinite, rotate-glow 8s linear infinite;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

@keyframes casino-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }
    50% { 
        transform: scale(1.2);
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    }
}

@keyframes rotate-glow {
    0% { background: linear-gradient(45deg, #ffd700, #ff6b35, #ffd700); }
    33% { background: linear-gradient(45deg, #ff6b35, #ffd700, #ff6b35); }
    66% { background: linear-gradient(45deg, #ffd700, #ff6b35, #ffd700); }
    100% { background: linear-gradient(45deg, #ff6b35, #ffd700, #ff6b35); }
}

.casino-event {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: #ffd700;
    border: 2px solid #ffd700;
    position: relative;
    overflow: hidden;
}

.casino-event::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: casino-shine 4s infinite;
    pointer-events: none;
}

@keyframes casino-shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.casino-event h3 {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-size: 1.5rem;
    letter-spacing: 1px;
    animation: neon-flicker 2s infinite alternate;
}

@keyframes neon-flicker {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% { 
        text-shadow: 0 0 5px rgba(255, 215, 0, 0.8), 0 0 15px rgba(255, 215, 0, 0.5), 0 0 25px rgba(255, 215, 0, 0.3);
    }
}

.casino-tagline {
    font-style: italic;
    color: #ff6b35;
    font-weight: 600;
    text-align: center;
    margin: 1rem 0;
    font-size: 1.1rem;
}

.casino-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.casino-game {
    background: linear-gradient(45deg, #333, #555);
    border: 1px solid #ffd700;
    border-radius: 8px;
    padding: 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.casino-game:hover {
    background: linear-gradient(45deg, #555, #777);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.game-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.3rem;
    animation: slot-spin 3s infinite ease-in-out;
}

.casino-game:nth-child(2) .game-icon {
    animation-delay: 0.5s;
}

.casino-game:nth-child(3) .game-icon {
    animation-delay: 1s;
}

.casino-game:nth-child(4) .game-icon {
    animation-delay: 1.5s;
}

@keyframes slot-spin {
    0%, 90%, 100% { transform: rotateY(0deg); }
    10%, 80% { transform: rotateY(180deg); }
}

.game-name {
    color: #ffd700;
    font-weight: 600;
    font-size: 0.9rem;
}

.casino-details {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.casino-tip {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.casino-tip:last-child {
    margin-bottom: 0;
}

.casino-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.casino-option {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.casino-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
}

@keyframes casino-win {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.5); 
    }
    50% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.2); 
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(1) translateY(-20px); 
    }
}

@keyframes chip-float {
    0% { 
        opacity: 1; 
        transform: translateY(0) rotate(0deg); 
    }
    100% { 
        opacity: 0; 
        transform: translateY(-50px) rotate(360deg); 
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .tab-btn {
        padding: 0.8rem 0.3rem;
        font-size: 0.8rem;
    }
    
    .day-header h2 {
        font-size: 1.7rem;
    }
    
    .timeline::before {
        left: 75px;
    }
    
    .timeline-item::before {
        left: 67px;
    }
    
    .time {
        min-width: 70px;
        font-size: 0.8rem;
        display: flex;
        align-items: center;
        height: fit-content;
    }
    
    .event {
        padding: 1rem;
        margin-left: 0.5rem;
    }
    
    .event h3 {
        font-size: 1.1rem;
    }
    
    .options {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .option {
        text-align: center;
    }
    
    .scorecard-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .reference-grid {
        gap: 1rem;
    }
    
    .ref-category {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 1.5rem 0.5rem;
    }
    
    .day-section {
        padding: 1rem 0;
    }
    
    .timeline {
        margin: 0 -0.5rem;
    }
    
    .event {
        font-size: 0.9rem;
    }
    
    .star {
        font-size: 1.3rem;
        margin: 0 1px;
    }
}