/* Inter Font Family */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Inter Tight Font Family */
@font-face {
    font-family: 'Inter Tight';
    src: url('fonts/InterTight-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('fonts/InterTight-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('fonts/InterTight-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('fonts/InterTight-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter Tight';
    src: url('fonts/InterTight-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: var(--theme-primary, #d4af37);
    --bg-dark: var(--theme-bg-dark, #121212);
    --bg-card: var(--theme-bg-card, #1e1e1e);
    --text-primary: var(--theme-text-primary, #ffffff);
    --text-secondary: var(--theme-text-secondary, #9e9e9e);
    --border: var(--theme-border, #2a2a2a);
    --hover: var(--theme-primary-hover, #e8c547);
    --glow-gold: rgba(212, 175, 55, 0.5);
    --text-gray: var(--text-secondary);
}

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

body {
    font-family: var(--theme-font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Ensure content is above stars */
.container, .footer {
    position: relative;
    z-index: 10;
}

.modal {
    position: fixed;
    z-index: 1000;
}

/* Site Header */
.site-header {
    position: relative;
    border-bottom: 2px solid var(--border);
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.1);
    width: 100%;
    z-index: 100;
}

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

.header-left {
    flex-shrink: 0;
}

.header-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.2s ease;
}

.header-link:hover .header-title {
    text-shadow: 0 0 25px var(--glow-gold), 0 0 50px rgba(212, 175, 55, 0.4);
}

.header-title {
    font-family: var(--theme-font-heading, 'Inter Tight', sans-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    letter-spacing: 0.02rem;
    text-shadow: 0 0 20px var(--glow-gold), 0 0 40px rgba(212, 175, 55, 0.3);
}

.header-logo-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 20px var(--glow-gold)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.3));
    transition: filter 0.3s ease;
}

.header-link:hover .header-logo-img {
    filter: drop-shadow(0 0 25px var(--glow-gold)) drop-shadow(0 0 50px rgba(212, 175, 55, 0.4));
}

.header-tagline {
	font-family: 'Inter Tight', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.05rem;
}

/* Navigation Menu */
.header-nav {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Settings Button */
.settings-toggle {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    padding: 0;
    line-height: 1;
    font-weight: 600;
}

.settings-toggle:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--glow-gold);
}

/* Settings Menu */
.settings-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 1rem;
    min-width: 220px;
    max-width: calc(100vw - 2rem);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-gold);
    z-index: 2002;
}

.settings-menu.active {
    display: block;
}

.settings-menu h3 {
    margin: 0 0 0.75rem 0;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

.settings-option {
    margin-bottom: 0.75rem;
}

.settings-option:last-child {
    margin-bottom: 0;
}

.settings-option label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
}

.settings-toggle-switch {
    position: relative;
    width: 48px;
    height: 24px;
    background: #444;
    border-radius: 12px;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.settings-toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.settings-option input[type="checkbox"] {
    display: none;
}

.settings-option input[type="checkbox"]:checked + .settings-toggle-switch {
    background: var(--primary);
}

.settings-option input[type="checkbox"]:checked + .settings-toggle-switch::after {
    transform: translateX(24px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2001;
    position: relative;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
    letter-spacing: 0.02rem;
    padding: 0.5rem 0;
    display: block;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Page Content Styles */
.page-content {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    line-height: 1.8;
    color: #e0e0e0;
}

.page-title {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 20px var(--glow-gold);
}

.page-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-style: italic;
}

/* FAQ Styles */
.faq-section {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    color: #fff;
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-answer li {
    margin-bottom: 0.75rem;
}

.faq-answer strong {
    color: #fff;
}

.faq-footer {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    border: 1px solid var(--primary);
    text-align: center;
}

.faq-footer p {
    margin: 0;
    font-size: 1.1rem;
}

.faq-footer a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.faq-footer a:hover {
    color: var(--hover);
}

/* Privacy Policy Styles */
.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section h2 {
    color: var(--primary);
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.privacy-section h3 {
    color: #fff;
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
}

.privacy-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-section li {
    margin-bottom: 0.75rem;
}

.privacy-section a {
    color: var(--primary);
    text-decoration: underline;
}

.privacy-section a:hover {
    color: var(--hover);
}

/* Footer Links */
.footer-links {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--hover);
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

.online-count {
	font-family: 'Inter Tight', sans-serif;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border-radius: 8px;
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px var(--glow-gold);
}

.online-count p {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    margin: 0;
}

.online-count .count-number {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    display: inline-block;
    margin: 0 0.2rem;
    text-shadow: 0 0 10px var(--glow-gold);
}

/* Models Grid */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.model-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    padding-bottom: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    animation: fadeInCard 0.3s ease forwards;
}

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

.model-card:nth-child(1) { animation-delay: 0.05s; }
.model-card:nth-child(2) { animation-delay: 0.1s; }
.model-card:nth-child(3) { animation-delay: 0.15s; }
.model-card:nth-child(4) { animation-delay: 0.2s; }
.model-card:nth-child(5) { animation-delay: 0.25s; }
.model-card:nth-child(6) { animation-delay: 0.3s; }
.model-card:nth-child(7) { animation-delay: 0.35s; }
.model-card:nth-child(8) { animation-delay: 0.4s; }
.model-card:nth-child(9) { animation-delay: 0.45s; }
.model-card:nth-child(10) { animation-delay: 0.5s; }
.model-card:nth-child(11) { animation-delay: 0.55s; }
.model-card:nth-child(12) { animation-delay: 0.6s; }
.model-card:nth-child(n+13) { animation-delay: 0.65s; }

.model-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--glow-gold);
    transform: translateY(-5px);
}

/* Keep highlight on last viewed card until hover */
.model-card.last-viewed {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--glow-gold);
    transform: translateY(-5px);
}

/* --- THUMBNAIL AREA --- */
.thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #000;
}

/* blurred fill background */
.thumb-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.2s;
}

.thumb-bg-visible {
    opacity: 1;
}

/* main thumbnail image */
.thumb-img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    inset: 0;
    object-fit: cover;
}

/* wide images: fill height, crop left/right minimally */
.thumb-img.thumb-wide {
    height: 100%;
    width: auto;
}

/* for vertical/square — center horizontally */
.thumb-img.thumb-vertical {
    width: auto;
    height: 100%;
}

/* --- HD BADGE --- */
.hd-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(212, 175, 55, 0.9);
    color: #1e1e1e;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    padding: 2px 5px;
    font-size: 11px;
    border-radius: 4px;
    box-shadow: 0 0 10px var(--glow-gold);
}

