/* ApexPorn Tube - Professional Video Platform */
/* Features signature X styling for consistent branding */
@font-face {
    font-family: 'Pacifico';
    src: url('../fonts/Pacifico-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BitcountPropSingle';
    src: url('../fonts/BitcountPropSingle-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    cursor: default;
    font-size: 16.5px;
    line-height: 1.5;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, Segoe UI,
        Noto Sans, Helvetica, Arial, sans-serif;
    text-align: center;
    background-color: #000000;
    color: #aeaeae;
}

.logo-wrap {
    float: left;
    width: 100%;
    margin: 15px 0 0;
    text-align: center;
}

.tube .logo-wrap {
    position: absolute;
    z-index: 111;
    pointer-events: none;
}

.logo-inner-wrap {
    display: inline-block;
    width: 94px;
    height: 94px;
    margin: auto;
}

.logo-bg {
    float: left;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 1px 1px 0px inset #a5a5a5;
    background: linear-gradient(-45deg, #525252, #8e8e8e);
    position: relative;
    margin: 0 auto;
}

#logo {
    font-family: "Pacifico", sans-serif;
    font-size: 61px;
    text-decoration: none;
    line-height: 60px;
    display: inline-block;
    position: relative;
    z-index: 2;
    margin-bottom: -7px;
}

#logo .logo-dot-com {
    font-size: 24px;
}

#logo span {
    margin: 0 -7px 0 2px;
    font-family: BitcountPropSingle;
    font-size: 90px;
    display: inline-block;
    line-height: 60px;
}

.loaded #logo:hover {
    transition: all 0.15s linear;
}

.loaded a#logo {
    transition: all 0.15s linear;
}

.loaded #logo:hover {
    scale: 1.09;
    rotate: 1deg;
}

.loaded #logo:hover span,
.loaded #logo span {
    transition: scale 0.15s linear, rotate 0.15s linear;
    scale: 1.19;
    rotate: -1deg;
}

.loaded #logo:hover span {
    scale: 1.29;
    rotate: -2deg;
}

.site-visit {
    float: left;
    width: 100%;
    display: flex;
    justify-content: center;
}

.rating-wrap {
    font-family: BitcountPropSingle;
    font-size: 58px;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 0;
    float: left;
    width: 100%;
    text-align: center;
    flex-direction: column;
}

.star {
    cursor: pointer;
    width: 39px;
    display: inline-block;
    font-family: BitcountPropSingle;
}

.loaded .star::before,
.loaded .star::after {
    /* transition: all 0.25s linear; */
}

.star::before {
    /* content: "x"; */
    /* color: #ffffff; */
}

.star.off::before {
    content: "x";
    color: #cccccc;
    text-shadow: 1px 1px 1px black, 0 0 3px black, 0 0 5px black, 0 0 4px #fff, 0 0 7px #fff, 0 0 9px #535353;
}

.rating-score-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 39px;
    margin-bottom: -16px;
}

.rating-score-value {
    margin: 0 0 1px 0;
    color: #ffffff;
    position: relative;
    display: inline-block;
    font-size: 23px;
    font-family: "Pacifico", sans-serif;
    line-height: 19px;
}

.rating-count {
    font-family: "Pacifico", sans-serif;
    /* color: #ffffff; */
    /* font-size: 16px; */
    /* display: inline-block; */
    /* line-height: 81px; */
    margin: 0 0 0 2px;
    /* color: #cccccc; */
    text-shadow: 1px 1px 1px black, 0 0 3px black, 0 0 5px black, 0 0 4px #fff, 0 0 7px #fff, 0 0 9px #535353;
}

.pulsate, .filled {
    animation: pulsate 2s ease-in-out infinite;
}

@keyframes pulsate {
    100% {
        text-shadow: 1px 1px 1px black, 0 0 3px black, 0 0 5px black, 0 0 4px #fff, 0 0 17px #fb0000, 0 0 17px red;
    }

    50% {
        text-shadow: 1px 1px 0px black, 0 0 1px black, 0 0 2px black, 0 0 4px #fff, 0 0 10px #ff4f4f, 0 0 5px red;
    }

    0% {
        text-shadow: 1px 1px 1px black, 0 0 3px black, 0 0 5px black, 0 0 4px #fff, 0 0 17px #ff0000, 0 0 17px red;
    }
}

.star-container-page {
    text-align: center;
}

.star-image-container {
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.star-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
}

