/* El Pollo Loco - Main Stylesheet */

@import url('styles/base.css');
@import url('styles/ui-components.css');
@import url('styles/layout.css');
@import url('styles/animations.css');
@import url('styles/responsive.css');

@font-face {
    font-family: "Luckiest Guy";
    src: url('assets/fonts/LuckiestGuy-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Fredoka";
    src: url('assets/fonts/Fredoka-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Fredoka";
    src: url('assets/fonts/Fredoka-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

.top-controls img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

#options-modal .tab-content#story-content {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 12px;
}

#options-modal .tab-content#story-content p {
    font-size: 24px;
    line-height: 1.7;
    color: white;
    font-family: "Fredoka", Arial, sans-serif;
    margin: 0 0 12px 0;
    letter-spacing: 0.01em;
}

.startscreen {
    position: relative;
    width: 100%;
    height: 100%;
}

.startscreen-links {
    position: fixed;            
    bottom: 32px;                
    left: 50%;                     
    transform: translateX(-50%);   
    z-index: 1010;                
    display: flex;
    gap: 18px;                     
}

.startscreen-links a {
    color: black;
    font-size: 1.5rem;
    margin: 0 18px;
    text-decoration: underline;
    opacity: 0.85;
    transition: opacity 0.2s;
    background: transparent;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}
.startscreen-links a:hover {
    opacity: 1;
    background: rgba(255,255,255,0.08);
}

.endscreen-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 720px;
    height: 480px;
    transform: translate(-50%, -50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    animation: fadeIn 0.5s ease-in-out;
    pointer-events: auto;
}