body {
    margin: 0;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
    background: #fff;
    color: #222;
}

header {
    background: linear-gradient(90deg, #ce1126 0%, #003893 100%);
    color: #fff;
    padding: 2rem 0 1.2rem 0;
    text-align: center;
    box-shadow: 0 2px 8px #00389333;
    border-bottom: 4px solid #e5c100;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 2px 2px 8px #0008;
}

.header-marquee {
    width: 80%;
    margin: 0 auto 1.2rem auto;
    min-width: 250px;
    max-width: 900px;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    background: #fff;
    border-radius: 10px;
    padding: 0.7rem 0;
    box-shadow: 0 2px 12px #00389355;
    border: 3px solid #ce1126;
    position: relative;
}

.header-marquee span {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 2px;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    color: #fff;
    background: transparent;
    transition: color 0.5s;
}

.header-marquee.color1 span {
    color: #ce1126;
}
.header-marquee.color2 span {
    color: #003893;
}
.header-marquee.color3 span {
    color: #e5c100;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    95% { transform: translateX(-100%); }
    100% { transform: translateX(-100%); }
}

main {
    max-width: 1200px;
    margin: 2rem auto 3rem auto;
    padding: 0 2.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px #00389311;
}

#video-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem 3.5rem;
    justify-content: center;
    justify-items: center;
}

.video-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px #00389311;
    padding: 1.2rem 1rem 1.5rem 1rem;
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #f6f1e7;
    position: relative;
    overflow: hidden;
}

.video-card:hover {
    transform: translateY(-7px) scale(1.04);
    box-shadow: 0 8px 24px #00389322;
    border-color: #e5c100;
}

.video-title {
    font-size: 1.15rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem 0;
    text-align: center;
    color: #ce1126;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px #fff5;
}

.video-desc {
    font-size: 1rem;
    color: #003893;
    text-align: center;
    background: #fff8;
    border-radius: 6px;
    padding: 0.3rem 0.5rem;
}

video {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    background: #f8f6f2;
    box-shadow: 0 2px 8px #00389311;
    border: 2px solid #e5c100;
}

footer {
    background: linear-gradient(90deg, #ce1126 0%, #003893 100%);
    color: #fff;
    text-align: center;
    padding: 1.2rem 0 1.2rem 0;
    width: 100%;
    margin-top: 2rem;
    position: static;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 -2px 8px #00389333;
    border-top: 4px solid #e5c100;
    text-shadow: 1px 1px 4px #0008;
}

.header-highlight-multiline {
    font-size: 2.3rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg, #ce1126 0%, #003893 100%);
    border-radius: 16px;
    padding: 1.1rem 2.5rem 1.1rem 2.5rem;
    margin: 0 auto 0.5rem auto;
    display: inline-block;
    box-shadow: 0 6px 32px #00389355, 0 2px 12px #ce112655;
    border: 3px solid #e5c100;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #003893cc, 0 2px 0 #ce1126, 0 0 8px #e5c100;
    text-align: center;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.header-highlight-multiline span:nth-child(1),
.header-highlight-multiline span:nth-child(2),
.header-highlight-multiline span:nth-child(3) {
    color: #fff;
    text-shadow: none;
}

.nepal-info-btn {
    background: linear-gradient(90deg, #ce1126 60%, #003893 100%);
    color: #fff;
    border: 2px solid #e5c100;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px #00389333;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    outline: none;
}
.nepal-info-btn:hover, .nepal-info-btn:focus {
    background: linear-gradient(90deg, #003893 60%, #ce1126 100%);
    color: #e5c100;
    border-color: #ce1126;
    transform: scale(1.06);
}

/* MENU SANDUÍCHE E MENU LATERAL */
#mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1001;
    display: flex;
    align-items: flex-start;
    pointer-events: none;
}
#hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: #fff;
    border: 2px solid #ce1126;
    border-radius: 10px;
    box-shadow: 0 2px 8px #00389333;
    cursor: pointer;
    margin: 1.2rem 0 0 1.2rem;
    z-index: 1002;
    pointer-events: auto;
    transition: border 0.2s;
}
#hamburger-btn .bar {
    width: 28px;
    height: 4px;
    background: #ce1126;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s;
}
#side-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 240px;
    height: 100vh;
    background: linear-gradient(180deg, #ce1126 70%, #003893 100%);
    box-shadow: 4px 0 24px #00389344;
    padding: 2.5rem 1.2rem 1.2rem 1.2rem;
    list-style: none;
    margin: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: left 0.3s;
    pointer-events: auto;
}
#side-menu.open {
    left: 0;
}
#side-menu li {
    margin: 0;
}
#side-menu .nav-link {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    display: block;
    transition: background 0.2s, color 0.2s;
}
#side-menu .nav-link:hover, #side-menu .nav-link:focus {
    background: #e5c100;
    color: #ce1126;
}

@media (max-width: 1000px) {
    #video-list {
        grid-template-columns: 1fr;
    }
    .video-card {
        width: 100% !important;
        min-width: unset !important;
    }
}

@media (max-width: 900px) {
    #hamburger-btn {
        display: flex;
    }
    #mobile-nav {
        pointer-events: none;
    }
    #side-menu {
        pointer-events: auto;
    }
    header {
        padding-top: 4.5rem;
    }
}
@media (max-width: 700px) {
    #side-menu {
        width: 80vw;
        min-width: 180px;
        max-width: 320px;
    }
}
@media (max-width: 600px) {
    html, body {
        width: 100vw;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    header, footer, main, #video-list, .video-card, video, .header-marquee {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }
    main {
        padding: 0 0.2rem;
        border-radius: 8px;
        box-shadow: 0 1px 6px #00389322;
    }
    .video-card, video {
        padding: 0 !important;
    }
}
@media (min-width: 901px) {
    #mobile-nav, #hamburger-btn, #side-menu {
        display: none !important;
    }
}
