:root {
    /* Colors - Dark Mode Default */
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-glass: rgba(20, 20, 20, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-red: #e50914;
    /* Netflix-ish red */
    --accent-gradient: linear-gradient(135deg, #ff4b1f 0%, #ff9068 100%);
    --accent-premium: linear-gradient(135deg, #b20a2c 0%, #ff4b1f 100%);
    --card-border: rgba(255, 255, 255, 0.08);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glow-shadow: 0 0 20px rgba(229, 9, 20, 0.3);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Modern radii & shadows */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --shadow-modal: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
    --focus-ring: 0 0 0 3px rgba(229, 9, 20, 0.25);
}

[data-theme="light"] {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --card-border: rgba(0, 0, 0, 0.05);
    --glass-border: 1px solid rgba(0, 0, 0, 0.05);
    --glow-shadow: 0 0 20px rgba(229, 9, 20, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-medium);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--accent-premium);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.section-padding {
    padding: 5rem 0;
}

/* FAQ */
.faq-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 0.9rem 1.2rem;
}

.faq-item summary {
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 700;
}

.faq-item p {
    margin-top: 0.6rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Page */
.about-section {
    /* Navbar fixed olduğu için içeriğe ekstra üst boşluk */
    padding-top: 6.5rem;
}

.about-card {
    background: var(--bg-secondary);
    border: var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    border-top: var(--glass-border);
}

.about-card h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 1.25rem;
}

.about-card h2 {
    font-size: 1.45rem;
    margin: 2.25rem 0 0.85rem;
}

.about-card h2:first-of-type {
    margin-top: 0.5rem;
}

.about-card ul {
    margin: 0.75rem 0 1.25rem;
    padding: 0;
}

.about-card li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: var(--accent-red);
    font-size: 1.25rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--glass-border);
    transition: padding 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-red);
    background: var(--accent-premium);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.desktop-only {
    display: flex;
}

/* Profile dropdown (logged in) */
.profile-dropdown {
    position: relative;
}

.profile-dropdown-trigger {
    gap: 0.6rem;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    text-decoration: none;
}

.profile-dropdown-trigger:hover {
    border-color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.08);
    transform: none;
}

.profile-dropdown-trigger i.fa-chevron-down {
    font-size: 0.75rem;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.profile-dropdown.open .profile-dropdown-trigger i.fa-chevron-down {
    transform: rotate(180deg);
}

.profile-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    min-width: 160px;
    padding: 0.35rem 0;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1001;
    pointer-events: none;
    overflow: hidden;
}

.profile-dropdown.open .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.profile-menu-nav {
    padding: 0;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.85rem;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s ease;
    text-decoration: none;
    font-family: inherit;
}

.profile-menu-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.profile-menu-item i {
    width: 0.95rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.profile-menu-logout {
    color: var(--accent-red);
}

.profile-menu-logout i {
    color: var(--accent-red);
}

.profile-menu-logout:hover {
    background: rgba(229, 9, 20, 0.12);
    color: var(--accent-red);
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.65rem 1.2rem;
    border: none;
    background: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
    font-family: inherit;
}

.profile-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.profile-dropdown-item i {
    width: 1.1rem;
    color: var(--text-secondary);
}

.profile-dropdown-item.logout:hover {
    background: rgba(229, 9, 20, 0.15);
    color: var(--accent-red);
}

.profile-dropdown-item.logout i {
    color: var(--accent-red);
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.theme-toggle:hover {
    background: rgba(128, 128, 128, 0.1);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 10%, rgba(229, 9, 20, 0.15), transparent 60%);
    animation: pulse-bg 10s infinite alternate;
    pointer-events: none;
}

@keyframes pulse-bg {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-text .btn-group {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.mockup-container {
    position: relative;
    animation: float-3d 6s ease-in-out infinite;
}

@keyframes float-3d {
    0% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: rotateY(5deg) rotateX(-5deg) translateY(-20px);
    }

    100% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(0);
    }
}



.mockup-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: var(--glass-border);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    border: var(--card-border);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 9, 20, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Room Cards (Reference Match) */
.room-card {
    background: #000000;
    border-radius: 16px;
    border: 1px solid #1a1a1a;
    overflow: hidden;
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border-color: #333;
}

.room-image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #1a1a1a;
}