.star-details {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.star-info h1 {
    color: #fff;
    margin-bottom: 0;
    font-size: 36px;
}

.star-info h3 {
    color: #fff;
}

.star-gender p,
.star-description p,
.star-meta p {
    color: #ccc;
    line-height: 1.6;
}

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

.niches-list a {
    background: #333;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid #555;
    text-decoration: none;
}

.loaded .niches-list a {
    transition: all 0.25s linear;
}

.niches-list a:hover {
    background: #555;
    color: #fff;
    border: 1px solid #777;
}

.star-actions {
    margin-top: 20px;
}

.edit-btn {
    background: #007cba;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

.edit-btn:hover {
    background: #005a8b;
}

.rating-section {
    margin-top: 30px;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
}

.rating-section h3 {
    color: #fff;
    margin-bottom: 15px;
}

.star-videos-section {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.star-videos-section h2 {
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

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

.video-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

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

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

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

.rating-overlay {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 24px;
}

.rating-overlay .rating-score-value {
    line-height: 40px;
}

.rating-overlay,
.duration-overlay,
.resolution-overlay,
.site-overlay {
    pointer-events: none;
}

/* Duration overlay (bottom-right) */
.duration-overlay {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 2px 6px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
    font-family: monospace;
}

.duration-overlay .duration-text {
    line-height: 1;
}

/* Resolution overlay (top-left) */
.resolution-overlay {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 2px 6px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.resolution-overlay .resolution-text {
    line-height: 1;
}

/* Site overlay (bottom-left) */
.site-overlay {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 3px 8px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: bold;
    max-width: 120px;
    overflow: hidden;
}

.site-overlay .site-text {
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.rating-badge {
    color: #ffd700;
    font-size: 12px;
    font-weight: bold;
}

.video-card-info {
    padding: 15px;
}

.video-card-info h3 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 16px;
}

.video-date {
    color: #4a9eff;
    font-size: 13px;
    margin-bottom: 8px;
}

.video-desc-preview {
    color: #ccc;
    font-size: 13px;
    line-height: 1.4;
}

.no-videos {
    text-align: center;
    padding: 40px 20px;
}

.no-videos h2 {
    color: #fff;
    margin-bottom: 10px;
}

.no-videos p {
    color: #ccc;
}

@media (max-width: 768px) {
    .star-image {
        max-width: 300px;
    }

    .star-details,
    .star-videos-section {
        padding: 15px;
    }

    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
}

.site-container-page {
    text-align: center;
    margin-bottom: 30px;
}

.site-logo-container {
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 250px;
}

.site-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
}

.site-details {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.site-info h1 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 2em;
}

.site-info h3 {
    color: #fff;
    margin-top: 20px;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.site-url p,
.site-category p,
.site-description p,
.site-meta p {
    color: #ccc;
    line-height: 1.6;
}

.site-link {
    color: #4a9eff;
    text-decoration: none;
}

.site-link:hover {
    color: #6bb2ff;
    text-decoration: underline;
}

.site-actions {
    margin-top: 20px;
}

.edit-btn {
    background: #007cba;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

.edit-btn:hover {
    background: #005a8b;
}

.rating-section {
    /* margin-top: 30px; */
    /* text-align: center; */
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
}

.rating-section h3 {
    color: #fff;
    margin-bottom: 15px;
}

.site-videos-section {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.site-videos-section h2 {
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

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

.video-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

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

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

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

.video-card-info {
    padding: 15px;
}

.video-card-info h3 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 16px;
}

.video-date {
    color: #4a9eff;
    font-size: 13px;
    margin-bottom: 8px;
}

.video-desc-preview {
    color: #ccc;
    font-size: 13px;
    line-height: 1.4;
}

.no-videos {
    text-align: center;
    padding: 40px 20px;
}

.no-videos h2 {
    color: #fff;
    margin-bottom: 10px;
}

.no-videos p {
    color: #ccc;
}

@media (max-width: 768px) {
    .site-logo {
        max-width: 400px;
    }

    .site-details,
    .site-videos-section {
        padding: 15px;
    }

    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
}


.stars-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.star-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 10px;
    min-width: 120px;
    text-align: center;
}

.star-link {
    text-decoration: none;
    color: inherit;
}

.star-thumb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.1);
    /* Subtle background for transparent images */
}

.star-info strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.star-rating {
    font-size: 12px;
    color: #ccc;
}

.sites-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.site-card {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 10px;
    min-width: 200px;
}

.site-link {
    text-decoration: none;
    color: inherit;
}

.site-thumb {
    width: 100%;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    margin-bottom: 8px;
}

.site-info strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.site-rating {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 8px;
}

.visit-link {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
}

.visit-link:hover {
    background: #218838;
}

.video-rating-section {
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.video-rating-section h3 {
    color: #fff;
    margin-bottom: 15px;
}

.sites-list-page {
    max-width: 1200px;
    margin: 0 auto;
}

.sites-list-page h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.sites-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.site-listing-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-image-section {
    background: transparent;
    /* No background for clean logo display */
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

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

.site-image-section {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.site-listing-image {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.rating-badge {
    color: #ffd700;
    font-weight: bold;
    font-size: 14px;
}

.votes-count {
    color: #ccc;
    font-size: 12px;
    margin-top: 2px;
}

.site-card-info {
    padding: 15px;
}

.site-card-info h3 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.site-category {
    color: #4a9eff;
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: bold;
}

.site-url-display {
    margin-bottom: 8px;
    font-family: monospace;
    text-align: right;
}

.site-preview-desc {
    color: #ccc;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.site-actions {
    text-align: center;
}

.visit-btn {
    background: #28a745;
    color: white;
    padding: 15px 24px;
    border-radius: 33px;
    font-size: 19px;
    margin: 0 0 15px;
    font-weight: normal;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.visit-btn:hover {
    background: #218838;
}

.admin-actions {
    text-align: center;
    margin-top: 30px;
}

.action-btn {
    background: #007cba;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    margin: 0 10px;
}

.action-btn:hover {
    background: #005a8b;
}

@media (max-width: 768px) {
    .sites-listing-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .site-image-section {
        height: 140px;
    }

    #page-wrap {
        padding: 0 15px 15px;
    }
}

.stars-list-page {
    max-width: 1200px;
    margin: 0 auto;
}

.stars-list-page h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.stars-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.star-listing-card {
    background: rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.star-image-section {
    background: rgba(255, 255, 255, 0.1);
    /* Light background to help with transparent images */
}

.star-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.star-listing-link {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    transition: all 0.25s linear;
}

.star-listing-link:hover {
    scale: 1.09;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    rotate: 1deg;
}

.star-listing-link:hover img {
    border-radius: 5px;
}

.star-image-section {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.star-listing-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating-badge {
    color: #ffd700;
    font-weight: bold;
    font-size: 14px;
}

.votes-count {
    color: #ccc;
    font-size: 12px;
    margin-top: 2px;
}

.star-card-info {
    padding: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: #00000063; */
}

.star-card-info h3 {
    color: #fff;
    margin: 0 0 0px 0;
    font-size: 25px;
    text-shadow: 1px 1px 1px black;
    font-family: "Pacifico", sans-serif;
    font-weight: normal;
    /* background: red; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 53px;
}

.star-gender {
    color: #4a9eff;
    font-size: 14px;
    margin-bottom: 8px;
}

.star-preview-desc {
    color: #ccc;
    font-size: 14px;
    line-height: 1.4;
}

.admin-actions {
    text-align: center;
    margin-top: 30px;
}

.action-btn {
    background: #007cba;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    margin: 0 10px;
}

.action-btn:hover {
    background: #005a8b;
}

@media (max-width: 768px) {
    .stars-listing-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .star-image-section {
        height: 250px;
    }

    #page-wrap {
        padding: 0 15px 15px;
    }
}

canvas#starryBackground {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    display: none;
}

::selection {
    text-shadow: none;
    background-color: #8ec4ff;
    color: #0b1521;
}

input::selection {
    text-shadow: none;
    background-color: #8ec4ff;
    color: #0b1521;
}

input::-moz-selection {
    text-shadow: none;
    background-color: #8ec4ff;
    color: #0b1521;
}

input::-webkit-selection {
    text-shadow: none;
    background-color: #8ec4ff;
    color: #0b1521;
}

#site-wrap {
    width: 100%;
    max-width: 100%;
    padding: 0 0 20px;
    text-align: left;
    box-sizing: border-box;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#page-wrap,
footer {
    box-sizing: border-box;
    width: 100%;
    padding: 0 25px 15px;
}

#page-wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 2560px;
    max-width: 98%;
    margin: 12px auto 0;
    text-align: center;
    position: relative;
}

.site-name-span,
caption,
h1,
h2,
h3,
h4,
.sub-tier-header,
.sidebar .logo-dot-com,
.modal-x-btn,
#logo {
    color: #eaeaea;
    /* font-weight: 400; */
}

h1,
h2,
h3,
h4 {
    font-family: "Pacifico", sans-serif;
    font-weight: normal;
}

h1,
h1#entry-title,
.sidebar .logo-text,
.sidebar .logo-dot-com {
    color: #eaeaea;
}

h1 {
    font-size: 36px;
}

.tube h1 {
    position: absolute;
    z-index: 1000;
    margin: 74px 0 0;
    left: 0;
    right: 0;
    text-align: center;
    pointer-events: none;
    text-shadow: 2px 2px 2px black;
    font-size: 34px;
}

h1 a {
    text-decoration: none;
}

#site-name h1 {
    font-size: 26px;
}

h2 {
    font-size: 20px;
}

.before-title {
    margin: 15px 0;
}

h1#entry-title {
    font-size: 13px;
    width: fit-content;
    z-index: 110;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    column-gap: 5px;
    align-items: center;
    justify-content: start;
    row-gap: 10px;
    transition: top 0.25s linear;
}

.medium-font {
    font-size: 15px;
}

.dim {
    color: #5277a5;
}

#site-content {
    float: left;
    width: 100%;
}

h2 span {
    float: right;
    font-size: 14px;
    font-style: italic;
}

#site-name {
    position: absolute;
    text-shadow: 1px 1px black, 2px 2px black, 3px 3px black;
    z-index: 120;
}

/* Tube */
#tube-wrap {
    column-count: 3;
    margin: 0 auto;
    gap: 0;
    max-width: 100%;
}

.tube-image-wrap {
    position: relative;
}

.tube-image {
    cursor: pointer;
    max-width: 100%;
    display: block;
    /* border-radius: 4px; */
    object-fit: cover;
}

.loaded .tube-image-wrap {
    transition: all 0.25s linear;
}

.tube-image-wrap:hover {
    position: relative;
    z-index: 100;
    border-radius: 5px;
    scale: 1.09;
    rotate: 1deg;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.loaded .tube-image-wrap:hover .rating-overlay,
.loaded .tube-image-wrap .rating-overlay {
    transition: all 0.25s linear;
}

.tube-image-wrap:hover .rating-overlay {
    scale: 1.19;
    rotate: -1deg;
}

/* Hover effects for duration, resolution, and site overlays */
.loaded .tube-image-wrap:hover .duration-overlay,
.loaded .tube-image-wrap .duration-overlay,
.loaded .tube-image-wrap:hover .resolution-overlay,
.loaded .tube-image-wrap .resolution-overlay,
.loaded .tube-image-wrap:hover .site-overlay,
.loaded .tube-image-wrap .site-overlay {
    transition: all 0.25s linear;
}

.tube-image-wrap:hover .duration-overlay,
.tube-image-wrap:hover .resolution-overlay,
.tube-image-wrap:hover .site-overlay {
    scale: 1.09;
}

.tube-desc {
    margin: 15px 0;
    font-size: 14px;
    text-align: center;
}

.tube-empty #tube-wrap {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: auto;
    text-align: center;
}

/* Lightbox */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 35%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    max-width: 100vw;
    max-height: 100vh;
    padding: 5px;
    /* width: 800px; */
    /* margin: auto; */
    /* height: auto; */
}

/* Custom Video Player Styles */
.custom-video-player {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    /* width: 800px; */
    margin: auto;
    height: auto;
    border-radius: 5px;
}

.custom-video-player video {
    width: 100%;
    height: auto;
    max-width: 100vw;
    max-height: calc(100vh - 80px);
    /* Leave space for controls */
    object-fit: contain;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 43%);
    cursor: pointer;
    border-radius: 5px;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px 15px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.progress-container {
    flex-grow: 1;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    background-color: #6afcff;
    width: 0%;
    border-radius: 3px;
    transition: width 0.1s ease;
}

.progress-container:hover {
    height: 8px;
    margin: -1px 0;
}

.time-display {
    color: #fff;
    font-size: 12px;
    font-family: monospace;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    min-width: 85px;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #6afcff;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #6afcff;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

/* Image requirements styling */
.image-requirements,
.video-requirements {
    background: #f8f9fa;
    border-left: 3px solid #007bff;
    padding: 8px 12px;
    margin-top: 8px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
}

.video-requirements {
    border-left-color: #28a745;
}

.image-requirements small {
    display: block;
    margin-bottom: 3px;
    color: #495057;
}

.image-requirements small:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-controls {
        padding: 15px 10px 10px;
        gap: 10px;
    }

    .control-btn {
        font-size: 16px;
        min-width: 35px;
        height: 35px;
    }

    .time-display {
        font-size: 11px;
        min-width: 75px;
    }

    .volume-slider {
        width: 60px;
    }
}

/* Fullscreen styles */
.custom-video-player:fullscreen {
    width: 100vw;
    height: 100vh;
    background: #000;
}

.custom-video-player:fullscreen video {
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
}

.custom-video-player:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    background: #000;
}

.custom-video-player:-webkit-full-screen video {
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
}

.custom-video-player:-moz-full-screen {
    width: 100vw;
    height: 100vh;
    background: #000;
}

.custom-video-player:-moz-full-screen video {
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .fullscreen-btn {
        display: none;
        /* Hide fullscreen button on mobile as it's less useful */
    }
}

@media (max-width: 480px) {
    .volume-container {
        display: none;
        /* Hide volume controls on very small screens */
    }

    .video-controls {
        gap: 8px;
    }
}

/* Login notification for non-logged-in users */
.login-notification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    z-index: 1000;
    border: 2px solid #6afcff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slideInNotification 0.3s ease-out;
    max-width: 80%;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

@keyframes slideInNotification {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 768px) {
    .login-notification {
        font-size: 13px;
        padding: 10px 16px;
        max-width: 90%;
    }
}

/* Video Page Styles */
/* #page-wrap.video-page {
    margin: 55px auto 0;
    padding: 20px;
} */

.video-container-page {
    margin-bottom: 30px;
}

.video-container-page .custom-video-player {
    max-width: 100%;
    margin: 0 auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.video-info h1.video-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
    font-family: "Pacifico", sans-serif;
    font-weight: normal;
}

.video-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #6afcff;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.video-description p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.actor-niches,
.niche-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.actor-niche,
.niche-link {
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.actor-niche {
    background: #6afcff;
    color: #000;
}

.niche-link:hover {
    background: #6afcff;
    color: #000;
}

.source-link {
    color: #6afcff;
    text-decoration: underline;
}

.source-link:hover {
    color: #fff;
}

.video-meta {
    color: #888;
    margin-top: 20px;
}

.feedback-section {
    background: #111;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.feedback-section h3 {
    color: #6afcff;
    margin-bottom: 10px;
}

.feedback-question {
    color: #ccc;
    margin-bottom: 15px;
}

.feedback-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.feedback-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    background: #333;
    color: #fff;
}

.feedback-btn.softer-btn {
    background: #ff6b6b;
}

.feedback-btn.harder-btn {
    background: #4ecdc4;
}

.feedback-btn.cum-btn {
    background: #45b7d1;
}

.feedback-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.feedback-btn.submitted {
    background: #6afcff;
    color: #000;
    transform: none;
}

/* Mobile adjustments for video page */
@media (max-width: 768px) {
    .video-page {
        padding: 15px;
    }

    .video-info h1.video-title {
        font-size: 24px;
    }

    .feedback-buttons {
        flex-direction: column;
        align-items: center;
    }

    .feedback-btn {
        width: 100%;
        max-width: 200px;
    }
}

.lightbox-close {
    position: fixed;
    z-index: 1000;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    background: linear-gradient(274deg, #fff, #fff);
    box-shadow: 1px 1px 2px #ffffff inset, 1px 1px #8e8e8e, 2px 2px #b5b5b5, 3px 3px #b5b5b5;
}

.lightbox-close:hover {
    text-decoration: none;
}

.lightbox-content .niche-list {
    position: fixed;
    display: none;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.15);
}

.lightbox-content .niche-list a {
    color: #fff;
    text-align: left;
    margin: 0 10px 5px;
    font-size: 14px;
    text-shadow: 1px 1px #333;
    display: inline-block;
    text-decoration: none;
}

.lightbox-content .website-link {
    position: fixed;
    z-index: 10;
    bottom: 54px;
    left: 0;
    right: 0;
    padding: 10px 20px;
    background-color: rgb(0 0 0);
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    border-radius: 3px;
}

#feedback-btn-wrap {
    position: fixed;
    display: flex;
    display: none;
    left: 0;
    right: 0;
    gap: 10px;
    align-items: center;
    justify-content: center;
    bottom: 10px;
}

.feedback-desc {
    position: absolute;
    bottom: 35px;
    left: 0;
    right: 0;
    margin: 0;
    font-size: 14px;
    text-align: center;
    color: #ffffff;
    text-shadow: 1px 1px #333;
}

#header-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 222;
}

/* Dash */
#videoPreview,
#thumbnailPreview {
    margin-top: 10px;
    width: 100%;
    position: relative;
    float: left;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#videoPreview video {
    width: 550px;
    height: auto;
    margin: auto;
}

