/* ============ Base ============ */
@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-Bold.ttf');
}
@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans-SemiBold.ttf');
}
@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans_Condensed-Regular.ttf');
}

*, ::before, ::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
}

body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #1676c2;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-style: normal;
}

h1, h2, h3 {
    color: #fff;
    font-weight: 700;
    line-height: normal;
}

#nav {
    max-width: 600px;
    width: 100%;
    margin: 0 auto 20px;
    padding: 0;
}

#nav ul {
    padding: 5px 0;
    border-bottom: 1px solid #fff;
}

ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px 30px;
    flex-wrap: wrap;
}

#text ul li,
ul li a, ul li {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

#text ul li {
    padding: 5px 0;
    list-style-type: disc;
    margin-left: 20px;
    line-height: 18px;
    text-align: justify;
}

#text ul {
    display: block;
}

#container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0;
}

.main_logo {
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.main_logo img {
    max-width: 221px;
    width: 100%;
    height: auto;
    text-align: center;
    margin-bottom: 10px;
}

.logo_svg {
    width: 221px;
    height: 125px;
    margin-bottom: 10px;
}

.text-left {
    text-align: left;
}

/* ============ Search Bar ============ */
#Search_form {
    display: flex;
    flex-direction: row;
    place-content: center;
    align-items: center;
    gap: 5px;
    position: relative;
    margin-left: 2px;
    background: #fff;
    height: 42px;
}

#submit-btn {
    background: transparent;
    padding: 12px;
    background-color: transparent;
    border-radius: 10px;
    border: none;
    outline: none;
    width: 48px;
    height: 48px;
    cursor: pointer;
}

#submit-btn img,
#submit-btn svg {
    width: 24px;
    height: 24px;
}

#url, #url::placeholder {
    color: #2c2c2c;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
}

#url {
    background: #fff;
    padding: 11px 13px;
    max-width: calc(100% - 48px);
    width: 100%;
    margin-left: 2px;
    border: none;
    outline: none;
    border-radius: 0;
}

#url:focus {
    border: 2px solid #0068d8;
    outline: #fff solid 2px;
}

.SearchBar p {
    padding: 15px 0 0;
}

.SearchBar p, .SearchBar p a {
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
}

.SearchBar p a {
    text-decoration-line: underline;
}

/* ============ Suggestions ============ */
#suggestion_box {
    position: absolute;
    width: 100%;
    top: 54px;
    right: 0;
    z-index: 999;
}

#suggestion_box ul#suggestions {
    background: #fff;
    color: #000;
    text-align: left;
    padding: 5px 0;
    line-height: normal;
    list-style: none;
    margin: 0;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

#suggestion_box ul#suggestions li {
    color: #000;
}

ul#suggestions li.search_result {
    padding: 10px 15px;
    cursor: pointer;
    margin: 0 8px;
    color: #2c2c2c;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    border-radius: 5px;
}

ul#suggestions li.search_result:hover,
ul#suggestions li.search_result.active {
    background: #e8e8e8;
    color: #000;
}

/* ============ Text Content ============ */
#text, .text-left {
    text-align: left;
}

#text h1 {
    padding: 40px 0 20px;
    font-size: 26px;
    text-align: center;
}

#text h2 {
    font-size: 20px;
    padding: 5px 0 15px;
    color: #fff;
}

#text h3 {
    font-size: 16px;
    padding: 15px 0 10px;
    color: #fff;
}

#text p, #text p a {
    padding: 0 0 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 24px;
}

#text p a {
    text-decoration-line: underline;
}

#text ol {
    padding-left: 20px;
}

#text ol li {
    list-style-type: auto;
    padding: 5px 0;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 24px;
}

#text ul {
    display: block;
    padding: 0;
}

#text ul li {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

.p-40 {
    padding: 40px 0;
}

.pb-40 {
    padding: 40px 0 0;
}

/* ============ Search Results ============ */
.text-info {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 24px;
}

.search_results {
    width: 100%;
    margin-top: 20px;
}

.result_detail {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
}

/* Top row: title + duration + buttons */
.result_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 12px;
}

.videoInfo {
    flex: 1;
    min-width: 0;
}

#text .videoInfo .title {
    font-size: 14px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.videoDuration {
    font-size: 12px;
    color: #888;
}

