:root {
    font-size: 1.125em;
    color-scheme: light dark;
    accent-color: var(--retro-dark);
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-image: url('../images/blue_bird.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--retro-dark);
    opacity: 0.35;
    z-index: 1;
}

/* Override any main-page backgrounds */
body .main-page {
    background: none !important;
}

body .main-page::before {
    display: none !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-color: var(--retro-dark) gainsboro;
    overscroll-behavior: none;
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInPage 1.2s ease forwards;
}

.logo-header-top {
    max-width: 380px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.map {
    border: 3px solid rgba(255,255,255,0.2);
    background-image: url('../images/paper_backgrounds/one.jpg.JPG');
    background-size: cover;
    background-position: center;
    padding: 25px 25px 25px 45px;
    position: relative;
    max-width: 450px;
    width: 90%;
    margin: 0 auto;
    text-align: left;
}

.map::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.95);
    mix-blend-mode: multiply;
    z-index: 1;
}

.map > * {
    position: relative;
    z-index: 2;
}

.tickets-link {
    font-weight: 700 !important;
    color: var(--retro-light) !important;
    font-size: 1.8rem !important;
    text-transform: uppercase;
    letter-spacing: 0.08em !important;
    margin-bottom: 2.5rem !important;
    background-color: var(--retro-dark) !important;
    padding: 0.8rem !important;
    border: 2px solid var(--retro-dark) !important;
    text-align: center;
    display: block;
}

.tickets-link:hover, .tickets-link:focus {
    background-color: transparent !important;
    color: var(--retro-dark) !important;
    transform: translateY(-2px);
    text-shadow: none !important;
}

.tree-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

.tree-item::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--retro-dark);
    opacity: 0.85;
}

.tree-item::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 1.2rem;
    width: 20px;
    height: 2px;
    background-color: var(--retro-dark);
    opacity: 0.85;
}

.tree-item:last-child::before {
    height: 1.2rem;
}

.map a {
    display: block;
    font-family: var(--font-main);
    font-size: 1.6rem;
    font-weight: normal;
    color: var(--retro-light);
    text-decoration: none;
    padding: 0.4rem;
    transition: all 0.3s ease;
    border-radius: 2px;
    letter-spacing: 0.05em;
    background-color: rgba(32,38,72,0.85);
    border: 2px solid var(--retro-dark);
}

.map a:hover, .map a:focus {
    background-color: transparent;
    color: var(--retro-dark);
    transform: translateY(-2px);
    text-shadow: none;
}

.map ul {
    list-style: none;
    border: none;
    margin: 0.8rem 0 0 5px;
    padding: 0;
    position: relative;
}

.map li {
    font-size: 1.3rem;
    font-weight: normal;
    margin: 0.6rem 0;
    color: rgba(32,38,72,0.8);
    position: relative;
    padding-left: 25px;
    font-family: var(--font-secondary);
    letter-spacing: 0.03em;
}

.map li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 15px;
    height: 2px;
    background-color: var(--retro-dark);
    opacity: 0.85;
}

.map li a {
    font-size: 1.1rem !important;
    padding: 0.3rem 0.6rem !important;
    background-color: rgba(32,38,72,0.6) !important;
    border: 1px solid var(--retro-dark) !important;
    display: inline-block !important;
    width: auto !important;
    margin-left: 10px !important;
}

.map li a:hover, .map li a:focus {
    background-color: transparent !important;
    color: var(--retro-dark) !important;
    transform: translateY(-1px) !important;
}

.map > .tree-item > a {
    display: block;
    font-family: var(--font-main);
    font-size: 1.6rem;
    font-weight: normal;
    color: var(--retro-light);
    text-decoration: none;
    padding: 0.4rem;
    transition: all 0.3s ease;
    border-radius: 2px;
    letter-spacing: 0.05em;
    background-color: rgba(32,38,72,0.85);
    border: 2px solid var(--retro-dark);
}

.map > .tree-item > a:hover, .map > .tree-item > a:focus {
    background-color: transparent;
    color: var(--retro-dark);
    transform: translateY(-2px);
    text-shadow: none;
}

/* Tablet and smaller desktop */
@media screen and (max-width: 904px) {
    body {
        background-size: cover;
        background-position: center;
    }

    .logo-header-top {
        max-width: 320px;
    }

    .map {
        padding: 20px 20px 20px 40px;
    }
    
    .tree-item {
        padding-left: 15px;
    }
    
    .map a {
        font-size: 1.4rem;
    }

    .map > .tree-item > a {
        font-size: 1.4rem;
    }
    
    .map li a {
        font-size: 1rem !important;
    }
}

/* Mobile */
@media screen and (max-width: 600px) {
    .container {
        padding: 12px;
    }

    .logo-header-top {
        max-width: 260px;
    }

    .map {
        padding: 15px 15px 15px 35px;
        max-width: 280px;
        width: 80%;
    }
    
    .tree-item {
        padding-left: 12px;
    }
    
    .tickets-link {
        font-size: 1.2rem !important;
        padding: 0.6rem !important;
    }
    
    .map > .tree-item > a {
        font-size: 1rem;
        padding: 0.3rem;
    }
    
    .map li a {
        font-size: 0.8rem !important;
        padding: 0.2rem 0.4rem !important;
    }
}

/* Extra small devices */
@media screen and (max-width: 380px) {
    .logo-header-top {
        max-width: 220px;
    }

    .map {
        max-width: 260px;
        width: 75%;
        padding: 12px 12px 12px 30px;
    }

    .map a {
        font-size: 1.1rem;
    }

    .tickets-link {
        font-size: 1.1rem !important;
        padding: 0.5rem !important;
    }

    .map li {
        font-size: 0.9rem;
    }

    .map > .tree-item > a {
        font-size: 0.9rem;
    }
    
    .map li a {
        font-size: 0.75rem !important;
        padding: 0.15rem 0.35rem !important;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        color: white;
    }
    .map {
        background-color: rgba(0,20,20,0.8);
    }
    .map::before {
        background: rgba(255,255,255,0.85);
    }
    .map a {
        color: var(--retro-dark);
    }
    .map a:hover, .map a:focus {
        color: var(--retro-light);
        background-color: var(--retro-dark);
    }
} 