* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: -webkit-fill-available;
}

body {
    width: 100%;
    height: 100%;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    font-size: 15px;
    background-color: #000;
    overflow: hidden;
}

body.media-body {
    background-color: #000;
    overflow: hidden;
}

.mx-20 {
    margin: 0 20px;
}

strong {
    font-weight: 500;
    color: #fff;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}

h1 {
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

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

.rounded-circle {
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}

button,
.button,
input[type="button"],
input[type="submit"] {
    display: inline-block;
    border: none;
    font-weight: 600;
    padding: 12px 24px;
    margin: 0;
    cursor: pointer;
    font-size: 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #fd0131 0%, #ff4757 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(253, 1, 49, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(253, 1, 49, 0.5);
    background: linear-gradient(135deg, #ff4757 0%, #fd0131 100%);
}

button:active,
.button:active,
input[type="button"]:active,
input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(253, 1, 49, 0.4);
}

.button-color {
    color: #fff;
    background-color: #fd0131;
    border-color: #fd0131;
}

.button-outline {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.button-outline:hover {
    background-color: #fff;
    color: #000;
}

label {
    display: block;
    font-weight: 500;
    color: #fff;
    margin-bottom: 5px;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    background-color: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #fd0131;
}

/* Content wrapper and main container */
.content {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Exception: Allow scrolling on specific pages */
body.creators-page-body .content,
body.page-template-page-creators .content,
body.page-template-template-creators .content,
body.page-template-template-creators-php .content,
body[class*="template-creators"] .content {
    height: auto !important;
    overflow: visible !important;
    overflow-y: auto !important;
    max-height: none !important;
}

/* Allow pages that opt-in to scrollable content */
.content.content--scroll {
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
}


/* Swiper Styles */
main {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
}

.swiper {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 1;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box; /* Ensures padding is included in the element's total width and height */
    position: relative;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 30%);
    z-index: 1;
}

/* Container for media content that maintains aspect ratio */
.media-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

/* Desktop: Limit content width to mobile phone size */
@media (min-width: 769px) {
    .swiper {
        max-width: 430px;
        margin: 0 auto;
    }
}

.content-img,
.video-placeholder,
.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}


video-js {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Video.js specific styles */
.video-js {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.video-js video {
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.video-js .vjs-poster {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.video-js.vjs-fill {
    width: 100%;
    height: 100%;
}

.video-js.vjs-fluid {
    width: 100%;
    height: 100%;
}

/* Ensure video maintains aspect ratio */
.video-js .vjs-tech {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Hide Video.js native big play button to prevent duplicates */
.video-js .vjs-big-play-button {
    display: none !important;
}

/* Custom play button overlay - removed conflicting position rule */

.video-js::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: none;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-js::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    display: none;
    z-index: 11;
    pointer-events: none;
}

.video-js.paused-video::after,
.video-js.paused-video::before {
    display: block;
}

.video-js.paused-video::after:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video metadata preloading styles */
.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 5;
    cursor: pointer;
}

.thumbnail-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    z-index: 6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.thumbnail-play-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    z-index: 10;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.video-placeholder svg,
.image-placeholder svg {
    width: 100%;
    height: 100%;
}

.embed-content {
    display: none;
}

.embed-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.embed-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Content Info Styles */
.single-content-infos {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    color: #fff;
    z-index: 5;
}

.post-datas {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.post-views,
.post-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.post-desc {
    margin-bottom: 15px;
    font-size: 14px;
}

.post-desc p {
    margin: 0 0 10px 0;
}

.see-desc {
    display: inline-block;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.tags-list a {
    display: inline-block;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
}

.tags-list a:hover,
.tags-list a.active {
    background-color: #fd0131;
}

.tags-list a small {
    margin-left: 5px;
    opacity: 0.7;
}

/* Swiper Side Controls */
.swiper-side {
    position: absolute;
    right: 20px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.avatar-img,
.add-to-fav,
.comment-icon,
.like-button,
.share-button,
.enlight-content,
.forum-link,
.rightside-ad-button {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.avatar-img:hover,
.add-to-fav:hover,
.comment-icon:hover,
.like-button:hover,
.share-button:hover,
.enlight-content:hover,
.forum-link:hover,
.rightside-ad-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Right-side ad button specific styles */
.rightside-ad-button {
    background: rgba(253, 1, 49, 0.8) !important; /* Red background to indicate it's an ad */
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1; /* Lower z-index than count overlays */
}

.rightside-ad-button:hover {
    background: rgba(253, 1, 49, 1) !important;
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.15);
}

/* Prevent any span overlays on the right-side ad button */
.rightside-ad-button span,
.rightside-ad-button * {
    display: none !important;
}

.rightside-ad-button::before,
.rightside-ad-button::after {
    display: none !important;
    content: none !important;
}

/* Ensure rightside-ad-button has no text content from inherited styles */
.rightside-ad-button {
    overflow: hidden !important;
    text-indent: -9999px !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* Make sure only the ad content shows, not any inherited numbers */
.rightside-ad-button img,
.rightside-ad-button .rightside-ad-text {
    display: block !important;
    text-indent: 0 !important;
    font-size: 10px !important;
    line-height: normal !important;
    overflow: visible !important;
}

.avatar-img img,
.avatar-img svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.comment-icon span,
.like-button .like-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #fd0131;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    z-index: 2;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
    top: auto;
    bottom: 40px;
    margin-top: 0;
    z-index: 100;
    cursor: pointer;
}

.swiper-button-next {
    right: 20px;
    left: auto;
}

.swiper-button-prev {
    right: 80px;
    left: auto;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    display: none;
}

/* Add custom icons for navigation */
.swiper-button-next:before,
.swiper-button-prev:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
}

.swiper-button-next:before {
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #ffffff;
}

.swiper-button-prev:before {
    border-width: 10px 15px 10px 0;
    border-color: transparent #ffffff transparent transparent;
}

/* Loading state for navigation buttons */
.swiper-button-next.loading,
.swiper-button-prev.loading {
    position: relative;
}

.swiper-button-next.loading:before,
.swiper-button-prev.loading:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Like button styling */
.like-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.like-button.liked svg path {
    fill: #fd0131;
}

.like-button .like-count {
    font-size: 12px;
    margin-top: 5px;
}

/* Share button styling */
.share-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.share-button svg {
    width: 32px;
    height: 32px;
}

/* Share modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-modal-content {
    background-color: #333;
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    color: #fff;
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-modal-header h3 {
    margin: 0;
}

.close-share-modal {
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    background-color: #444;
    transition: background-color 0.3s;
}

.share-option.copy-link {
    cursor: pointer;
}

.share-option:hover {
    background-color: #555;
}

.share-option svg {
    width: 24px;
    height: 24px;
}

.share-option span {
    font-size: 16px;
}

/* Favorite button styling */
.add-to-fav.favorited svg path {
    fill: #fd0131;
    stroke: #fd0131;
}

.add-to-fav:not(.favorited) svg path {
    fill: none;
    stroke: #ffffff;
}

/* Copy link feedback */
.copy-link-feedback {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1001;
    display: none;
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

header * {
    pointer-events: auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    z-index: 10;
}

.menu {
    position: relative;
    z-index: 10;
}

.menu ul {
    display: flex;
    gap: 20px;
}

.menu ul li a {
    color: #fff;
    font-size: 16px;
}

#menu-mobile-icon,
#close-mobile-nav {
    display: none;
}

/* Video Seek Bar */
.video-seek-container {
    position: fixed;
    bottom: 80px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    z-index: 101;
    transition: all 0.3s ease;
}

.seek-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.seek-bar {
    position: relative;
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
}

.seek-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #FD0131, #ff1744);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.seek-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 12px;
    height: 12px;
    background: #FD0131;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.seek-bar:hover .seek-handle {
    opacity: 1;
}

.seek-time {
    display: flex;
    gap: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    min-width: 70px;
}

/* Mobile responsive for seek bar */
@media (max-width: 768px) {
    .video-seek-container {
        bottom: 70px;
        padding: 8px 15px;
    }

    .seek-bar-wrapper {
        gap: 10px;
        max-width: 100%;
    }

    .seek-bar {
        height: 3px;
    }

    .seek-handle {
        width: 10px;
        height: 10px;
        border-width: 1px;
    }

    .seek-time {
        font-size: 11px;
        min-width: 60px;
    }
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
}

.footer-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.footer-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

.footer-menu a.active {
    color: #fd0131;
}

.footer-menu a svg {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.footer-menu a.active svg path {
    fill: #fd0131;
}

/* Dark background overlay */
.dark-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: none;
}

/* Close button */
.close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 10px;
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .swiper-side {
        right: 15px;
        bottom: 140px;
        bottom: calc(140px + env(safe-area-inset-bottom, 0px));
    }
    
    .single-content-infos {
        bottom: 120px;
        bottom: calc(120px + env(safe-area-inset-bottom, 0px));
        padding: 0 15px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        bottom: 20px;
        width: 35px;
        height: 35px;
    }
    
    .swiper-button-next {
        right: 15px;
    }
    
    .swiper-button-prev {
        right: 65px;
    }
    
    header {
        padding: 10px 15px;
    }
    
    .menu ul {
        display: none;
        position: absolute;
        top: 60px;
        right: 15px;
        background: rgba(0, 0, 0, 0.9);
        padding: 15px;
        border-radius: 10px;
        flex-direction: column;
        gap: 15px;
    }
    
    #menu-mobile-icon {
        display: block;
        width: 30px;
        height: 30px;
    }
    
    #close-mobile-nav {
        display: none;
        position: absolute;
        top: 15px;
        right: 15px;
        width: 30px;
        height: 30px;
        z-index: 100;
    }
}

/* Comments */
.comment-box {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 70%;
    max-height: 600px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    display: none;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(253, 1, 49, 0.3);
}

.comment-box.show {
    display: block !important;
    animation: slideUpComment 0.3s ease-out forwards;
}

@keyframes slideUpComment {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.comment-box-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-post-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment-media-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
}

.comment-media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-post-title .title {
    font-weight: 600;
    font-size: 16px;
}

.comment-post-title .comment-number {
    font-size: 14px;
    opacity: 0.7;
}

.close-comment-box {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-comment-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.comments-list {
    height: calc(100% - 120px);
    overflow-y: auto;
    margin-bottom: 15px;
}

.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-body {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.author-first-letter {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fd0131;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
}

.comment-author {
    flex: 1;
}

.comment-bubble {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 5px;
}

.comment-bubble strong {
    display: block;
    margin-bottom: 5px;
}

.comment-date {
    font-size: 12px;
    opacity: 0.7;
}

.comment-form-author,
.comment-form-email {
    width: 48%;
    display: inline-block;
}

.comment-form-author {
    margin-right: 2%;
}

.comment-form-author-full {
    width: 100%;
    display: block;
    margin-bottom: 15px;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-author-full input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-author-full input:focus,
.comment-form-comment textarea:focus {
    outline: none;
    border-color: #fd0131;
    box-shadow: 0 0 0 2px rgba(253, 1, 49, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.comment-form-comment textarea {
    min-height: 70px;
    margin-bottom: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
}

/* Turnstile styling */
.turnstile-field {
    margin: 15px 0;
    min-height: 65px; /* Reserve space to prevent layout shift */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-turnstile {
    width: 300px;
    height: 65px;
}

.session-verified {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    color: #4CAF50;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#commentform textarea {
    color: #fff;
    resize: vertical;
}

.form-submit button {
    width: 100%;
    font-size: 16px;
    padding: 14px 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, #fd0131 0%, #ff4757 100%);
    box-shadow: 0 6px 20px rgba(253, 1, 49, 0.4);
    transition: all 0.3s ease;
}

.form-submit button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(253, 1, 49, 0.6);
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-danger {
    background-color: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
}

.alert-success {
    background-color: rgba(0, 255, 0, 0.2);
    border: 1px solid #00ff00;
}

/* Login Modal */
.slideup-box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    z-index: 1000;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px;
    display: none;
}

.login-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.login-nav a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
}

.login-nav a.active {
    background-color: #333;
}

.close-main-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    margin-bottom: 8px;
}

.form-field input {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    background-color: #111;
    color: #fff;
    border-radius: 5px;
}

.lost-password {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#reset-password-box {
    display: none;
}

.wpst-errors {
    margin-top: 15px;
}

/* Spinner */
.spinner {
    -webkit-animation: rotator 1.4s linear infinite;
    animation: rotator 1.4s linear infinite;
}

@-webkit-keyframes rotator {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(270deg);
    }
}

@keyframes rotator {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(270deg);
    }
}

.path {
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    transform-origin: center;
    -webkit-animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
    animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}

@-webkit-keyframes colors {
    0% {
        stroke: #fd0131;
    }
    25% {
        stroke: #ff006e;
    }
    50% {
        stroke: #d200ff;
    }
    75% {
        stroke: #8c00ff;
    }
    100% {
        stroke: #fd0131;
    }
}

@keyframes colors {
    0% {
        stroke: #fd0131;
    }
    25% {
        stroke: #ff006e;
    }
    50% {
        stroke: #d200ff;
    }
    75% {
        stroke: #8c00ff;
    }
    100% {
        stroke: #fd0131;
    }
}

@-webkit-keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }
    50% {
        stroke-dashoffset: 46.75;
        transform: rotate(135deg);
    }
    100% {
        stroke-dashoffset: 187;
        transform: rotate(450deg);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 187;
    }
    50% {
        stroke-dashoffset: 46.75;
        transform: rotate(135deg);
    }
    100% {
        stroke-dashoffset: 187;
        transform: rotate(450deg);
    }
}
/* Favorite button styling */
.add-to-fav.favorited svg path {
    fill: #fd0131;
    stroke: #fd0131;
}

.add-to-fav:not(.favorited) svg path {
    fill: none;
    stroke: #ffffff;
}

/* Loading states */
.loading svg {
    -webkit-animation: rotator 1.4s linear infinite;
    animation: rotator 1.4s linear infinite;
}

@-webkit-keyframes rotator {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(270deg); }
}

@keyframes rotator {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(270deg); }
}