#thumbnailPreview img {
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
    margin: auto;
    border-radius: 4px;
    object-fit: contain;
}

.admin-desc-form {
    float: left;
    width: 100%;
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

textarea,
select {
    width: 100%;
    padding: 8px;
    background-color: #000;
    color: #aeaeae;
}

select option {
    background-color: #000;
    color: #aeaeae;
}

.submit-btn {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #45a049;
}

/* Prevent body scroll when modal is open */
body.lightbox-open {
    overflow: hidden;
}

h3.sub-header {
    margin: -20px 0 20px;
    grid-column: 1/4;
}

h3.sub-header::before {
    content: "\2013\00A0";
}

h3.sub-header::after {
    content: "\00A0\2013";
}

.entry-details h2,
h3.sub-header {
    font-size: 15px;
    font-weight: 400;
}

.entry-details h2 {
    float: left;
    width: 100%;
    margin: 15px 0;
}

h3 {
    font-size: 24px;
    font-family: "Pacifico", sans-serif;
}

a, a:visited {
    color: #ffffff;
}

/* #site-content a {
    color: #000000;
} */

.loaded a {
    transition: all 0.25s linear;
}

a:hover, a:visited:hover {
    color: #ffffff;
    text-decoration: underline;
}

#site-content a:hover, a.button:hover {
    color: #000000;
}