.room-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-card:hover .room-image {
    transform: scale(1.05);
}

.room-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Bright Red Live Badge */
.badge-live {
    background: #FF0000;
    color: white;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.badge-live::before {
    content: '•';
    font-size: 1.2rem;
    line-height: 0;
    margin-top: -2px;
}

.badge-viewers {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    font-size: 0.7rem;
}

.room-content {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #050505;
}

.room-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.room-host {
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.room-participants {
    display: flex;
    align-items: center;
}

.participant-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #050505;
    margin-left: -8px;
    object-fit: cover;
    background: #333;
    color: #ccc;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.participant-avatar:first-child {
    margin-left: 0;
}

/* Reference Button Style */
.btn-room-action {
    background: #D20000;
    /* Darker but vivid red */
    color: white;
    width: 100%;
    padding: 0.7rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    border: none;
    transition: background 0.2s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(210, 0, 0, 0.3);
    text-decoration: none;
    display: block;
}

.btn-room-action:hover {
    background: #ff0f1f;
    box-shadow: 0 6px 20px rgba(255, 15, 31, 0.4);
    color: white;
}

/* Stats */
.stats {
    background: var(--bg-secondary);
    margin: 5rem 0;
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-item h2 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--accent-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: var(--card-border);
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.premium {
    background: linear-gradient(145deg, var(--bg-secondary), #151515);
    border: 1px solid rgba(229, 9, 20, 0.4);
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.1);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
    display: block;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.features-list {
    margin: 2rem 0;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
}

.features-list li i {
    color: var(--accent-red);
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 1) 0%, rgba(5, 5, 5, 1) 100%);
}

.auth-card {
    background: var(--bg-secondary);
    width: 100%;
    max-width: 420px;
    padding: 3rem;
    border-radius: 24px;
    border: var(--glass-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.auth-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.05);
}

.form-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-checkbox-label .form-checkbox {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--accent-red);
    cursor: pointer;
}

.form-select,
select.form-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a0a0a0' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Country dropdown - siyah kirmizi tema */
.country-dropdown {
    position: relative;
}

.country-dropdown-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    background: #0a0a0a !important;
    border: 1px solid var(--accent-red);
    color: var(--text-primary);
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
}

.country-dropdown-trigger:hover {
    border-color: var(--accent-red);
    background: rgba(229, 9, 20, 0.08) !important;
}

.country-dropdown-trigger i {
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}

.country-dropdown.open .country-dropdown-trigger i {
    transform: rotate(180deg);
}

.country-dropdown-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #0a0a0a;
    border: 1px solid var(--accent-red);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
    overflow: hidden;
    pointer-events: none;
}

.country-dropdown.open .country-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.country-dropdown-header {
    background: var(--accent-red);
    color: #fff;
    padding: 0.75rem 1.2rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.country-dropdown-list {
    max-height: 220px;
    overflow-y: auto;
    padding: 0.25rem 0;
}

.country-dropdown-list::-webkit-scrollbar {
    width: 8px;
}

.country-dropdown-list::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.country-dropdown-list::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 4px;
}

.country-dropdown-option {
    padding: 0.65rem 1.2rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.15s ease;
}

.country-dropdown-option:hover {
    background: rgba(229, 9, 20, 0.2);
}

/* Password strength indicator */
.password-strength {
    margin-top: 0.5rem;
}

