/* Color Variables */
:root {
    /* Primary colors - Cerah untuk kontras optimal */
    --color-primary: #ff677f;       /* Merah muda lebih cerah */
    --color-primary-dark: #e6455e;
    --color-primary-light: #ff8c9e;
    
    /* Secondary colors - Lebih gelap tapi tetap memberikan kontras */
    --color-secondary: #1e4b8e;     /* Biru tua yang lebih cerah */
    --color-secondary-light: #2c5aa3;
    
    /* Accent colors - Memberikan kontras tinggi dengan background */
    --color-accent: #36d6e4;        /* Cyan lebih cerah */
    --color-accent-dark: #0e90fa;   /* Biru lebih cerah */
    --color-accent-light: #1aa3f0;
    
    /* Neutral colors - Background latar tetap gelap */
    --color-background: #121212;    /* Sedikit lebih cerah dari hitam murni */
    --color-background-light: #1e1e1e;
    --color-background-lighter: #2c2c2c;
    
    /* Text colors - Memastikan kontras yang tinggi */
    --color-text: #f0f0f0;          /* Hampir putih untuk keterbacaan */
    --color-text-light: #ffffff;    /* Putih murni */
    --color-text-muted: #e0e0e0;    /* Abu-abu sangat terang */
    --color-text-dimmed: #cccccc;   /* Abu-abu terang */
    --color-text-dark: #aaaaaa;     /* Abu-abu medium */
    
    /* Utility colors - Warna utilitas yang cerah */
    --color-success: #22e6a8;       /* Hijau yang lebih cerah */
    --color-success-dark: #0fb388;
    --color-danger: #ff5252;        /* Merah yang lebih cerah */
    --color-danger-dark: #e04646;
    --color-link: #5e9eff;          /* Biru link yang lebih cerah */
    --color-link-dark: #4080e0;
    
    /* Shadows - Tetap memberikan kedalaman */
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    --box-shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.6);
    
    /* Kontras untuk overlay text */
    --background-overlay: rgba(0, 0, 0, 0.8);
    --background-hover: rgba(255, 255, 255, 0.15);
}

/* General Styles */
body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

h2 {
    color: var(--color-text-light);
    display: inline-block;
    background-color: var(--color-secondary);
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    width: 180px;
}

.logo-image {
    height: 70px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
}

.logo-container .logo-image + .logo-text {
    display: none;
}

.logo {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: var(--color-background);
    max-width: 500px;
    margin: 10px auto;
}

.search-form input[type="search"] {
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid var(--color-background);
    border-radius: 5px;
    margin-right: 10px;
    width: 100%;
}

