:root {
    /* Colors - Dark Mode Default */
    --bg-primary: #030304;
    --bg-secondary: #0c0c0f;
    --bg-tertiary: #111116;
    --bg-glass: rgba(12, 12, 15, 0.75);
    --text-primary: #f0f0f5;
    --text-secondary: #8a8a9a;
    --accent-red: #e50914;
    --accent-warm: #ff6b35;
    --accent-gradient: linear-gradient(135deg, #ff4b1f 0%, #ff9068 100%);
    --accent-premium: linear-gradient(135deg, #b20a2c 0%, #ff4b1f 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.06);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --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);
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eaeaef;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --card-bg: rgba(0, 0, 0, 0.02);
    --card-border: rgba(0, 0, 0, 0.06);
    --glass-border: 1px solid rgba(0, 0, 0, 0.08);
    --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.5s ease, color 0.5s 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.85rem 2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: var(--accent-premium);
    color: white;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(229, 9, 20, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-primary);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--accent-red);
    background: rgba(229, 9, 20, 0.08);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.1);
}

.section-padding {
    padding: 6rem 0;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.4s ease;
    padding: 8px 0;
}

.navbar.scrolled {
    background: var(--bg-glass);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    position: relative;
}

.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: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-premium);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.desktop-only {
    display: flex;
}

/* Theme Toggle */
.theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: rotate(15deg);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(229, 9, 20, 0.12) 0%, rgba(178, 10, 44, 0.06) 30%, transparent 65%);
    animation: hero-glow 8s ease-in-out infinite alternate;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--bg-primary), transparent);
}

@keyframes hero-glow {
    0% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.2rem;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 40%, rgba(255,255,255,0.6) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-text h1 {
    background: linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 40%, rgba(26,26,26,0.6) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
    line-height: 1.7;
}

.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;
}

.mockup-container::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 10%;
    right: 10%;
    height: 60px;
    background: radial-gradient(ellipse, rgba(229, 9, 20, 0.2), transparent);
    filter: blur(20px);
    animation: float-shadow 6s ease-in-out infinite;
}

@keyframes float-3d {
    0% {
        transform: rotateY(-4deg) rotateX(3deg) translateY(0);
    }
    50% {
        transform: rotateY(4deg) rotateX(-3deg) translateY(-20px);
    }
    100% {
        transform: rotateY(-4deg) rotateX(3deg) translateY(0);
    }
}

@keyframes float-shadow {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.9); }
    100% { opacity: 0.5; transform: scale(1); }
}

.mockup-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.08);
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(229, 9, 20, 0.06), transparent 50%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(229, 9, 20, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(229, 9, 20, 0.05);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(229, 9, 20, 0.1);
    color: var(--accent-red);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(229, 9, 20, 0.15);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.15);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ===== ROOM CARDS ===== */
.room-card {
    background: #0a0a0e;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.room-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    padding: 1px;
    background: linear-gradient(145deg, rgba(229, 9, 20, 0), rgba(229, 9, 20, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.room-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(229, 9, 20, 0.08);
}

.room-card:hover::before {
    background: linear-gradient(145deg, rgba(229, 9, 20, 0.5), rgba(255, 107, 53, 0.3));
}

.room-image-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.room-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, #0a0a0e, transparent);
    pointer-events: none;
    z-index: 1;
}

.room-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.room-card:hover .room-image {
    transform: scale(1.08);
}

.room-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    z-index: 3;
}

.badge {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(8px);
}

.badge-live {
    background: rgba(255, 0, 0, 0.9);
    color: white;
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 12px rgba(255, 0, 0, 0.4);
    animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { box-shadow: 0 2px 12px rgba(255, 0, 0, 0.4); }
    50% { box-shadow: 0 2px 20px rgba(255, 0, 0, 0.7); }
}

.badge-live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.badge-viewers {
    background: rgba(0, 0, 0, 0.65);
    color: white;
    border-radius: 8px;
    font-size: 0.7rem;
    border: 1px solid rgba(255,255,255,0.08);
}

