/* ==========================================================
   1. CORE VARIABLES & BASE
========================================================== */

:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --accent-color: #ff3333;
    --text-color: #e0e0e0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: sans-serif;
    margin: 0;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

h3,
.block {
    text-align: center;
}


/* ==========================================================
   2. HEADER & LOGO
========================================================== */

.site-header {
    text-align: center;
    padding: 30px 15px 0;
}

.logo {
    text-decoration: none;
    color: #fff;
    display: block;
}

.logo-text h1 {
    margin: 0 0 5px;
    font-size: 1.8rem;
    line-height: 1;
}

.logo-text .subtitle {
    display: block;
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 2px;
}


/* ==========================================================
   3. SEARCH BAR
========================================================== */

.search-bar-container {
    width: 100%;
    max-width: 550px;
    margin: 20px auto 0;
}

.search-bar-container .search-form {
    display: flex;
    gap: 8px;
    width: 100%;
}

.search-bar-container input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    font-size: 16px;
    background: #1e1e1e;
    border: 1px solid #444;
    color: #fff;
    border-radius: 8px;
    box-sizing: border-box;
    outline: none;
}

.search-bar-container input[type="text"]:focus {
    border-color: var(--accent-color);
}

.search-bar-container button[type="submit"] {
    padding: 0 20px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.search-bar-container button[type="submit"]:hover {
    opacity: 0.85;
}


/* ==========================================================
   4. STAR BAR & CATEGORY TAGS
========================================================== */

.star-bar {
    background: #111;
    padding: 15px 0;
    text-align: center;
    border-bottom: 2px solid var(--accent-color);
}

.star-link {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px 10px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    border: 1px solid #333;
    transition: 0.3s;
}

.star-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.block {
    padding: 20px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    background: #1a1a1a;
    margin: 15px 0;
}

.search-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    text-align: center;
}

.search-tags a {
    display: inline-block;
    padding: 8px 15px;
    background: #222;
    border: 1px solid #444;
    color: #aaa;
    border-radius: 20px;
    transition: 0.3s;
}

.search-tags a:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}


/* ==========================================================
   5. VIDEO GRID
========================================================== */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
}


/* ----------------------------------------------------------
   Video Card
---------------------------------------------------------- */

.item {
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
}

.item:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
}


/* ----------------------------------------------------------
   Thumbnail
---------------------------------------------------------- */

.thumb-link {
    display: block;
}

.thumb-wrapper {
    position: relative;
    overflow: hidden;
}

.thumb-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}


/* ----------------------------------------------------------
   Duration
---------------------------------------------------------- */

.duration-badge {
    position: absolute;
    top: 7px;
    right: 7px;

    padding: 4px 7px;

    background: rgba(0, 0, 0, 0.85);
    color: #fff;

    border-radius: 4px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    z-index: 3;

    pointer-events: none;
}


/* ----------------------------------------------------------
   Title Overlay
---------------------------------------------------------- */

.thumb-title {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    box-sizing: border-box;

    padding: 30px 10px 9px;

    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 0, 0, 0.92)
    );

    color: #fff;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;

    text-align: left;

    opacity: 0;
    transform: translateY(5px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;

    pointer-events: none;
}

.thumb-wrapper:hover .thumb-title {
    opacity: 1;
    transform: translateY(0);
}


/* ----------------------------------------------------------
   Pornstar
---------------------------------------------------------- */

.video-pornstar {
    padding: 8px 10px 0;

    font-size: 13px;
    line-height: 1.3;
}

.video-pornstar a {
    color: #aaa;
    text-decoration: none;

    transition: color 0.2s ease;
}

.video-pornstar a:hover {
    color: var(--accent-color);
}


/* ----------------------------------------------------------
   Video Tags
---------------------------------------------------------- */

.video-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 4px 8px;

    padding: 5px 10px 10px;

    font-size: 12px;
    line-height: 1.3;
}

.video-tags a {
    color: #777;
    text-decoration: none;

    transition: color 0.2s ease;
}

.video-tags a:hover {
    color: var(--accent-color);
}


/* ----------------------------------------------------------
   Touch Devices
   Geen echte hover: titel altijd zichtbaar
---------------------------------------------------------- */

@media (hover: none) {

    .thumb-title {
        opacity: 1;
        transform: none;
    }

}


/* ==========================================================
   6. GEMS BACK HOME
========================================================== */

.gems-back {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.gems-back a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}

.gems-back a:hover {
    text-decoration: underline;
}


/* ==========================================================
   7. DYNAMIC THEME COLORS
========================================================== */

body.theme-green {
    --accent-color: #2ecc71 !important;
}

body.theme-blue {
    --accent-color: #3498db !important;
}

body.theme-red {
    --accent-color: #e74c3c !important;
}

body.theme-purple {
    --accent-color: #9b59b6 !important;
}

body.theme-pink {
    --accent-color: #e84393 !important;
}

body.theme-orange {
    --accent-color: #e67e22 !important;
}

body.theme-yellow {
    --accent-color: #f1c40f !important;
}


/* ==========================================================
   8. WATCH / VIDEO PLAYER
========================================================== */

