* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    min-height: 100vh;
}

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

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #1b1b1b;
    border-bottom: 1px solid #333;
    padding: 8px 0;
}

.top-bar .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.logo-img {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 32px;
    width: auto;
}

.red-link {
    color: #c00 !important;
}

.logo-area .tagline {
    font-size: 11px;
    color: #888;
    margin-left: 8px;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-actions a {
    color: #ccc;
    font-size: 12px;
}

.user-actions a:hover {
    color: #fff;
}

.btn-join {
    background: #4CAF50;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 12px;
    border: none;
    cursor: pointer;
}

.btn-join:hover {
    background: #45a049;
    text-decoration: none !important;
}

.btn-upload {
    background: #555;
    color: #fff !important;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}

.btn-upload:hover {
    background: #666;
    text-decoration: none !important;
}

/* ===== MAIN NAV ===== */
.main-nav {
    background: #141414;
    border-bottom: 1px solid #222;
}

.main-nav .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-tabs {
    display: flex;
    gap: 0;
}

.nav-tabs li a {
    display: block;
    padding: 10px 14px;
    color: #ccc;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.nav-tabs li a:hover {
    color: #fff;
    background: #222;
    text-decoration: none;
}

.nav-tabs li a.active {
    color: #fff;
    border-bottom-color: #c00;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    width: 260px;
    padding: 7px 12px;
    border: 1px solid #444;
    border-right: none;
    border-radius: 3px 0 0 3px;
    background: #222;
    color: #fff;
    font-size: 12px;
    outline: none;
}

.search-box input::placeholder {
    color: #777;
}

.search-box input:focus {
    border-color: #c00;
}

.search-box button {
    padding: 7px 14px;
    background: #c00;
    color: #fff;
    border: 1px solid #c00;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    font-size: 13px;
}

.search-box button:hover {
    background: #a00;
}

/* ===== SUB NAV / FILTER ===== */
.sub-nav {
    background: #111;
    border-bottom: 1px solid #222;
    padding: 0;
}

.sub-nav .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sub-nav-tabs {
    display: flex;
    gap: 0;
}

.sub-nav-tabs li a {
    display: block;
    padding: 8px 12px;
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.sub-nav-tabs li a:hover {
    color: #fff;
    text-decoration: none;
}

.sub-nav-tabs li a.active {
    color: #c00;
    font-weight: bold;
}

/* ===== CONTENT ===== */
.content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 15px;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

.content-header h2 {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.content-header h2 span {
    color: #c00;
}

.period-tabs {
    display: flex;
    gap: 2px;
}

.period-tabs a {
    padding: 4px 10px;
    color: #999;
    font-size: 11px;
    border-radius: 3px;
    transition: all 0.2s;
}

.period-tabs a:hover {
    color: #fff;
    background: #333;
    text-decoration: none;
}

.period-tabs a.active {
    background: #c00;
    color: #fff;
}

/* ===== VIDEO GRID ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.video-card {
    background: #111;
    border-radius: 3px;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.thumb-wrapper {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a1a;
}

.thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-card:hover .thumb-wrapper img {
    transform: scale(1.05);
}

.duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 2px 5px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: bold;
}

.hd-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #c00;
    color: #fff;
    padding: 1px 5px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: bold;
}

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

.video-title {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.3;
    max-height: 32px;
    overflow: hidden;
    margin-bottom: 5px;
}

.video-title:hover {
    color: #c00;
    text-decoration: none;
}

.video-channel {
    display: block;
    color: #999;
    font-size: 11px;
    margin-bottom: 4px;
}

.video-channel:hover {
    color: #c00;
    text-decoration: none;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 11px;
}

.video-meta .views {
    color: #888;
}

.video-meta .rating {
    color: #4CAF50;
    font-weight: bold;
}

.video-meta .rating.low {
    color: #f44336;
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #222;
}

.categories-section h3 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 12px;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.category-tags a {
    display: inline-block;
    padding: 5px 12px;
    background: #1a1a1a;
    color: #ccc;
    border: 1px solid #333;
    border-radius: 3px;
    font-size: 11px;
    transition: all 0.2s;
}

.category-tags a:hover {
    background: #c00;
    border-color: #c00;
    color: #fff;
    text-decoration: none;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 30px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 6px 12px;
    background: #1a1a1a;
    color: #ccc;
    border: 1px solid #333;
    border-radius: 3px;
    font-size: 12px;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}

.pagination .active {
    background: #c00;
    border-color: #c00;
    color: #fff;
    font-weight: bold;
}

.pagination .dots {
    background: none;
    border: none;
    color: #666;
}

.pagination .next {
    background: #c00;
    border-color: #c00;
    color: #fff;
    font-weight: bold;
}

.pagination .next:hover {
    background: #a00;
}

/* ===== FOOTER ===== */
.site-footer {
    background: #111;
    border-top: 1px solid #222;
    padding: 25px 0;
    margin-top: 30px;
}

.site-footer .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-links a {
    color: #888;
    font-size: 11px;
}

.footer-links a:hover {
    color: #c00;
}

.footer-info {
    color: #555;
    font-size: 11px;
    line-height: 1.6;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-bottom {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom .copyright {
    color: #555;
    font-size: 11px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    color: #666;
    font-size: 11px;
}

.footer-social a:hover {
    color: #c00;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .logo-area .tagline {
        display: none;
    }

    .search-box input {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .nav-tabs li a {
        padding: 8px 8px;
        font-size: 11px;
    }

    .user-actions {
        gap: 8px;
    }

    .search-box {
        display: none;
    }

    .top-bar .container {
        flex-wrap: wrap;
    }

    .main-nav .container {
        flex-wrap: wrap;
    }

    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

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

    .nav-tabs {
        flex-wrap: wrap;
    }

    .sub-nav-tabs {
        flex-wrap: wrap;
    }

    .logo-area .logo,
    .logo-area .logo-suffix {
        font-size: 18px;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ===== MOBILE MENU TOGGLE ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

/* ===== PREMIUM BANNER ===== */
.premium-banner {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid #c00;
    border-radius: 4px;
    padding: 12px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.premium-banner .premium-text {
    color: #fff;
    font-size: 13px;
}

.premium-banner .premium-text strong {
    color: #c00;
}

.premium-banner .btn-premium {
    background: #c00;
    color: #fff;
    padding: 8px 20px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.premium-banner .btn-premium:hover {
    background: #a00;
    text-decoration: none;
}

/* ===== CHANNEL CARDS ===== */
.channels-row {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.channel-card {
    flex: 0 0 140px;
    text-align: center;
    padding: 10px;
    background: #111;
    border-radius: 4px;
    transition: background 0.2s;
}

.channel-card:hover {
    background: #1a1a1a;
    text-decoration: none;
}

.channel-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 8px;
    overflow: hidden;
    background: #222;
}

.channel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.channel-card .channel-name {
    color: #fff;
    font-size: 11px;
    font-weight: bold;
}

.channel-card .channel-vids {
    color: #888;
    font-size: 10px;
    margin-top: 3px;
}

/* ===== MODAL OVERLAY ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 30px;
    max-width: 440px;
    width: 90%;
    position: relative;
    color: #fff;
    font-family: Verdana, Geneva, sans-serif;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

.modal-input {
    display: block;
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    background: #111;
    border: 1px solid #444;
    border-radius: 3px;
    color: #fff;
    font-size: 13px;
    outline: none;
    font-family: Verdana, Geneva, sans-serif;
}

.modal-input:focus {
    border-color: #c00;
}

.btn-modal-submit {
    display: block;
    width: 100%;
    padding: 10px;
    background: #c00;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
    font-family: Verdana, Geneva, sans-serif;
}

.btn-modal-submit:hover {
    background: #a00;
}

.modal-switch {
    text-align: center;
    margin-top: 15px;
    color: #888;
    font-size: 12px;
}

.modal-switch a {
    color: #c00;
}

/* ===== RED PROMO MODAL ===== */
.red-promo {
    text-align: center;
}

.red-features {
    list-style: none;
    text-align: left;
    margin: 15px auto;
    max-width: 280px;
}

.red-features li {
    padding: 6px 0;
    color: #ccc;
    font-size: 13px;
    border-bottom: 1px solid #222;
}

.red-price {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    margin: 15px 0;
}

.red-price span {
    font-size: 14px;
    color: #888;
    font-weight: normal;
}

.btn-red-signup {
    display: inline-block;
    padding: 12px 40px;
    background: #c00;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    font-family: Verdana, Geneva, sans-serif;
}

.btn-red-signup:hover {
    background: #a00;
}

/* ===== UPLOAD MODAL ===== */
.upload-zone {
    border: 2px dashed #444;
    border-radius: 6px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 15px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.upload-zone:hover {
    border-color: #c00;
}

.upload-icon {
    font-size: 40px;
    color: #c00;
    margin-bottom: 10px;
}

/* ===== LANGUAGE DROPDOWN ===== */
.lang-dropdown {
    position: fixed;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 6px 0;
    z-index: 9999;
    min-width: 150px;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0,0,0,0.6);
}

.lang-option {
    display: block;
    padding: 7px 16px;
    color: #ccc;
    font-size: 12px;
    transition: background 0.15s;
}

.lang-option:hover {
    background: #c00;
    color: #fff;
    text-decoration: none;
}

/* ===== CHANNEL GRID PAGE ===== */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.channel-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    background: #111;
    border-radius: 4px;
    transition: background 0.2s, transform 0.15s;
    text-align: center;
}

.channel-block:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    text-decoration: none;
}

.channel-thumb-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #1a1a1a;
}

.channel-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.channel-block:hover .channel-thumb-img img {
    transform: scale(1.05);
}

.channel-avatar-big {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.channel-block-name {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 4px;
}

.channel-block-vids {
    color: #888;
    font-size: 11px;
}

/* ===== PORNSTAR GRID PAGE ===== */
.pornstar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.pornstar-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    background: #111;
    border-radius: 4px;
    transition: background 0.2s, transform 0.15s;
    text-align: center;
}

.pornstar-block:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    text-decoration: none;
}

.pornstar-thumb-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #1a1a1a;
}

.pornstar-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.pornstar-block:hover .pornstar-thumb-img img {
    transform: scale(1.05);
}

.pornstar-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.channel-header-thumb,
.pornstar-header-thumb {
    width: 120px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1a1a1a;
}

.channel-header-thumb img,
.pornstar-header-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pornstar-name {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 4px;
}

.pornstar-vids {
    color: #888;
    font-size: 11px;
}

/* ===== CATEGORY GRID PAGE ===== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.category-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    background: #111;
    border-radius: 4px;
    transition: background 0.2s, transform 0.15s;
    text-align: center;
}

.category-block:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    text-decoration: none;
}

.category-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: rgba(255,255,255,0.3);
    margin-bottom: 10px;
}

.category-label {
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 3px;
}

.category-count {
    color: #888;
    font-size: 11px;
}

/* ===== CHANNEL / PORNSTAR DETAIL HEADER ===== */
.channel-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #222;
    margin-bottom: 20px;
}

.channel-header-info h2 {
    font-size: 20px;
    margin-bottom: 5px;
}

.channel-header-info p {
    color: #888;
    font-size: 12px;
    margin-bottom: 10px;
}

.btn-subscribe {
    display: inline-block;
    padding: 7px 20px;
    background: #c00;
    color: #fff;
    border: 1px solid #c00;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-subscribe:hover {
    background: #a00;
    text-decoration: none;
}

/* ===== EMPTY STATE (History) ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state h2 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 10px;
}

.empty-state p {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-browse {
    display: inline-block;
    padding: 10px 25px;
    background: #c00;
    color: #fff;
    border-radius: 3px;
    font-size: 13px;
    font-weight: bold;
}

.btn-browse:hover {
    background: #a00;
    text-decoration: none;
}

/* ===== SEARCH RESULT COUNT ===== */
.search-result-count {
    color: #888;
    font-size: 12px;
}

/* ===== RESPONSIVE - new grids ===== */
@media (max-width: 1024px) {
    .channel-grid,
    .pornstar-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .channel-grid,
    .pornstar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .channel-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .channel-grid,
    .pornstar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== VIDEO LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.loading-player {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.loading-spinner {
    width: 56px;
    height: 56px;
    border: 4px solid #333;
    border-top-color: #c00;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-text {
    color: #888;
    font-size: 13px;
    font-family: Verdana, Geneva, sans-serif;
    text-align: center;
}

.loading-title {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    font-family: Verdana, Geneva, sans-serif;
    max-width: 900px;
    text-align: left;
    width: 100%;
    padding: 0 15px;
}

.loading-meta {
    max-width: 900px;
    width: 100%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #888;
    font-size: 12px;
    font-family: Verdana, Geneva, sans-serif;
}

.loading-meta .lm-channel {
    color: #c00;
    font-weight: bold;
}

.loading-bar-wrapper {
    width: 100%;
    max-width: 900px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
    margin-top: -16px;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: #c00;
    border-radius: 2px;
    animation: fakeProgress 8s ease-out forwards;
}

@keyframes fakeProgress {
    0%   { width: 0%; }
    15%  { width: 12%; }
    30%  { width: 25%; }
    50%  { width: 38%; }
    70%  { width: 48%; }
    85%  { width: 55%; }
    95%  { width: 60%; }
    100% { width: 62%; }
}

.loading-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    z-index: 10000;
    background: none;
    border: none;
    font-family: Arial, sans-serif;
    line-height: 1;
    transition: color 0.2s;
}

.loading-close:hover {
    color: #fff;
}

.loading-quality {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: bold;
    font-family: Verdana, Geneva, sans-serif;
}

.loading-playbtn {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(204, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeInPlay 2s 1.5s forwards;
}

.loading-playbtn::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 24px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

@keyframes fadeInPlay {
    to { opacity: 0.5; }
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
    100% { content: ''; }
}