.password-strength-track {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.password-strength-fill.weak {
    background: #e50914;
}

.password-strength-fill.fair {
    background: #f59e0b;
}

.password-strength-fill.good {
    background: #eab308;
}

.password-strength-fill.strong {
    background: #22c55e;
}

.password-strength-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.auth-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-red);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text .btn-group {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Infinite Marquee */
.marquee-section {
    background: var(--bg-primary);
    padding: 3rem 0;
    overflow: hidden;
    border-bottom: var(--glass-border);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 5rem;
    animation: scroll 30s linear infinite;
    width: max-content;
    align-items: center;
    padding: 1rem 0;
}

.marquee-track {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.partner-logo {
    height: 35px;
    /* Adjust based on logos */
    width: auto;
    opacity: 0.4;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(1.2);
    cursor: pointer;
}

[data-theme="light"] .partner-logo {
    filter: grayscale(100%) brightness(0.2);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Premium Button Enhancements */
.btn-premium-glow {
    background: linear-gradient(92deg, #ff0f1f 0%, #aa0612 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.5px;
    font-weight: 700;
}

.btn-premium-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(229, 9, 20, 0.6), 0 0 15px rgba(255, 75, 31, 0.4);
    filter: brightness(1.1);
}

.btn-premium-glow:active {
    transform: translateY(-1px);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: var(--bg-secondary);
    border: var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: rgba(229, 9, 20, 0.1);
    color: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem auto;
    border: 1px solid rgba(229, 9, 20, 0.2);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-actions button {
    min-width: 120px;
}

/* Hidden Rooms Utility */
.hidden-room {
    display: none !important;
    /* Force hide initially */
}

/* ========== Profile Page ========== */
.profile-page {
    min-height: 100vh;
    background: var(--bg-primary);
    background: radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 1) 0%, rgba(5, 5, 5, 1) 100%);
}

.profile-app {
    padding-bottom: 4rem;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: var(--glass-border);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
}

.profile-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.profile-back:hover {
    color: var(--accent-red);
}

.profile-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.profile-main {
    padding-top: 2rem;
}

.profile-hero {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 24px;
    background: var(--accent-premium);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--glow-shadow);
}

.profile-hero-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.profile-hero-info {
    flex: 1;
}

.profile-hero-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.profile-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-hero-badge--starter {
    color: #9ca3af;
}

.profile-hero-badge--pro {
    color: var(--accent-red);
}

.profile-hero-badge--ultimate {
    color: #ffd700;
}

.profile-hero-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.profile-stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    transition: var(--transition-fast);
}

.profile-stat-card:hover {
    border-color: var(--accent-red);
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.15);
}

.profile-stat-card i {
    display: block;
    font-size: 1.5rem;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.profile-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.profile-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.profile-card {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.profile-card-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.profile-card-title i {
    color: var(--accent-red);
    font-size: 1rem;
}

.profile-edit-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.profile-edit-toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-red);
    cursor: pointer;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.profile-form .form-group {
    margin-bottom: 1rem;
}

.profile-save-btn {
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.profile-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.profile-genre-tag {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
}

.profile-genre-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.profile-genre-tag.selected {
    background: rgba(229, 9, 20, 0.2);
    border: 1px solid var(--accent-red);
    color: var(--text-primary);
}

.profile-recent-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
}

.profile-recent-empty i {
    font-size: 3rem;
    opacity: 0.5;
    margin-bottom: 1rem;
    display: block;
}

.profile-recent-empty p {
    font-size: 0.95rem;
}

/* Profile password modal - varsayılan GİZLİ, sadece e-posta değişince .open ile açılır */
.profile-password-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.profile-password-overlay.open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.profile-password-panel {
    width: 100%;
    max-width: 400px;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.75rem 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.profile-password-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.profile-password-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.profile-password-overlay .form-input {
    margin-bottom: 0.75rem;
}

.profile-password-error {
    color: var(--accent-red);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.profile-password-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.25rem;
}

.profile-password-actions .btn {
    min-width: 100px;
}

/* Profile toast notification - ekran ortası, animasyonlu */
.profile-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--accent-red);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(229, 9, 20, 0.2);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.25s ease;
}

.profile-toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    visibility: visible;
    animation: profile-toast-pop 0.4s ease-out;
}

@keyframes profile-toast-pop {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0;
    }

    60% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.profile-toast i {
    color: #22c55e;
    font-size: 1.35rem;
    animation: profile-toast-check 0.5s ease 0.2s both;
}

