/*
Theme Name: Nextus Hub
Theme URI: https://work.nextus.online/
Author: Nextus Team
Author URI: https://work.nextus.online/
Description: Professional video theme with age verification, Google Drive video player, and infinite rotation.
Version: 6.0.0
License: GPL v2
Text Domain: nextus-hub
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --secondary: #2c3e50;
    --accent: #f39c12;
    --dark: #1a1a2e;
    --darker: #16213e;
    --light: #f5f5f5;
    --white: #ffffff;
    --gray: #7f8c8d;
    --success: #27ae60;
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.4);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-full: 100px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    color: var(--light);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== HEADER ===== */
.site-header {
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.site-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.site-logo span {
    color: var(--white);
}

.header-ads {
    display: none;
}

.ad-label {
    font-size: 0.65rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(231, 76, 60, 0.6);
}

.btn-gold {
    background: linear-gradient(135deg, #fcd217, #e6b800);
    color: #000;
    font-weight: 800;
    border: 2px solid rgba(252, 210, 23, 0.3);
    box-shadow: 0 4px 15px rgba(252, 210, 23, 0.4);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(252, 210, 23, 0.6);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--gray);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    padding: 10px 20px;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding-top: 70px;
    min-height: 100vh;
}

/* ===== PAGE TITLE ===== */
.page-title {
    text-align: center;
    padding: 30px 0 20px;
}

.page-title h1 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--white), var(--gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-title p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 15px 0 40px;
}

.post-card {
    background: linear-gradient(145deg, var(--darker), var(--dark));
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(231, 76, 60, 0.3);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* SMALL PLAY BUTTON */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-overlay::before {
    content: '';
    width: 44px;
    height: 44px;
    background: rgba(231, 76, 60, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5);
    transition: transform 0.3s;
}

.play-overlay::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    margin-left: 2px;
}

.post-card:hover .play-overlay::before {
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.85);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.post-info {
    padding: 14px;
}

.video-name {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.post-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
    line-height: 1.4;
}

.post-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.78rem;
}

/* ===== AD CONTAINERS ===== */
.ad-container {
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin: 20px 0;
    text-align: center;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-container.leaderboard {
    min-height: 60px;
}

.ad-container.medium-rectangle {
    min-height: 200px;
}

.ad-between-posts {
    grid-column: 1 / -1;
    margin: 8px 0;
}

/* ===== SINGLE POST - MOBILE FIRST ===== */
.single-post-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.single-post {
    width: 100%;
    padding: 10px 0;
}

/* Video Badge */
.video-badge {
    text-align: center;
    margin-bottom: 10px;
}

.video-badge span {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(231,76,60,0.12);
    border: 1px solid rgba(231,76,60,0.2);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 700;
}

/* Post Header */
.post-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.post-header h1 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 700;
    line-height: 1.3;
    word-break: break-word;
}

.post-meta-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gray);
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.post-meta-line .dot {
    color: var(--gray);
}

/* Featured Image */
.post-featured-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    cursor: pointer;
    width: 100%;
}

.post-featured-image .featured-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Video Play Overlay - Single */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.video-play-overlay:hover {
    background: rgba(0,0,0,0.6);
}

.video-play-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.5);
    animation: pulse 2s infinite;
    transition: transform 0.3s;
}

.video-play-overlay:hover .video-play-btn {
    transform: scale(1.1);
}

