/*
Theme Name: Viet69 Clone Pretty
Author: ChatGPT
Description: Giao diện clone viet69.fo - responsive, đẹp, tối ưu SEO
Version: 1.0
*/

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #111; /* nền đen */
    color: #eee;       /* chữ sáng */
    padding-bottom: 60px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.container h2 {
    color: #ffffff; /* hoặc hồng nhạt nếu muốn nổi bật hơn */
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

h1, h2 {
    color: #333;
    margin-bottom: 10px;
}


a {
    color: #ffcc00;
    text-decoration: none;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}



img {
    max-width: 100%;
    border-radius: 4px;
}



.site-header {
    background: #000;
    color: #fff;
    text-align: left;
    padding: 20px 0;
}

.site-header h1 a {
    color: #ffcc00;
}

.site-logo img {
    max-height: 160px; /* ← tăng số này để logo cao hơn */
    height: auto;
    width: auto;
}

.site-nav {
    background: #222;
    padding: 10px 0;
    margin-bottom: 20px;
}

.site-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.site-nav ul li {
    margin: 0 15px;
}

.site-nav ul li a {
    color: #ccc;
    text-decoration: none;
}


.site-nav ul li a:hover {
    color: #fff;
}

.sidebar {
    background: #ccc;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}



.search-form {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.search-form input[type="search"] {
    padding: 8px;
    font-size: 16px;
    width: 250px;
    max-width: 100%;
}
.search-form input[type="submit"] {
    padding: 8px 12px;
    background: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
    margin-left: 5px;
}


.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.post-card {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    text-align: center;
}

.post-card img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.post-card h3 {
    font-size: 18px;
    margin-top: 10px;
    color: #ffcc00;
}

@media (max-width: 768px) {
    .post-grid {
        grid-template-columns: 1fr;
    }
    .site-nav ul {
        flex-direction: column;
        align-items: center;
    }
    .site-nav ul li {
        margin: 10px 0;
    }
}

.video-container {
    max-width: 720px;
    margin: 0 auto 20px;
    padding: 0 10px;
}

.video-wrapper {
   max-width: 720px;
    margin: 0 auto 20px;
    padding: 10px 10px;
    background: #1b1b1b;
    border-radius: 8px;
}

.video-frame {
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    background: #3f3e3e;
    border-radius: 8px;
    overflow: hidden;
}


.video-embed iframe {
    width: 100%;
    max-width: 100%;
    height: 480px;
    border: none;
    margin-bottom: 20px;
}


.video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}


.responsive-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

.responsive-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}


.ads-mobile {
    display: none;
}
@media (max-width: 768px) {
    .ads-mobile {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: #111;
        color: white;
        padding: 10px;
        text-align: center;
    }
}



/* Khung chính giữa toàn trang */
.site-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #161616;
}

/* Menu ngang */
.main-menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    background: #111;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.main-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.main-menu a:hover {
    text-decoration: underline;
}

.logo-css {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo-css .number {
  font-size: 42px;
  font-weight: bold;
  color: #ff4fa0;
  padding: 20px 20px 20px 20px;
}

.icon-nipple {
  position: relative;
  width: 50px;
  height: 50px;
  background: #ffe4ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-nipple .play-icon {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #ff337a;
  margin-left: 4px;
}

.icon-nipple .nipple {
  position: absolute;
  right: -8px;
  width: 12px;
  height: 12px;
  background: #ffe4ec;
  border-radius: 50%;
}

/* Danh sách phim (trang chủ) */
.film-listing {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    margin: 10px 0;
}

.site-nav .menu {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .site-nav .menu {
        display: none;
        flex-direction: column;
        background-color: #111;
        padding: 10px;
    }
    .site-nav .menu.active {
        display: flex;
    }
}

.pagination {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 6px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #555;
}

.pagination .current {
    background-color: #e91e63; /* Hồng */
    color: white;
    font-weight: bold;
    font-size: 18px; /* To hơn một chút */
    pointer-events: none;
}

.view-now-btn {
    background-color: #e91e63;
    color: white;
    padding: 15px 30px;
    font-size: 20px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    margin: 20px auto;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}
.view-now-btn:hover {
    background-color: #d81b60;
}
.landing-button {
    text-align: center;
}

.native-ads {
  margin: 30px auto;
  max-width: 728px;
  text-align: center;
}