@keyframes profile-toast-check {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-form-grid {
        grid-template-columns: 1fr;
    }

    .profile-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

/* ========== Room Watch App (full room UI) ========== */
.body-room-app {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.room-app-container {
    display: flex;
    height: 100%;
    min-height: 0;
    width: 100vw;
    overflow: hidden;
    background: var(--bg-primary);
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.room-sidebar {
    width: 64px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.4rem;
    padding-bottom: 0.75rem;
    flex-shrink: 0;
}

.room-sidebar-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.room-sidebar-icon:hover,
.room-sidebar-icon.active {
    color: var(--accent-red);
    background: rgba(229, 9, 20, 0.1);
    transform: scale(1.02);
}

.room-sidebar-icon:active {
    transform: scale(0.98);
}

.room-sidebar-spacer {
    flex-grow: 1;
}

.room-sidebar-avatar {
    width: 36px;
    height: 36px;
    background: var(--bg-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.room-sidebar-avatar-login {
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.room-sidebar-avatar-login:hover,
.room-sidebar-avatar-login:focus-visible {
    color: var(--accent-red);
    background: rgba(229, 9, 20, 0.1);
    transform: scale(1.02);
}

.room-sidebar-avatar-login:active {
    transform: scale(0.98);
}

.room-sidebar-login-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-red);
    text-align: center;
    padding: 0;
    cursor: default;
}

.room-mic-level-wrap {
    width: 32px;
    height: 80px;
    margin: 0 auto 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.room-mic-level-bar {
    width: 100%;
    height: 100%;
    position: relative;
}

.room-mic-level-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: var(--accent-red);
    border-radius: 4px;
    transition: height 0.05s ease;
}

.room-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: var(--bg-primary);
}

.room-topbar {
    height: 56px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
    flex-shrink: 0;
}

.room-topbar-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.room-topbar-upgrade {
    margin-left: auto;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent-red);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: filter 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.room-topbar-upgrade:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    text-decoration: none;
    color: #fff;
}

.room-search-wrap {
    flex: 1;
    max-width: 520px;
    position: relative;
    margin: 0 auto;
}

.room-search-wrap i:first-of-type {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.room-search-wrap .room-search-input {
    width: 100%;
    padding: 10px 40px 10px 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.room-search-input:focus {
    outline: none;
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--focus-ring);
}

.room-search-wrap .room-search-input::placeholder {
    color: var(--text-secondary);
}

.room-search-wrap i:last-of-type {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    cursor: pointer;
}

.room-player-area {
    flex: 1;
    padding: 0.15rem 1rem 0.4rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.room-video-container {
    width: 100%;
    aspect-ratio: 16/9;
    max-height: calc(100vh - 56px - 220px);
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.room-video-placeholder {
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.room-video-placeholder i {
    font-size: 3rem;
    color: var(--accent-red);
    opacity: 0.8;
}

#room-yt-player {
    width: 100%;
    height: 100%;
}

.room-video-grid {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    overflow-x: auto;
    flex-shrink: 0;
}

.room-video-grid::-webkit-scrollbar {
    height: 6px;
}

.room-video-grid::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 3px;
}

.room-video-card {
    min-width: 180px;
    max-width: 200px;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.room-video-card:hover {
    border-color: rgba(229, 9, 20, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.room-video-card-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-glass);
    background-size: cover;
    background-position: center;
}

.room-video-card-info {
    padding: 10px 12px;
}

.room-video-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Platforms section (YouTube, Netflix, Spotify, Disney+) */
.room-platforms-section {
    padding: 0.2rem 0 0.35rem;
    flex-shrink: 0;
}

.room-platforms-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 0.35rem;
}

.room-platforms-grid {
    padding: 0;
}

.room-platform-card {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    flex-shrink: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.room-platform-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.room-platform-card.room-video-card:hover {
    border-color: rgba(229, 9, 20, 0.5);
}

.room-platform-icon {
    width: 100%;
    height: 84px;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    padding: 12px;
    box-sizing: border-box;
}

.room-platform-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.room-platform-fallback {
    display: none;
    align-items: center;
    justify-content: center;
}

/* Tüm platform ikon alanları siyah arka plan */
.room-platforms-grid .room-platform-icon {
    background: #000 !important;
    background-color: #000 !important;
    position: relative;
}

.room-platforms-grid .room-platform-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 0;
}

.room-platforms-grid .room-platform-icon .room-platform-logo,
.room-platforms-grid .room-platform-icon .room-platform-fallback,
.room-platforms-grid .room-platform-icon>i,
.room-platforms-grid .room-platform-icon .room-platform-viewall-top {
    position: relative;
    z-index: 1;
}

.room-platform-netflix,
.room-platform-disney,
.room-platform-prime,
.room-platform-hulu,
.room-platform-hbomax,
.room-platform-custom,
.room-platform-anime,
.room-platform-viewall-icon {
    background: #000 !important;
    background-color: #000 !important;
}

.room-platform-custom {
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

/* Hulu logosu siyah zemin üzerinde beyaz görünsün */
.room-platform-hulu .room-platform-logo {
    filter: brightness(0) invert(1);
}

.room-platform-link {
    text-decoration: none;
    color: inherit;
}

.room-platform-link:hover {
    text-decoration: none;
    color: inherit;
}

/* +50 platforms kartı - üstte +50 platforms, altta View all */
.room-platform-viewall-icon {
    background: #000 !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    box-sizing: border-box;
}

.room-platform-viewall-top {
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.room-platform-viewall-icon i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

/* Platform "Download App" modal - içerik her zaman görünsün */
.room-platform-app-modal .room-invite-app-text {
    margin-top: 0;
}

#room-platform-app-modal .room-modal {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

#room-platform-app-modal .room-invite-app-icon {
    color: #e50914 !important;
    opacity: 1;
}

#room-platform-app-modal .room-invite-app-text {
    color: #b0b0b0 !important;
}

#room-platform-app-modal .room-invite-app-btn {
    background: #e50914 !important;
    color: #fff !important;
}

#room-platform-app-modal .room-modal-close {
    color: var(--text-secondary);
}

#room-platform-app-modal .room-modal-close:hover {
    color: var(--text-primary);
}

#room-platform-app-modal.room-platform-pinned .room-modal-close {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

#room-platform-app-modal .room-modal {
    min-height: 200px;
    background: #1a1a1a;
}