.watch-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.video-player {
    display: block;
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    border-radius: 12px;
    overflow: hidden;

    background-size: cover;
    background-position: center;

    border: 2px solid #333;

    transition: 0.25s;
}

.video-player:hover {
    border-color: var(--accent-color);
}

.player-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.45)
    );
}

.play-button {
    width: 120px;
    height: 120px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 58px;
    color: #111;

    transition: 0.2s;

    box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
}

.video-player:hover .play-button {
    transform: scale(1.08);

    background: var(--accent-color);
    color: #fff;
}

.watch-info {
    margin-top: 20px;
}

.watch-info h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.watch-info p {
    color: #aaa;
    line-height: 1.7;
}


/* ----------------------------------------------------------
   Watch Pornstar & Tags
---------------------------------------------------------- */

.surprise-pornstar,
.surprise-tags {
    margin-top: 12px;
    color: #aaa;
    line-height: 1.8;
}

.surprise-pornstar strong,
.surprise-tags strong {
    color: #ddd;
}

.surprise-pornstar a,
.surprise-tags a {
    color: #aaa;
    text-decoration: none;

    transition: color 0.2s ease;
}

.surprise-pornstar a:hover,
.surprise-tags a:hover {
    color: var(--accent-color);
}


/* ----------------------------------------------------------
   Quality Badge
---------------------------------------------------------- */

.quality-badge {
    position: absolute;

    top: 15px;
    left: 15px;

    background: #111;
    color: #fff;

    padding: 6px 12px;

    border-radius: 5px;

    font-weight: bold;
    font-size: 13px;
}


/* ==========================================================
   9. BREADCRUMB
========================================================== */

.breadcrumb {
    width: 100%;
    max-width: 1200px;

    margin: 20px auto 15px;

    text-align: left;

    font-size: 14px;
    color: #999;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #999;
}


/* ==========================================================
   10. PAGINATION
========================================================== */

.pagination {
    display: flex;

    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 6px;

    margin: 30px 0;
}

.page-btn {
    display: inline-block;

    padding: 10px 14px;

    border: 1px solid #333;
    border-radius: 6px;

    text-decoration: none;
    font-weight: bold;

    line-height: 1;
}

a.page-btn:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.page-btn.active {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
}

.page-dots {
    padding: 10px;
    color: #666;
}




/* ==========================================================
   11. BRANDING
========================================================== */

.site-logo {
    margin: 0 0 5px;

    font-size: 3rem;
    font-weight: 900;

    line-height: 1;
    letter-spacing: -1px;
}

.brand-logo {
    display: inline-flex;

    align-items: baseline;

    gap: 0.14em;
}

.brand-first {
    color: #fff;
}

.brand-middle {
    color: #999;
}

.brand-family {
    color: var(--accent-color);
}


/* ==========================================================
   12. FOOTER
========================================================== */

.network-footer {
    text-align: center;

    padding: 25px 0;

    color: #888;

    border-top: 1px solid #333;

    margin-top: 40px;

    font-size: 14px;
}

.network-footer-links {
    margin-bottom: 10px;
}

.network-footer-links a {
    color: var(--accent-color);

    text-decoration: none;

    margin: 0 10px;
}


/* ==========================================================
   13. LEGAL PAGES
========================================================== */

.legal-page {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    padding: 20px;
}

.legal-content {
    max-width: 900px;

    margin: 0 auto;

    padding: 30px;

    background: #181818;

    border-radius: 8px;
}

.legal-content h1 {
    margin-top: 0;
    margin-bottom: 30px;

    color: var(--accent-color);

    font-size: 2rem;
}

.legal-content h2 {
    margin-top: 35px;
    margin-bottom: 12px;

    color: var(--accent-color);

    font-size: 1.25rem;
}

.legal-content p {
    margin: 0 0 18px;

    color: #ccc;

    line-height: 1.7;
}

.legal-notice {
    margin-bottom: 30px;

    padding: 18px 20px;

    background: #111;

    border-left: 4px solid var(--accent-color);

    color: #ddd;

    line-height: 1.6;
}

.back-link {
    display: inline-block;

    margin-top: 25px;

    color: var(--accent-color);

    text-decoration: none;

    font-weight: 700;
}

.back-link:hover {
    text-decoration: underline;
}

.legal-content ul {
    margin: 0 0 25px 20px;

    padding: 0;

    color: #ccc;

    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 6px;
}


/* ==========================================================
   14. MOBILE
========================================================== */

@media (max-width: 700px) {

    .legal-page {
        padding: 12px;
    }

    .legal-content {
        padding: 20px;
    }

    .legal-content h1 {
        font-size: 1.6rem;
    }

}

/* ==========================================================
   Content Navigation
   Surprise | Pagination | Gems
========================================================== */

.content-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.content-navigation-left {
    text-align: right;
}

.content-navigation-center {
    text-align: center;
}

.content-navigation-right {
    text-align: left;
}

.content-navigation-left a,
.content-navigation-right a {
    display: inline-block;

    padding: 10px 14px;

    border: 1px solid #333;
    border-radius: 6px;

    color: inherit;
    text-decoration: none;
    font-weight: bold;

    line-height: 1;

    transition: background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
}

.content-navigation-left a:hover,
.content-navigation-right a:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}