/* Age Verification Popup Styles */
/* Watch Instructions Popup Styles */
.watch-instructions-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f8fafc; /* Light gray solid background */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.watch-instructions-overlay.active {
    display: flex;
    opacity: 1;
}

.watch-instructions-popup {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    position: relative;
    color: #1e293b; /* Default dark text color */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
}

.watch-instructions-overlay.active .watch-instructions-popup {
    transform: translateY(0);
    opacity: 1;
}

.watch-instructions-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Don't show again checkbox */
.dont-show-again {
    margin: 1rem 0;
    display: flex;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    color: #e0e0e0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #2a2a4a;
    border: 2px solid #4a4a6a;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #3a3a5a;
    border-color: #5a5a8a;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #8a2be2;
    border-color: #9d4edd;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.watch-instructions-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.watch-instructions-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color, #8a2be2);
    border-radius: 2px;
}

.watch-instructions-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #0f172a; /* Darker color for better contrast */
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.3;
}

.watch-instructions-title svg {
    color: var(--primary-color, #8a2be2);
    width: 1.5rem;
    height: 1.5rem;
}

.close-instructions-btn {
    background: var(--bg-hover, #f1f5f9);
    border: none;
    color: var(--text-muted, #64748b);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
}

.close-instructions-btn:hover {
    background: var(--primary-color, #8a2be2);
    color: white;
    transform: rotate(90deg);
}

/* Help Button */
.help-button {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    width: 40px;
    height: 40px;
}

.help-button:hover {
    background: rgba(138, 43, 226, 0.1);
    color: #8a2be2;
    transform: fade;
}

.help-button svg {
    width: 20px;
    height: 20px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 1rem auto;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Weet Video Player Container */
.weet-video-player {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* 9:16 Aspect Ratio for vertical video */
    background: #000;
}

/* Video Loading State */
.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.video-loading .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 15px 10px 10px;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0 5px;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.control-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.video-time {
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    margin: 0 10px;
    white-space: nowrap;
}

.progress-container {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 10px;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 100%;
    position: relative;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #fff;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

/* Hide default video controls */
.weet-video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .video-container {
        border-radius: 0;
        margin: 0 -20px;
        max-width: none;
    }
    
    .video-controls {
        padding: 10px 8px;
    }
    
    .control-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .video-time {
        font-size: 12px;
    }
}

/* Hide controls on mobile when not interacting */
@media (hover: none) {
    .video-controls {
        opacity: 0;
        transition: opacity 0.3s ease 1s;
    }
    
    .video-container:hover .video-controls,
    .video-controls.visible {
        opacity: 1;
        transition-delay: 0s;
    }
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.instructions-steps {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.instruction-step {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-secondary, #f8fafc);
    border-radius: 12px;
    border: 1px solid var(--border-color, #e2e8f0);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.instruction-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.instruction-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}


.step-number {
    background: linear-gradient(135deg, #9c27b0, #673ab7);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    color: #e0e0e0;
    font-size: 1.1rem;
}

.step-content p {
    margin: 0;
    color: #b0b0b0;
    line-height: 1.5;
}

.watch-instructions-buttons {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.watch-instructions-btn {
    background: linear-gradient(135deg, #9c27b0, #673ab7);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.watch-instructions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.4);
}

.watch-instructions-btn:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .watch-instructions-popup {
        padding: 1.5rem;
    }
    
    .watch-instructions-title {
        font-size: 1.5rem;
    }
    
    .instruction-step {
        padding: 1rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--primary-color, #8a2be2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-content h3 {
    margin: 0 0 0.5rem 0;
    color: #0f172a; /* Darker color for better contrast */
    font-size: 1.1rem;
    font-weight: 600;
}

.step-content p {
    margin: 0;
    color: #334155; /* Slightly darker for better readability */
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

.video-reference {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color, #e2e8f0);
    text-align: center;
}

.video-reference a {
    color: var(--primary-color, #8a2be2);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.video-reference a:hover {
    color: var(--primary-hover, #7b1fa2);
    text-decoration: underline;
}

.video-reference svg {
    width: 1rem;
    height: 1rem;
}

/* Dark mode specific styles */
[data-theme="dark"] .watch-instructions-overlay {
    background: #0b1120; /* Darker background for better contrast */
}

[data-theme="dark"] .watch-instructions-popup {
    background: #1e293b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0; /* Lighter text for dark mode */
}

[data-theme="dark"] .watch-instructions-title {
    color: #ffffff; /* Brighter white for headings */
}

[data-theme="dark"] .instruction-step {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .step-content h3 {
    color: #f8fafc;
    font-weight: 500;
}

[data-theme="dark"] .step-content p {
    color: #cbd5e1;
    font-weight: 400;
}

[data-theme="dark"] .step-number {
    background: #4f46e5; /* Brighter purple for better visibility */
}

/* Light mode specific styles */
[data-theme="light"] .watch-instructions-overlay {
    background: #f1f5f9; /* Slightly darker gray for better contrast */
}

[data-theme="light"] .watch-instructions-popup {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    color: #1e293b; /* Dark text for light mode */
}

[data-theme="light"] .watch-instructions-title {
    color: #0f172a; /* Very dark for maximum contrast */
}

[data-theme="light"] .instruction-step {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .step-content h3 {
    color: #0f172a;
    font-weight: 600;
}

[data-theme="light"] .step-content p {
    color: #334155;
    font-weight: 400;
}

[data-theme="light"] .step-number {
    background: #7c3aed; /* Slightly brighter purple */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .watch-instructions-popup {
        max-width: 90%;
        padding: 1.5rem;
    }
    
    .watch-instructions-title {
        font-size: 1.3rem;
    }
    
    .instruction-step {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .watch-instructions-popup {
        padding: 1.25rem;
        border-radius: 12px;
        max-height: 85vh;
    }
    
    .watch-instructions-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .watch-instructions-title {
        font-size: 1.2rem;
    }
    
    .instruction-step {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .close-instructions-btn {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    
    .watch-instructions-title {
        font-size: 1.3rem;
    }
    
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
    
    .watch-instructions-btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { 
        transform: scale(0.8);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Age Verification Popup Styles */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.age-verification-popup {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.3);
    transform: scale(0.8);
    opacity: 0;
    animation: scaleIn 0.6s ease 0.2s forwards;
}

.age-verification-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.age-warning-icon {
    font-size: 4rem;
    animation: pulse 2s infinite;
}

.age-verification-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(138, 43, 226, 0.5);
}

.age-verification-message {
    font-size: 1.1rem;
    color: #b3b3b3;
    margin: 0;
    line-height: 1.6;
}

.age-verification-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.age-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.enter-btn {
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.4);
}

.enter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(138, 43, 226, 0.6);
}

.exit-btn {
    background: transparent;
    color: #ff4444;
    border: 2px solid rgba(255, 68, 68, 0.3);
}

.exit-btn:hover {
    background: rgba(255, 68, 68, 0.1);
    border-color: #ff4444;
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .age-verification-popup {
        padding: 2rem 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .age-verification-title {
        font-size: 1.5rem;
    }
    
    .age-verification-message {
        font-size: 1rem;
    }
    
    .age-verification-buttons {
        flex-direction: column;
    }
    
    .age-btn {
        width: 100%;
    }
    
    .age-warning-icon {
        font-size: 3rem;
    }
}

/* Modern Blue/Purple Gradient Theme - Cool + Vibrant */

/* CSS Variables */
:root {
    /* Dark Theme Colors - Enhanced Darkness */
    --bg-primary: #050510;
    --bg-secondary: #0a0a15;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #e8e8f0;
    --text-secondary: #9ca3af;
    --text-muted: #4b5563;
    --accent-primary: #4f46e5;
    --accent-secondary: #7c3aed;
    --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    /* Border */
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --accent-primary: #3b82f6;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);
}

/* Mobile-First Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a15 0%, #1a1a2e 100%);
    color: #ffffff;
    padding: 6rem 1rem 4rem;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(75, 0, 130, 0.15) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    z-index: 2;
    width: 100%;
}

.hero-header {
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    margin: 0 0 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    background: linear-gradient(90deg, #8a2be2, #4b0082);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    display: none;
}

/* Removed hover effect */

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    color: #b3b3b3;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-cta {
    margin: 4rem 0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 6rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 2.8rem;
/* Responsive adjustments */
@media (max-width: 1024px) {
    
}

@media (max-width: 480px) {
    
        display: none;
    }
    
    .stat-item:not(:last-child)::before {
        content: '';
        position: absolute;
        bottom: -0.75rem;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Animated Background Elements - Darker Version */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(79, 70, 229, 0.02) 0%, transparent 50%);
    z-index: -1;
    animation: floatingGradient 25s ease-in-out infinite;
}

@keyframes floatingGradient {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -20px) rotate(1deg); }
    66% { transform: translate(20px, -10px) rotate(-1deg); }
}

/* Floating particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Mobile-First Container */
.container {
    max-width: 100%;
    padding: 0 16px; /* Better mobile padding */
    margin: 0 auto;
}

/* Mobile-First Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px; /* Mobile-friendly height */
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle {
    position: absolute;
    top: 50%;
    right: 80px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1002;
    font-size: 18px;
}

.theme-toggle:hover {
    transform: translateY(-50%) scale(1);
}

.theme-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001; /* Above hamburger menu */
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.nav-brand h1 {
    font-size: 1.1rem; /* Mobile size */
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.2px;
    margin: 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-brand h1:hover {
    transform: scale(1.05);
    color: var(--accent-primary);
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    flex-shrink: 0;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.logo-circle:hover {
    transform: scale(1.1);
    border-color: var(--accent-secondary);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Mobile Hamburger Menu */
.hamburger {
    display: block; /* Show on mobile */
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 6px;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.hamburger.active span:nth-child(1) {
    top: 11px;
    transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger.active span:nth-child(3) {
    top: 11px;
    transform: rotate(-135deg);
}

/* Mobile Navigation Menu */
.nav-menu {
    position: fixed;
    top: 60px;
    right: 15px;
    width: 160px; /* Smaller width */
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    gap: 6px; /* Smaller gap */
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 12px; /* Smaller padding */
    box-shadow: var(--shadow-hover);
}

.nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 16px; /* Touch targets */
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9rem; /* Mobile readable */
    min-height: 40px; /* Touch target */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
    box-shadow: var(--shadow-primary);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--text-primary);
    background: var(--gradient-primary);
    box-shadow: var(--shadow-primary);
    transform: translateY(-1px);
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sections - Mobile First */
.section {
    min-height: 100vh;
    padding: 80px 0; /* Mobile padding */
    position: relative;
}

.section-title {
    font-size: 1.8rem; /* Mobile size */
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 15px; /* Updated spacing */
}

/* Enhanced styling for specific section titles */

/* All Posts */
.posts-section .section-title {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
}

.posts-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-radius: 2px;
}

/* About Secret Contant */
#about .section-title {
    background: linear-gradient(135deg, #48dbfb, #ff9ff3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
}

#about .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #48dbfb, #ff9ff3);
    border-radius: 2px;
}

/* What Our Community Says */
#testimonials .section-title {
    background: linear-gradient(135deg, #ee5a24, #f368e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
}

#testimonials .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ee5a24, #f368e0);
    border-radius: 2px;
}

/* Connect With Me */
#connect .section-title {
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    position: relative;
}

#connect .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
    border-radius: 2px;
}

/* Hero Section - Mobile First */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.03) 0%, transparent 50%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(79, 70, 229, 0.05), transparent);
    animation: rotate 25s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    text-align: center;
    max-width: 100%;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 2rem; /* Mobile size */
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.2;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInFromTop 1s ease, glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.hero-subtitle-main {
    font-size: 1.3rem; /* Mobile size - larger than subtitle */
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1rem; /* Mobile size */
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Mobile-First Buttons */
.cta-button {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 18px 24px; /* Larger touch targets for mobile */
    font-size: 1rem; /* Mobile readable */
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    filter: brightness(1.1);
}

.cta-button {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 10px 0; /* Mobile spacing */
    min-height: 52px; /* Minimum touch target size */
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover .button-glow {
    width: 300px;
    height: 300px;
}

.cta-button:active {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* About Section - Mobile First */
.about-content {
    text-align: center;
    max-width: 100%;
}

.about-content p {
    font-size: 1rem; /* Mobile readable */
    line-height: 1.7;
    color: var(--text-secondary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap; /* Better for mobile */
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 80px; /* Mobile minimum */
}

.stat-number {
    display: block;
    font-size: 1.5rem; /* Mobile readable */
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem; /* Mobile smaller */
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Connect Section Enhancements */
.connect-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.connect-intro {
    font-size: 20px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.social-info {
    display: flex;
    flex-direction: column;
}

.social-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
}

.social-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    gap: 40px;
    margin-top: 40px;
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In from Left */
.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In from Right */
.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Bounce Animation */
.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-content {
    position: relative;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -20px;
    font-size: 60px;
    color: var(--accent-primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.author-role {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Mobile Posts Section */
.posts-section {
    padding: 60px 0; /* Less padding for mobile */
}

/* Search Section Styles */
.search-instruction {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0 0 20px 0;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

.search-container {
    margin: 0 auto 32px;
    max-width: 500px;
    position: sticky;
    top: 60px;
    z-index: 1001;
    background: var(--bg-primary);
    padding: 20px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container.stuck {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    z-index: 1002;
}

.search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 36px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.video-instruction {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 32px 0 30px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
    animation-delay: 0.4s;
}

.search-instruction .emoji,
.video-instruction .emoji {
    display: inline-block;
    opacity: 0.7;
    margin: 0 2px;
    animation: bounce 2s infinite;
    vertical-align: middle;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.posts {
    display: grid;
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 12px; /* Reduced gap for more compact layout */
    max-width: 100%;
    margin-top: 16px;
}

.post {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px; /* Reduced border radius for more compact look */
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

/* Add post number badge at top of post */
.post::before {
    content: attr(data-post-number);
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.post-thumb {
    width: 100%;
    height: 150px; /* Reduced mobile height for better visibility */
    object-fit: cover;
    display: block;
}

.post-content {
    padding: 0px; /* Reduced mobile padding for compact layout */
}

.post-title {
    font-size: 0.9rem; /* Smaller mobile font for better fit */
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.post-meta {
    font-size: 0.8rem; /* Mobile smaller */
    color: var(--text-secondary);
}
.newsletter-signup {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    text-align: center;
    color: white;
}

.newsletter-signup h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.newsletter-signup p {
    font-size: 16px;
    margin: 0 0 20px 0;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.newsletter-input::placeholder {
    color: #666;
}

.newsletter-button {
    padding: 12px 24px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.search-container {
    max-width: 100%;
    margin: 0 auto 40px;
    position: sticky;
    top: 60px;
    z-index: 1001;
    background: var(--bg-primary);
    padding: 24px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container.stuck {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0px 0;
    border-radius: 12px;
    z-index: 1002;
}

.search-input {
    width: 100%;
    padding: 8px 36px 8px 12px; /* Adjusted right padding for clear button */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.9rem; /* Slightly smaller for mobile */
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-primary);
}

.search-box {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-clear {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

.search-clear:hover {
    background: var(--bg-glass);
    color: var(--accent-primary);
    transform: translateY(-50%) scale(1.05);
}

.search-meta {
    margin-top: 1px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--bg-primary);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
    max-height: 260px;
    overflow-y: auto;
    padding: 6px;
    opacity: 0;
    transform: translateY(4px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1100;
}

.search-suggestions.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.suggestion-item {
    width: 100%;
    border: none;
    background: transparent;
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    cursor: pointer;
    color: var(--text-primary);
    transition: background 0.2s ease, transform 0.2s ease;
}

.suggestion-item + .suggestion-item {
    margin-top: 2px;
}

.suggestion-item:hover,
.suggestion-item.active {
    background: var(--bg-glass);
    transform: translateY(-1px);
}

.suggestion-main {
    font-size: 0.9rem;
}

.suggestion-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.suggestion-highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

.posts {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: single column */
    gap: 15px;
    max-width: 100%;
    margin-top: 20px;
}

    .post {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.post:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.post-thumb {
    width: 100%;
    height: 150px;
    min-width: 10%;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    flex: 1;
    padding-bottom: 20px; /* Reserve space for bottom actress strip */
}

.post-title {
    font-size: 1rem; /* Mobile readable */
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.post-actress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
    background: rgba(15, 23, 42, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    opacity: 0.96;
}

/* Improve contrast for post text in light mode */
[data-theme="light"] .post-title {
    color: #111827;
}

[data-theme="light"] .post-actress {
    color: #ffffff;
    background: rgba(15, 23, 42, 0.9);
    border-top-color: rgba(15, 23, 42, 0.9);
}

.post-id {
    font-size: 1rem; /* Larger for better visibility */
    color: white; /* High contrast color */
    background: linear-gradient(135deg, #667eea, #764ba2); /* Strong gradient */
    padding: 8px 16px; /* More padding for better visibility */
    border-radius: 12px; /* Rounded corners */
    display: inline-block;
    font-weight: 700; /* Bold for visibility */
    margin-top: 12px; /* Better spacing */
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3); /* Subtle shadow */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Text shadow for readability */
}

.instruction {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem; /* Mobile readable */
    margin-bottom: 30px;
}

/* Connect Section - Mobile First */
.connect-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

.connect-content p {
    font-size: 1rem; /* Mobile readable */
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    flex-direction: column; /* Mobile: vertical */
    gap: 15px;
    align-items: center;
}

.social-link {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 15px 25px; /* Mobile touch targets */
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 280px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

/* Theme-specific colors */
.social-link.telegram {
    border-color: #0088cc;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.1), rgba(0, 136, 204, 0.05));
}

.social-link.telegram:hover {
    background: linear-gradient(135deg, #0088cc, #006699);
    border-color: #0088cc;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.social-link.instagram {
    border-color: #e4405f;
    background: linear-gradient(135deg, rgba(228, 64, 95, 0.1), rgba(225, 48, 108, 0.05));
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #e4405f, #c13584);
    border-color: #e4405f;
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.social-link.youtube {
    border-color: #ff0000;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0.05));
}

.social-link.youtube:hover {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-color: #ff0000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
    transform: translateY(-3px) scale(1.02);
}

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-link:hover svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Footer - Mobile First */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 30px 0; /* Mobile padding */
}

.footer-content {
    display: flex;
    flex-direction: column; /* Mobile: vertical */
    text-align: center;
    gap: 15px;
    align-items: center;
}

.legal-links {
    display: flex;
    flex-direction: column; /* Mobile: vertical */
    gap: 10px;
    align-items: center;
}

.legal-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem; /* Mobile readable */
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--accent-secondary);
}

/* Modal - Mobile First */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px; /* Mobile padding */
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px 20px; /* Mobile padding */
    max-width: 100%;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-hover);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    border: none;
    width: 32px; /* Mobile size */
    height: 32px; /* Mobile size */
    border-radius: 50%;
    font-size: 1rem; /* Mobile size */
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: var(--shadow-primary);
}

.modal-close:hover {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    box-shadow: var(--shadow-hover);
    transform: scale(1.1);
}

.modal-title {
    font-size: 1.3rem; /* Mobile size */
    color: var(--text-primary);
    margin-bottom: 10px;
}

.modal-updated {
    color: var(--text-muted);
    font-size: 0.8rem; /* Mobile readable */
    margin-bottom: 20px;
}

.modal-body h3 {
    color: var(--text-primary);
    margin: 20px 0 10px 0;
    font-size: 1.1rem; /* Mobile readable */
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.9rem; /* Mobile readable */
}

/* Error Message - Mobile First */
.error-message {
    color: #ff6b6b;
    text-align: center;
    margin: 20px 0;
    font-size: 0.9rem; /* Mobile readable */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Modern Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes slideInFromTop {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInFromBottom {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(102, 126, 234, 0.5); }
    50% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.8), 0 0 30px rgba(102, 126, 234, 0.6); }
}

/* Enhanced Visual Effects */
.hero-title {
    animation: slideInFromTop 1s ease, float 3s ease-in-out infinite;
}

.hero-subtitle {
    animation: slideInFromBottom 1s ease 0.3s both;
}

.cta-button {
    animation: slideInFromBottom 1s ease 0.6s both;
}

.section-title {
    animation: slideInFromTop 1s ease;
}

.post {
    animation: slideInFromBottom 1s ease;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.post:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

/* Enhanced Gradients */
.gradient-text {
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* Touch-optimized interactions */
@media (hover: none) and (pointer: coarse) {
    .nav-link:hover,
    .post:hover,
    .social-link:hover,
    .cta-button:hover {
        transform: none;
    }
    
    .nav-link:active,
    .post:active,
    .social-link:active,
    .cta-button:active {
        transform: scale(0.98);
    }
    
    /* Enhanced touch feedback for navigation */
    .nav-link {
        position: relative;
    }
    
    .nav-link:active::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-primary);
        border-radius: 8px;
        opacity: 0.2;
        z-index: -1;
    }
}

/* Desktop/Tablet enhancements (progressive enhancement) */
/* Enhanced Mobile-First Responsive Design */

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 16px 20px;
        font-size: 0.9rem;
        max-width: 100%;
        min-height: 48px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        width: 280px;
        right: 12px;
    }
    
    .post-thumb {
        height: 160px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

/* Mobile (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .cta-button {
        max-width: 320px;
    }
    
    .posts {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .nav-menu {
        width: 300px;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) {
    .container {
        padding: 0 24px;
        max-width: 1200px;
    }
    
    .navbar {
        height: 70px;
    }
    
    .nav-container {
        height: 70px;
        padding: 0 24px;
        flex-wrap: nowrap;
    }
    
    .search-container {
        top: 70px;
    }
    
    /* Hide hamburger on tablet and desktop */
    .hamburger {
        display: none;
    }
    
    /* Hide overlay on tablet and desktop */
    .menu-overlay {
        display: none;
    }
    
    /* Desktop navigation */
    .nav-menu {
        position: static;
        transform: none;
        width: auto;
        background: transparent;
        backdrop-filter: none;
        border: none;
        border-radius: 0;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        list-style: none;
        gap: 8px;
        transform: none;
        opacity: 1;
        visibility: visible;
        transition: none;
        z-index: auto;
        padding: 0;
        box-shadow: none;
    }
    
    .nav-link {
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        padding: 10px 16px;
        border-radius: 8px;
        transition: all 0.3s ease;
        position: relative;
        font-size: 0.95rem;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: auto;
    }
    
    .section {
        padding: 100px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle-main {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .cta-button {
        padding: 20px 40px;
        font-size: 1.1rem;
        max-width: 350px;
        min-height: 56px;
    }
    
    .posts {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .post-thumb {
        height: 220px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-title {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 40px;
        margin: 40px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .testimonial-item {
        padding: 30px;
    }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle-main {
        font-size: 1.9rem;
        margin-bottom: 25px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .cta-button {
        padding: 22px 48px;
        font-size: 1.2rem;
        max-width: 400px;
        min-height: 60px;
    }
    
    .posts {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .post-thumb {
        height: 240px;
    }
    
    .post-content {
        padding: 24px;
    }
    
    .post-title {
        font-size: 1.2rem;
    }
    
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    
    .testimonial-item {
        padding: 35px;
    }
    
    .hero-stats {
        gap: 60px;
        margin: 50px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1600px;
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle-main {
        font-size: 2.1rem;
        margin-bottom: 30px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .cta-button {
        padding: 24px 56px;
        font-size: 1.3rem;
        max-width: 450px;
        min-height: 64px;
    }
    
    .posts {
        grid-template-columns: repeat(4, 1fr);
        gap: 35px;
    }
    
    .post-thumb {
        height: 260px;
    }
    
    .post-content {
        padding: 28px;
    }
    
    .post-title {
        font-size: 1.3rem;
    }
    
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .testimonial-item {
        padding: 40px;
    }
    
    .hero-stats {
        gap: 80px;
        margin: 60px 0;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 767px) {
    /* Reduce animations on mobile for better performance */
    .hero-title,
    .hero-subtitle,
    .cta-button,
    .section-title,
    .post {
        animation: slideInFromBottom 1s ease;
    }
    
    /* Optimize images for mobile */
    .post-thumb {
        height: 190px;
        object-fit: cover;
    }
    
    /* Better mobile spacing */
    .section {
        padding: 25px 0;
    }
    
    /* Mobile-friendly footer */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    /* Mobile modal optimizations */
    .modal-content {
        width: 95%;
        max-height: 90vh;
        padding: 20px;
        margin: 20px auto;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-body h3 {
        font-size: 1.1rem;
    }
    
    .modal-body p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Touch-friendly social links */
    .social-link {
        padding: 24px;
        min-height: 80px;
    }
    
    /* Mobile newsletter */
    .newsletter-signup {
        padding: 24px 20px;
    }
    
    /* Mobile search */
    .search-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Mobile Landscape Optimizations */
@media (max-height: 500px) and (orientation: landscape) {
    .section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 14px 28px;
        min-height: 44px;
    }
    
    .navbar {
        height: 50px;
    }
    
    .nav-container {
        height: 50px;
    }
    
    .nav-menu {
        top: 50px;
    }
    
    .search-container {
        top: 50px;
    }
}

/* High DPI Mobile Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo,
    .nav-brand h1,
    .hero-title,
    .section-title {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Mobile Accessibility Enhancements */
@media (max-width: 767px) {
    /* Better focus indicators for keyboard navigation */
    .cta-button:focus,
    .nav-link:focus,
    .search-input:focus,
    .social-link:focus {
        outline: 2px solid var(--accent-primary);
        outline-offset: 2px;
    }
    
    /* Reduced motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    box-sizing: border-box;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--card-background);
    border-radius: 20px;
    padding: 32px;
    max-width: 480px;
    width: 100%;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        var(--glow);
}

.popup-overlay.active .popup-content {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: -25px;
    right: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.popup-close:active {
    transform: scale(0.95) rotate(90deg);
}

/* Ensure close button doesn't overlap with content */
.popup-content {
    position: relative;
    padding-top: 52px;
}

.popup-header {
    text-align: center;
    margin-bottom: 32px;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

[data-theme="light"] .popup-title {
    color: orangered; /* Bold red in light mode */
    font-weight: 1000;
}

.popup-buttons {
    display: grid;
    grid-template-columns: 1fr; /* Single column: Terabox on top, Diskwala below */
    gap: 16px;
    margin-bottom: 24px;
}

.popup-btn {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    min-width: 180px;
    text-align: center;
}

.popup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.popup-btn:hover::before {
    left: 100%;
}

.popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 25px -5px rgba(138, 43, 226, 0.4),
        0 0 20px rgba(138, 43, 226, 0.2);
}

.popup-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(138, 43, 226, 0.2);
}

.btn-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: all 0.3s ease;
}

.btn-icon svg {
    width: 22px;
    height: 22px;
}

.btn-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.terabox-btn {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
}

.diskwala-btn {
    background: linear-gradient(135deg, #6c63ff, #4a3fdb);
}

/* Mobile responsive styles for popup close button */
@media (max-width: 480px) {
    .popup-close {
        width: 40px;
        height: 40px;
        top: -15px;
        right: -15px;
    }
    
    .popup-close:hover {
        transform: scale(1.1) rotate(90deg);
    }
    
    .popup-content {
        padding-top: 52px;
    }
}

@media (max-width: 380px) {
    .popup-close {
        width: 36px;
        height: 36px;
        top: -25px;
        right: 10px;
    }
    
    .popup-content {
        padding-top: 46px;
    }
}

.popup-link-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.3s ease;
}

.link-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 0 12px 0;
    font-weight: 500;
}

.link-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.video-link-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Inter', monospace;
    outline: none;
    transition: all 0.2s ease;
}

.video-link-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.copy-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

.copy-btn.copied {
    background: #10B981;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark Theme Popup Styles */
[data-theme="dark"] .popup-overlay {
    background: rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .popup-content {
    background: #1e1e2d; /* Solid dark background */
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 10px 10px -5px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .popup-close {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

[data-theme="dark"] .popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .popup-link-container {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .video-link-input {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

[data-theme="dark"] .search-container.stuck {
    background: transparent;
}

[data-theme="light"] .search-container.stuck {
    background: rgba(0, 0, 0, 0.05);
}

/* Light Theme Popup Styles */
[data-theme="light"] .popup-overlay {
    background: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .popup-content {
    background: #ffffff; /* Solid white background */
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .popup-close {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
}

[data-theme="light"] .popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .popup-link-container {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .video-link-input {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

/* Enhanced Search Suggestions */
.suggestion-item.highlighted {
    background: var(--primary-color);
    color: white;
}

.suggestion-item.highlighted .suggestion-meta {
    color: rgba(255, 255, 255, 0.8);
}

.suggestion-item.highlighted .suggestion-highlight {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Skeleton Loaders */
.post-skeleton {
    background: var(--card-background);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    animation: pulse 1.5s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    height: 280px;
}

.skeleton-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-title {
    height: 20px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    width: 60%;
}

.skeleton-actress {
    height: 16px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    width: 40%;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Enhanced Error Styling */
.error-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.error-message {
    color: #ef4444;
    font-weight: 500;
    flex: 1;
}

.retry-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.retry-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
    padding: 0.5rem;
    border-radius: 50px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pagination-button {
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
    background: linear-gradient(135deg, #9d4edd 0%, #5a189a 100%);
}

/* Circular page number buttons */
.page-numbers-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px 0;
}

.page-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.page-number:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
    background: linear-gradient(135deg, #9d4edd 0%, #5a189a 100%);
}

.page-number.active {
    background: linear-gradient(135deg, #5a189a 0%, #3b0764 100%);
    box-shadow: 0 4px 15px rgba(90, 24, 154, 0.5);
    transform: translateY(0);
}

.page-number:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-secondary);
    color: var(--text-muted);
    box-shadow: none;
    transform: none;
}

.pagination-button:active:not(:disabled) {
    transform: translateY(0);
}

.pagination-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-secondary);
    color: var(--text-muted);
    box-shadow: none;
}

.pagination-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.pagination-button:hover::before {
    left: 100%;
}

.pagination-info {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 1.5rem;
    text-align: center;
    min-width: 180px;
}

/* Page input styles */
.page-input-container {
    position: relative;
    display: inline-block;
    margin: 0 5px;
}

.page-input {
    background: var(--bg-card);
    border: 2px solid var(--accent-primary, #8a2be2);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    padding: 8px 100px;
    width: 120px;
    text-align: none;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.3);
    font-weight: 500;
}

.page-input:focus {
    border-color: var(--accent-primary, #8a2be2);
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.3);
    background: var(--bg-secondary);
}

.page-input::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
    font-weight: normal;
}

/* Tooltip styles */
.page-input-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--accent-primary, #8a2be2);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-input-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: var(--accent-primary, #8a2be2) transparent transparent transparent;
}

.page-input-container:hover .page-input-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-12px);
}

/* Remove number input spinners */
.page-input::-webkit-outer-spin-button,
.page-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.page-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pagination-container {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .pagination-info {
        order: 0;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .pagination-button, 
    .page-input {
        flex: 1;
        min-width: 80px;
    }
    
    .page-input {
        order: 2;
        margin: 0;
        width: 60px;
    }
    
    .pagination-button:last-child {
        order: 3;
    }
}

@media (max-width: 480px) {
    .pagination-container {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        border-radius: 12px;
    }
    
    .pagination-info {
        order: 0;
        width: 100%;
        margin: 0.25rem 0;
    }
    
    .pagination-button,
    .page-input {
        width: 100%;
        margin: 0;
    }
    
    .page-input {
        order: 2;
        width: 100%;
        max-width: 120px;
        margin: 0.25rem auto;
    }
    
    .pagination-button:last-child {
        order: 3;
    }
}

.retry-btn:active {
    transform: translateY(0);
}

.retry-btn span {
    font-size: 1rem;
    animation: spin 1s linear infinite;
}

.retry-btn:hover span {
    animation: spin 0.5s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

[data-theme="dark"] .error-content {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="light"] .error-content {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.15);
}

/* Mobile Responsive Skeleton */
@media (max-width: 640px) {
    .post-skeleton {
        height: 240px;
    }
    
    .skeleton-thumbnail {
        height: 160px;
    }
    
    .error-content {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .retry-btn {
        align-self: center;
        width: fit-content;
    }
}

/* Rules Popup */
.rules-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.rules-popup {
    background: linear-gradient(145deg, #1e1e2f, #252538);
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
}

.rules-content {
    text-align: center;
    color: #fff;
}

.rules-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.rules-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rules-list {
    text-align: left;
    margin: 2rem 0;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.rule-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.rule-number {
    background: #ff6b6b;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 0.9rem;
}

.rule-item p {
    margin: 0;
    color: #e0e0e0;
    line-height: 1.5;
}

.rules-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
}

.rules-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.rules-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.rules-btn:hover:before {
    width: 100%;
}

.accept-btn {
    background: #4CAF50;
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.decline-btn {
    background: #f44336;
    color: white;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.rules-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.rules-btn:active {
    transform: translateY(1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rules-popup {
        width: 95%;
        padding: 20px 15px;
    }
    
    .rules-title {
        font-size: 1.5rem;
    }
    
    .rules-buttons {
        flex-direction: column;
    }
    
    .rules-btn {
        width: 100%;
    }
}

.banner-ad {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0; /* optional space */
}