.loading svg .path {
    stroke-dasharray: 187;
    stroke-dashoffset: 0;
    transform-origin: center;
    -webkit-animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
    animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}

@-webkit-keyframes colors {
    0% { stroke: #fd0131; }
    25% { stroke: #ff006e; }
    50% { stroke: #d200ff; }
    75% { stroke: #8c00ff; }
    100% { stroke: #fd0131; }
}

@keyframes colors {
    0% { stroke: #fd0131; }
    25% { stroke: #ff006e; }
    50% { stroke: #d200ff; }
    75% { stroke: #8c00ff; }
    100% { stroke: #fd0131; }
}

@-webkit-keyframes dash {
    0% { stroke-dashoffset: 187; }
    50% { stroke-dashoffset: 46.75; transform: rotate(135deg); }
    100% { stroke-dashoffset: 187; transform: rotate(450deg); }
}

@keyframes dash {
    0% { stroke-dashoffset: 187; }
    50% { stroke-dashoffset: 46.75; transform: rotate(135deg); }
    100% { stroke-dashoffset: 187; transform: rotate(450deg); }
}

/* Copy link feedback */
.copy-link-feedback {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1001;
    display: none;
}

/* Favorite button styling */
.add-to-fav.favorited svg path {
    fill: #fd0131;
    stroke: #fd0131;
}

.add-to-fav:not(.favorited) svg path {
    fill: none;
    stroke: #ffffff;
}

/* Like button styling */
.like-button.liked svg path {
    fill: #fd0131;
}

.like-button:not(.liked) svg path {
    fill: #ffffff;
}

/* Share button styling */
.share-button svg {
    width: 32px;
    height: 32px;
}

/* Share modal */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-modal-content {
    background-color: #333;
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    color: #fff;
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.share-modal-header h3 {
    margin: 0;
}

.close-share-modal {
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    background-color: #444;
    transition: background-color 0.3s;
}

.share-option.copy-link {
    cursor: pointer;
}

.share-option:hover {
    background-color: #555;
}

.share-option svg {
    width: 24px;
    height: 24px;
}

.share-option span {
    font-size: 16px;
}

/* Copy link feedback */
.copy-link-feedback {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1001;
    display: none;
}

/* Text-only posts */
.text-post-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    box-sizing: border-box;
}

.text-post-inner {
    text-align: center;
    color: #fff;
    max-width: 600px;
}

.text-post-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.text-post-excerpt {
    font-size: 1.2em;
    line-height: 1.6;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.text-post-excerpt p {
    margin: 0;
}

/* Single Post Template Styles */
.single-post-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000;
    overflow: hidden;
}

.single-nav-header {
    position: fixed;
    top: 60px; /* Position below the main header */
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-home-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.back-home-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-3px);
}

.back-home-btn svg {
    width: 20px;
    height: 20px;
}

.back-home-btn span {
    font-size: 14px;
    font-weight: 500;
}

.post-meta-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.author-info:hover {
    background: rgba(255, 255, 255, 0.1);
}

.author-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.author-info span {
    font-size: 14px;
    font-weight: 500;
}

/* Single Swiper */
.single-swiper {
    width: 100%;
    height: 100vh;
    margin-top: 100px; /* Account for main header + nav header */
}

.single-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-swiper .swiper-slide.current-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(253, 1, 49, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Related Videos Section */
.related-videos-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 20px;
    z-index: 50;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.related-videos-section:hover {
    transform: translateY(0);
}

.related-videos-section h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.related-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.related-video-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.related-video-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.related-video-link {
    display: block;
    color: #fff;
    text-decoration: none;
}

.related-video-thumbnail {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.related-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
}

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

.related-video-info h4 {
    font-size: 12px;
    font-weight: 500;
    margin: 0 0 5px 0;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-video-stats {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-likes {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

.video-likes svg {
    width: 12px;
    height: 12px;
}

/* Mobile Responsive Styles for Single Post */
@media (max-width: 768px) {
    .single-nav-header {
        top: 50px; /* Adjust for smaller mobile header */
        padding: 10px 15px;
    }
    
    .single-swiper {
        margin-top: 80px; /* Smaller margin for mobile */
    }
    
    .back-home-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .back-home-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .author-info {
        padding: 4px 12px;
        font-size: 13px;
    }
    
    .author-info img {
        width: 28px;
        height: 28px;
    }
    
    .related-videos-section {
        padding: 15px;
        /* Ensure it doesn't interfere with mobile safe areas */
        padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    }
    
    .related-videos-section h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .related-videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 10px;
        max-height: 150px;
    }
    
    .related-video-thumbnail {
        height: 60px;
    }
    
    .related-video-info {
        padding: 6px;
    }
    
    .related-video-info h4 {
        font-size: 11px;
    }
    
    .video-likes {
        font-size: 10px;
    }
    
    /* Pull up indicator for related videos on mobile */
    .related-videos-section::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
}

/* Creators Page Styles - Force scrolling */
html:has(body.page-template-page-creators),
html:has(body.creators-page-body),
html:has(body.page-id-creators),
html:has(body.page-template-template-creators),
html:has(body[class*="template-creators"]) {
    overflow: auto !important;
    overflow-y: auto !important;
    height: auto !important;
}

body.page-template-page-creators,
body.creators-page-body,
body.page-id-creators,
body.page-template-template-creators,
body.page-template-template-creators-php,
body[class*="template-creators"],
body[class*="page-creators"] {
    overflow: auto !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh !important;
}

/* Force content to be scrollable on creators page */
body.page-template-page-creators #content,
body.creators-page-body #content,
body.page-template-page-creators .content,
body.creators-page-body .content,
body.page-id-creators #content,
body.page-id-creators .content,
body.page-template-template-creators #content,
body.page-template-template-creators .content,
body.page-template-template-creators-php #content,
body.page-template-template-creators-php .content,
body[class*="template-creators"] #content,
body[class*="template-creators"] .content,
body[class*="creators"] #content,
body[class*="creators"] .content {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
    overflow-y: visible !important;
    position: relative !important;
    max-height: none !important;
}

/* Remove media-body overflow restrictions on creators page */
body.page-template-page-creators.media-body,
body.creators-page-body.media-body,
body.page-id-creators.media-body {
    overflow: auto !important;
    overflow-y: auto !important;
}

.creators-page {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    padding-top: 70px;
    padding-bottom: 90px;
}

.creators-nav-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.creators-filter {
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.creators-filter:hover {
    background: rgba(255, 255, 255, 0.2);
}

.creators-search-bar {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.5);
}

.search-input-container {
    position: relative;
    margin-bottom: 15px;
}

.search-input-container svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

#creators-search {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
}

#creators-search::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#creators-search:focus {
    outline: none;
    border-color: #fd0131;
    background: rgba(255, 255, 255, 0.15);
}

.filter-tabs {
    display: flex;
    gap: 10px;
}

.filter-tab {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.filter-tab.active {
    background: #fd0131;
    border-color: #fd0131;
    color: #fff;
}

.filter-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.creators-grid {
    padding: 20px;
    padding-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: none;
}

/* Inline ad in creators grid */
.creators-inline-ad {
    grid-column: 1 / -1;
    max-width: 728px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.creators-inline-ad:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.creator-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.creator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(253, 1, 49, 0.2);
    border-color: rgba(253, 1, 49, 0.3);
}

.creator-rank {
    position: absolute;
    top: -10px;
    right: 15px;
    z-index: 10;
}

.rank-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.rank-badge.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.rank-badge.rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
    color: #000;
}

.rank-badge.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #B8860B);
    color: #fff;
}

.rank-number {
    font-weight: 700;
    font-size: 14px;
}

.creator-link {
    display: block;
    color: #fff;
    text-decoration: none;
}

.creator-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(253, 1, 49, 0.3);
}

.verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #fff;
    border-radius: 50%;
    padding: 3px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.creator-info {
    text-align: center;
    margin-bottom: 15px;
}

.creator-username {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #fff;
}

.creator-display-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 10px 0;
}

.creator-bio {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.creator-stats {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.creator-stats .stat-item {
    text-align: center;
}

.creator-stats .stat-number {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #fd0131;
}

.creator-stats .stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.creator-actions {
    text-align: center;
    margin-top: 15px;
}

.creator-follow-btn {
    padding: 8px 24px;
    background: #fd0131;
    border: none;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.creator-follow-btn:hover {
    background: #e60029;
    transform: scale(1.05);
}

.creator-follow-btn.following {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.no-creators {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-creators-icon {
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-creators h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.no-creators p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

/* Mobile Responsive Styles for Creators Page */
@media (max-width: 768px) {
    .creators-page {
        padding-top: 60px;
    }
    
    .creators-nav-header {
        padding: 10px 15px;
    }
    
    .page-title {
        font-size: 18px;
    }
    
    .creators-search-bar {
        padding: 15px;
    }
    
    .creators-grid {
        padding: 15px;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }

    .creators-inline-ad {
        max-width: 100%;
        padding: 15px;
        margin: 15px 0;
    }

    .creator-card {
        padding: 15px;
    }
    
    .creator-avatar {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .creator-username {
        font-size: 16px;
    }
    
    .creator-stats .stat-number {
        font-size: 14px;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .filter-tab {
        padding: 6px 16px;
        font-size: 13px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .creators-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .creator-card {
        padding: 12px;
    }
    
    .creator-stats {
        gap: 5px;
    }
    
    .creator-stats .stat-number {
        font-size: 13px;
    }
    
    .creator-stats .stat-label {
        font-size: 10px;
    }
}

/* Mobile Responsive Styles for Comment Box */
@media (max-width: 768px) {
    .comment-box {
        bottom: 10px;
        height: 75%;
        max-height: calc(100vh - 60px);
        padding: 15px;
        margin: 0 10px;
        width: calc(100% - 20px);
        border-radius: 20px;
    }
    
    .session-verified {
        padding: 12px;
        font-size: 13px;
        margin: 10px 0;
    }
    
    .turnstile-field {
        margin: 10px 0;
        min-height: 60px;
    }
    
    .cf-turnstile {
        transform: scale(0.9);
        transform-origin: center;
    }
}

@media (max-width: 480px) {
    .comment-box {
        bottom: 5px;
        height: 80%;
        max-height: calc(100vh - 40px);
        padding: 12px;
        margin: 0 5px;
        width: calc(100% - 10px);
    }
    
    .session-verified {
        padding: 10px;
        font-size: 12px;
        margin: 8px 0;
    }
    
    .cf-turnstile {
        transform: scale(0.8);
    }
}

/* Advertisement Styles */
.swiper-ad-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 20px;
}

.swiper-ad-container {
    text-align: center;
    max-width: 650px;
    width: 100%;
}

.ad-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    position: relative;
}

.ad-label::before,
.ad-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.ad-label::before {
    left: -50px;
}

.ad-label::after {
    right: -50px;
}

.main-ad-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 100%;
    padding: 10px 0;
}

/* Individual ad units - stacked vertically for TikTok format */
.ad-unit {
    display: block;
    margin: 0 auto 15px auto;
    width: 300px;
    height: 250px;
    overflow: visible;
    text-align: center;
}

/* Ensure ad units display properly - 300x250 always */
.ad-unit ins,
.ad-unit .adsbygoogle,
.ad-unit > div {
    display: block !important;
    width: 300px !important;
    height: 250px !important;
    margin: 0 auto !important;
    overflow: visible !important;
}

/* Mobile optimization - Keep 300x250 on all devices */
@media (max-width: 480px) {
    .swiper-ad-slide {
        padding: 10px 5px;
    }
    
    .ad-label::before,
    .ad-label::after {
        display: none;
    }
    
    .main-ad-content {
        gap: 12px;
    }
    
    /* Keep ads at 300x250 even on mobile for better performance */
    .ad-unit {
        width: 300px;
        height: 250px;
        margin: 0 auto 12px auto;
    }
    
    .ad-unit ins,
    .ad-unit .adsbygoogle,
    .ad-unit > div {
        width: 300px !important;
        height: 250px !important;
    }
}

/* Fullscreen button and ad styles */
.fullscreen-button,
.fullscreen-ad-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: none;
    border: none;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.fullscreen-button:hover,
.fullscreen-ad-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.fullscreen-button:active,
.fullscreen-ad-button:active {
    transform: translateY(0);
}

.fullscreen-button small,
.fullscreen-ad-button small {
    font-size: 10px;
    margin-top: 2px;
    color: #ffffff;
    opacity: 0.8;
}

/* Special styling for ad button */
.fullscreen-ad-button {
    position: relative;
    background: linear-gradient(135deg, rgba(253, 1, 49, 0.2) 0%, rgba(253, 1, 49, 0.1) 100%);
    border: 1px solid rgba(253, 1, 49, 0.3);
}

.fullscreen-ad-button:hover {
    background: linear-gradient(135deg, rgba(253, 1, 49, 0.3) 0%, rgba(253, 1, 49, 0.2) 100%);
    border-color: rgba(253, 1, 49, 0.5);
    box-shadow: 0 4px 12px rgba(253, 1, 49, 0.2);
}

.fullscreen-ad-button::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    background: #FD0131;
    border-radius: 50%;
    border: 1px solid #fff;
}

/* Mobile responsive for fullscreen/ad button */
@media (max-width: 480px) {
    .fullscreen-button,
    .fullscreen-ad-button {
        padding: 6px;
    }
    
    .fullscreen-button small,
    .fullscreen-ad-button small {
        font-size: 9px;
    }
}

/* Load More Button Styles for Author Page */
.load-more-container {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
}

.load-more-btn {
    background: linear-gradient(135deg, #FD0131 0%, #ff1744 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(253, 1, 49, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(253, 1, 49, 0.4);
    background: linear-gradient(135deg, #ff1744 0%, #FD0131 100%);
}

.load-more-btn:active {
    transform: translateY(0);
}

.loading-spinner {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 10px;
}

/* Search Page Styles */
.search-page {
    min-height: 100vh;
    padding: 20px;
}

/* Search Input Styles - Moved to search.css */
.search-input-container {
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* Explore Grid Styles */
.explore-container {
    max-width: 1200px;
    margin: 0 auto;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin: 20px 0;
}

.explore-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.explore-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.explore-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.explore-thumbnail img,
.explore-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.explore-item:hover .explore-thumbnail img,
.explore-item:hover .explore-thumbnail video {
    transform: scale(1.05);
}

.no-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(253, 1, 49, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.video-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.explore-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px 12px 12px 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.explore-item:hover .explore-overlay {
    opacity: 1;
}

.overlay-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.overlay-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.overlay-stats .stat-item svg {
    flex-shrink: 0;
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.no-posts-icon {
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-posts h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.no-posts p {
    margin: 0;
    font-size: 16px;
}

/* Search Results */
.search-results-container {
    margin-top: 20px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

/* Responsive Design for Explore Grid */
@media (max-width: 768px) {
    .explore-grid,
    .search-results-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
    }
    
    .explore-item {
        border-radius: 4px;
    }
    
    .video-indicator {
        top: 4px;
        right: 4px;
        padding: 2px;
    }
    
    .video-indicator svg {
        width: 12px;
        height: 12px;
    }
    
    .explore-overlay {
        padding: 15px 8px 8px 8px;
    }
    
    .overlay-stats .stat-item {
        font-size: 11px;
        gap: 3px;
    }
    
    .overlay-stats .stat-item svg {
        width: 12px;
        height: 12px;
    }
    
}

.search-header {
    text-align: center;
    margin-bottom: 30px;
}

.search-header h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.search-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin: 0;
}

.search-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 5px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.search-tab {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-tab.active {
    background: linear-gradient(135deg, #FD0131 0%, #ff1744 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(253, 1, 49, 0.3);
}

.search-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.search-content {
    max-width: 1200px;
    margin: 0 auto;
}

.search-tab-content {
    display: none;
}

.search-tab-content.active {
    display: block;
}

/* Ad Spot Styles */
.creators-ad-spot {
    margin: 20px 0;
    text-align: center;
}

.ad-container {
    display: inline-block;
    max-width: 300px;
    max-height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ad-container:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.ad-image {
    width: 100%;
    height: auto;
    display: block;
}

.ad-text {
    padding: 20px;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
}

.ad-placeholder {
    width: 300px;
    height: 250px;
    background: linear-gradient(135deg, rgba(253, 1, 49, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-align: center;
    margin: 0 auto;
}

/* Mobile responsive for load more button */
@media (max-width: 768px) {
    .load-more-container {
        margin: 20px 0;
        padding: 15px;
    }
    
    .load-more-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .search-header h1 {
        font-size: 24px;
    }
    
    .search-tabs {
        max-width: 300px;
        margin-bottom: 20px;
    }
    
    .search-tab {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .search-page {
        padding: 15px;
    }
    
    .ad-container {
        max-width: 250px;
        max-height: 200px;
    }
    
    .ad-placeholder {
        width: 250px;
        height: 200px;
        font-size: 12px;
    }
    
    /* Content search results mobile */
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
        padding: 15px 0;
    }
    
    .content-thumbnail {
        height: 160px;
    }
    
    .play-overlay {
        width: 50px;
        height: 50px;
    }
    
    .content-info {
        padding: 12px;
    }
    
    .content-info h3 {
        font-size: 14px;
    }
}

/* Content search results */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.content-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(253, 1, 49, 0.3);
}

.content-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.content-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.content-thumbnail img,
.content-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-thumbnail.no-media {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

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

.content-card:hover .play-overlay {
    background: rgba(253, 1, 49, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.content-info {
    padding: 15px;
}

.content-info h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-author {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.content-author a {
    color: #FD0131;
    text-decoration: none;
}

.content-author a:hover {
    text-decoration: underline;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
}