a:hover {
    text-decoration: none;
}

#site-content a,
#cookie-banner a {
    text-decoration: underline;
}

#site-content a:hover,
#cookie-banner a:hover {
    text-decoration: none;
}

#site-header {
    float: left;
    width: 100%;
    text-align: center;
    padding: 11px;
    background: #0b1521;
    margin: 0 0 15px;
    box-sizing: border-box;
}

.dashboard #site-header {
    display: none;
}

.full-width {
    float: left;
    width: 100%;
    margin-bottom: 40px;
}

.quick-stat-desc {
    float: left;
    width: 100%;
    margin: 10px 0;
}

.full-width-wrap {
    float: left;
    width: 100%;
}

.header-wrap {
    z-index: 100;
}

.notice {
    margin-bottom: 0;
}

.notice .notice-inner {
    font-size: 13px;
}

/* When mousexit */
.loaded button,
.loaded a.button {
    transition: transform 0.15s linear, box-shadow 0.125s linear;
}

/* When mouseenter */
.loaded button:hover,
.loaded button:active,
.loaded button:focus,
.loaded a.choose-sub:hover,
.loaded a.choose-sub:active,
.loaded a.choose-sub:focus,
.loaded a.button:hover,
.loaded a.button:active,
.loaded a.button:focus {
    transition: transform 0.15s linear, box-shadow 0.3s linear;
}