.options {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.options a {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #0d47a1;
    border-radius: 3px;
    cursor: pointer;
    line-height: 1.4;
    border: none;
    text-decoration: none;
}

.options a:hover {
    background: #0a3a8a;
}

/* ============ Details Section (expands inside result_detail) ============ */
.details-section {
    border-top: 1px solid #eee;
    padding: 20px;
}

/* Progress/spinner area */
.progress {
    padding: 15px 0;
    text-align: center;
}

.progress i {
    font-style: normal;
    font-size: 14px;
    color: #2c2c2c;
    font-weight: 600;
}

.spin {
    width: 28px;
    height: 28px;
    margin: 8px auto 0;
    display: block;
    border: 3px solid #f0f0f0;
    border-top-color: #1676c2;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Media player sections */
.media_player_section {
    padding: 0 0 15px;
    text-align: center;
}

.audio_player {
    width: 100%;
    max-width: 500px;
    height: 44px;
    border-radius: 8px;
    outline: none;
}

.video_player_section {
    padding: 0 0 15px;
    text-align: center;
}

.video_player {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    outline: none;
    background: #000;
}

/* Quality download links list */
.quality_list {
    padding: 0;
    text-align: left;
}

#text .quality_list .quality_title {
    font-size: 14px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 12px;
    padding-bottom: 0;
}

.quality_links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.quality_links li {
    color: #2c2c2c;
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
}

.quality_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #f0f6ff;
    border: 1px solid #d0e0f8;
    border-radius: 6px;
    text-decoration: none;
    color: #0d47a1;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.15s, border-color 0.15s;
    cursor: pointer;
}

.quality_link:hover {
    background: #dde9fa;
    border-color: #0d47a1;
}

.quality_link .qlabel {
    color: #0d47a1;
}

.quality_link .qsize {
    color: #888;
    font-size: 12px;
    font-weight: 400;
}

.error_msg {
    color: #c0392b !important;
    font-size: 13px;
    padding: 10px 0;
}

/* Button row (Play Now / Download) */
.btn-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 15px 0 0;
}

.btn-row .btn-playnow,
.btn-row .btn-download {
    display: inline-block;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #0d47a1;
    border-radius: 3px;
    cursor: pointer;
    border: none;
    line-height: 1.4;
    text-decoration: none;
}

.btn-row .btn-playnow:hover,
.btn-row .btn-download:hover {
    background: #0a3a8a;
}

/* Video show area */
.video_show {
    margin-top: 15px;
    text-align: center;
}

.video_wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video_wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Active button states */
.options a.close_video {
    background: #c0392b !important;
}

.options a.close_download {
    background: #c0392b !important;
}

/* ============ Social Share ============ */
.social_share_icon {
    position: fixed;
    left: 0;
    display: block;
    opacity: 1;
    text-align: left;
    top: 50%;
    transform: translateY(-50%);
    z-index: 94034;
}

.shareButtons, .shareButtons a span {
    position: relative;
    vertical-align: top;
    white-space: nowrap;
}

.shareButtons {
    display: block;
    transition: 0.2s ease-in;
    border: none;
    line-height: 48px;
    margin-bottom: 0;
    opacity: 1;
    overflow: hidden;
    padding: 12px;
    text-align: left;
    font-size: 0;
    width: 48px;
    height: 48px;
}

.shareButtons a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shareButtons a img {
    height: 24px;
    width: 24px;
    margin-left: 0;
    vertical-align: top;
}

.shareButtons a span {
    display: inline-block;
    font-weight: 500;
    left: -35px;
    letter-spacing: 0.5px;
    opacity: 0;
    padding: 0 6px;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}

.st-total {
    background: #fff;
    color: #555;
    display: inline-block;
    line-height: 18px;
    margin-right: 0;
    min-height: 40px;
    max-width: 80px;
    opacity: 1;
    padding: 4px 0;
    text-align: center;
    width: 48px;
}

.st-total > p {
    display: block;
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 13px !important;
    line-height: 15px !important;
    color: #000 !important;
}

.st-total > p.st-shares {
    font-size: 11px;
    line-height: 11px;
}

.social_share_icon > div {
    clear: left;
    float: left;
}