.body-room-app #room-platform-app-modal .room-modal {
    background: #1a1a1a;
}

.room-platform-card .room-video-card-info {
    width: 100%;
    padding: 8px 10px;
    text-align: center;
}

.room-right-panel {
    width: 320px;
    background: var(--bg-secondary);
    border-left: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.room-tabs {
    display: flex;
    border-bottom: 1px solid var(--card-border);
    gap: 2px;
}

.room-tab {
    flex: 1;
    padding: 12px 14px;
    text-align: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.2s ease, border-color 0.2s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.room-tab:hover {
    color: var(--text-primary);
}

.room-tab.active {
    color: var(--accent-red);
    border-bottom-color: var(--accent-red);
}

.room-tab-content {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
}

.room-tab-content.hidden {
    display: none !important;
}

.room-empty-state {
    text-align: center;
    color: var(--text-secondary);
    padding: 1.5rem;
    font-size: 0.9rem;
}

.room-empty-state i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.room-playlist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--card-border);
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.room-playlist-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.room-playlist-item-thumb {
    width: 80px;
    height: 45px;
    background: var(--bg-glass);
    border-radius: var(--radius-sm);
    background-size: cover;
    flex-shrink: 0;
}

.room-chat-overlay {
    position: fixed;
    bottom: 80px;
    right: 340px;
    width: 360px;
    height: 460px;
    max-height: calc(100vh - 120px);
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-modal);
    z-index: 1000;
    overflow: hidden;
}

.room-chat-overlay.hidden {
    display: none !important;
}

.room-chat-header {
    flex-shrink: 0;
    padding: 12px 14px;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
}

.room-chat-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.room-chat-title i {
    color: var(--accent-red);
    font-size: 1.1rem;
}

.room-chat-close {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
}

.room-chat-close:hover {
    color: var(--accent-red);
    background: rgba(229, 9, 20, 0.12);
}

.room-chat-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.room-chat-msg {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.4;
}

.room-chat-msg.own {
    align-items: flex-end;
}

.room-chat-msg.system {
    align-items: center;
}

.room-chat-msg-system {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
    padding: 4px 0;
}

.room-chat-bubble {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px 12px 12px 4px;
    background: var(--bg-glass);
    border: 1px solid var(--card-border);
    word-break: break-word;
}

.room-chat-msg.own .room-chat-bubble {
    border-radius: 12px 12px 4px 12px;
    background: rgba(229, 9, 20, 0.15);
    border-color: rgba(229, 9, 20, 0.35);
}

.room-chat-bubble .time {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-right: 6px;
}

.room-chat-bubble .user {
    font-weight: 600;
    color: var(--accent-red);
}

.room-chat-msg.own .room-chat-bubble .user {
    color: var(--room-chat-user-color, var(--accent-red));
}

.room-chat-bubble .text {
    color: var(--text-primary);
}

