:root {
    --primary-burgundy: #900a20; /* Deeper, couch-cozy burgundy */
    --primary-burgundy-light: #b01a35;
    --dark-bg: #0c0908; /* Dark brown-black for warmth */
    --card-bg: #181412; 
    --glass-border: rgba(144, 10, 32, 0.4);
    --text-main: #ffffff;
    --text-dim: #c5bdb0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
a {
    text-decoration: none;
    color: inherit;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background image handling */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 11, 0.7) 0%, rgba(10, 10, 11, 1) 100%),
                url('bg_new.jpg');
    background-size: cover;
    background-position: center top;
    z-index: -1;
    filter: blur(8px);
    transform: scale(1.1);
}

header {
    padding: 4rem 1rem 1rem;
    text-align: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.5rem, 8vw, 4rem);
    letter-spacing: -2px;
    text-transform: uppercase;
    color: var(--primary-burgundy);
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(128, 0, 32, 0.4);
}

.logo span {
    color: #fff;
    font-weight: 300;
}

.site-description {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    font-weight: 400;
    padding: 0 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    opacity: 0.9;
}

/* Age Selector Section */
.age-selector {
    padding-bottom: 3rem;
    text-align: center;
}

.section-title {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--primary-burgundy);
    font-weight: 800;
    opacity: 0.9;
}

.age-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 0 1rem;
}

.age-btn {
    text-decoration: none;
    padding: 1.1rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    flex: 1;
    max-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-under-45 {
    background: var(--primary-burgundy);
    color: white;
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.4);
}

.btn-over-45 {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: rgba(255, 255, 255, 0.1);
}

.age-btn:hover {
    transform: translateY(-3px);
    background: var(--primary-burgundy-light);
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(128, 0, 32, 0.5);
}

/* Carousel Section */
.carousel-container {
    padding-bottom: 4rem;
    position: relative;
    width: 100%;
}

.carousel-scroll-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    position: relative;
    z-index: 10;
}

.carousel-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.carousel {
    display: flex;
    gap: 15px;
    padding: 0 10vw; 
    width: max-content;
    align-items: center;
}

.profile-card {
    width: 270px;
    background: var(--card-bg);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    scroll-snap-align: center;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    opacity: 0.15; 
    filter: blur(8px);
    transform: scale(0.8);
}

.profile-card.in-view {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.9);
    border-color: var(--primary-burgundy);
}

.card-image-wrapper {
    position: relative;
    height: 400px;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}

.online-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4ade80;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

.card-info {
    padding: 1.4rem;
    text-align: center;
    background: #141416;
}

.card-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: #fff;
    font-weight: 700;
}

.action-btn {
    display: block;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    background: var(--primary-burgundy);
    color: white;
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.3);
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--primary-burgundy-light);
    transform: scale(1.02);
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(128, 0, 32, 0.9);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none; 
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    font-size: 1.4rem;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: var(--primary-burgundy);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left { left: 30px; }
.nav-arrow.right { right: 30px; }

/* How it works section styling */
.how-it-works {
    padding: 2rem 1.5rem 6rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.info-content {
    background: rgba(20, 20, 22, 0.4);
    padding: 3rem 2rem;
    border-radius: 35px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
}

.info-content p {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 300;
}

.bottom-actions {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    margin-top: 3rem;
}

.register-btn {
    text-decoration: none;
    background: var(--primary-burgundy);
    color: white;
    padding: 1.3rem 0;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 12px 35px rgba(128, 0, 32, 0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    max-width: 440px;
    display: block;
}

.register-btn:hover {
    transform: scale(1.05);
    background: var(--primary-burgundy-light);
}

.bottom-actions .age-buttons {
    width: 100%;
    max-width: 440px;
}

footer {
    padding: 3rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    font-weight: 300;
}

@media (min-width: 1024px) {
    .nav-arrow { display: flex; }
    .carousel { 
        padding: 0 3vw; 
        gap: 15px;
    } 
    .profile-card { width: 210px; } /* Fits 5 cards in ~1200px */
}

/* Mobile Optimizations */
@media (max-width: 480px) {
    .background-overlay {
        background-image: linear-gradient(180deg, rgba(12, 9, 8, 0.6) 0%, rgba(12, 9, 8, 1) 100%),
                        url('cghjteryjtjytj.png');
        background-position: center top;
        background-attachment: scroll;
        filter: blur(4px);
        transform: scale(1.05);
    }
    .profile-card { 
        width: 75vw; 
        opacity: 1 !important;
        filter: none !important;
        transform: scale(1) !important;
        background: #181412;
    }
    .carousel { 
        padding: 0 12.5vw; 
        gap: 12px;
    }
    .card-image-wrapper { height: 460px; }
    .nav-arrow { display: none; }
    .info-content { 
        padding: 2.5rem 1.5rem; 
        background: rgba(24, 20, 18, 0.7);
    }
    .info-content p { font-size: 1.05rem; }
    .logo { font-size: 3rem; margin-bottom: 1.5rem; }
    .site-description { margin-bottom: 2rem; }
}


/* Age Verification Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-title {
    color: var(--primary-burgundy);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.modal-text {
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modal-age-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-btn {
    text-decoration: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.modal-btn-under {
    background: var(--primary-burgundy);
}

.modal-btn-under:hover {
    background: var(--primary-burgundy-light);
    transform: scale(1.02);
}

.modal-btn-over {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-btn-over:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