.room-content {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #0a0a0e;
}

.room-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.room-host {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.room-participants {
    display: flex;
    align-items: center;
}

.participant-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #0a0a0e;
    margin-left: -8px;
    object-fit: cover;
    background: #222;
    color: #bbb;
    font-size: 0.55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.participant-avatar:first-child {
    margin-left: 0;
}

.btn-room-action {
    background: linear-gradient(135deg, #D20000, #e50914);
    color: white;
    width: 100%;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    border: none;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(210, 0, 0, 0.25);
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.btn-room-action::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-room-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.4);
    color: white;
}

.btn-room-action:hover::after {
    opacity: 1;
}

/* ===== STATS ===== */
.stats {
    background: var(--bg-secondary);
    margin: 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(229, 9, 20, 0.04), transparent 60%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-item {
    position: relative;
    padding: 1.5rem 0;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--card-border), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-item h2 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-red));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.72rem;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card.premium {
    background: linear-gradient(165deg, rgba(229, 9, 20, 0.08), var(--bg-secondary) 50%, rgba(178, 10, 44, 0.05));
    border: 1px solid rgba(229, 9, 20, 0.25);
    box-shadow: 0 0 40px rgba(229, 9, 20, 0.08), inset 0 1px 0 rgba(255,255,255,0.05);
}

.pricing-card.premium:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 60px rgba(229, 9, 20, 0.12);
}

.pricing-card.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.6), transparent);
}

.pricing-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
    display: block;
    letter-spacing: -1px;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0;
}

.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);
    font-size: 0.92rem;
}

.features-list li i {
    color: var(--accent-red);
    font-size: 0.85rem;
}

/* ===== AUTH PAGES ===== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(229, 9, 20, 0.08), transparent 60%);
    pointer-events: none;
}

.auth-card {
    background: var(--bg-secondary);
    width: 100%;
    max-width: 420px;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.3), transparent);
}

.auth-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 0.92rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.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: all 0.3s ease;
    font-family: var(--font-body);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-red);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.auth-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-red);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ===== MARQUEE / PARTNERS ===== */
.marquee-section {
    background: var(--bg-primary);
    padding: 4rem 0;
    overflow: hidden;
    border-bottom: 1px solid var(--card-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: 32px;
    width: auto;
    opacity: 0.3;
    transition: all 0.4s 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.12);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== PREMIUM GLOW BUTTON ===== */
.btn-premium-glow {
    background: linear-gradient(135deg, #ff0f1f 0%, #aa0612 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 25px rgba(229, 9, 20, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    letter-spacing: 0.5px;
    font-weight: 700;
    border-radius: 14px;
}

.btn-premium-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.1), transparent 30%);
    animation: shimmer-rotate 4s linear infinite;
    pointer-events: none;
}

@keyframes shimmer-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-premium-glow:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(229, 9, 20, 0.5), 0 0 20px rgba(255, 75, 31, 0.3);
    filter: brightness(1.1);
}

.btn-premium-glow:active {
    transform: translateY(-1px) scale(1.01);
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.4), transparent);
}

.modal-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.modal-overlay.active {
    opacity: 1;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 72px;
    height: 72px;
    background: rgba(229, 9, 20, 0.1);
    color: var(--accent-red);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem auto;
    border: 1px solid rgba(229, 9, 20, 0.15);
    position: relative;
    z-index: 1;
}

.modal-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.92rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.modal-actions button {
    min-width: 120px;
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fade-up 0.7s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text p {
        max-width: 100%;
    }

    .hero-text .btn-group {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item::after {
        display: none;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .auth-card {
        padding: 2rem 1.5rem;
    }
}

/* Hidden Rooms Utility */
.hidden-room {
    display: none !important;
}

/* ===== CUSTOM SELECTION ===== */
::selection {
    background: rgba(229, 9, 20, 0.3);
    color: white;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(229, 9, 20, 0.4);
}