/*
Theme Name: MyPornLeak.com
Author: MyPornLeak.com
Version: 1
*/

/* --- 1. RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    background: #0b0b0b !important; 
    color: #eee; 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    line-height: 1.5; 
    overflow-x: hidden; 
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none !important; }

/* --- 2. HEADER DESKTOP (Logo | Search | Meniu) --- */
.site-header {
    background: #000;
    border-bottom: 2px solid #ff0044;
    padding: 15px 0;
    position: relative; 
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center; 
    justify-content: space-between; 
    padding: 0 20px;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 900;
    font-size: 24px;
    color: #fff;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.logo .play-icon {
    background: #ff0044;
    color: #fff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 8px;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(255, 0, 68, 0.5);
}

.logo span:not(.play-icon) { color: #ff0044; }

.header-center { flex: 1; max-width: 550px; }

.search-box { width: 100%; max-width: 400px; margin: 0 auto; }
.search-box form {
    display: flex;
    align-items: stretch;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 50px;
    overflow: hidden;
}

.search-box input[type="text"] {
    flex: 1;
    height: 44px;
    background: transparent;
    border: none;
    color: #fff;
    padding: 0 15px;
    font-size: 16px;
    outline: none;
}

.search-box button[type="submit"] {
    width: 50px;
    height: 44px;
    background: #333;
    border: none;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.main-menu ul { display: flex; gap: 20px; }
.main-menu ul li a {
    color: #ccc;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    white-space: nowrap;
}
.main-menu ul li a:hover { color: #ff0044; }

/* --- 3. VIDEO GRID & CARDS --- */
.video-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); 
    gap: 20px; 
    padding: 20px; 
}
.video-card { width: 100%; display: flex; flex-direction: column; }
.video-thumbnail { 
    width: 100%; 
    aspect-ratio: 16/9; 
    background: #111; 
    border-radius: 8px; 
    overflow: hidden; 
    position: relative; 
    border: 1px solid #222;
}
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }

.views-badge, .duration-badge { 
    position: absolute; 
    bottom: 8px; 
    background: rgba(0, 0, 0, 0.85); 
    color: #fff; 
    padding: 3px 7px; 
    font-size: 11px; 
    font-weight: bold; 
    border-radius: 4px; 
}
.views-badge { right: 8px; border-right: 2px solid #ff0044; }
.duration-badge { left: 8px; border-left: 2px solid #ff0044; }

.video-title { font-size: 14px; font-weight: bold; margin: 5px 0; color: #fff; height: 40px; overflow: hidden; }

/* --- 4. NAVIGARE --- */
.pagination { display: flex; justify-content: center; align-items: center; padding: 40px 10px; gap: 10px; }
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    background: #161616;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-weight: 800;
}
.pagination .page-numbers.current { background: #ff0044; border-color: #ff0044; }

/* --- 5. SINGLE PLAYER --- */
.video-container { max-width: 1200px; margin: 0 auto; padding: 20px 15px; }
.main-player-wrapper { width: 100%; background: #000; border-radius: 8px 8px 0 0; border: 1px solid #222; }
.main-player-wrapper iframe { width: 100%; aspect-ratio: 16 / 9; display: block; border: none; }
.server-container { background: #161616; padding: 15px; display: flex; gap: 10px; border: 1px solid #222; border-top: none; flex-wrap: wrap; margin-bottom: 20px; }
.server-btn { background: #222; color: #fff; border: 1px solid #333; padding: 8px 16px; border-radius: 4px; font-weight: bold; }
.server-btn.active { background: #ff0044; border-color: #ff0044; }

/* --- 6. MOBIL CU HAMBURGER MENU --- */
@media (max-width: 800px) {
    .header-container { 
        padding: 10px 0; 
        gap: 10px; 
        flex-direction: column;
        align-items: center;
    }
    
    .header-left { width: 100%; display: flex; justify-content: center; }
    .header-center { width: 92%; margin: 0 auto; order: 2; }
    
    /* Butonul Hamburger pe Mijloc */
    .header-right { 
        width: 100%; 
        display: flex; 
        justify-content: center; 
        order: 3; 
        padding: 5px 0;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 10px;
        background: #1a1a1a;
        border-radius: 5px;
        border: 1px solid #333;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #ff0044;
        transition: 0.3s;
    }

    /* Animatie Hamburger -> X */
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Meniul Ascuns care se deschide */
    .main-menu {
        display: none; /* Ascuns implicit */
        width: 100%;
        background: #111;
        position: absolute;
        top: 100%; /* Apare sub header */
        left: 0;
        z-index: 999;
        border-bottom: 2px solid #ff0044;
        box-shadow: 0 10px 20px rgba(0,0,0,0.8);
    }

    .main-menu.open {
        display: block; /* Apare la click */
    }

    .main-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        display: flex; /* Suprascrie flexul de desktop */
    }

    .main-menu ul li {
        width: 100%;
        text-align: center;
    }

    .main-menu ul li a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #222;
        font-size: 16px;
        color: #fff;
        text-transform: uppercase;
    }

    .main-menu ul li a:hover {
        background: #1a1a1a;
        color: #ff0044;
    }

    /* Ajustari Grid Video */
    .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px; }
    .video-title { font-size: 12px; height: 36px; }
    .main-player-wrapper iframe { aspect-ratio: 4 / 3; min-height: 280px; }
}


/* --- 7. FOOTER STYLING --- */
.site-footer {
    background: #000;
    padding: 50px 20px;
    border-top: 2px solid #ff0044;
    color: #888;
    text-align: center;
    margin-top: 40px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-brand span {
    color: #ff0044;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #aaa;
}

.footer-links p {
    font-size: 12px;
    color: #555;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-copy {
    font-size: 11px;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 800px) {
    .site-footer {
        padding: 30px 15px;
    }
}

/* --- 8. NO RESULTS PAGE --- */
.no-results {
    grid-column: 1 / -1; /* Ocupă toată lățimea grid-ului */
    text-align: center;
    padding: 80px 20px;
    background: #111;
    border-radius: 12px;
    border: 1px dashed #333;
    margin: 20px;
}

.no-results-icon {
    font-size: 50px;
    margin-bottom: 20px;
    filter: grayscale(1);
    opacity: 0.5;
}

.no-results h2 {
    color: #ff0044;
    font-size: 28px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.no-results p {
    color: #888;
    font-size: 16px;
    margin-bottom: 5px;
}

.no-results strong {
    color: #fff;
}

.back-home {
    display: inline-block;
    margin-top: 25px;
    background: #ff0044;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.back-home:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 68, 0.4);
}

/* --- 9. 404 PAGE STYLING --- */
.error-404-container {
    max-width: 600px;
    margin: 80px auto;
    text-align: center;
    padding: 40px 20px;
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    color: #ff0044;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 0, 68, 0.3);
}

.error-404-container h1 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.error-404-container p {
    color: #888;
    margin-bottom: 30px;
}

.search-retry {
    background: #111;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #222;
    margin-bottom: 30px;
}

.search-retry p {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ccc;
}

/* Reutilizăm stilul butonului de Home de la No Results */
.error-404-container .back-home {
    display: inline-block;
    background: #ff0044;
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

.error-404-container .back-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 68, 0.4);
}

@media (max-width: 800px) {
    .error-code { font-size: 80px; }
    .error-404-container { margin: 40px auto; }
}

/* --- 10. LEGAL PAGES (DMCA/CONTACT) --- */
.legal-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: #111;
    border-radius: 12px;
    border: 1px solid #222;
    line-height: 1.8;
}

.page-title {
    color: #ff0044;
    font-size: 32px;
    margin-bottom: 30px;
    text-transform: uppercase;
    border-bottom: 2px solid #222;
    padding-bottom: 15px;
}

.page-content {
    color: #ccc;
    font-size: 16px;
}

.page-content h2 {
    color: #fff;
    margin: 25px 0 15px;
    font-size: 22px;
}

.page-content p {
    margin-bottom: 20px;
}

.page-content strong {
    color: #ff0044;
}

@media (max-width: 800px) {
    .legal-container {
        margin: 20px;
        padding: 20px;
    }
    .page-title { font-size: 24px; }
}

/* --- 7. FOOTER STYLING (Updated) --- */
.site-footer {
    background: #000;
    padding: 60px 20px;
    border-top: 2px solid #ff0044;
    color: #888;
    text-align: center;
    margin-top: 40px;
}

.footer-content {
    max-width: 850px;
    margin: 0 auto;
}

.footer-brand {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.footer-brand span { color: #ff0044; }

/* Meniul de link-uri DMCA/Contact */
.footer-links-menu {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #ffffff; /* Culoarea pipe-ului (|) */
}

.footer-links-menu a {
    color: #bbb;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
}

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

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #ffffff;
}

.footer-links p {
    font-size: 12px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-copy {
    font-size: 11px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 800px) {
    .site-footer { padding: 40px 15px; }
    .footer-description { font-size: 13px; }
    .footer-links-menu { gap: 10px; }
}

/* --- 11. CONTACT FORM STYLING --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
}

.contact-info {
    padding-bottom: 20px;
    border-bottom: 1px solid #222;
}

.email-box {
    margin-top: 15px;
    padding: 15px;
    background: #000;
    border-radius: 8px;
    border: 1px solid #ff0044;
    display: inline-block;
}

.email-box strong { color: #ff0044; margin-right: 10px; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #ff0044;
}

.submit-btn {
    background: #ff0044;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #cc0036;
    transform: translateY(-2px);
}

/* --- 12. RELATED VIDEOS --- */
.related-videos {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #222;
}

.section-title {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #ff0044;
}

/* Folosim grid-ul pe care îl ai deja, dar îl ajustăm aici dacă e nevoie */
.related-videos .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* --- 13. TRENDING PAGE STYLES (CLEAN) --- */
.trending-header {
    width: 100%;
}

.trending-header .live-badge {
    display: inline-block;
    box-shadow: 0 0 15px rgba(255, 0, 68, 0.3);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Stil pentru titlul paginii trending */
.page-title {
    letter-spacing: 2px;
    font-weight: 900;
}

/* --- SURPRISE ME MENU BUTTON --- */
.surprise-item {
    display: inline-flex !important;
    align-items: center;
    list-style: none !important; /* Elimină orice puncte de listă */
    margin-left: 15px;
}

.random-btn {
    background: #e6003d !important;
    color: #fff !important;
    padding: 7px 16px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none !important;
    line-height: 1 !important;
}

.random-btn span {
    font-size: 16px;
    line-height: 0;
}

.random-btn:hover {
    background: #fff !important;
    color: #000 !important;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 68, 0.4);
}

/* Stil pentru mobil - asigura-te ca butonul arata bine in meniul slide-out */
@media (max-width: 768px) {
    .surprise-item {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }
    
    .random-btn {
        width: 90%; /* Aproape cat tot ecranul pe mobil */
        justify-content: center;
        padding: 12px !important;
    }
}

@media (max-width: 768px) {
    .page-header-seo h1 {
        font-size: 18px !important;
    }
    .page-header-seo p {
        display: none; /* Ascundem descrierea mica pe mobil ca sa salvam spatiu */
    }
}