.search-form button {
    padding: 10px 15px;
    font-size: 16px;
    background-color: var(--color-danger);
    color: var(--color-text-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.search-form button:hover {
    background-color: var(--color-danger-dark);
    transform: translateY(-2px);
}

.navbar {
    background-color: var(--color-background);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid var(--color-secondary);
    padding: 10px 20px;
    justify-content: space-between;
}

#main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    background-color: rgba(15, 52, 96, 0.2);
    padding: 5px 15px;
    border-radius: 30px;
}

.navbar .nav-links li {
    margin: 0 5px;
}

.navbar .nav-links a {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    padding: 6px 12px;
    border-radius: 5px;
    display: block;
    font-weight: bold;
}

.navbar .nav-links a:hover {
    color: var(--color-text-light);
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background-color: rgba(233, 69, 96, 0.2);
}

.nav-toggle:hover {
    background-color: rgba(233, 69, 96, 0.3);
}

.nav-toggle .hamburger {
    width: 22px;
    height: 2px;
    background-color: var(--color-primary);
    display: block;
    position: relative;
    transition: all 0.3s ease-in-out;
    margin: 0 auto;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    content: '';
    width: 22px;
    height: 2px;
    background-color: var(--color-primary);
    display: block;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.nav-toggle .hamburger::before {
    top: -8px;
}

.nav-toggle .hamburger::after {
    top: 8px;
}

.nav-toggle.active .hamburger {
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(90deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(90deg);
}

.cuan728x90 {
    text-align: center;
    margin: 20px 0;
}

.cuan728x90 img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.video-item {
    background-color: var(--color-secondary);
    border: 1px solid var(--color-secondary-light);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-item:hover {
    transform: scale(1.05);
    box-shadow: var(--box-shadow-hover);
}

.video-item .title {
    margin: 10px;
    font-size: 16px;
    font-weight: bold;
    color: var(--color-text-light);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: normal;
    height: auto;
}

.video-item .video-info {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 14px;
    color: var(--color-text-dimmed);
    margin-top: 5px;
}

.video-item .upload-date,
.video-item .duration {
    font-size: 14px;
    color: var(--color-text-dimmed);
}

.video-item .duration i {
    margin-right: 5px;
}

.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    object-fit: contain;
    background-color: var(--color-secondary);
    z-index: 1;
}

.video-item:hover .video-preview {
    display: block;
}

.play-preview {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px;
    background-color: var(--color-primary);
    border: 1px solid var(--color-text-light);
    border-radius: 10px;
    color: var(--color-text-light);
    font-size: 12px;
    cursor: pointer;
    display: none;
}

.play-preview:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.thumbnail-container {
    position: relative;
    display: flex;
    justify-content: center;
    height: auto;
}

.duration-badge,
.upload-date-badge {
    position: absolute;
    bottom: 8px;
    background-color: var(--background-overlay);
    color: var(--color-text-light);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.duration-badge {
    right: 8px;
}

.upload-date-badge {
    left: 8px;
}

.thumbnail {
    width: 50%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thumbnailch {
    width: 100%;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thumbnailch2 {
    width: 100%;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thumbnailkr {
    width: 60%;
    height: 300px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thumbnailkr2 {
    width: 40%;
    height: 300px;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thumbnailasd {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--color-secondary-light);
}

.thumbnailjav {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.thumbnailjav2 {
    width: 50%;
    height: 200px;
    object-fit: cover;
}

.thumbnailbck {
    width: 50%;
    height: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.thumbnailbck2 {
    width: 30%;
    height: auto;
    object-fit: contain;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 5px;
}

.pagination-button {
    display: inline-block;
    padding: 8px 15px;
    background: var(--color-secondary);
    color: var(--color-text-light);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    font-weight: bold;
    border: 1px solid transparent;
}

.pagination-button:hover {
    background: var(--color-secondary-light);
    transform: translateY(-2px);
    border-color: var(--color-text-light);
}

.pagination-button.active {
    background: var(--color-accent-dark);
    cursor: default;
    border: 1px solid var(--color-text-light);
}

.pagination-ellipsis {
    padding: 8px 10px;
    color: var(--color-text-muted);
}

.hot51-stats {
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-text-muted);
    font-size: 14px;
}

.ad-banner {
    text-align: center;
    margin: 20px 0;
    padding: 10px 0;
}

.ad-banner .ad-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.video-player-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 25px;
    background-color: var(--color-background-light);
    border-radius: 8px;
    border: 2px solid var(--color-secondary-light);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.video-title {
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}

video {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.tomboljoin-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    padding: 0 15px;
    flex-wrap: wrap;
}

.tomboljoin {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    min-width: 200px;
    justify-content: center;
}

.tomboljoin-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.tomboljoin.vip {
    background: linear-gradient(135deg, var(--color-link), var(--color-link-dark));
}

.tomboljoin.vip:hover {
    background: linear-gradient(135deg, var(--color-link-dark), #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.tomboljoin.channel {
    background: linear-gradient(135deg, var(--color-success), var(--color-success-dark));
}

.tomboljoin.channel:hover {
    background: linear-gradient(135deg, var(--color-success-dark), #065f46);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.tomboljoin.app {
    background: linear-gradient(135deg, var(--color-danger), var(--color-danger-dark));
}

.tomboljoin.app:hover {
    background: linear-gradient(135deg, var(--color-danger-dark), #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.homepage-info {
    background-color: var(--color-background);
    padding: 20px;
    margin-bottom: 20px;
}

.homepage-info h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--color-text);
}

.homepage-info p {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.homepage-info a {
    text-decoration: none;
    color: var(--color-accent-dark);
}

.homepage-info a:hover {
    color: #23527c;
}

.footer {
    background-color: var(--color-background);
    color: var(--color-text);
    text-align: center;
    padding: 20px;
    border-top: 2px solid var(--color-secondary);
    margin-bottom: 100px;
}

.footer-content {
    margin-bottom: 10px;
}

.footer-heading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-partners {
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footer-links li {
    margin: 0 5px;
}

.footer-links a {
    color: var(--color-text-light);
    background-color: var(--background-hover);
    text-decoration: none;
    transition: all 0.3s;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    border: 1px solid transparent;
}

.footer-links a:hover {
    color: var(--color-text-light);
    background-color: var(--color-primary);
    border-color: var(--color-text-light);
    transform: translateY(-3px);
}

.footer-copyright {
    font-size: 14px;
}

.pengumuman {
    background-color: var(--color-background);
    padding: 10px;
    max-width: 95%;
    margin: 0 auto;
    text-align: center;
}

.pengumuman p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.link-custom {
    color: var(--color-primary);
    text-decoration: none;
}

.link-custom:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}

.login-form {
    width: 300px;
    margin: 50px auto;
    padding: 25px;
    border: 2px solid var(--color-accent-dark);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    background-color: var(--color-background-light);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
}

.input-group input[type="text"],
.input-group input[type="password"] {
    width: 90%;
    padding: 12px;
    border: 2px solid var(--color-secondary-light);
    border-radius: 5px;
    display: block;
    background-color: var(--color-background);
    color: var(--color-text-light);
    font-size: 16px;
}

.password-input {
    position: relative;
}

.password-input input[type="password"] {
    width: 90%;
    padding: 12px;
    border: 2px solid var(--color-secondary-light);
    border-radius: 5px;
    background-color: var(--color-background);
    color: var(--color-text-light);
}

.password-eye {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
    background-color: var(--color-background-light);
    padding: 5px;
    border-radius: 50%;
}

.password-eye i {
    font-size: 18px;
    color: var(--color-primary);
}

.password-eye i#hide-password {
    display: none;
}

button[type="submit"] {
    padding: 10px 15px;
    font-size: 16px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

button[type="submit"]:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.info-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--color-text-dark);
}

.info-text a {
    color: var(--color-primary);
    text-decoration: none;
}

.info-text a:hover {
    color: var(--color-primary-light);
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--color-primary);
    color: var(--color-text-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-text-light);
    cursor: pointer;
    display: none;
    font-size: 22px;
    z-index: 10000;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

#backToTop:hover {
    background: var(--color-primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

.footer-legal {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer-legal a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-danger);
}

.policy-content {
    text-align: left;
    line-height: 1.6;
    color: var(--color-text-light);
}

.policy-content h2 {
    color: var(--color-text-light);
    margin: 20px 0 10px;
    font-size: 1.2em;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-content li {
    margin-bottom: 5px;
}

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

.hot51-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.hot51-item {
    display: flex;
    flex-direction: column;
    background: var(--color-background-light);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    box-shadow: var(--box-shadow);
}

.hot51-item:hover {
    transform: translateY(-5px);
}

.host-thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    background-color: var(--color-background);
}

.host-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--color-background);
}

.host-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.host-info h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.host-info p {
    margin: 4px 0;
    color: var(--color-text-muted);
    font-size: 13px;
}

.hot51-buttons {
    margin-top: 10px;
}

.hot51-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    background: var(--color-accent-dark);
    color: var(--color-text-light);
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
    font-size: 14px;
}

.hot51-link:hover {
    background: var(--color-accent-light);
}

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

.hot51-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-background-lighter);
}

.hot51-header h1 {
    margin-bottom: 15px;
    color: var(--color-text-light);
    font-size: 28px;
}

.host-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.host-details p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 14px;
}

.host-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.back-button, .visit-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.back-button {
    background: var(--color-background-lighter);
    color: var(--color-text-light);
}

.back-button:hover {
    background: #444;
}

.visit-button {
    background: var(--color-primary);
    color: var(--color-text-light);
}

.visit-button:hover {
    background: var(--color-primary-dark);
}

.no-videos {
    text-align: center;
    padding: 40px 0;
    color: var(--color-text-muted);
}

.host-aliases {
    margin: 5px 0 10px;
    padding: 5px 8px;
    background: var(--color-background-lighter);
    border-radius: 4px;
    font-size: 13px;
}

.host-aliases p {
    margin: 0;
    color: var(--color-text-muted);
}

.video-info-banner {
    background-color: var(--color-secondary-light);
    border-left: 5px solid var(--color-primary);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
    box-shadow: var(--box-shadow);
}

.video-info-banner p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.6;
}

.video-info-banner i {
    margin-right: 10px;
    color: var(--color-primary);
    font-size: 18px;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-text-light);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    margin-bottom: 1rem;
    border: 2px solid transparent;
}

.telegram-link:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-3px) scale(1.05);
    border-color: var(--color-text-light);
}