.room-chat-input-row {
    flex-shrink: 0;
    padding: 12px;
    border-top: 1px solid var(--card-border);
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--bg-primary);
}

.room-chat-input {
    flex: 1;
    padding: 10px 14px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.room-chat-input:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: var(--focus-ring);
}

.room-chat-send {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: var(--accent-red);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.room-chat-send:hover {
    filter: brightness(1.12);
    transform: scale(1.05);
}

.room-chat-send:active {
    transform: scale(0.98);
}

.room-floating-chat-btn {
    position: fixed;
    bottom: 24px;
    right: 340px;
    width: 52px;
    height: 52px;
    background: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
    z-index: 999;
    transition: var(--transition-fast);
}

.room-floating-chat-btn:hover {
    transform: scale(1.08);
}

.room-floating-chat-btn.hidden {
    display: none !important;
}

.room-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: roomOverlayIn 0.25s ease;
}

@keyframes roomOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes roomOverlayOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.room-modal-overlay.closing {
    animation: roomOverlayOut 0.2s ease forwards;
    pointer-events: none;
}

.room-modal-overlay.closing .room-modal {
    animation: roomModalOut 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes roomModalOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    to {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
}

.room-modal-overlay.hidden {
    display: none !important;
}

.room-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 440px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-modal);
    animation: roomModalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes roomModalIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.room-modal.large {
    max-width: 560px;
}

/* Room sayfasındaki tüm modallar tema uyumlu (koyu) */
.body-room-app .room-modal-overlay .room-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    box-shadow: var(--shadow-modal);
}

.body-room-app .room-modal h2 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.body-room-app .room-modal p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.body-room-app .room-modal .room-modal-close {
    color: var(--text-secondary);
}

.body-room-app .room-modal .room-modal-close:hover {
    color: var(--text-primary);
}

.room-modal-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.room-modal-content .room-download-link {
    margin-top: 0.25rem;
}

/* Help modal – How to use MooviParty */
.room-help-modal .room-modal-content {
    max-width: 520px;
    padding: 1.75rem 2rem 2rem;
    gap: 0;
}

.room-help-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.room-help-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 1.5rem;
}

.room-help-steps {
    margin: 0 0 1.5rem 1.5rem;
    padding: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.65;
}

.room-help-steps li {
    margin-bottom: 0.75rem;
}

.room-help-steps li:last-child {
    margin-bottom: 0;
}

.room-help-steps strong {
    color: var(--accent-red);
    font-weight: 600;
}

.room-help-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
}

.room-help-shortcuts {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 2;
}

.room-help-shortcuts li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.room-help-content kbd {
    display: inline-block;
    min-width: 2.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-align: center;
    flex-shrink: 0;
}

.room-help-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.room-help-doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary) !important;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.room-help-doc-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-red);
    color: var(--text-primary) !important;
}

.room-help-content .room-download-link {
    margin-top: 0;
    align-self: flex-start;
}

/* Settings modal – yatay sekmeler (üstte Room | Personal), kırmızı tema */
.room-settings-modal {
    max-width: 640px;
    width: 95%;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
}

.room-settings-modal .room-modal-close {
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, color 0.2s ease;
    color: var(--text-secondary);
}

.room-settings-modal .room-modal-close:hover {
    background: rgba(229, 9, 20, 0.15);
    color: var(--accent-red);
}

.room-settings-panel {
    display: flex;
    flex-direction: column;
    min-height: 360px;
}

.room-settings-nav {
    width: 100%;
    flex-shrink: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    flex-direction: row;
    padding: 0;
    gap: 0;
}

.room-settings-nav-item {
    flex: 1;
    padding: 1rem 1.25rem;
    text-align: center;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.room-settings-nav-item:hover {
    color: var(--text-primary);
    background: rgba(229, 9, 20, 0.06);
}

.room-settings-nav-item.active {
    color: var(--accent-red);
    background: rgba(229, 9, 20, 0.1);
    border-bottom-color: var(--accent-red);
    font-weight: 600;
}

.room-settings-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1.75rem 1.75rem;
}

.room-settings-pane {
    display: none;
}

.room-settings-pane.active {
    display: block;
}

.room-settings-pane h2 {
    margin: 0 0 1.25rem;
    font-size: 1.35rem;
    color: var(--text-primary);
}