/* mobile tighten */
@media (max-width: 480px) {
    .hd-badge {
        padding: 1px 4px;
        font-size: 10px;
        top: 3px;
        right: 3px;
    }
}

/* --- INFO AREA --- */
.model-info {
    background: rgba(28, 28, 28, 0.9);
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    color: #fff;
    font-size: 14px;
}

.model-name {
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--primary);
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

.platform-icon {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    flex-shrink: 0;
    margin: 3px 0 0 0;
}

.eye-icon {
    margin-right: 0px;
}

/* --- CTA BUTTON --- */
.cta-btn {
    display: block;
    margin: 10px auto 0;
    padding: 8px 14px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--glow-gold);
}

.cta-btn:hover .cta-dot {
    color: var(--bg-dark);
}

.cta-dot {
    font-size: 14px;
    margin-right: 4px;
    color: var(--primary);
    transition: color 0.3s ease;
}

/* Offline CTA with slightly reduced vertical padding */
.cta-btn.offline-cta {
    padding: 7px 14px;
}


.cta-mini {
    display: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 8px;
    width: 100%;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    border: 2px solid var(--primary);
    box-shadow: 0 0 12px var(--glow-gold);
}

/* Allow JS to override width on mobile */
@media (max-width: 768px) {
    .modal-content {
        width: auto;
        max-width: none;
    }
}

.close {
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 300;
}

.close:hover {
    color: var(--text-primary);
}

.modal-header {
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(212, 175, 55, 0.05);
}

.modal-header h2 {
    color: var(--primary);
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    margin: 0;
    text-shadow: 0 0 10px var(--glow-gold);
}

.modal-body {
    padding: 1.5rem;
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
	display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .iframe-container {
        padding-top: 0;
        height: 60vh;
    }
}

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

/* Transparent overlay for Chaturbate iframe click-through */
.iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
    cursor: pointer;
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
    .modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        border-radius: 8px;
    }
    
    .modal-header {
        padding: 0.75rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 0.95rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .iframe-container {
        margin-bottom: 0.75rem;
        border-radius: 4px;
    }
}

.modal-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.urgency-text {
    color: var(--primary-gold);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    animation: urgencyPulse 2s ease-in-out infinite;
}