/* Share button colors */
.shareButtons[data-network="facebook"] { background-color: #4267B2; }
.shareButtons[data-network="twitter"] { background-color: #000; }
.shareButtons[data-network="whatsapp"] { background-color: #25D966; }
.shareButtons[data-network="messenger"] { background-color: #448AFF; }
.shareButtons[data-network="telegram"] { background-color: #0088CC; }
.shareButtons[data-network="line"] { background-color: #00C300; }
.shareButtons[data-network="pinterest"] { background-color: #CB2027; }

@media (min-width: 600px) {
    .shareButtons:hover {
        width: 120px;
    }
    .shareButtons:hover a > span {
        opacity: 1;
        display: inline-block;
        left: 0;
    }
}

/* ============ Footer ============ */
footer {
    max-width: 600px;
    width: 100%;
    margin: 35px auto 15px;
    padding: 0;
    border: none;
}

footer p, footer p a {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
}

footer p {
    padding: 15px 0;
    border-top: 1px solid #d1e9ff;
}

/* ============ Responsive ============ */
@media only screen and (max-width: 600px) {
    #container, #nav, footer {
        padding: 0 10px;
    }
    #nav {
        margin: 0 auto 15px;
    }
    .main_logo {
        margin-bottom: 10px;
    }
    .result_row {
        padding: 12px 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    .options {
        width: 100%;
        justify-content: center;
    }
    .social_share_icon {
        display: flex;
        text-align: left;
        top: 100%;
        transform: translateY(-100%);
        width: 100%;
    }
    .shareButtons a span {
        display: none;
    }
    .social_share_icon > div {
        width: 100%;
        text-align: center;
    }
    .shareButtons:hover {
        width: 100%;
    }
}

@media only screen and (max-width: 450px) {
    h1, h2 {
        font-size: 18px;
        padding: 20px 0 15px;
    }
    .btn-row .btn-download, .btn-row .btn-playnow, h3 {
        font-size: 14px;
    }
    .main_logo {
        padding: 15px 0 25px;
    }
    .padding-bottom {
        padding: 0 0 10px;
    }
    h3 {
        padding: 10px 0;
    }
    footer {
        margin: 25px 0 15px;
    }
    ul {
        gap: 5px 20px;
    }
    .p-40 {
        padding: 25px 0;
    }
    .pb-40 {
        padding: 25px 0 0;
    }
    footer p {
        padding-bottom: 10px;
    }
    .details-section {
        padding: 15px;
    }
    .progress {
        padding: 10px 0;
    }
    .shareButtons[data-network="line"], .shareButtons[data-network="messenger"] {
        display: none !important;
    }
}

@media only screen and (max-width: 375px) {
    .shareButtons[data-network="telegram"] {
        display: none;
    }
}

/* ============ Page Content (FAQ, DMCA, Contact, Cutter, News) ============ */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #fff;
}

.page-content h1 {
    font-size: 26px;
    text-align: center;
    padding: 30px 0 20px;
    margin-bottom: 10px;
}

.page-content h2 {
    font-size: 18px;
    padding: 20px 0 10px;
    color: #fff;
    font-weight: 700;
}

.page-content h3 {
    font-size: 15px;
    padding: 15px 0 8px;
    color: #fff;
    font-weight: 700;
}

.page-content p {
    font-size: 13px;
    font-weight: 400;
    line-height: 24px;
    padding: 0 0 10px;
    color: #fff;
}

.page-content ul,
.page-content ol {
    padding-left: 20px;
    margin-bottom: 10px;
}

.page-content ul li,
.page-content ol li {
    font-size: 13px;
    font-weight: 400;
    line-height: 24px;
    padding: 5px 0;
    color: #fff;
}

.page-content ol li {
    list-style-type: decimal;
}

.page-content ul li {
    list-style-type: disc;
}

.page-content a {
    color: #fff;
    text-decoration: underline;
}

.page-content a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.faq-item {
    padding: 10px 0;
}

.news-item {
    padding: 8px 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.news-item:last-child {
    border-bottom: none;
}

/* Active nav link styling */
#nav ul li a.active {
    text-decoration: underline;
    font-weight: 700;
}

/* ============ Load More Button ============ */
.load_more_wrap {
    text-align: center;
    padding: 24px 0 12px;
}

.load_more_btn {
    display: inline-block;
    padding: 10px 48px;
    font-size: 14px;
    font-weight: 600;
    color: #1676c2;
    background: #fff;
    border: 2px solid #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Open Sans', sans-serif;
}

.load_more_btn:hover {
    background: #e3f2fd;
    border-color: #e3f2fd;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.load_more_btn:active {
    transform: translateY(0);
}
