:root {
    --bg-color: #000000; /* Pitch black for adult theme */
    --text-color: #ffffff;
    --accent-color: #ff9900; /* Iconic vibrant orange */
    --card-bg: #151515; /* Very dark gray */
    --overlay-bg: rgba(0, 0, 0, 0.7);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, rgba(20,20,20,1) 0%, rgba(0,0,0,1) 100%);
    border-bottom: 2px solid #222;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* Iconic split text color styling */
.header h1 span {
    background-color: var(--accent-color);
    color: #000;
    padding: 2px 10px;
    border-radius: 8px;
    margin-left: 5px;
    display: inline-block;
}

.header p {
    color: #888;
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.gallery-container {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
}

.empty-state {
    text-align: center;
    color: #888;
    font-size: 1.2rem;
    padding: 4rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px dashed #333;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 24px;
    grid-auto-flow: dense;
}

.gallery-item {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid #222;
    box-shadow: 0 4px 10px rgba(0,0,0,0.8);
    transition: transform 0.3s ease, border-color 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.image-wrapper {
    position: relative;
    width: 100%;
    /* Keep a cinematic 16:9 like aspect ratio or responsive ratio */
    padding-top: 130%; 
    overflow: hidden;
    background: #000;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover .image-wrapper img {
    transform: scale(1.05);
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
    z-index: 2;
}

.play-icon {
    width: 26px;
    height: 26px;
    fill: #fff;
    margin-left: 4px;
    transition: fill 0.3s ease;
}

.gallery-item:hover .play-icon-overlay {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.5);
}

.gallery-item:hover .play-icon {
    fill: #000;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.gallery-item:hover .overlay,
.overlay:focus-within {
    opacity: 1;
}

/* Video length badge (fake for visual) */
.video-duration {
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* On touch devices, always show the overlay */
@media (hover: none) {
    .overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    }
}

.like-btn {
    background: rgba(0,0,0,0.5);
    border: 1px solid #444;
    border-radius: 6px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    font-weight: 600;
}

.like-btn:hover {
    background: rgba(40,40,40,0.8);
    color: #fff;
    border-color: #666;
}

.like-btn:active {
    transform: scale(0.95);
}

.heart-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.heart-icon.liked {
    fill: var(--accent-color);
    stroke: var(--accent-color);
    animation: heartBeat 0.4s ease;
}

.like-btn .like-count {
    color: #fff;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

footer {
    text-align: center;
    padding: 2rem;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid #222;
    background: #0a0a0a;
    margin-top: auto;
}

/* --- MOBILE RESPONSIVENESS: 2 COLUMNS --- */
@media screen and (max-width: 768px) {
    .header {
        padding: 2rem 1rem;
    }

    .header h1 {
        font-size: 2.2rem;
    }

    .gallery-container {
        padding: 1.5rem 0.8rem;
    }

    /* Force 2 columns on mobile */
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 12px;
    }

    .gallery-item {
        border-radius: 6px;
    }

    .image-wrapper {
        padding-top: 150%; /* Taller ratio for mobile to look like portrait videos */
    }

    .play-icon-overlay {
        width: 40px;
        height: 40px;
        border-width: 1.5px;
    }

    .play-icon {
        width: 18px;
        height: 18px;
        margin-left: 3px;
    }

    .overlay {
        padding: 20px 10px 10px;
    }

    .like-btn {
        padding: 4px 8px;
        font-size: 12px;
        gap: 4px;
    }

    .heart-icon {
        width: 14px;
        height: 14px;
    }

    .video-duration {
        font-size: 10px;
        padding: 2px 5px;
    }
}

/* --- SEO ARTICLE FOR ADS --- */
.seo-article {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid #333;
    color: #bbb;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.seo-article h2 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 2.2rem;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}
.seo-article h3 {
    color: #fff;
    margin: 25px 0 15px;
    font-size: 1.5rem;
}
.seo-article p {
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 1.1rem;
}
.seo-article ul {
    margin-left: 25px;
    margin-bottom: 20px;
}
.seo-article li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.6;
}
.seo-article strong {
    color: #fff;
}
@media screen and (max-width: 768px) {
    .seo-article {
        padding: 20px;
        margin: 20px 10px;
    }
    .seo-article h2 {
        font-size: 1.8rem;
    }
    .seo-article h3 {
        font-size: 1.3rem;
    }
    .seo-article p, .seo-article li {
        font-size: 1rem;
    }
}
