* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #2c5c6c;
    color: white;
}

.ad-banner {
    background-color: #1e3c47;
    color: #88c0d0;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #2c5c6c;
}

.header-left {
    display: flex;
    gap: 15px;
}

.icon-btn {
    background: transparent;
    border: 2px solid white;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    color: white;
}

.icon-btn svg {
    width: 24px;
    height: 24px;
    display: block;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: #a8e6ff;
}

.main-content {
    padding: 30px;
}

.video-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-title.trending {
    color: #f0a8ff;
}

.sub-section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.video-card {
    background-color: #1e3c47;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.video-card:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #333;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn svg {
    width: 24px;
    height: 24px;
    fill: #333;
    margin-left: 4px;
}

.video-info {
    padding: 12px;
}

.video-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.watch-now {
    font-size: 12px;
    color: #a0a0a0;
}

.view-more-container {
    text-align: center;
    margin: 40px 0;
}

.view-more-btn {
    background-color: #3a7a8c;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

.view-more-btn:hover {
    background-color: #4a8a9c;
}

.footer {
    background-color: #1e3c47;
    padding: 30px;
    text-align: center;
}

.footer-content p {
    margin-bottom: 20px;
    color: #a0c0d0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-link {
    color: #88c0d0;
    text-decoration: none;
    font-size: 14px;
}

.footer-link:hover {
    color: white;
}

.back-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player-container {
    max-width: 1200px;
    margin: 0 auto 30px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
}

.video-iframe {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
}

.video-placeholder {
    padding: 80px 20px;
    text-align: center;
    color: #a8c0d0;
    font-size: 18px;
}

.video-detail-info {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.video-detail-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.video-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a8c0d0;
}

.stat-item svg {
    width: 20px;
    height: 20px;
}

.video-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #3a7a8c;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.action-btn:hover {
    background-color: #4a8a9c;
}

.action-btn.liked,
.action-btn.saved {
    background-color: #e91e63;
}

.action-btn svg {
    width: 20px;
    height: 20px;
}

.video-description {
    background-color: #1e3c47;
    padding: 20px;
    border-radius: 12px;
}

.video-description h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.video-description p {
    color: #a8c0d0;
    line-height: 1.6;
}

.related-section {
    max-width: 1200px;
    margin: 0 auto;
}

.policy-container,
.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.policy-title,
.contact-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.policy-last-updated {
    color: #a8c0d0;
    margin-bottom: 30px;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #a8e6ff;
}

.policy-section p {
    color: #c8e0e8;
    line-height: 1.7;
    margin-bottom: 15px;
}

.policy-section ul {
    margin-left: 25px;
    color: #c8e0e8;
}

.policy-section ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.policy-section a {
    color: #a8e6ff;
    text-decoration: underline;
}

.contact-subtitle {
    color: #a8c0d0;
    margin-bottom: 40px;
    font-size: 18px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info-section h2,
.contact-form h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #a8e6ff;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background-color: #1e3c47;
    border-radius: 10px;
}

.contact-info-item svg {
    width: 28px;
    height: 28px;
    color: #a8e6ff;
    flex-shrink: 0;
}

.contact-info-item h3 {
    margin-bottom: 5px;
    font-size: 16px;
}

.contact-info-item p {
    color: #a8c0d0;
    margin: 0;
}

.contact-form {
    background-color: #1e3c47;
    padding: 30px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #3a7a8c;
    border-radius: 8px;
    background-color: #2c5c6c;
    color: white;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #a8e6ff;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #3a7a8c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #4a8a9c;
}

.faq-section {
    background-color: #1e3c47;
    padding: 30px;
    border-radius: 12px;
}

.faq-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #a8e6ff;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #3a7a8c;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-item p {
    color: #a8c0d0;
    line-height: 1.6;
}

.faq-item a {
    color: #a8e6ff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .video-detail-title {
        font-size: 22px;
    }
    
    .video-stats {
        gap: 15px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .policy-title,
    .contact-title {
        font-size: 28px;
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background-color: #4caf50;
}

.notification-error {
    background-color: #f44336;
}

.notification-info {
    background-color: #2196f3;
}

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal.show {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    background-color: #2c5c6c;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-modal.show .search-modal-content {
    transform: translateY(0);
}

.search-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #3a7a8c;
}

.search-modal-header h2 {
    font-size: 20px;
}

.close-search {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-search:hover {
    background-color: #3a7a8c;
    border-radius: 8px;
}

.close-search svg {
    width: 24px;
    height: 24px;
}

.search-input {
    width: 100%;
    padding: 16px 20px;
    border: none;
    background-color: #1e3c47;
    color: white;
    font-size: 16px;
    outline: none;
}

.search-input::placeholder {
    color: #a8c0d0;
}

.search-results {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.search-hint {
    padding: 40px 20px;
    text-align: center;
    color: #a8c0d0;
}

.search-result {
    display: flex;
    gap: 15px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-result:hover {
    background-color: #1e3c47;
}

.search-result img {
    width: 120px;
    height: 68px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    display: flex;
    align-items: center;
}

.search-result-title {
    font-size: 14px;
    font-weight: 500;
}

.video-card {
    background-color: #1e3c47;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.icon-btn {
    background: transparent;
    border: 2px solid white;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    color: white;
    transition: background-color 0.2s, transform 0.2s;
}

.icon-btn:hover {
    background-color: #3a7a8c;
    transform: scale(1.05);
}

.view-more-btn {
    background-color: #3a7a8c;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.view-more-btn:hover {
    background-color: #4a8a9c;
    transform: scale(1.05);
}

.ad-container {
    width: 100%;
    min-height: 60px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
}

.ad-container::before {
    content: attr(data-ad-id);
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #3a7a8c;
}

.social-links-section h3 {
    margin-bottom: 15px;
    color: #a8e6ff;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #3a7a8c;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.social-link:hover {
    background-color: #4a8a9c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background-color: #1e3c47;
    z-index: 10001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar-menu.show {
    transform: translateX(0);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #3a7a8c;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h2 {
    font-size: 20px;
    color: #a8e6ff;
}

.close-sidebar {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.close-sidebar:hover {
    background-color: #3a7a8c;
}

.close-sidebar svg {
    width: 24px;
    height: 24px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.sidebar-section {
    margin-bottom: 20px;
}

.sidebar-section-title {
    padding: 10px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #88c0d0;
    font-weight: 600;
}

.sidebar-link {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-link:hover,
.sidebar-link.active {
    background-color: #3a7a8c;
    color: #a8e6ff;
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .sidebar-menu {
        width: 260px;
    }
    
    .ad-container {
        min-height: 50px;
        margin: 15px 0;
    }
    
    .social-links {
        flex-direction: column;
    }
    
    .social-link {
        justify-content: center;
    }
}