.room-settings-pane h3.room-settings-subtitle {
    margin: 1.25rem 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.room-settings-field {
    margin-bottom: 1.25rem;
}

.room-settings-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.room-settings-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.room-settings-input {
    flex: 1;
    min-width: 160px;
    padding: 0.65rem 0.9rem;
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.room-settings-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.8;
}

.room-settings-input:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: var(--focus-ring);
}

.room-settings-save-btn {
    padding: 0.65rem 1.35rem;
    background: var(--accent-red);
    color: #fff !important;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.room-settings-save-btn:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.35);
}

.room-settings-save-btn:active {
    transform: translateY(0);
}

.body-room-app .room-settings-save-btn {
    background: var(--accent-red);
    color: #fff !important;
}

.room-settings-hint {
    margin: 0.4rem 0 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.room-settings-color-row {
    margin-top: 0.25rem;
}

.room-settings-color {
    width: 44px;
    height: 44px;
    padding: 3px;
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.room-settings-color:hover {
    border-color: var(--accent-red);
}

.room-settings-color:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: var(--focus-ring);
}

.room-settings-color::-webkit-color-swatch-wrapper {
    padding: 2px;
}

.room-settings-color::-webkit-color-swatch {
    border-radius: 6px;
    border: none;
}

.room-settings-bg-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.room-settings-bg-opt {
    width: 48px;
    height: 38px;
    border: 2px solid var(--card-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.room-settings-bg-opt:hover {
    border-color: rgba(229, 9, 20, 0.5);
    transform: scale(1.03);
}

.room-settings-bg-opt.active {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.4);
}

.room-settings-upload-btn {
    padding: 0.55rem 1.1rem;
    background: transparent;
    border: 1px solid var(--accent-red);
    border-radius: var(--radius-md);
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.room-settings-upload-btn:hover {
    background: rgba(229, 9, 20, 0.15);
    color: #fff;
    border-color: var(--accent-red);
}

.room-settings-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.room-settings-footer-link {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.room-settings-footer-link:hover {
    color: var(--accent-red);
}

.room-settings-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
}

.room-settings-checkbox {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--accent-red);
    cursor: pointer;
}

/* Site teması: settings modal içi kırmızı vurgular */
.body-room-app .room-settings-pane h2,
.body-room-app .room-settings-pane h3.room-settings-subtitle {
    color: var(--text-primary);
}

.body-room-app .room-settings-input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.25);
}

/* Invite "App Required" modal - tema uyumlu, modern */
.room-invite-app-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    text-align: center;
    padding: 2rem 2rem 2.25rem;
    max-width: 420px;
    width: 90%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-modal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.room-invite-app-modal .room-modal-close {
    color: var(--text-secondary);
    top: 14px;
    right: 14px;
}

.room-invite-app-modal .room-modal-close:hover {
    color: var(--text-primary);
}

.room-invite-app-icon {
    font-size: 2.75rem;
    color: var(--accent-red);
    opacity: 0.9;
    margin-bottom: 1.25rem;
    line-height: 1;
}

.room-invite-app-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.room-invite-app-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 1.5rem;
    max-width: 320px;
}

.room-invite-app-btn {
    display: inline-block;
    background: var(--accent-red);
    color: #fff !important;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease;
    border: none;
}

.room-invite-app-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.room-invite-app-btn:active {
    transform: translateY(0);
}

/* Upgrade modal: pricing cards (Starter, Pro, Ultimate) */
.room-upgrade-modal {
    max-width: 440px;
    width: 94%;
    padding: 2rem 1.5rem 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    text-align: left;
}

.room-upgrade-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 0.5rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.room-upgrade-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.room-upgrade-card-popular {
    border: 1px solid var(--accent-red);
    background: linear-gradient(145deg, rgba(229, 9, 20, 0.06), rgba(20, 20, 20, 0.95));
    box-shadow: 0 0 24px rgba(229, 9, 20, 0.12);
}

.room-upgrade-badge {
    position: absolute;
    top: -1px;
    right: 1rem;
    background: var(--accent-red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.room-upgrade-card-popular .room-upgrade-card-header {
    padding-top: 0.5rem;
}

.room-upgrade-card-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem;
}

.room-upgrade-card-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 1rem;
}