button.default-btn,
a.button {
    background: linear-gradient(274deg, #eaeaea, #fff);
    box-shadow: 1px 1px 2px #ffffff inset, 1px 1px #8e8e8e, 2px 2px #b5b5b5, 3px 3px #b5b5b5;
}

button.default-btn:hover,
button.default-btn:active,
a.button:hover,
a.button:active,
.lightbox-close:hover,
.lightbox-close:active {
    box-shadow: 1px 1px 2px #ffffff inset, 1px 1px #8e8e8e, 2px 2px #b5b5b5;
    transform: translateY(2px) translateX(2px);
}

a.button {
    display: block;
    color: black;
    text-decoration: none;
    box-sizing: border-box;
}

.one h2,
.one input,
.one select,
.one textarea,
.one textarea::placeholder,
.one input::placeholder {
    color: #fad373;
}

.one input:focus,
.one select:focus,
.one textarea:focus {
    border-color: #fad373;
    outline: none;
}

.one button,
button.one,
.default-btn.one,
#feedback-btn-wrap button.default-btn.submitted,
button.info-clicker {
    position: relative;
    overflow: hidden;
    background: linear-gradient(274deg, #ffce54, #faeb73);
    box-shadow: 1px 1px 2px #ffffff inset, 1px 1px #b29100, 2px 2px #c09c00, 3px 3px #c09c00;
}

.one button:hover,
.one button:active,
button.one:hover,
button.one:active,
.one button.generating,
.one button.disabled,
#feedback-btn-wrap button.default-btn.submitted,
.choose-sub:hover,
.choose-sub:active,
button.info-clicker:hover,
button.info-clicker:active,
.default-btn.one:hover,
.default-btn.one:active {
    box-shadow: 1px 1px 2px #ffffff inset, 1px 1px #b29100, 2px 2px #c09c00;
    transform: translateY(2px) translateX(2px);
}

.two h2,
.two input,
.two textarea,
.two textarea::placeholder,
.two input::placeholder {
    color: #6afcff;
}

.two input:focus,
.two textarea:focus {
    border-color: #6afcff;
}

.two button,
.modal #register-btn,
#affiliate-dashboard {
    background: linear-gradient(274deg, #32ebef, #67fcff);
    box-shadow: 1px 1px 2px #a4fdff inset, 1px 1px #008183, 2px 2px #09afb2, 3px 3px #09afb2;
}

.two button:hover,
.two button:active,
.two button.generating,
.two button.disabled,
.modal #register-btn:hover,
.modal #register-btn:active,
.modal #register-btn.disabled,
#affiliate-dashboard:hover,
#affiliate-dashboard:active {
    box-shadow: 1px 1px 2px #a4fdff inset, 1px 1px #008183, 2px 2px #09afb2;
    transform: translateY(2px) translateX(2px);
}

.three h2,
.three input,
.three textarea,
.three textarea::placeholder,
.three input::placeholder {
    color: #c2b8ff;
}

.three input:focus,
.three textarea:focus {
    border-color: #c2b8ff;
}

.three button {
    background: linear-gradient(274deg, #b08cff, #d0bbff);
    box-shadow: 1px 1px 2px #e4b2ff inset, 1px 1px #7e3bd2, 2px 2px #8966b5, 3px 3px #8966b5;
}

.three button:hover,
.three button:active,
.three button.generating,
.three button.disabled {
    box-shadow: 1px 1px 2px #e4b2ff inset, 1px 1px #7e3bd2, 2px 2px #8966b5;
    transform: translateY(2px) translateX(2px);
}

.four h2,
.four input,
.four textarea,
.four textarea::placeholder,
.four input::placeholder {
    color: #f69e6a;
}

.four input:focus,
.four textarea:focus {
    border-color: #f69e6a;
}

.four button,
.modal .default-btn#reset-toggle-btn,
.modal button.default-btn#reset-btn,
.modal button.default-btn#save-pass-btn {
    background: linear-gradient(274deg, #f69e6a, #ffcbac);
    box-shadow: 1px 1px 2px #ffdac5 inset, 1px 1px #c07a50, 2px 2px #d59169, 3px 3px #d59169;
}

.four button:hover,
.four button:active,
.four button.generating,
.four button.disabled,
.modal .default-btn#reset-toggle-btn:hover,
.modal button.default-btn#reset-btn:hover,
.modal .default-btn#reset-toggle-btn:active,
.modal button.default-btn#reset-btn:active,
.modal button.default-btn#save-pass-btn:hover,
.modal button.default-btn#save-pass-btn:active {
    box-shadow: 1px 1px 2px #ffdac5 inset, 1px 1px #c07a50, 2px 2px #d59169;
    transform: translateY(2px) translateX(2px);
}

.five h2,
.five input,
.five textarea,
.five textarea::placeholder,
.five input::placeholder {
    color: #f685f0;
}

.five input:focus,
.five textarea:focus {
    border-color: #f685f0;
}

.five button,
button.five,
.modal .default-btn#login-btn,
.modal .default-btn.toggle-login-btn {
    background: linear-gradient(274deg, #f685f0, #ffbcfb);
    box-shadow: 1px 1px 2px #ffc4fc inset, 1px 1px #b54daf, 2px 2px #d76ed1, 3px 3px #d76ed1;
}

.five button:hover,
.five button:active,
.five button.generating,
.five button.disabled,
button.five:hover,
button.five:active,
button.five:focus,
.modal .default-btn#login-btn:hover,
.modal .default-btn#login-btn:active,
.modal .default-btn.toggle-login-btn:hover,
.modal .default-btn.toggle-login-btn:active {
    box-shadow: 1px 1px 2px #ffc4fc inset, 1px 1px #b54daf, 2px 2px #d76ed1;
    transform: translateY(2px) translateX(2px);
}

canvas {
    max-width: 100%;
}

input,
select {
    color: #ffffff;
    background-color: #000000;
    border: 1px solid #48658b;
    padding: 5px 15px;
}

select {
    height: 36px;
    cursor: pointer;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    /* Center the spinner */
    border: 5px solid rgb(18 34 54);
    border-top: 5px solid #b7abff;
    border-radius: 50%;
    /* Make it circular */
    animation: spin 1s linear infinite;
    /* Infinite spinning animation */
    z-index: 10;
    /* Ensure it appears above other elements */
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.visible {
    display: block;
}

.home #site-content {
    display: block;
    grid-template-columns: unset;
    grid-column-gap: unset;
    grid-auto-flow: unset;
}

.full-screen-btn {
    width: 32px;
    height: 32px;
    float: right;
    cursor: pointer;
}

label {
    cursor: pointer;
}

label[for="info-consent"].checkbox.focus .checkmark,
label[for="marketing-consent"].checkbox.focus .checkmark {
    border: 1px solid #6afcff;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    bottom: 15px;
    margin: auto;
    padding: 0 20px;
    width: 600px;
    max-width: calc(100% - 30px);
    text-align: center;
    border: 1px solid #48658b;
    background-color: #000000;
    box-shadow: 2px 2px 0px #0f1b2a;
    font-size: 15px;
    box-sizing: border-box;
    z-index: 150;
}

#accept-functional-cookies-btn,
#decline-all-cookies-btn,
#accept-all-cookies-btn,
#decline-functional-cookies-btn {
    border: none;
    padding: 9px 15px;
    font-size: 15px;
    line-height: 16px;
    margin: 0 10px 20px;
    cursor: pointer;
    background-color: #000000;
}

#functional-cookie-modal {
    visibility: hidden;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 5px 20px;
    background: #0b1521;
    width: 300px;
    max-width: 60%;
    text-align: center;
    height: fit-content;
}

#functional-cookie-modal.visible {
    visibility: visible;
}

.left {
    float: left;
}

.right {
    float: right;
}

#hover-desc {
    position: fixed;
    right: 15px;
    bottom: 15px;
    opacity: 0;
    scale: 0.95;
    font-size: 14px;
    padding: 2px 8px;
    box-sizing: border-box;
    max-width: calc(100vw - 30px);
    z-index: 1000;
    color: #000000;
}

.loaded #hover-desc {
    transition: all 0.25s linear;
}