@keyframes urgencyPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--hover) 100%);
    color: var(--bg-dark);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.03rem;
    box-shadow: 0 10px 35px var(--glow-gold);
    position: relative;
    overflow: hidden;
    font-family: 'Inter Tight', sans-serif;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.8), 0 0 60px var(--glow-gold);
}

.cta-icon {
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

/* Loading */
.loading {
    text-align: center;
    padding: 3rem 2rem;
    grid-column: 1 / -1;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px var(--glow-gold);
}

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

.loading p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    padding: 2rem;
    text-align: center;
    border-top: 2px solid var(--border);
    margin-top: 3rem;
    background: rgba(30, 30, 30, 0.5);
}

.footer p {
    color: var(--text-secondary);
    margin: 0.3rem 0;
    font-size: 0.85rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Adblock Warning */
.adblock-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffc107;
    font-size: 0.9rem;
}

.warning-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.warning-text {
    flex: 1;
}

.warning-close {
    background: none;
    border: none;
    color: #ffc107;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.warning-close:hover {
    opacity: 0.7;
}

.adblock-warning a {
    color: #ffc107;
    text-decoration: underline;
}

.adblock-warning a:hover {
    color: #ffd54f;
}

/* Minimal Warning (shown after 3 displays) */
.minimal-warning {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.4rem;
    background: transparent;
    border: none;
    padding: 0.4rem 0.75rem;
    text-align: right;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.minimal-warning a {
    color: var(--text-secondary);
    text-decoration: underline;
    font-weight: 400;
}

.minimal-warning a:hover {
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .adblock-warning {
        font-size: 0.8rem;
        padding: 0.6rem 0.75rem;
    }
    
    .warning-icon {
        font-size: 1rem;
    }
    
    .warning-close {
        font-size: 1.3rem;
        width: 25px;
        height: 25px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    .header-title {
        font-size: 1.4rem;
    }
    
    .header-tagline {
        font-size: 0.8rem;
    }

    /* Settings button on mobile - left of hamburger */
    .settings-toggle {
        order: 1;
        font-size: 1.2rem;
        width: 32px;
        height: 32px;
    }
    


    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
        order: 2;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        flex-direction: column;
        background: rgba(30, 30, 30, 0.98);
        backdrop-filter: blur(10px);
        padding: 5rem 2rem 2rem;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 2000;
        border-left: 2px solid var(--primary);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        display: none;
    }

    .nav-menu.active {
        transform: translateX(0);
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a {
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .models-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .page-content {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .faq-question {
        font-size: 1.2rem;
    }

    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .modal {
        padding: 0;
    }
    
    .modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        margin: 0;
        border-radius: 8px;
    }
    
    .modal-header {
        padding: 0.75rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 0.95rem;
    }
    
    .modal-body {
        padding: 0.5rem;
    }
    
    .iframe-container {
        border-radius: 0;
        margin-bottom: 0.5rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .close {
        font-size: 1.5rem;
    }
    
    .online-count {
        padding: 0.5rem 0.75rem;
    }
    
    .online-count p {
        font-size: 0.8rem;
    }
    
    .online-count .count-number {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0;
    }

    .header-container {
        padding: 0.75rem;
    }
    
    .header-title {
        font-size: 1.2rem;
    }
    
    .header-tagline {
        font-size: 0.75rem;
    }

    .nav-menu {
        width: 80%;
    }
    
    .models-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.5rem;
    }
	
	.model-card {
		padding-bottom: 8px;
	}
	
	.model-info {
		padding: 5px;
	}
	
	.cta-btn {
		margin: 4px auto 0;
	}
    
    .container {
        padding: 1rem 0.5rem;
    }

    .page-content {
        padding: 1rem;
        margin: 1rem auto;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .privacy-section h2 {
        font-size: 1.3rem;
    }

    .privacy-section h3 {
        font-size: 1.1rem;
    }
    
    .modal-header {
        padding: 0.6rem 0.75rem;
    }
    
    .modal-header h2 {
        font-size: 0.9rem;
    }
    
    .modal-body {
        padding: 0.4rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .cta-platform-icon {
        width: 20px;
        height: 20px;
    }
    
    .close {
        font-size: 1.4rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 8px;
    right: 8px;
    width: 48px;
    height: 48px;
    background: var(--bg-dark);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    font-size: 1.8rem;
    font-weight: normal;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-90deg);
}

.back-to-top:hover {
    opacity: 0.9;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
    }
}

/* ============================================================================
   TIMELINE NAVIGATION - Stream Loader & Toast Notifications
   ============================================================================ */

/* Stream Loader - Directional progress-like loader for smooth transitions */
.stream-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: fadeIn 0.2s ease;
}

.stream-loader.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

.stream-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 300px;
    width: 90%;
}

.stream-loader-bar {
    width: 100%;
    height: 3px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.stream-loader-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary) 30%, 
        var(--hover) 50%, 
        var(--primary) 70%, 
        transparent 100%
    );
    animation: streamProgress 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--glow-gold);
}