.room-upgrade-price {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.room-upgrade-price span {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.room-upgrade-features {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    flex-grow: 1;
}

.room-upgrade-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.room-upgrade-features li i {
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.room-upgrade-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
    font-family: inherit;
}

.room-upgrade-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
}

.room-upgrade-btn-outline:disabled {
    opacity: 1;
    cursor: default;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
}

.room-upgrade-btn-primary {
    background: linear-gradient(90deg, #e50914, #ff4b1f);
    border: none;
    color: #fff;
}

.room-upgrade-btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    color: #fff;
}

.room-upgrade-btn-outline:not(:disabled):hover,
.room-upgrade-btn-outline:not([disabled]):hover {
    border-color: var(--accent-red);
    background: rgba(229, 9, 20, 0.1);
}

@media (min-width: 600px) {
    .room-upgrade-pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .room-upgrade-modal {
        max-width: 920px;
    }
}

.room-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s ease, background 0.2s ease;
}

.room-modal-close:hover {
    color: var(--text-primary);
}

.room-modal h2 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.room-modal p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.room-download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-red);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.room-download-link:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.room-download-link:active {
    transform: translateY(0);
}

@media (max-width: 900px) {
    .room-right-panel {
        width: 0;
        overflow: hidden;
        padding: 0;
        border: none;
    }

    .room-chat-overlay {
        right: 20px;
    }

    .room-floating-chat-btn {
        right: 20px;
    }
}

/* =============================================
   HAMBURGER MENU
   ============================================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav-actions {
    display: none;
}

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* ---------- Tablet & below (768px) ---------- */
@media (max-width: 768px) {

    /* Hamburger visible */
    .hamburger {
        display: flex;
    }

    /* Desktop buttons hidden */
    .desktop-only {
        display: none !important;
    }

    /* Mobile nav overlay */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-top: 1rem;
    }

    .mobile-nav-actions .btn {
        width: 200px;
        text-align: center;
    }

    /* Navbar */
    .navbar .container {
        height: 65px;
    }

    /* Hero */
    .hero {
        padding-top: 100px;
        padding-bottom: 50px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        max-width: 100%;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-text .btn-group {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        order: -1;
    }

    .mockup-container {
        animation: none;
    }

    .mockup-img {
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }

    /* Section padding */
    .section-padding {
        padding: 3rem 0;
    }

    /* Container */
    .container {
        padding: 0 1.2rem;
    }

    /* Marquee */
    .marquee-section .container p {
        font-size: 0.7rem !important;
    }

    .partner-logo {
        height: 16px !important;
    }

    /* Features grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-top: 1.5rem;
    }

    .feature-card {
        padding: 1.8rem;
    }

    /* Stats */
    .stats {
        margin: 2rem 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item h2 {
        font-size: 2rem;
    }

    /* FAQ */
    .faq-section {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .faq-grid {
        max-width: 100%;
    }

    .faq-item {
        padding: 0.8rem 1rem;
    }

    .faq-item summary {
        font-size: 0.95rem;
    }

    /* Express Yourself section */
    .hero-content[style*="gap: 5rem"] {
        gap: 2rem !important;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .price {
        font-size: 2.5rem;
    }

    /* Download section */
    #download h2 {
        font-size: 2rem !important;
    }

    #download p {
        font-size: 1rem !important;
    }

    #download .btn {
        padding: 0.8rem 2rem !important;
        font-size: 1rem !important;
        width: 100%;
    }

    #download div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    /* Section headings */
    h2 {
        font-size: 1.8rem;
    }

    /* Room cards — hidden rooms */
    .hidden-room {
        display: none;
    }

    /* Sponsor video */
    .sponsor-video-wrapper {
        border-radius: 12px !important;
    }

    /* Footer */
    footer div[style*="display: flex"] {
        gap: 1rem !important;
    }
}

/* ---------- Small phones (480px) ---------- */
@media (max-width: 480px) {

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.85rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-item h2 {
        font-size: 1.6rem;
    }

    .pricing-card {
        padding: 1.5rem 1.2rem;
    }

    .price {
        font-size: 2rem;
    }

    /* About page */
    .about-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .about-card h1 {
        font-size: 1.8rem;
    }

    .about-card h2 {
        font-size: 1.2rem;
    }

    .about-section {
        padding-top: 5rem;
    }

    /* Footer links wrap */
    footer div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.8rem !important;
    }
}
