/* Dhahib UI Prototype - Gluestack Inspired Styles */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --primary: #e7184c;
    --secondary: #ff8c42;
    --accent: #ffc947;
    --dark-bg: #1a1a1a;
    --dark-surface: #2d2d2d;
    --dark-border: #3d3d3d;
    --light-bg: #ffffff;
    --light-surface: #f5f5f5;
    --light-border: #e5e5e7;
    --text-primary: #1a1a1a;
    --text-secondary: #a0a0a0;
    --text-dark: #1a1a1a;
    --movie-rating-bg: #ffffff;
    --movie-rating-text: #000000;
    --star-fill: #ffc107;
}

/* Dark Mode */
.dark-mode {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    --text-primary: #f5f5f5;
    --movie-rating-bg: #000000;
    --movie-rating-text: #ffffff;
    --star-fill: #ffc107;
}

/* Light Mode */
.light-mode {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.light-mode .theme-toggle {
    background: white;
    border: 1px solid var(--light-border);
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle svg {
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.light-mode .theme-toggle svg {
    color: var(--text-dark);
}

/* Language Toggle Button */
.lang-toggle {
    position: fixed;
    top: 20px;
    right: 80px;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 14px;
}

.light-mode .lang-toggle {
    background: white;
    border: 1px solid var(--light-border);
}

.lang-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.lang-toggle:active {
    transform: scale(0.95);
}

.lang-text {
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.light-mode .lang-text {
    color: var(--text-dark);
}

.ar-text {
    font-family: 'Arial', sans-serif;
    direction: rtl;
}

/* RTL Support */
.rtl {
    direction: rtl;
}

.rtl .screen-title,
.rtl .screen-subtitle {
    text-align: right;
}

.rtl .form-label {
    text-align: right;
}

.rtl .form-input {
    text-align: right;
}

.rtl .btn {
    text-align: center; /* Keep buttons centered */
}

.rtl .header {
    flex-direction: row-reverse;
}

.rtl .back-btn {
    order: 2;
}

.rtl .skip-btn {
    order: 1;
}

.rtl .footer-text {
    text-align: center; /* Keep centered for now */
}

.rtl .social-divider span {
    text-align: center;
}

.rtl .selection-counter {
    text-align: right;
}

/* Responsive adjustments for toggles */
@media (max-width: 480px) {
    .theme-toggle {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
    
    .lang-toggle {
        top: 16px;
        right: 68px;
        width: 44px;
        height: 44px;
        font-size: 13px;
    }
}

/* Glitter Background */
.glitter-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.light-glitter {
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 201, 71, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(255, 140, 66, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(231, 24, 76, 0.2) 0%, transparent 50%),
        #ffffff;
    animation: shimmerLight 8s ease-in-out infinite;
}

.dark-glitter {
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 201, 71, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(255, 140, 66, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(231, 24, 76, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    animation: shimmerDark 8s ease-in-out infinite;
}

/* Glitter sparkles overlay */
.glitter-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 90%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: sparkle 6s ease-in-out infinite;
    opacity: 0.6;
}

.dark-glitter::before {
    opacity: 0.3;
}

/* Glitter animations */
@keyframes shimmerLight {
    0%, 100% {
        background-position: 0% 50%, 50% 50%, 100% 50%;
    }
    50% {
        background-position: 100% 50%, 0% 50%, 50% 50%;
    }
}

@keyframes shimmerDark {
    0%, 100% {
        background-position: 0% 50%, 50% 50%, 100% 50%;
    }
    50% {
        background-position: 100% 50%, 0% 50%, 50% 50%;
    }
}

@keyframes sparkle {
    0%, 100% {
        background-position: 0% 0%, 40% 40%, 50% 50%, 80% 10%, 90% 60%, 33% 80%, 15% 90%;
        opacity: 0.6;
    }
    25% {
        background-position: 40% 40%, 60% 70%, 70% 70%, 100% 30%, 100% 80%, 50% 100%, 30% 100%;
        opacity: 0.8;
    }
    50% {
        background-position: 80% 80%, 100% 100%, 90% 90%, 120% 50%, 110% 100%, 70% 120%, 50% 120%;
        opacity: 0.6;
    }
    75% {
        background-position: 40% 40%, 60% 70%, 70% 70%, 80% 30%, 90% 70%, 40% 90%, 25% 95%;
        opacity: 0.8;
    }
}

.dark-glitter::before {
    animation: sparkle 6s ease-in-out infinite reverse;
}

/* Screen Container */
.screen {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Gradient Background */
.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(231, 24, 76, 0.1) 0%, 
        rgba(255, 140, 66, 0.05) 50%,
        rgba(26, 26, 26, 0.9) 100%);
    z-index: 0;
}

/* Content Container */
.content-container {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0 auto;
    padding: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Logo Section */
.logo-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.logo-circle {
    margin-bottom: 16px;
    animation: fadeInScale 0.6s ease-out;
}

.app-name {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.tagline {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* CTA Section */
.cta-section {
    padding: 20px 0;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Buttons - Gluestack Style */
.btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #c41341 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(231, 24, 76, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 16px rgba(231, 24, 76, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--dark-border);
}

.light-mode .btn-secondary {
    color: var(--text-dark);
    border: 2px solid var(--light-border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(231, 24, 76, 0.05);
}

.btn-social {
    background: var(--dark-surface);
    color: var(--text-primary);
    border: 1px solid var(--dark-border);
    box-shadow: none;
}

.light-mode .btn-social {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--light-border);
}

.light-mode .btn-social:hover {
    background: #f5f5f5;
}

.btn-social:hover {
    background: #3a3a3a;
}

.light-mode .btn-social:hover {
    background: #f5f5f5;
}

/* Social Divider */
.social-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--dark-border);
}

.light-mode .social-divider::before,
.light-mode .social-divider::after {
    background: var(--light-border);
}

/* Social Buttons */
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Footer Text */
.footer-text {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 20px 0;
    line-height: 1.6;
}

.link-text {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

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

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--dark-border);
    background: var(--dark-surface);
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(231, 24, 76, 0.1);
}

.form-input::placeholder {
    color: var(--text-secondary);
}

/* Light mode form overrides */
.light-mode .form-label {
    color: var(--text-dark);
}

.light-mode .form-input {
    background: white;
    border: 1px solid var(--light-border);
    color: var(--text-dark);
}

.light-mode .form-input::placeholder {
    color: #999999;
}

.light-mode .form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(231, 24, 76, 0.1);
}

/* Light mode header overrides */
.light-mode .back-btn {
    background: white;
    border: 1px solid var(--light-border);
    color: var(--text-dark);
}

.light-mode .back-btn:hover {
    background: #f5f5f5;
}

.light-mode .skip-btn {
    color: var(--text-dark);
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    margin-bottom: 24px;
    position: relative;
}

.header .favicon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.back-btn {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.light-mode .back-btn:hover {
    background: #f5f5f5;
}

.light-mode .skip-btn {
    color: var(--text-dark);
}

.skip-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
}

.skip-btn:hover {
    opacity: 0.8;
}

/* Light mode progress bar */
.light-mode .progress-bar {
    background: var(--light-border);
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--dark-surface);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 32px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transition: width 0.3s ease;
}

/* Screen Title */
.screen-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.screen-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Verification Code Input */
.code-inputs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
}

.code-input {
    width: 56px;
    height: 64px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid var(--dark-border);
    background: var(--dark-surface);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.code-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(231, 24, 76, 0.1);
}

/* Light mode verification code inputs */
.light-mode .code-input {
    background: white;
    border: 2px solid var(--light-border);
    color: var(--text-dark);
}

.light-mode .code-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(231, 24, 76, 0.1);
}

/* Resend Code */
.resend-text {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.resend-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.resend-link:hover {
    text-decoration: underline;
}

/* Profile Picture Upload */
.profile-pic-upload {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.profile-pic-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--dark-surface);
    border: 3px dashed var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.profile-pic-circle:hover {
    border-color: var(--primary);
    background: rgba(231, 24, 76, 0.05);
}

.profile-pic-icon {
    font-size: 40px;
    color: var(--text-secondary);
}

.profile-pic-input {
    display: none;
}

/* Light mode profile picture upload */
.light-mode .profile-pic-circle {
    background: white;
    border: 3px dashed var(--light-border);
}

.light-mode .profile-pic-circle:hover {
    border-color: var(--primary);
    background: rgba(231, 24, 76, 0.05);
}

.light-mode .profile-pic-icon {
    color: #999999;
}

/* Interest Bubbles */
.bubbles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 4px;
}

.bubble {
    padding: 14px 24px;
    border-radius: 24px;
    background: var(--dark-surface);
    border: 2px solid var(--dark-border);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.bubble:hover {
    background: #3a3a3a;
}

.bubble.selected {
    background: linear-gradient(135deg, var(--primary) 0%, #c41341 100%);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(231, 24, 76, 0.3);
}

/* Light mode interest bubbles */
.light-mode .bubble {
    background: white;
    border: 2px solid var(--light-border);
    color: var(--text-dark);
}

.light-mode .bubble:hover {
    background: #f5f5f5;
}

.light-mode .bubble.selected {
    background: linear-gradient(135deg, var(--primary) 0%, #c41341 100%);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(231, 24, 76, 0.3);
}

/* Selection Counter */
.selection-counter {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.selection-counter .count {
    color: var(--primary);
    font-weight: 700;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Splash Screen Styles */
.splash-screen {
    position: relative;
}

.splash-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out;
}

.splash-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.light-mode .splash-dots .dot {
    background: var(--text-dark);
}

.splash-dots .dot.active {
    width: 24px;
    border-radius: 4px;
    opacity: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.splash-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.splash-logo {
    margin-bottom: 40px;
    animation: fadeInScale 0.6s ease-out 0.1s both;
}

.logo-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.splash-illustration {
    margin-bottom: 48px;
    animation: fadeInScale 0.6s ease-out 0.2s both;
}

.illustration-circle {
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-text {
    text-align: center;
    max-width: 320px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.splash-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.splash-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.light-mode .splash-subtitle {
    color: #666666;
}

.splash-navigation {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.skip-link {
    width: auto;
    margin: 0 auto 12px;
    padding: 12px 24px;
}

.splash-next {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-link {
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    box-shadow: none;
}

.light-mode .btn-link {
    color: #666666;
}

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

.btn-link:hover::before {
    opacity: 0;
}

/* Scrollbar Styling */
.bubbles-container::-webkit-scrollbar {
    width: 6px;
}

.bubbles-container::-webkit-scrollbar-track {
    background: var(--dark-surface);
    border-radius: 3px;
}

.bubbles-container::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 3px;
}

.bubbles-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Responsive */
@media (max-width: 480px) {
    .content-container {
        padding: 16px;
    }
    
    .app-name {
        font-size: 40px;
    }
    
    .screen-title {
        font-size: 28px;
    }
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-input {
    display: none;
}

.checkbox-mark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--dark-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-input:checked + .checkbox-mark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-input:checked + .checkbox-mark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.light-mode .checkbox-mark {
    border-color: var(--light-border);
}

.light-mode .checkbox-label {
    color: #666666;
}

/* Top Bar */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    margin-bottom: 0;
}

.logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.top-bar-actions {
    display: flex;
    gap: 16px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

/* Adjust content-container when used with top-bar */
.top-bar + .content-container {
    padding-top: 20px;
}

.light-mode .icon-btn {
    background: white;
    border: 1px solid var(--light-border);
    color: var(--text-dark);
}

.icon-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.icon-btn:active {
    transform: scale(0.95);
}

/* Banner Carousel */
.banner-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 24px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    touch-action: pan-y pinch-zoom; /* Allow vertical scrolling but prevent horizontal scroll conflicts */
    user-select: none; /* Prevent text selection during swipe */
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease; /* Faster transition for better UX */
    pointer-events: none; /* Prevent interaction with inactive slides */
}

.banner-slide.active {
    opacity: 1;
    pointer-events: auto; /* Allow interaction with active slide */
}

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

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 24px 16px 16px;
    color: white;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.banner-text {
    flex: 1;
}

.banner-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.banner-overlay p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.banner-dots {
    display: flex;
    gap: 8px;
    margin-left: 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Sections */
.section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 16px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.light-mode .section-title {
    color: var(--text-dark);
}

.section-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.section-link:hover {
    text-decoration: underline;
}

/* Horizontal Scroll */
.horizontal-scroll {
    display: flex;
    gap: 12px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

/* Cards */
.card {
    background: var(--dark-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative; /* For absolute positioning of badges */
}

.light-mode .card {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Movie cards - 2:3 aspect ratio, 152px width */
.movie-card {
    flex: 0 0 152px;
}

.movie-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
}

/* Event cards - 4:3 aspect ratio, 160px width */
.event-card {
    flex: 0 0 160px;
}

.event-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Offer and For You cards - 1:1 aspect ratio, 176px width */
.card:not(.movie-card):not(.event-card) {
    flex: 0 0 176px;
}

.card:not(.movie-card):not(.event-card) img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* Card badges */
.card-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    z-index: 2;
}

.movie-rating {
    background: var(--movie-rating-bg);
    color: var(--movie-rating-text);
    display: flex;
    align-items: center;
    gap: 2px;
}

.star {
    width: 10px;
    height: 10px;
    fill: var(--star-fill);
}

.event-type {
    background: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-type {
    background: var(--secondary);
    font-weight: 700;
}

.card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.card-content {
    padding: 12px;
}

.card-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.light-mode .card-content h3 {
    color: var(--text-dark);
}

.card-category,
.card-date,
.card-offer {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
}

.light-mode .card-category,
.light-mode .card-date,
.light-mode .card-offer {
    color: #666666;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 80px; /* Add margin to prevent hiding behind bottom nav */
}

.category-card {
    background: var(--dark-surface);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--dark-border);
}

.light-mode .category-card {
    background: white;
    border: 1px solid var(--light-border);
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.light-mode .category-card h3 {
    color: var(--text-dark);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0 16px;
}

/* Tags Grid */
.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px;
}

.tag-chip {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark-mode .tag-chip {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.tag-chip:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Recent Search Bubbles */
.recent-searches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px;
}

.recent-bubble {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    text-transform: lowercase;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dark-mode .recent-bubble {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.recent-bubble:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.recent-bubble .remove-icon {
    width: 12px;
    height: 12px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.recent-bubble:hover .remove-icon {
    opacity: 1;
}

/* Search Results Screen Styles */
.results-header {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 16px;
    margin-bottom: 20px;
}

.search-query {
    flex: 1;
}

.query-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.results-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.type-filters {
    display: flex;
    gap: 8px;
    padding: 0 20px;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.type-filters::-webkit-scrollbar {
    display: none;
}

.type-bubble {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--light-surface);
    border: 2px solid var(--light-border);
    color: var(--text-primary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.dark-mode .type-bubble {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.type-bubble.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.type-bubble .count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.type-bubble.active .count {
    background: rgba(255, 255, 255, 0.3);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 20px 100px 20px; /* Extra bottom padding for nav */
}

.result-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--light-surface);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--light-border);
}

.dark-mode .result-item {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.dark-mode .result-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.result-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.result-image.category-icon,
.result-image.tag-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: var(--light-border);
}

.dark-mode .result-image.category-icon,
.dark-mode .result-image.tag-icon {
    background: var(--dark-border);
}

.result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.result-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-meta {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.result-meta span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-surface);
    border-top: 1px solid var(--dark-border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 1000;
}

.light-mode .bottom-nav {
    background: white;
    border-top: 1px solid var(--light-border);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    min-width: 60px;
    text-decoration: none;
}

.light-mode .nav-item {
    color: #666666;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item svg {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Responsive adjustments for discover screen */
@media (max-width: 480px) {
    .banner-carousel {
        height: 160px;
        margin-bottom: 20px;
    }
    
    .card {
        flex: 0 0 160px;
    }
    
    .card img {
        height: 100px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .category-card {
        padding: 20px 12px;
    }
    
    .category-icon {
        font-size: 28px;
    }
}

/* Search Screen Styles */
.search-container {
    padding: 20px;
    margin-bottom: 20px;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--light-surface);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dark-mode .search-bar {
    background: var(--dark-surface);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.search-icon {
    color: var(--text-secondary);
    margin-right: 12px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--text-primary);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.filter-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: var(--light-border);
    color: var(--text-primary);
}

.dark-mode .filter-btn:hover {
    background: var(--dark-border);
}

.search-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--light-surface);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark-mode .search-item {
    background: var(--dark-surface);
}

.search-item:hover {
    background: var(--light-border);
}

.dark-mode .search-item:hover {
    background: var(--dark-border);
}

.search-icon-small {
    color: var(--text-secondary);
    margin-right: 12px;
    flex-shrink: 0;
}

.search-item span {
    flex: 1;
    color: var(--text-primary);
    font-size: 16px;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s ease;
}

.search-item:hover .remove-btn {
    opacity: 1;
}

.remove-btn:hover {
    background: var(--light-border);
    color: var(--text-primary);
}

.dark-mode .remove-btn:hover {
    background: var(--dark-border);
}

.clear-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
}

.trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-btn {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark-mode .tag-btn {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.tag-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Filter Screen Styles */
.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    margin-bottom: 20px;
}

.back-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: var(--light-surface);
}

.dark-mode .back-btn:hover {
    background: var(--dark-surface);
}

.filter-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.reset-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
}

.filter-section {
    padding: 0 20px 24px 20px;
    border-bottom: 1px solid var(--light-border);
    margin-bottom: 24px;
}

.dark-mode .filter-section {
    border-bottom-color: var(--dark-border);
}

.filter-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-primary);
    position: relative;
    padding-left: 32px;
}

.filter-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background: var(--light-surface);
    border: 2px solid var(--light-border);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.dark-mode .checkmark {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.filter-option input:checked ~ .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

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

.filter-option input:checked ~ .checkmark:after {
    display: block;
}

.price-options {
    display: flex;
    gap: 12px;
}

.price-btn {
    flex: 1;
    padding: 12px;
    background: var(--light-surface);
    border: 2px solid var(--light-border);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark-mode .price-btn {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

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

.price-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.filter-actions {
    padding: 20px;
    padding-bottom: 40px; /* Extra padding for bottom nav */
}

.apply-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.apply-btn:hover {
    background: #d6153a;
    transform: translateY(-1px);
}

/* Detail Screen Styles */
.image-gallery {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.gallery-container {
    position: relative;
    height: 100%;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image.active {
    opacity: 1;
}

.gallery-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

.back-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    z-index: 10;
}

/* Notification Dot */
.icon-btn {
    position: relative;
}

.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #e7184c;
    border-radius: 50%;
    border: 2px solid var(--light-bg);
    z-index: 2;
}

.dark-mode .notification-dot {
    border-color: var(--dark-bg);
}

.back-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.primary-info {
    padding: 24px 20px 16px;
}

.info-header {
    margin-bottom: 12px;
}

.item-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.rating-distance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

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

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 16px;
    color: #ddd;
}

.star.filled {
    color: var(--star-fill);
}

.star.half {
    position: relative;
}

.star.half::after {
    content: '★';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--star-fill);
}

.rating-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.distance {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    background: var(--light-surface);
    color: var(--text-primary);
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

.dark-mode .tag {
    background: var(--dark-surface);
}

.action-buttons {
    padding: 0 20px 24px;
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.action-btn.primary {
    background: var(--primary);
    color: white;
}

.action-btn.primary:hover {
    background: #d6153a;
    transform: translateY(-1px);
}

.action-btn.secondary {
    background: var(--light-surface);
    color: var(--text-primary);
    border: 1px solid var(--light-border);
}

.dark-mode .action-btn.secondary {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.action-btn.secondary:hover {
    background: var(--light-border);
}

.dark-mode .action-btn.secondary:hover {
    background: var(--dark-border);
}

/* CTA and Dhahib Button Layout */
.cta-dhahib-section {
    display: flex;
    gap: 12px;
    padding: 0 20px 24px;
}

.cta-btn {
    flex: 3; /* 75% width */
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.cta-btn:hover {
    background: #d6153a;
    transform: translateY(-1px);
}

.dhahib-btn {
    flex: 1; /* 25% width */
    padding: 16px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.dark-mode .dhahib-btn {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.dhahib-btn:hover {
    background: var(--light-border);
    transform: translateY(-1px);
}

.dark-mode .dhahib-btn:hover {
    background: var(--dark-border);
}

.dhahib-favicon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Dhahib Modal Styles */
.dhahib-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.dhahib-modal-content {
    background: var(--light-bg);
    margin: 20% auto;
    padding: 24px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.dark-mode .dhahib-modal-content {
    background: var(--dark-bg);
}

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

.dhahib-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.dhahib-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
}

.dhahib-form-group {
    margin-bottom: 16px;
}

.dhahib-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.dhahib-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-border);
    border-radius: 8px;
    background: var(--light-surface);
    color: var(--text-primary);
    font-size: 16px;
}

.dark-mode .dhahib-input {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.dhahib-datetime-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.dhahib-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.dhahib-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark-mode .dhahib-option {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.dhahib-option:hover {
    border-color: var(--primary);
}

.dhahib-option.selected {
    border-color: var(--primary);
    background: rgba(231, 24, 76, 0.05);
}

.dhahib-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--light-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.dark-mode .dhahib-checkbox {
    border-color: var(--dark-border);
}

.dhahib-option.selected .dhahib-checkbox {
    background: var(--primary);
    border-color: var(--primary);
}

.dhahib-option.selected .dhahib-checkbox::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.dhahib-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dhahib-submit-btn:hover {
    background: #d6153a;
}

.details-section {
    padding: 0 20px 100px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--light-border);
    margin-bottom: 20px;
}

.dark-mode .tab-buttons {
    border-color: var(--dark-border);
}

.tab-btn {
    flex: 1;
    padding: 16px 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.tab-content {
    min-height: 300px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.about-content p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.features-list {
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.info-value {
    color: var(--text-secondary);
    line-height: 1.5;
}

.address-link, .phone-link, .website-link {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.address-link:hover, .phone-link:hover, .website-link:hover {
    text-decoration: underline;
}

.hours-item {
    margin-bottom: 4px;
}

.offers-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.offer-card {
    padding: 16px;
    background: var(--light-surface);
    border-radius: 12px;
    border: 1px solid var(--light-border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.offer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dark-mode .offer-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dark-mode .offer-card {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.offer-title {
    font-weight: 600;
    color: var(--text-primary);
}

.offer-discount {
    background: var(--primary);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.offer-description {
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.offer-validity {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.reviews-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--light-surface);
    border-radius: 12px;
}

.dark-mode .review-summary {
    background: var(--dark-surface);
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.review-count {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    padding: 16px;
    background: var(--light-surface);
    border-radius: 12px;
    border: 1px solid var(--light-border);
}

.dark-mode .review-item {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-primary);
}

.review-date {
    font-size: 14px;
    color: var(--text-secondary);
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-text {
    color: var(--text-primary);
    line-height: 1.5;
}

.map-section {
    padding: 0 20px 100px;
}

.map-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.map-container {
    height: 200px;
    background: var(--light-surface);
    border-radius: 12px;
    border: 1px solid var(--light-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark-mode .map-container {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.map-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    text-align: center;
    color: var(--text-secondary);
}

.map-placeholder svg {
    margin-bottom: 8px;
    opacity: 0.6;
}

.map-placeholder p {
    font-weight: 600;
    margin-bottom: 4px;
}

.map-placeholder small {
    font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .item-title {
        font-size: 24px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .tab-btn {
        padding: 12px 4px;
        font-size: 14px;
    }
}

/* Event Detail Styles */
.event-date-time {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.event-date, .event-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.attendance {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

.ticket-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--light-surface);
    border-radius: 12px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.dark-mode .ticket-notice {
    background: var(--dark-surface);
}

.ticket-notice strong {
    display: block;
    margin-bottom: 4px;
}

.event-tips h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 16px;
}

.event-tips ul {
    list-style: none;
    padding: 0;
}

.event-tips li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
}

.event-tips li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.venue-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.venue-header h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 18px;
}

.venue-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.venue-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.venue-link-btn {
    align-self: flex-start;
    padding: 10px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.venue-link-btn:hover {
    background: #d6153a;
    transform: translateY(-1px);
}

/* Movie Detail Styles */
.movie-header {
    margin-bottom: 16px;
}

.movie-poster-small {
    flex-shrink: 0;
}

.movie-poster-small img {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.movie-info {
    flex: 1;
}

.movie-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.movie-genres {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.genre-tag {
    padding: 4px 8px;
    background: var(--light-surface);
    color: var(--text-primary);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.dark-mode .genre-tag {
    background: var(--dark-surface);
}

.trailer-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.trailer-btn:hover {
    background: #e07e2f;
    transform: translateY(-1px);
}

.rating-trailer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.movie-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.detail-value {
    color: var(--text-secondary);
    font-size: 14px;
}

.date-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.date-btn {
    padding: 10px 16px;
    background: var(--light-surface);
    color: var(--text-primary);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dark-mode .date-btn {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.date-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cinemas-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cinema-item {
    padding: 16px;
    background: var(--light-surface);
    border-radius: 12px;
    border: 1px solid var(--light-border);
}

.dark-mode .cinema-item {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.cinema-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.cinema-info h4 {
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 16px;
}

.cinema-details {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.distance {
    color: var(--primary);
    font-weight: 500;
}

.showtime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
}

.showtime-btn {
    padding: 10px 8px;
    background: var(--light-surface);
    color: var(--text-primary);
    border: 1px solid var(--light-border);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.dark-mode .showtime-btn {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.showtime-btn:hover {
    background: var(--light-border);
    border-color: var(--primary);
}

.dark-mode .showtime-btn:hover {
    background: var(--dark-border);
}

.showtime-btn.imax {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    border-color: #000000;
}

.showtime-btn.d4x {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border-color: #ff6b35;
}

.cast-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cast-section h4, .crew-section h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 16px;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.cast-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cast-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 8px;
    border: 2px solid var(--light-border);
}

.dark-mode .cast-photo {
    border-color: var(--dark-border);
}

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

.cast-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 2px;
}

.cast-role {
    color: var(--text-secondary);
    font-size: 12px;
}

.crew-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.crew-member {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--light-surface);
    border-radius: 8px;
}

.dark-mode .crew-member {
    background: var(--dark-surface);
}

.crew-role {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.crew-name {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: right;
}

/* Offer Detail Page Styles */
.offer-header-section {
    position: relative;
    margin-bottom: 24px;
}

.offer-hero {
    position: relative;
    height: 280px;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.offer-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 24px 20px;
    color: white;
}

.offer-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.offer-badge-large {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.offer-overlay .offer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.offer-overlay .offer-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.offer-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.offer-details {
    padding: 0 20px 100px;
}

.detail-section {
    margin-bottom: 32px;
}

.detail-section .section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.offer-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.offer-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-primary);
}

.highlight-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.validity-info {
    background: var(--light-surface);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dark-mode .validity-info {
    background: var(--dark-surface);
}

.validity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.validity-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.validity-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.terms-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.terms-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.terms-item p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.place-info {
    background: var(--light-surface);
    border-radius: 12px;
    padding: 16px;
}

.dark-mode .place-info {
    background: var(--dark-surface);
}

.place-card {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.place-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dark-mode .place-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.action-buttons {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.action-btn {
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.place-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.place-details {
    flex: 1;
}

.place-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.place-category {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.place-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.place-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.offer-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--light-bg);
    border-top: 1px solid var(--light-border);
    padding: 20px;
    display: flex;
    gap: 12px;
}

.dark-mode .offer-actions {
    background: var(--dark-bg);
    border-top-color: var(--dark-border);
}

.claim-btn {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.share-btn {
    flex: 1;
    background: var(--light-surface);
    color: var(--text-primary);
    border: 1px solid var(--light-border);
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark-mode .share-btn {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.share-btn:hover {
    background: var(--light-border);
}

.dark-mode .share-btn:hover {
    background: var(--dark-border);
}

.send-btn {
    flex: 1;
    background: var(--light-surface);
    color: var(--text-primary);
    border: 1px solid var(--light-border);
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark-mode .send-btn {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.send-btn:hover {
    background: var(--light-border);
}

.dark-mode .send-btn:hover {
    background: var(--dark-border);
}

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

.modal-content {
    background: var(--light-bg);
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-mode .modal-content {
    background: var(--dark-bg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--light-border);
}

.dark-mode .modal-header {
    border-bottom-color: var(--dark-border);
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 20px;
}

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

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark-mode .share-option {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.share-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dark-mode .share-option:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.share-option svg {
    flex-shrink: 0;
}

.search-container {
    margin-bottom: 20px;
}

.friend-search {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--light-border);
    border-radius: 8px;
    background: var(--light-surface);
    color: var(--text-primary);
    font-size: 16px;
}

.dark-mode .friend-search {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.friends-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.friend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 8px;
}

.dark-mode .friend-item {
    background: var(--dark-surface);
    border-color: var(--dark-border);
}

.friend-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.friend-name {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
}

.friend-checkbox {
    width: 18px;
    height: 18px;
}

.send-btn-modal {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.send-btn-modal:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* Movie Detail Styles */
.book-tickets-section {
    margin-bottom: 20px;
}

.book-tickets-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* ==================== FEED SCREEN STYLES ==================== */

/* Calendar Header */
.calendar-header {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    margin: 0 0 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.calendar-header.collapsed .calendar-days {
    display: none;
}

.dark-mode .calendar-header {
    background: var(--card-bg-dark);
}

.calendar-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.calendar-header.collapsed .calendar-controls {
    margin-bottom: 0;
}

.calendar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.calendar-toggle-btn:hover {
    color: var(--primary);
}

.calendar-toggle-btn svg {
    transition: transform 0.3s ease;
}

.calendar-header.collapsed .calendar-toggle-btn svg {
    transform: rotate(-180deg);
}

.calendar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-nav-btns {
    display: flex;
    gap: 8px;
}

.calendar-toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.calendar-toggle-btn:hover {
    color: var(--primary);
}

.calendar-toggle-btn svg {
    transition: transform 0.3s ease;
}

.calendar-header.collapsed .calendar-toggle-btn svg {
    transform: rotate(-180deg);
}

.calendar-month {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.calendar-nav-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.calendar-nav-btn:hover {
    background: var(--bg-secondary);
}

.calendar-days {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.calendar-day {
    min-width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-day:hover {
    background: var(--bg-secondary);
}

.calendar-day.active {
    background: var(--primary);
}

.calendar-day.active .day-label,
.calendar-day.active .day-number {
    color: white;
}

.day-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.day-number {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.day-indicators {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}

.indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.indicator-dot.primary {
    background: var(--primary);
}

.calendar-day.active .indicator-dot.primary {
    background: white;
}

.indicator-dot.secondary {
    background: var(--secondary);
}

.calendar-day.active .indicator-dot.secondary {
    background: rgba(255, 255, 255, 0.8);
}

/* Feed Tabs */
.feed-tabs {
    display: flex;
    gap: 8px;
    padding: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.dark-mode .feed-tabs {
    border-bottom-color: var(--border-color-dark);
}

.feed-tab {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feed-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Feed Content */
.feed-content {
    padding: 0 0 100px;
}

.feed-post {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 10px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dark-mode .feed-post {
    background: var(--card-bg-dark);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.post-user-info {
    flex: 1;
}

.post-username {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px 0;
}

.post-time {
    font-size: 13px;
    color: var(--text-secondary);
}

.post-menu-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.post-menu-btn:hover {
    background: var(--bg-secondary);
}

.post-content {
    margin-bottom: 8px;
}

.post-text {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.post-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.post-location {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark-mode .post-location {
    background: rgba(255, 255, 255, 0.05);
}

.post-location:hover {
    background: var(--bg-tertiary);
}

.post-location svg {
    color: var(--primary);
    flex-shrink: 0;
}

.post-location span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.post-date-time {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 8px;
}

.dark-mode .post-date-time {
    background: rgba(255, 255, 255, 0.05);
}

.post-date-time svg {
    color: var(--text-secondary);
}

.post-date-time span {
    font-size: 14px;
    color: var(--text-primary);
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.dark-mode .post-actions {
    border-top-color: var(--border-color-dark);
}

.post-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.post-action-btn:hover {
    background: var(--bg-secondary);
}

.post-action-btn.liked {
    color: #e74c3c;
}

.post-action-btn.dhahib-btn {
    color: var(--primary);
    font-weight: 600;
}

.post-action-btn.dhahibed {
    background: var(--primary);
    color: white;
}

.post-action-btn.dhahibed:hover {
    background: var(--primary-hover);
}

.dhahib-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    z-index: 100;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Date Modal */
.date-modal-content {
    max-width: 500px;
}

.date-plans-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.date-plan-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Create Post Styles */
.create-post-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px;
    padding-bottom: 120px;
}

.top-bar-spacer {
    width: 40px;
}

.post-creator-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.creator-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.creator-details {
    display: flex;
    flex-direction: column;
}

.creator-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.creator-visibility {
    font-size: 13px;
    color: var(--text-secondary);
}

.post-text-area {
    position: relative;
}

.post-text-area textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    resize: vertical;
    min-height: 120px;
    transition: all 0.2s ease;
}

.dark-mode .post-text-area textarea {
    background: var(--bg-secondary);
    border-color: var(--border-color-dark);
}

.post-text-area textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(231, 24, 76, 0.1);
}

.text-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.media-upload-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.media-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.media-upload-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.dark-mode .media-upload-btn {
    background: var(--bg-tertiary);
    border-color: var(--border-color-dark);
}

.media-upload-btn:hover {
    border-color: var(--primary);
    background: rgba(231, 24, 76, 0.05);
    color: var(--primary);
}

.media-upload-btn svg {
    color: currentColor;
}

.media-upload-btn span {
    font-size: 14px;
    font-weight: 500;
}

.media-preview-area {
    margin-top: 12px;
}

.media-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.media-preview-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg-secondary);
}

.media-preview-item img,
.media-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-media-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-media-btn:hover {
    background: rgba(231, 24, 76, 0.9);
    transform: scale(1.1);
}

.tag-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tag-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tag-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.dark-mode .tag-option-btn {
    background: var(--bg-tertiary);
    border-color: var(--border-color-dark);
}

.tag-option-btn:hover {
    border-color: var(--primary);
    background: rgba(231, 24, 76, 0.05);
    color: var(--primary);
}

.tagged-entity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(231, 24, 76, 0.1);
    border: 1px solid var(--primary);
    border-radius: 12px;
    margin-top: 8px;
}

.tagged-entity-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tagged-entity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.tagged-entity-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.remove-tag-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.remove-tag-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary);
}

.tag-modal {
    max-width: 500px;
    max-height: 70vh;
}

.tag-results {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 16px;
}

.tag-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dark-mode .tag-result-item {
    background: var(--bg-tertiary);
}

.tag-result-item:hover {
    background: rgba(231, 24, 76, 0.1);
    transform: translateX(4px);
}

.tag-result-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tag-result-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.tag-result-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

.media-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.media-actions .secondary-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.dark-mode .media-actions .secondary-btn {
    background: var(--bg-tertiary);
    border-color: var(--border-color-dark);
}

.media-actions .secondary-btn:hover {
    border-color: var(--primary);
    background: rgba(231, 24, 76, 0.05);
    color: var(--primary);
}

.media-actions .secondary-btn svg {
    color: currentColor;
}

.dark-mode .date-plan-card {
    background: rgba(255, 255, 255, 0.05);
}

.date-plan-card:hover {
    background: var(--bg-tertiary);
    transform: translateX(4px);
}

.plan-indicator {
    width: 4px;
    border-radius: 2px;
}

.plan-indicator.my-plan {
    background: var(--primary);
}

.plan-indicator.friend-plan {
    background: var(--secondary);
}

.plan-info {
    flex: 1;
}

.plan-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.plan-user {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 4px 0;
}

.plan-time {
    font-size: 13px;
    color: var(--primary);
    margin: 0;
}


.book-tickets-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.details-section {
    margin-bottom: 24px;
}

.rating-attendance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

/* Primary Button (Create Post) */
.primary-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.primary-btn:hover {
    background: #d6153a;
    transform: translateY(-1px);
}

/* Profile Screen Styles */
.profile-header {
    text-align: center;
    padding: 16px 0 20px;
}

.profile-avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.edit-avatar-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: 3px solid var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.edit-avatar-btn:hover {
    background: #d6153a;
    transform: scale(1.05);
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.profile-username {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 0 20px;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 6px 20px;
    background: var(--bg-secondary);
    border-radius: 16px;
    margin: 0 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.profile-menu {
    padding: 24px 0 100px;
}

.menu-section {
    margin-bottom: 20px;
}

.menu-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 20px 8px;
    margin: 0;
}

.menu-items {
    background: var(--bg-secondary);
    border-radius: 16px;
    margin: 0 20px;
    overflow: hidden;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
    text-align: left;
}

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

.menu-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.dark-mode .menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.menu-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.menu-item-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.menu-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-item-value {
    font-size: 14px;
    color: var(--text-secondary);
}

.toggle-item {
    cursor: default;
}

.toggle-item:hover {
    background: transparent;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.logout-btn {
    margin: 20px 20px 0;
    width: calc(100% - 40px);
    padding: 16px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: var(--primary);
    color: white;
}

/* Language Modal */
.language-modal {
    max-width: 400px;
    width: 90%;
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(0, 0, 0, 0.02);
}

.dark-mode .language-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.language-option.active {
    background: rgba(231, 24, 76, 0.05);
}

.language-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.language-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.language-native {
    font-size: 14px;
    color: var(--text-secondary);
}

.language-option .check-icon {
    color: var(--primary);
}

/* Edit Profile Modal */
.edit-profile-modal {
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.edit-profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-primary);
}

/* Friends List Screen */
/* Friends List Screen */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    margin-bottom: 0;
    gap: 16px;
}

.page-title {
    flex: 1;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
}

.page-header .back-btn {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background: var(--bg-secondary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.page-header .back-btn:hover {
    transform: scale(1.05);
    background: var(--border-color);
}

.page-header .icon-btn {
    flex-shrink: 0;
}

.friends-tabs {
    display: flex;
    gap: 12px;
    margin: 20px 0;
    padding: 0 20px;
}

.friends-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.friends-tab.active {
    background: var(--primary);
    color: white;
}

.tab-count {
    display: inline-block;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 13px;
    line-height: 24px;
    text-align: center;
}

.friends-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.3);
}

.friends-content {
    margin-top: 20px;
    min-height: calc(100vh - 300px);
}

.friends-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px 100px;
}

.friend-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: all 0.2s ease;
}

.friend-card:active {
    transform: scale(0.98);
}

.friend-avatar {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    object-fit: cover;
}

.friend-info {
    flex: 1;
    min-width: 0;
}

.friend-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friend-username {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.friend-mutual {
    font-size: 13px;
    color: var(--text-tertiary);
}

.friend-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: var(--bg-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.friend-action-btn:hover {
    background: var(--border-color);
}

.request-card .friend-info {
    flex: none;
    width: auto;
}

.request-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.btn-accept,
.btn-decline {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.btn-accept {
    background: #10b981;
    color: white;
}

.btn-accept:hover {
    background: #059669;
    transform: scale(1.1);
}

.btn-accept:active {
    transform: scale(0.95);
}

.btn-decline {
    background: #ef4444;
    color: white;
}

.btn-decline:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.btn-decline:active {
    transform: scale(0.95);
}

.search-hint {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 14px;
    padding: 20px;
}

.option-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

.option-btn:hover {
    background: var(--border-color);
}

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

.bottom-sheet .modal-content {
    position: fixed;
    bottom: 0;
    top: auto;
    transform: none;
    border-radius: 24px 24px 0 0;
    max-height: 60vh;
}

/* User/People Search Results */
.user-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px !important;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    object-fit: cover;
    flex-shrink: 0;
}

.user-result .result-content {
    flex: 1;
    min-width: 0;
}

.user-result .result-title {
    margin-bottom: 2px;
}

.user-result .result-description {
    font-size: 14px;
    margin-bottom: 4px;
}

.user-result .mutual {
    font-size: 13px;
    color: var(--text-tertiary);
}

.add-friend-btn {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background: var(--primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.add-friend-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(231, 24, 76, 0.3);
}

.add-friend-btn.friend-added {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* People Suggestions on Search Page */
.people-suggestions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.person-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.person-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.person-avatar {
    width: 56px;
    height: 56px;
    border-radius: 28px;
    object-fit: cover;
    flex-shrink: 0;
}

.person-info {
    flex: 1;
    min-width: 0;
}

.person-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.person-username {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.person-mutual {
    font-size: 13px;
    color: var(--text-tertiary);
}

.add-friend-btn-small {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: var(--primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.add-friend-btn-small:hover {
    transform: scale(1.1);
}

.add-friend-btn-small.friend-added {
    background: var(--success);
    pointer-events: none;
}

/* User Profile View Styles */
.user-profile-header {
    text-align: center;
    padding: 20px 20px 16px;
}

.user-profile-avatar-container {
    display: inline-block;
    position: relative;
    margin-bottom: 16px;
}

.user-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    object-fit: cover;
    border: 4px solid var(--primary);
}

.user-profile-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.user-profile-username {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.friend-action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 0 20px;
    margin-top: 24px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    max-width: 180px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(231, 24, 76, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    transform: scale(1.05);
}

.btn-secondary:active {
    transform: scale(0.98);
}

.user-calendar {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}

.user-calendar .calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.user-calendar .calendar-month {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-posts-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 100px;
}

/* Review Modal Styles */
.write-review-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.write-review-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(231, 24, 76, 0.3);
}

.write-review-btn:active {
    transform: scale(0.98);
}

.review-modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.star-rating-input {
    display: flex;
    gap: 8px;
    font-size: 32px;
}

.star-input {
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-input:hover {
    transform: scale(1.1);
}

.star-input.filled {
    color: #ffc107;
}

.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.2s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(231, 24, 76, 0.1);
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.vibe-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vibe-tag {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vibe-tag:hover {
    background: var(--bg-tertiary);
    transform: scale(1.05);
}

.vibe-tag.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.media-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-secondary);
}

.media-upload-area:hover {
    border-color: var(--primary);
    background: var(--bg-tertiary);
}

.media-upload-area svg {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.media-upload-area p {
    color: var(--text-secondary);
    font-size: 14px;
}

.media-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.media-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.media-preview-item img,
.media-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-media-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
}

.remove-media-btn:hover {
    background: rgba(231, 24, 76, 0.9);
    transform: scale(1.1);
}

.submit-review-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.submit-review-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(231, 24, 76, 0.3);
}

.submit-review-btn:active {
    transform: scale(0.98);
}