@keyframes streamProgress {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.stream-loader-text {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.02em;
    margin: 0;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Toast Notifications - Minimal, non-disruptive feedback */
.stream-toast {
    position: fixed;
    bottom: 400px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    text-align: center;
}

.stream-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.stream-toast-info {
    border-color: var(--primary);
    box-shadow: 0 4px 12px var(--glow-gold);
}

.stream-toast-warning {
    border-color: #ff9800;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .stream-loader-text {
        font-size: 0.85rem;
    }
    
    .stream-toast {
        bottom: 300px;
        font-size: 0.8rem;
        padding: 0.7rem 1.2rem;
    }
}

/* Grid Loading - Match stream loader style */
.loading-bar {
    width: 100px;
    height: 3px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 1rem;
}

.loading-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary) 30%, 
        var(--hover) 50%, 
        var(--primary) 70%, 
        transparent 100%
    );
    animation: streamProgress 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px var(--glow-gold);
}

/* Gesture Capture Overlay - Enables swipe/scroll on iframe without blocking clicks */
.gesture-capture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
}

/* iframe-overlay should be above gesture overlay for clicks */
.iframe-overlay {
    z-index: 15;
}


/* Chaturbate iframe styling with blurred background */
.chaturbate-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.1);
    z-index: 0;
    opacity: 0.6;
}

.chaturbate-iframe-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    z-index: 1;
}

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

/* Ensure proper centering on mobile */
@media (max-width: 768px) {
    .chaturbate-iframe-wrapper {
        max-width: 100vw;
    }
}

/* Stream loader positioning - covers iframe container only, not modal-actions */
.modal-body {
    position: relative;
}

.modal-body #iframe-container {
    position: relative;
}

.modal-body .stream-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    pointer-events: none;
}

.modal-body .stream-loader.active {
    pointer-events: auto;
}

/* Ensure modal-actions stays visible and clickable above loader */
.modal-actions {
    position: relative;
    z-index: 100;
    pointer-events: auto;
}

/* ============================================================================
   AUTO-REFRESH CONTROLS
   ============================================================================ */

/* Newly online glow effect */
.model-card.newly-online {
    animation: glowPulse 3s ease-in-out 2;
    box-shadow: 0 0 12px rgba(255, 0, 89, 0.35), 0 0 20px rgba(255, 0, 89, 0.15);
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 0, 89, 0.4), 0 0 25px rgba(255, 0, 89, 0.2);
    }
}

/* Smooth fade transitions for refreshed cards */
.model-card {
    transition: opacity 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 8px;
        right: 8px;
        width: 40px;
        height: 40px;
    }
}

/* ============================================================================
   OFFLINE MODEL CARDS
   ============================================================================ */

.model-card.offline {
    opacity: 0.6;
    filter: grayscale(50%);
    transition: opacity 0.5s ease, filter 0.5s ease;
    cursor: default;
}

.model-card.offline:hover {
    opacity: 0.7;
}

/* Offline CTA uses base .cta-btn styles for consistency */

/* ============================================================================
   TOAST NOTIFICATION
   ============================================================================ */

.toast-notification {
    position: fixed;
    bottom: 6px;
    right: 66px;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-gold);
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 280px;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    /*animation: toastIconPulse 2s ease-in-out infinite;*/
}

@keyframes toastIconPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

.toast-message {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.toast-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.toast-refresh-btn {
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.toast-refresh-btn:hover {
    background: var(--hover);
    transform: translateY(-1px);
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .toast-notification {
        bottom: 6px;
        right: 66px;
        max-width: calc(100vw - 100px);
        padding: 0.6rem 0.85rem;
    }
    
    .toast-content {
        gap: 0.4rem;
    }
    
    .toast-message {
        font-size: 0.8rem;
    }
    
    .toast-actions {
        gap: 0.5rem;
    }
    
    .toast-refresh-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* ============================================================================
   GRID HEIGHT PRESERVATION
   ============================================================================ */

#models-grid {
    min-height: 500px;
    transition: min-height 0.3s ease;
}

#models-grid .loading {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