#hover-desc.visible {
    opacity: 1;
    scale: 1;
    transition: all 0.25s linear;
}

.suggested-niches {
    float: left;
    width: 100%;
    margin: 10px 0 20px;
    text-align: center;
}

footer {
    padding: 15px 25px 0;
    margin: auto 0 0;
    text-align: center;
    font-size: 15px;
}

footer p {
    margin: 10px 0;
}

.image-container {
    float: left;
    width: 100%;
    margin: 10px -10px;
    padding: 10px;
    border: 1px solid #48658b;
    border-radius: 4px;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.image-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px 0 0;
    box-sizing: border-box;
}

.image-footer button {
    height: 40px;
}

button.disabled {
    pointer-events: none;
}

/* #header-menu a {
    padding: 2px 5px;
} */

#page-desc-wrap {
    margin: 30px auto 20px;
}

.page-desc {
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

.page #page-wrap {
    text-align: left;
}

.modal-wrap {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.modal-outer {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2000;
}

.modal-bg {
    position: fixed;
    left: 0;
    right: 0;
    margin: auto;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.41);
    transition: all 0.25s linear;
}

.loaded #login-wrap,
.loaded #reset-wrap,
.loaded .modal-wrap {
    transition: all 0.25s linear;
}

.why-modal {
    color: #ffffff;
    text-shadow: 1px 1px 1px black;
}

.modal {
    box-sizing: border-box;
    border: 1px solid #48658b;
    background-color: #122236;
    color: #ffffff;
    width: 300px;
    padding: 0 15px;
    border-radius: 4px;
    max-height: 95vh;
    max-width: 95vw;
    pointer-events: all;
    position: relative;
    overflow-y: auto;
    opacity: 0;
    animation: fadeIn 0.25s linear forwards;
}

#login-modal button.default-btn.toggle-register-btn,
#login-modal button.default-btn.toggle-login-btn {
    margin-top: 15px;
}

.modal-msg {
    margin: 5px 0;
    float: left;
    width: 100%;
}

.modal-msg.success,
.modal-msg.error {
    margin: 10px 0 15px;
}

.success {
    color: #6afcff;
}

.error {
    color: #f84949;
}

.modal-x-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 130;
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    line-height: 33px;
    font-size: 27px;
    padding: 0px 10px;
    font-family: monospace;
    height: 21px;
    z-index: 300;
}

.modal-x-btn:hover {
    color: #000000;
    text-decoration: none;
}

.modal-x-btn::after,
.modal-x-btn::before {
    content: "";
    position: absolute;
    top: 9px;
    right: 0;
    width: 20px;
    height: 3px;
    border-radius: 10px;
    background-color: #98c3ff;
    transition: background-color 0.25s linear;
}

.modal-x-btn:hover::after,
.modal-x-btn:hover::before {
    background-color: #000000;
}


.modal-x-btn::before {
    transform: rotate(45deg);
}

.modal-x-btn::after {
    transform: rotate(-45deg);
}

.modal-notice {
    float: left;
    width: 100%;
    text-align: center;
    margin: 0 0 15px;
}

.modal-notice.medium-font {
    font-size: 15px;
}

.modal {
    opacity: 0;
}

.loaded .modal {
    transition: all 0.25s ease-in-out;
    opacity: 1;
}

.modal .default-btn {
    float: left;
    width: 100%;
    height: 35px;
    margin: 0 0 15px;
}

#init-verify-box input,
#register-form input:focus {
    border-color: #6afcff;
}

#login-form input:focus {
    border-color: #f685f0;
}

#reset-request-form input:focus {
    border-color: #fad373;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    background-color: #000000;
    color: #f0f0f0 !important;
    -webkit-box-shadow: 2px 2px 0px inset #000000, 0 0 0 30px #000000 inset !important;
    -webkit-box-shadow: 0 0 0 30px #000000 inset !important;
    -webkit-text-fill-color: #f0f0f0 !important;
}

#login-modal .before-two {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: -42px auto 0;
    padding: 16px;
    width: 52px;
    height: 52px;
    border-radius: 100%;
    background: #122236;
}

#login-modal button.default-btn.toggle-login-btn {
    float: right;
    width: 50%;
    width: calc(50% - 5px);
}

#login-modal.register-success button.default-btn.toggle-login-btn {
    width: 100%;
    margin: 0 0 15px;
}

#login-modal button.default-btn.toggle-register-btn,
.modal button.default-btn.modal-close-btn {
    float: left;
    width: 100%;
    margin: 0 0 15px;
}

.modal button.default-btn.cancel-btn,
.modal button.default-btn.modal-close-btn {
    float: left;
    width: 100%;
    background-color: #f69e6a;
}

button,
a.button {
    cursor: pointer;
    border: none;
    position: relative;
    padding: 5px 15px;
    font-size: inherit;
    text-decoration: none;
    border-radius: 4px;
}

#login-modal.login-toggled #login-form,
#login-modal.register-success .success-msg,
#login-modal.register-toggled #register-form,
#login-modal.reset-toggled #reset-request-form,
#reset-wrap.success .success-msg {
    display: block;
}

#login-modal.login-toggled .login-chooser,
#login-modal.register-success .login-chooser,
#login-modal.register-toggled .login-chooser,
#login-modal.reset-toggled .login-chooser,
#reset-wrap.success #reset-pass-form {
    display: none;
}

label {
    float: left;
    width: 100%;
    padding: 5px 0;
    margin-top: 5px;
    position: relative;
    cursor: pointer;
}

input {
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
    line-height: 34px;
    height: 35px;
    margin-bottom: 5px;
    font-size: inherit;
    border: 1px solid #48658b;
    text-align: center;
}

.modal .desc {
    font-size: 15px;
    text-align: left;
    position: absolute;
    margin: -95px 0 0 15px;
    padding: 10px;
    width: calc(100% - 50px);
    pointer-events: none;
    background-color: #0b1521;
    color: inherit;
}

form .desc {
    display: none;
}

form .focused .desc {
    display: block;
}

label:hover {
    text-decoration: underline;
}

input::placeholder,
textarea::placeholder {
    color: #ffffff;
    transition: opacity 0.25s linear;
}

#site-wrap input:focus::placeholder,
.modal input:focus::placeholder,
#site-wrap textarea:focus::placeholder {
    opacity: 0.65;
}

form input[type="radio"] {
    cursor: pointer;
}

.modal input[type="checkbox"] {
    width: auto;
    box-shadow: none;
    margin-right: 10px;
}

.checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

label.checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 18px;
    position: relative;
    padding: 2px 0 0 37px;
    box-sizing: border-box;
    text-align: left;
    font-weight: normal;
}

