/* Common styles for all pages */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.header {
    background-color: #ff6a22;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
}

.header a {
    color: white;
    text-decoration: none;
}

.header a:hover {
    text-decoration: underline;
}

.logo-container {
    background-color: white;
    padding: 10px;
    text-align: center;
}

.logo {
    max-width: 200px;
    height: auto;
}

.description {
    background-color: #ffccb3;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
}

/* VJ specific styles */
.vj-list {
    margin: 10px 0;
}

.vj-item {
    background-color: #ffdecc;
    margin-bottom: 5px;
    transition: background-color 0.2s;
}

.vj-item:hover {
    background-color: #ffccb3;
}

.vj-link {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: inherit;
}

.vj-name {
    font-size: 16px;
    font-weight: bold;
    color: #4d2600;
}

.vj-stats {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.vj-stats span {
    margin-right: 15px;
}

.total-count {
    font-weight: bold;
}

/* Update search container styles */
.search-container {
    background-color: white;
    padding: 15px;
    display: flex;
    justify-content: center;
}

/* Style Google Custom Search */
.gsc-control-cse {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.gsc-search-box {
    max-width: 600px;
    margin: 0 auto !important;
}

.search-input {
    width: calc(100% - 50px);
    max-width: 400px;
    padding: 8px;
    border: 1px solid #ddd;
}

.search-button {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 8px 12px;
    cursor: pointer;
}

.contact-info {
    background-color: #ffdecc;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

.contact-info a {
    color: #ff4500 !important;
    font-weight: bold;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.download-section {
    background-color: #ff6a22;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    background-color: #ff8c42;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.download-section-header {
    background-color: white;
    text-align: center;
    padding: 10px;
}

.download-title-header {
    color: #ff6a22;
    font-weight: bold;
    font-size: 18px;
}

.page-title {
    background-color: #ff8c42;
    color: white;
    padding: 10px;
    text-align: center;
    margin: 5px 0;
}

.movie-title {
    background-color: #ff8c42;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    color: white;
}

.movie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 15px;
    text-align: center;
}

.movie-poster {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    border: 1px solid #ddd;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.download-info {
    background-color: #ffdecc;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    width: 100%;
    margin-bottom: 5px;
    box-sizing: border-box;
}

.movie-details {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 5px;
}

.detail-item {
    background-color: #ffdecc;
    padding: 15px;
    margin-bottom: 5px;
    line-height: 1.5;
}

.detail-item b {
    font-weight: bold;
    color: #4d2600;
}

.download-button {
    display: block;
    background-color: #4d2600;
    color: white;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1px;
}

.download-button:hover {
    background-color: #331a00;
}

/* Series specific styles */
.season-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.season-item {
    background-color: #ffdecc;
    padding: 15px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.season-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.season-link:hover .season-item {
    background-color: #ff8c42;
}

/* Episodes specific styles */
.episode-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.episode-item {
    background-color: #ffdecc;
    padding: 15px;
    margin-bottom: 5px;
}

.episode-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.episode-link:hover .episode-item {
    background-color: #ff8c42;
}

.episode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.episode-title {
    font-weight: bold;
}

.episode-date {
    color: #666;
    font-size: 0.9em;
}

/* Categories specific styles */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    padding: 12px;
    background-color: #ffdecc;
    margin-bottom: 5px;
}

.category-item:hover {
    background-color: #ffccb3;
}

.category-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.count {
    color: #666;
    font-size: 0.9em;
}

/* Categories page specific styles */
.category-count {
    background-color: #ffdecc;
    padding: 10px;
    text-align: center;
    margin: 5px 0;
    font-size: 14px;
}

.sort-options {
    text-align: center;
    padding: 15px;
    background-color: #ffdecc;
    margin: 5px 0;
}

.sort-options a {
    color: #4d2600;
    text-decoration: none;
    padding: 5px 10px;
}

.sort-options a.active {
    font-weight: bold;
    color: #ff6a22;
}

.letter-navigation {
    text-align: center;
    padding: 15px;
    background-color: #ffdecc;
    margin: 5px 0;
    line-height: 2;
}

.letter-button {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin: 2px;
    background-color: #fff;
    color: #4d2600;
    text-decoration: none;
    border-radius: 3px;
}

.letter-button:hover,
.letter-button.active {
    background-color: #ff8c42;
    color: white;
}

/* Live search dropdown styles */
.live-search-container { width: 100%; max-width: 320px; }
.live-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    z-index: 1000;
    max-height: 320px;
    overflow: auto;
    border-radius: 4px;
}
.live-search-item {
    padding: 8px 10px;
    border-bottom: 1px solid #f2f2f2;
    font-size: 14px;
    color: #333;
}
.live-search-item:last-child { border-bottom: none; }
.live-search-item:hover { background:#f6f6f6; cursor:pointer; }
.live-search-meta { display:block; color:#777; font-size:12px; margin-top:4px; }



.movie-link, .series-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.movie-item, .series-item {
    background-color: #ffdecc;
    padding: 12px;
    margin-bottom: 5px;
    transition: background-color 0.2s;
}

.movie-item:hover, .series-item:hover {
    background-color: #ffccb3;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #ffdecc;
    margin-top: 5px;
}

.pagination a {
    padding: 5px 10px;
    background-color: #ff8c42;
    color: white;
    text-decoration: none;
    border-radius: 3px;
}

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

.pagination span {
    color: #4d2600;
}

/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: #ffdecc;
    margin-top: 5px;
}

.page-link {
    padding: 5px 10px;
    background-color: #ff8c42;
    color: white;
    text-decoration: none;
    border-radius: 3px;
}

.page-link:hover {
    background-color: #ff6a22;
}

/* Common elements */
a {
    color: inherit;
    text-decoration: none;
}

.footer {
    background-color: #ff6a22;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
}

/* Captcha specific styles */
.captcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: white;
}

.captcha-image {
    background-color: #f0f0f0;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    text-align: center;
}

.captcha-input {
    padding: 8px;
    width: 200px;
    margin-bottom: 15px;
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}

.captcha-text {
    font-family: 'Courier New', monospace;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 5px;
    color: #4d2600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    padding: 10px;
    user-select: none;
}

/* Download page specific styles */
.movie-info {
    background-color: #ffdecc;
    padding: 15px;
    text-align: center;
    margin-bottom: 5px;
}

.movie-info h1 {
    margin: 0;
    font-size: 18px;
    color: #4d2600;
}

.category {
    margin: 5px 0 0;
    color: #666;
}

.instruction {
    text-align: center;
    padding: 10px;
    background-color: #ffdecc;
    margin-bottom: 5px;
}

.info-section {
    margin-top: 20px;
    background-color: #fff;
    padding: 15px;
}

.info-header {
    background-color: #ff8c42;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.info-list {
    padding: 15px 15px 15px 35px;
    margin: 0;
    line-height: 1.5;
}

.info-list li {
    margin-bottom: 10px;
}

.free-download-btn {
    background-color: #0099cc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    font-weight: bold;
    font-size: 16px;
}

.top-banner {
    background-color: #ffdecc;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    color: #4d2600;
    margin-bottom: 5px;
}

/* Index page specific styles */
.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-item {
    background-color: #ffdecc;
    padding: 12px;
    margin-bottom: 5px;
    font-size: 14px;
}

.content-item:hover {
    background-color: #ffccb3;
}

.series-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.date {
    color: #666;
    font-size: 0.9em;
}

/* Series details page specific styles */
.series-header {
    background-color: #ff8c42;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.season-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.season-item {
    background-color: #ffdecc;
    padding: 15px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.season-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.season-link:hover .season-item {
    background-color: #ffccb3;
}

.episodes-count {
    color: #666;
    font-size: 0.9em;
}

.detail-item {
    background-color: #ffdecc;
    padding: 15px;
    margin-bottom: 5px;
    line-height: 1.5;
}

.detail-item b {
    color: #4d2600;
}

.movie-content {
    padding: 15px;
    text-align: center;
    background-color: #fff;
}

/* Movies page specific styles */
.sort-options {
    background-color: #ffdecc;
    padding: 15px;
    text-align: center;
    margin-bottom: 5px;
}

.sort-options a {
    color: #4d2600;
    text-decoration: none;
    padding: 5px 10px;
}

.sort-options a.active {
    font-weight: bold;
    color: #ff6a22;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #ffdecc;
    margin-top: 5px;
}

.pagination a {
    padding: 5px 10px;
    background-color: #ff8c42;
    color: white;
    text-decoration: none;
    border-radius: 3px;
}

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

.pagination span {
    color: #4d2600;
}