.play-text {
    margin-top: 12px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ===== VIDEO MODAL (8 SEC) ===== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal-content {
    background: var(--darker);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(231,76,60,0.2);
    animation: fadeIn 0.3s ease;
}

.video-modal-content h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.video-modal-content p {
    color: var(--gray);
    font-size: 0.85rem;
}

/* Ad Timer in Modal */
.ad-timer {
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ad-timer-text {
    color: var(--gray);
    font-size: 0.9rem;
}

.ad-timer-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.1rem;
    animation: pulse 1s infinite;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(231,76,60,0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

/* Post Article Hidden */
.post-article-hidden {
    display: none;
}

/* Post Content */
.post-content {
    background: linear-gradient(145deg, var(--darker), var(--dark));
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.post-content p {
    margin-bottom: 14px;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== ENGAGEMENT BOX ===== */
.engagement-box {
    background: linear-gradient(145deg, rgba(231,76,60,0.08), rgba(243,156,18,0.05));
    border: 1px solid rgba(231, 76, 60, 0.15);
    border-radius: var(--radius);
    padding: 25px 20px;
    text-align: center;
    margin: 20px 0;
    display: none;
}

.engagement-box h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 700;
}

.engagement-box > p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

/* ===== WATCH VIDEO BUTTON ===== */
.watch-video-btn {
    font-size: 1.1rem;
    padding: 16px 40px;
    margin: 15px 0;
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.watch-video-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 2s infinite;
}

/* ===== HAND POINTER ===== */
.hand-pointer {
    margin: 15px 0;
    color: var(--accent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
}

.hand-pointer.animate {
    opacity: 1;
    transform: translateY(0);
    animation: handPoint 1.5s ease infinite;
}

.hand-pointer svg {
    filter: drop-shadow(0 0 10px rgba(243, 156, 18, 0.5));
}

@keyframes handPoint {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(-5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-4px) rotate(5deg); }
}

/* ===== CLICK HINT ===== */
.click-hint {
    margin: 10px 0;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.click-hint.show {
    opacity: 1;
    transform: scale(1);
    animation: hintPulse 2s infinite;
}

.hint-text {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

@keyframes hintPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
}

/* ===== VIDEO PLAYER CONTAINER ===== */
.video-player-container {
    margin: 20px 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--darker);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.no-video-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1.1rem;
}

/* ===== VIDEO CONTROLS ===== */
.video-controls {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.next-video-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.video-status {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== AUTO NEXT TIMER ===== */
#autoNextTimer {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: var(--radius);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* Timer */
.timer-label {
    color: var(--gray);
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.timer-display {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    margin: 8px 0;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 15px rgba(243, 156, 18, 0.3);
}

.progress-bar {
    width: 100%;
    max-width: 260px;
    height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
    margin: 10px auto;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    transition: width 1s linear;
    width: 0%;
}

/* Nav Buttons */
.nav-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-buttons .btn {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
}

/* Related Posts */
.related-posts {
    margin-top: 40px;
    padding: 0 5px;
}

.related-posts h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--white);
    font-weight: 700;
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Sidebar Desktop - Hidden on mobile */
.sidebar-desktop {
    display: none;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: linear-gradient(145deg, var(--darker), var(--dark));
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.sidebar-widget h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: var(--white);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--darker);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 30px 0 15px;
    margin-top: 40px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--gray);
    transition: color 0.3s;
    font-size: 0.82rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--gray);
    font-size: 0.78rem;
}

/* ===== AGE GATE COMPACT ===== */
.age-gate-compact {
    background: linear-gradient(145deg, var(--darker), var(--dark));
    border-radius: var(--radius);
    padding: 25px 18px;
    margin: 25px auto;
    text-align: center;
    border: 1px solid rgba(231, 76, 60, 0.2);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.age-gate-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.age-gate-compact .age-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.age-gate-compact h2 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--white);
}

.age-gate-compact .subtitle {
    color: var(--gray);
    margin-bottom: 18px;
    font-size: 0.85rem;
}

.age-gate-compact .age-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.age-gate-compact .age-buttons .btn {
    padding: 14px 32px;
    font-size: 1rem;
    width: auto;
    max-width: 280px;
}

.age-gate-compact .btn-yes {
    background: linear-gradient(135deg, #fcd217, #e6b800);
    color: #000;
    font-weight: 800;
    border: 2px solid rgba(252, 210, 23, 0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

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

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--accent));
    border-radius: 3px;
}

/* ============================================ */
/* TABLET (481px - 768px) */
/* ============================================ */
@media (min-width: 481px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .post-header h1 {
        font-size: 1.5rem;
    }

    .btn {
        width: auto;
    }

    .nav-buttons .btn {
        flex: 0 0 auto;
    }

    .video-modal-content {
        max-width: 500px;
        padding: 40px 30px;
    }
}

/* ============================================ */
/* DESKTOP (769px and up) */
/* ============================================ */
@media (min-width: 769px) {
    .container {
        padding: 0 20px;
    }

    .header-inner {
        padding: 0;
    }

    .site-logo {
        font-size: 1.8rem;
    }

    .header-ads {
        display: flex;
        flex: 1;
        max-width: 728px;
        margin: 0 30px;
        min-height: 90px;
        background: rgba(255,255,255,0.03);
        border-radius: var(--radius-sm);
        align-items: center;
        justify-content: center;
        border: 1px dashed rgba(255,255,255,0.1);
    }

    .main-content {
        padding-top: 100px;
    }

    .page-title {
        padding: 40px 0 30px;
    }

    .page-title h1 {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
        padding: 20px 0 60px;
    }

    .post-info {
        padding: 18px;
    }

    .post-title {
        font-size: 1.05rem;
    }

    /* Single Post Desktop */
    .single-post-wrapper {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }

    .single-post {
        padding: 20px 0;
    }

    .post-header h1 {
        font-size: 1.8rem;
    }

    .video-play-btn {
        width: 70px;
        height: 70px;
    }

    .play-text {
        font-size: 1rem;
    }

    .post-content {
        padding: 35px;
    }

    .engagement-box {
        padding: 30px;
    }

    .watch-video-btn {
        font-size: 1.2rem;
        padding: 18px 50px;
    }

    .video-wrapper {
        padding-bottom: 56.25%;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .sidebar-desktop {
        display: block;
    }

    .footer-inner {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        padding: 0;
    }
}

/* ============================================ */
/* LARGE DESKTOP (1024px and up) */
/* ============================================ */
@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px;
    }

    .post-card:hover {
        transform: translateY(-8px);
    }

    .play-overlay::before {
        width: 50px;
        height: 50px;
    }

    .play-overlay::after {
        border-left: 14px solid white;
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
    }

    .video-modal-content {
        max-width: 600px;
    }
}