.telegram-icon {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 0;
    }

    .logo-container {
        width: auto;
    }

    .logo-image {
        height: 50px;
        margin-right: 0;
    }

    .navbar {
        padding: 10px 15px;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
        order: 3;
    }

    #main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        display: block;
    }

    .navbar .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--color-background);
        border-radius: 0;
        border-top: 2px solid var(--color-primary);
        padding: 0;
        align-items: center;
        box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    }

    .navbar .nav-links.nav-links-visible {
        display: flex;
        padding: 10px 0;
    }

    .navbar .nav-links li {
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar .nav-links li:last-child {
        border-bottom: none;
    }

    .navbar .nav-links a {
        padding: 15px 20px;
        width: 100%;
        font-size: 16px;
    }

    .cuan728x90 {
        display: none;
    }

    .bannerheadermobile {
        text-align: center;
        margin: 20px 0;
        padding: 10px 0;
    }

    .bannerheadermobile {
        max-width: 100%;
        height: auto;
    }

    .video-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .play-preview {
        display: block;
    }

    .footer {
        padding: 15px 10px;
    }
    
    .footer-heading {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .footer-links li {
        margin: 5px 0;
        padding-bottom: 5px;
        width: 90%;
        text-align: center;
        border-bottom: 1px solid var(--color-secondary);
    }
    
    .footer-links li:last-child {
        border-bottom: none;
    }

    .footer-links a {
        padding: 12px 0;
        width: 100%;
        display: block;
        border-radius: 4px;
    }
    
    .footer a[href*="privacy-policy"],
    .footer a[href*="disclaimer"] {
        display: block;
        width: 90%;
        margin: 8px auto;
        padding: 8px 5px;
    }
    
    .footer-copyright {
        margin-top: 15px;
        font-size: 13px;
        line-height: 1.4;
    }

    .footer-legal {
        font-size: 12px;
        margin-top: 8px;
        padding: 0 15px;
        line-height: 1.4;
    }

    .tomboljoin-container {
        flex-direction: column;
        align-items: stretch;
    }

    .tomboljoin {
        width: 90%;
        padding: 10px 16px;
        min-width: unset;
    }

    .tomboljoin-icon {
        width: 20px;
        height: 20px;
    }

    .tomboljoin span {
        font-size: 14px;
    }

    #backToTop {
        width: 35px;
        height: 35px;
        font-size: 18px;
        bottom: 80px;
        right: 15px;
    }

    .video-info-banner {
        padding: 10px;
    }

    .video-info-banner p {
        font-size: 13px;
    }

    .hot51-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .host-actions {
        flex-direction: column;
        gap: 10px;
    }

    .back-button, .visit-button {
        text-align: center;
    }
    
    /* Contact/Request/Takedown responsive styles */
    .separator span {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .contact-info-section,
    .request-info, 
    .takedown-info {
        padding: 15px;
    }
    
    .takedown-steps h3 {
        font-size: 16px;
    }
    
    .takedown-steps li {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .video-gallery {
        grid-template-columns: 1fr;
    }

    .pagination {
        gap: 3px;
    }

    .pagination-button {
        padding: 6px 10px;
        font-size: 13px;
    }

    .hot51-grid {
        grid-template-columns: 1fr;
    }

    .host-details {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 90%;
        margin: 0 auto;
    }

    .login-form {
        width: 90%;
        margin: 10px auto;
    }

    .logo {
        max-width: 80%;
    }

    #backToTop {
        width: 30px;
        height: 30px;
        font-size: 16px;
        bottom: 70px;
        right: 10px;
    }
    
    /* Contact/Request/Takedown responsive styles for smaller screens */
    .video-player-title {
        font-size: 22px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    .takedown-steps ol {
        margin-left: 10px;
        padding-left: 10px;
    }
    
    .separator {
        margin: 20px 0;
    }

    .footer {
        padding: 12px 5px;
        margin-bottom: 80px;
    }
    
    .footer-heading {
        font-size: 15px;
    }
    
    .footer-links a {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
    
    .footer-legal {
        font-size: 11px;
    }
}

/* Contact, Request and Takedown Page Styles */
.separator {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: var(--color-primary);
}

.separator hr {
    flex: 1;
    border: none;
    height: 1px;
    background-color: var(--color-background-lighter);
}

.separator span {
    padding: 0 15px;
    font-weight: bold;
    font-size: 18px;
}

.contact-info-section,
.request-info, 
.takedown-info {
    background-color: var(--color-secondary);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid var(--color-primary);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-info-section:hover,
.request-info:hover, 
.takedown-info:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.contact-info-section {
    border-left-color: var(--color-primary);
}

.request-info {
    border-left-color: var(--color-accent);
}

.takedown-info {
    border-left-color: var(--color-accent);
}

.takedown-steps h3 {
    color: var(--color-accent);
    font-size: 18px;
    margin: 15px 0 12px;
}

.takedown-steps ol {
    margin-left: 20px;
    padding-left: 15px;
}

.takedown-steps li {
    margin-bottom: 10px;
    line-height: 1.5;
    color: var(--color-text);
}

/* Footer element specific adjustments for better contrast */
.footer a[href$="/privacy-policy"] {
    color: var(--color-text-light);
    font-weight: bold;
}

.footer a[href$="/disclaimer"] {
    color: var(--color-text-light);
    font-weight: bold;
}

/* Fix for submit button specific contrast */
button[type="submit"][aria-label="Tombol Cari"] {
    background-color: var(--color-danger);
    color: var(--color-text-light);
    font-weight: bold;
}

/* Footer specific improvements */
.footer-content a {
    color: var(--color-text-light);
    font-weight: bold;
    text-decoration: underline;
}

/* Fix for privacy-policy & disclaimer links in footer */
.footer a[href*="privacy-policy"],
.footer a[href*="disclaimer"] {
    color: var(--color-accent);
    font-weight: bold;
    text-decoration: underline;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: var(--background-hover);
    display: inline-block;
    margin: 5px;
}

.footer a[href*="privacy-policy"]:hover,
.footer a[href*="disclaimer"]:hover {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
}

/* Accessibility Focus Styles */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* Skip to content link for keyboard users */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 8px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
}