.checkbox .checkmark {
    position: absolute;
    left: 0;
    top: 11px;
    height: 20px;
    width: 20px;
    background-color: #000;
    /* box-shadow: 2px 2px 0px inset #284261; */
    border-radius: 100%;
    border: 1px solid #48658b;
}

.checkbox input[type="checkbox"]:checked+.checkmark {
    background-color: #6afcff;
    border-color: #6afcff;
    box-shadow: none;
}

.checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox input[type="checkbox"]:checked+.checkmark::after {
    display: block;
}

#account-wrap {
    text-align: center;
    width: 550px;
    margin: 0 0 25px;
}

#account-wrap h2 {
    margin-top: 35px;
}

#account-wrap button {
    margin: 25px 0;
}

#account-wrap label.checkbox {
    margin: 0 auto 15px;
    float: none;
    width: 300px;
}

.small {
    font-size: 13px;
}

ul li {
    margin-bottom: 5px;
}

ul.cookies li {
    text-overflow: ellipsis;
    overflow-x: hidden;
    white-space: nowrap;
}

.italic {
    font-style: italic;
}

/* .x:nth-of-type(1) {
    transition: all 0.25s linear;
    transform: rotate(45deg);
    transform-origin: top left;
    width: 28px;
    margin: -2px 0 0 2px;
}

.x:nth-of-type(2) {
    transition: all 0.25s linear;
    transform-origin: center;
    width: 0;
}

.x:nth-of-type(3) {
    transition: all 0.25s linear;
    transform: rotate(-45deg);
    transform-origin: bottom left;
    width: 28px;
    margin-left: 2px;
} */

#site-content.hidden {
    display: none;
}

input,
textarea,
button,
select {
    font-family: inherit;
    border-radius: 4px;
    font-size: inherit;
}

button {
    color: black;
}

input:focus {
    outline: none;
    border-color: #000000;
}

/* Scrollbars */

::-webkit-scrollbar {
    width: 7px;
}

.hidden {
    display: none;
}

/* @media (min-width: 1000px) {
    #tube-wrap {
        column-count: 4;
    }
} */

@media (min-width: 1250px) {
    #tube-wrap {
        column-count: 5;
    }
}

/* @media (min-width: 1500px) {
    #tube-wrap {
        column-count: 6;
    }
} */

@media (max-width: 1000px) {
    #site-wrap {
        width: 100%;
        padding: 0 0 15px;
    }

    #site-content-wrap {
        margin: 0 50px 50px;
    }
}

@media (min-width: 701px) {
    h1#entry-title {
        margin-bottom: 10px;
    }
}

@media (max-width: 750px) {
    h2 {
        font-size: 23px;
    }

    h3 {
        font-size: 23px;
    }

    #site-content-wrap {
        margin: 0 10px 50px;
    }

    h1#entry-title {
        margin-top: 15px;
        margin-bottom: 5px;
    }

    h1#entry-title>span {
        padding: 0px 9px;
    }

    h1#entry-title .asset-name,
    h1#entry-title .asset-type {
        font-size: 11px;
    }

    #tube-wrap {
        column-count: 2;
    }

    .settings-wrap {
        grid-template-columns: 1fr;
    }

    .settings-wrap label {
        margin: 0 0 -5px;
        text-align: left;
        padding-bottom: 0;
    }
}

@media (max-width: 500px) {
    #tube-wrap {
        column-count: 1;
    }
}

#toplist-categories-wrap {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.toplist-header {
    text-align: center;
    margin-bottom: 40px;
}

.categories-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.category-box {
    border: 1px solid #424242;
    border-radius: 12px;    
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.category-title {
    font-size: 24px;
    margin: 15px 0 0;
    border-bottom: 1px solid #444;
    padding: 0 15px 15px;
    box-sizing: border-box;
}

.category-meta {
    float: left;
    width: 100%;
    padding: 15px; 
    box-sizing: border-box;
}

.site-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9em;
}

.view-all-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.2s;
}

.view-all-link:hover {
    opacity: 0.8;
}

.category-description {
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

.site-rank {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
    min-width: 40px;
}

.site-item {
   float:left;
   width:100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   margin: 0 -15px;
   font-size: 24px;
   border-bottom: 1px solid #444;
   padding: 15px;
}

.rank-number {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 8px 12px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9em;
    min-width: 35px;
    text-align: center;
}

.admin-sorted {
    font-size: 0.8em;
    margin-top: 3px;
}

.site-favicon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    object-fit: contain;
    border-radius: 4px;
}

.site-info {
    flex: 1;
    margin-right: 15px;
}

.site-rating {
    display: flex;
    align-items: center;
    /* margin-bottom: 8px; */
    justify-content: center;
    float: left;
    width: 100%;
}

.stars {
    display: inline-block;
}

.star {
    /* color: #ddd; */
    /* font-size: 0.9em; */
}

.star.filled {
    /* color: #ffd700; */
}

.rating-text {
    margin: 0 0 -8px 4px;
    display: flex;
    flex-direction: column;
}

.rate-hint {
    display: block;
    color: #999;
    font-size: 0.7em;
    margin-top: 2px;
}

.site-meta {
    font-size: 0.8em;
    color: #888;
}

.site-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 100px;
}

.visit-btn,
.details-btn {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-size: 0.85em;
    font-weight: bold;
    transition: background-color 0.2s;
}

.visit-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.visit-btn:hover {
    background: linear-gradient(45deg, #5a67d8, #6b46c1);
}

a.details-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e0e0e0;
}

a.details-btn:hover {
    background: #e9ecef;
}

.category-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.view-more-btn {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border: 1px solid #667eea;
    border-radius: 6px;
    transition: all 0.2s;
}

.view-more-btn:hover {
    background: #667eea;
    color: white;
}

/* Footer block on toplist */
.toplist-footer {
    margin: 15px 0;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #424242;
    border-radius: 12px;
    padding: 15px;
  }
  
  .toplist-footer h3,
  .toplist-footer h4 {
    color: #fff;
  }
  
  .toplist-footer p,
  .toplist-footer li {
    color: #cfcfcf;
  }

.submit-site-cta,
.ranking-info {
    text-align: center;
}

.submit-site-cta h3,
.ranking-info h4 {
    margin-top: 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.ranking-info ul {
    text-align: left;
    margin: 0;
    padding-left: 20px;
}

.ranking-info li {
    margin: 5px 0;
}

.no-categories-message {
    text-align: center;
    padding: 60px 20px;
    border-radius: 12px;
}

.empty-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.6;
}

