body, html {
    margin: 0; padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #c6eafe;
}
.header-main {
    background: none;
    position: relative;
    z-index: 100;
    min-height: 120px;
}
.header-bg {
    position: absolute;
    left: 0; top: 0; width: 100%; height: 120px;
    background: url('images/cloud-background-dubybuba.png') repeat-x center top/cover;
    z-index: 0;
    pointer-events: none;
}
.header-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 18px 0 10px 0;
    max-width: 1200px;
    margin: 0 auto;
}
.menu-toggle {
    background: none;
    border: none;
    position: absolute;
    left: 15px;
    top: 18px;
    z-index: 3;
    cursor: pointer;
    padding: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}
.logo-link { display: flex; justify-content: center; }
.logo { height: 70px; border-radius: 16px; display: block;}
.mobile-menu {
    display: none;
    position: absolute;
    left: 15px;
    top: 78px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 30px #bfa6f7bb;
    z-index: 30;
    min-width: 170px;
}
.mobile-menu ul { list-style: none; padding: 12px 0; margin: 0;}
.mobile-menu li { margin: 0;}
.mobile-menu a {
    display: block;
    padding: 12px 22px;
    color: #fd47d2;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: background 0.16s, color 0.16s;
}
.mobile-menu a.active, .mobile-menu a:hover {
    background: #7b2ff2;
    color: #fff;
}
.mobile-menu.show { display: block; }

.main-bg { background: #c6eafe; min-height: 100vh; padding-bottom: 2em; }

.featured-section {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    padding: 1.5em 0 1em 0;
}
.featured-video-container {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px #bfa6f7cc;
    overflow: hidden;
    padding: 1em;
}
.featured-video {
    width: 100%;
    max-width: 680px;
    border-radius: 12px;
    background: #f6e1ff;
}
.featured-sidebar {
    flex: 1;
    background: #f6e1ff;
    border-radius: 18px;
    padding: 1em 1em 0.5em 1em;
    box-shadow: 0 2px 12px #bfa6f755;
    max-width: 220px;
}
.sidebar-list { display: flex; flex-direction: column; gap: 0.7em;}
.sidebar-video-link { display: flex; align-items: center; justify-content:center; text-decoration: none;}
.sidebar-thumb-wrap { position: relative;width: 90px; height: 60px; }
.sidebar-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px;}
.sidebar-play-btn {
    position: absolute;
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 32px; height: 32px;
    background: url('images/button-play.png') no-repeat center center;
    background-size: contain;
    z-index: 2;
    animation: heartbeat 1.3s infinite both;
}
@keyframes heartbeat {
    0% { transform: translate(-50%, -50%) scale(1);}
    10% { transform: translate(-50%, -50%) scale(0.91);}
    17% { transform: translate(-50%, -50%) scale(0.98);}
    33% { transform: translate(-50%, -50%) scale(0.87);}
    45% { transform: translate(-50%, -50%) scale(1);}
    100% { transform: translate(-50%, -50%) scale(1);}
}
.best-section {
    background: #7bcbf7;
    border-radius: 18px;
    max-width: 1200px;
    margin: 2em auto;
    box-shadow: 0 2px 20px #bfa6f7bb;
    padding-bottom: 2em;
}
.best-title {
    color: #fff;
    background: #fd47d2;
    font-size: 1.5em;
    text-align: center;
    margin: 0;
    padding: 0.7em;
    border-radius: 18px 18px 0 0;
    letter-spacing: 1px;
}
.best-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.3em;
    padding: 2em 2em 0 2em;
}
.best-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 14px #d23de744;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}
.best-thumb-wrap {
    position: relative;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6e1ff;
}
.best-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
}
.best-play-btn {
    position: absolute;
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 52px; height: 52px;
    background: url('images/button-play.png') no-repeat center center;
    background-size: contain;
    z-index: 2;
    animation: heartbeat 1.3s infinite both;
}
.best-duration {
    color: #fff; background: #fd47d2;
    padding: 2px 8px; border-radius: 8px;
    font-size: 0.92em; position: absolute; bottom: 10px; right: 14px; z-index: 3;
}
.best-card-title { padding: 0.7em 1em 1em 1em; color: #fd47d2; font-weight: 600; text-align: center; font-size: 1em;}

.footer-main {
    background: #0e257f;
    color: #fff;
    margin-top: 3em;
    border-top: 4px solid #7b2ff2;
    padding-top: 2em;
    text-align: center;
    position: relative;
    box-shadow: 0 -2px 12px #eee5;
}
.footer-links { margin-bottom: 1em;}
.footer-links a { color: #fd47d2; text-decoration: underline; margin: 0 0.6em;}
.footer-links a:hover { color: #fff;}

@media (max-width: 900px) {
    .featured-section, .best-section { max-width: 98vw; }
    .best-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
@media (max-width: 600px) {
    .header-content { padding: 8px 0 4px 0;}
    .logo { height: 48px;}
    .header-bg { height: 80px;}
    .featured-section { flex-direction: column; gap: 12px;}
    .featured-sidebar { max-width: 98vw;}
    .featured-video { max-width: 98vw;}
    .best-thumb-wrap { height: 72px;}
}