.no-categories-message h2 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.no-categories-message p {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.admin-actions {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.admin-actions h3 {
    color: #495057;
    margin-bottom: 15px;
    text-align: center;
}

.setup-steps {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.setup-steps li {
    counter-increment: step-counter;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007bff;
    position: relative;
}

.setup-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.setup-steps .btn {
    margin-right: 10px;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #5a67d8, #6b46c1);
}

@media (max-width: 768px) {

    .toplist-footer {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .site-info {
        margin-right: 0;
    }

    .site-actions {
        flex-direction: row;
        justify-content: center;
        min-width: auto;
    }
}

#toplist-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

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

.toplist-header h1 {
    font-size: 39px;
    margin-bottom: 10px;
}

.toplist-subtitle {
}

.category-filters {
    margin: 20px 0;
}

.category-filters select {
    padding: 8px 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.toplist-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.toplist-item {
    border: 1px solid #444;
    border-radius: 8px;
    padding: 20px;
}

.rank-badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.rank-number {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1em;
}

.featured-badge {
    background: #ffd700;
    color: #333;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
}

.site-name-link {
    display: flex;
    align-items: center;
    padding: 0 10px;
    text-align: left;
    font-size: 16px;
    text-decoration: none;
}

.site-name-link:hover {
    text-decoration: underline;
}

.site-favicon {
    width: 32px;
    height: 32px;
    margin-right: 12px;
    object-fit: contain;
    border-radius: 4px;
}

.rating-display {
    margin-bottom: 10px;
}

.site-metrics {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.site-description {
    line-height: 1.4;
    margin-bottom: 10px;
}

.category-tag {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

.site-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.visit-btn,
.details-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}

.visit-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.visit-btn:hover {
    background: linear-gradient(45deg, #5a67d8, #6b46c1);
}

.details-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e0e0e0;
}

.details-btn:hover {
    background: #e9ecef;
}

.submit-site-cta,
.ranking-info {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.no-sites-message {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .toplist-grid {
        grid-template-columns: 1fr;
    }

    .toplist-footer {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-actions {
        flex-direction: column;
    }
}

.container {
    /* background: black; */
    /* padding: 15px; */
    /* box-shadow: 0 0 5px #333, 0 0 10px #333, 0 0 10px black, 0 0 100px #cc0000, 0 0 10px #8a0000, 0 0 30px #820000; */
    /* border-radius: 14px; */
}

.single-site-container {
    max-width: 1200px;
    /* margin: 25px auto; */
    padding: 15px;
    /* background: #ffffff; */
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid #424242;
    box-shadow: 0 0 20px black;
}

.single-site-container .site-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #3c4fa4 0%, #5a3f9a 100%);
    border-radius: 12px;
    justify-content: space-between;
}

.single-site-container .site-favicon-large {
    width: 48px;
    height: 48px;
    margin-right: 20px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
}

.single-site-container .site-title-info h1 {
    margin: 0 0 8px 0;
    font-size: 2.2em;
    color: #f5f7fb;
}

/* .single-site-container .site-url-display {
    font-size: 1.1em;
    opacity: 0.95;
    color: #ddd;
    word-break: break-all;
} */

/* .single-site-container .site-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-bottom: 30px;
  } */

.single-site-container .site-sidebar {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    color: #e6e6e6;
}

.single-site-container .screenshot-section {
    margin-bottom: 30px;
}

.single-site-container .site-screenshot {
    width: 720px;
    height: 720px;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.single-site-container .no-screenshot {
    width: 100%;
    height: 300px;
    background: linear-gradient(45deg, #202225, #2a2d31);
    border: 2px dashed #3a3f45;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aab2bd;
    font-size: 1.2em;
}

.single-site-container .description-section h2 {
    color: #000000;
    margin: 0 0 15px 0;
    font-size: 1.8em;
}

.single-site-container .site-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 20px;
}

.single-site-container .rating-widget {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #2a2a2a;
    padding: 20px;
    border-radius: 12px;
}

.single-site-container .rating-widget .rating-summary {
    margin-bottom: 20px;
}

.single-site-container .rating-widget .rating-number {
    color: #9bb7ff;
    font-size: 2.5em;
}

.single-site-container .rating-widget .user-rating-section h3,
.single-site-container .rating-widget .reviews-section h3 {
    color: #000000;
}

.single-site-container .categories-display {
    margin-bottom: 20px;
}

.single-site-container .category-tag {
    display: inline-block;
    background: #667eea;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    margin: 3px;
    text-decoration: none;
}

.single-site-container .category-tag:hover {
    background: #5a6fd8;
    color: #fff;
}

.single-site-container .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.single-site-container .stat-item {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    text-align: center;
}

.single-site-container .stat-value {
    font-size: 1.5em;
    font-weight: bold;
    color: #9bb7ff;
    margin-bottom: 5px;
}

.single-site-container .stat-label {
    font-size: 0.9em;
    color: #a0a8b3;
}

.single-site-container .visit-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    padding: 15px 20px;
    box-sizing: border-box;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.single-site-container .visit-button:hover {
    background: linear-gradient(135deg, #218838, #1abc9c);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(40, 167, 69, 0.35);
}

.single-site-container .back-link {
    display: inline-block;
    color: #9bb7ff;
    text-decoration: none;
    margin-bottom: 20px;
    font-weight: bold;
}

.single-site-container .back-link:hover {
    color: #7aaeff;
}

.single-site-container .meta-info {
    border-top: 1px solid #2a2a2a;
    padding-top: 15px;
    font-size: 0.9em;
    color: #a0a8b3;
}

@media (max-width: 768px) {
    .single-site-container .site-content {
        grid-template-columns: 1fr;
    }

    .single-site-container .site-header {
        flex-direction: column;
        text-align: center;
    }

    .single-site-container .site-favicon-large {
        margin: 0 0 15px 0;
    }

    .single-site-container .site-screenshot {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
}

#header-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.menu-left, .menu-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-welcome {
    color: #666;
    font-size: 14px;
    margin-right: 10px;
}

@media (max-width: 768px) {
    #header-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .menu-left, .menu-right {
        justify-content: center;
    }
}

.back-link {
    margin: 25px auto;
    float: left;
    width: 100%;
}

#site-wrap {
    background: transparent;
    color: inherit;
}
  
/* Generic buttons */
.btn {
    background: #2a2f3a;
    color: #e6e6e6;
    border: 1px solid #2a2a2a;
}

.btn:hover {
    background: #3a4050;
    color: #fff;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
    border: none;
}

.btn-secondary {
    background: transparent;
    color: #9bb7ff;
    border: 1px solid #2a2a2a;
}

.btn-secondary:hover {
    color: #fff;
    border-color: #3a4a9b;
}

@media all and (max-width: 1080px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media all and (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media all and (max-width: 500px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}