body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: #000;
    color: #ff3366;
}

/* ---------- HERO SECTION ---------- */
.overlay {
    background: url('img/bg-1.jpg') no-repeat center center/cover;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff3366;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

select {
    padding: 5px;
    border-radius: 5px;
    border: none;
}

.btn-login {
    background: #ff3366;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
}

main {
    text-align: center;
    margin-top: auto;
    margin-bottom: 60px;
}

main h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

main p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.btn-cta {
    background: #ff3366;
    padding: 15px 30px;
    border-radius: 30px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-cta:hover {
    background: #e60050;
}

/* ---------- SEX DATING SECTION ---------- */
.sex-dating {
    padding: 60px 20px;
    background: #111;
    text-align: center;
}

.sex-dating h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ff3366;
}

.sex-dating p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #ccc;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.card {
    background: #1b1b1b;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.card h3 {
    color: #ff3366;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.95rem;
    color: #bbb;
}

.card:hover {
    transform: translateY(-5px);
}

/* ---------- SEX RELATED DATING SECTION ---------- */
.sex-related {
    background: linear-gradient(to bottom, #1a1a1a, #000);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.sex-related h2 {
    font-size: 2.2rem;
    color: #ff3366;
    margin-bottom: 15px;
}

.sex-related p {
    max-width: 750px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #ccc;
}

.sex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.sex-card {
    background: #1f1f1f;
    border-radius: 12px;
    overflow: hidden;
    padding: 20px;
    transition: transform 0.3s ease;
}

.sex-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.sex-card h3 {
    color: #ff4d79;
    margin-bottom: 10px;
}

.sex-card p {
    font-size: 0.95rem;
    color: #bbb;
}

.sex-card:hover {
    transform: translateY(-5px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    main h1 {
        font-size: 2rem;
    }

    .btn-cta {
        padding: 12px 20px;
    }
}

.members-near {
    background: #111;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.members-near h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ff3366;
}

.members-near p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #ccc;
    font-size: 1.1rem;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.member-card {
    background: #1b1b1b;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.member-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.member-card h3 {
    margin-bottom: 5px;
    color: #ff4d79;
}

.member-card span {
    display: block;
    margin-bottom: 15px;
    color: #bbb;
    font-size: 0.9rem;
}

.btn-chat {
    background: #ff3366;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-chat:hover {
    background: #e60050;
}

.member-card:hover {
    transform: translateY(-5px);
}

.how-it-works {
    background: #000;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ff3366;
}

.how-it-works p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #ccc;
    font-size: 1.1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.step-card {
    background: #1b1b1b;
    border-radius: 12px;
    padding: 25px 20px;
    transition: transform 0.3s ease;
}

.step-number {
    background: #ff3366;
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.step-card h3 {
    color: #ff4d79;
    margin-bottom: 10px;
}

.step-card p {
    color: #bbb;
    font-size: 0.95rem;
}

.step-card:hover {
    transform: translateY(-5px);
}

.sex-videos {
    background: #111;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.sex-videos h2 {
    font-size: 2rem;
    color: #ff3366;
    margin-bottom: 15px;
}

.sex-videos p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #ccc;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.video-card {
    background: #1b1b1b;
    border-radius: 12px;
    padding: 15px;
    transition: transform 0.3s ease;
}

.video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.video-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    background: rgba(255, 51, 102, 0.8);
    color: #fff;
    border-radius: 50%;
    padding: 10px 15px;
    cursor: pointer;
}

.video-card h3 {
    margin-bottom: 10px;
    color: #ff4d79;
}

.btn-watch {
    background: #ff3366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-watch:hover {
    background: #e60050;
}

.video-card:hover {
    transform: translateY(-5px);
}

/* Video grid styles */
.video-thumb video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    background: rgba(255, 51, 102, 0.8);
    color: #fff;
    border-radius: 50%;
    padding: 10px 15px;
    pointer-events: none;
}

.video-thumb:hover video {
    transform: scale(1.05);
    transition: 0.3s ease;
}

/* Popup styles */
#video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
}

#popup-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

#close-popup {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.free-videos {
    padding: 60px 0;
    background: #f8f8f8;
    text-align: center;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
}

.video-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.video-card:hover {
    transform: translateY(-5px);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 15px;
    border-radius: 50%;
}

.video-card h3 {
    padding: 10px;
    font-size: 1rem;
    color: #ff3366;
}

/* Popup Styling */
.video-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.video-popup-content {
    background: #111;
    padding: 15px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
}

.close-popup {
    color: white;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 25px;
}

.dating-footer {
    background: #1a1a1a;
    color: #fff;
    padding-top: 40px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer-col h3 {
    color: #ff4d6d;
    font-size: 1.5rem;
}

.footer-col h4 {
    color: #ff4d6d;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ff4d6d;
}

.social-links a {
    margin-right: 10px;
    display: inline-block;
}

.social-links img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    transition: 0.3s;
}

.social-links img:hover {
    filter: invert(43%) sepia(86%) saturate(435%) hue-rotate(330deg);
}

.footer-bottom {
    background: #111;
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

/* Chat Button */
#chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #e91e63;
    color: white;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

/* Chat Box */
#chat-box {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

/* Header */
.chat-header {
    background: #e91e63;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

/* Messages */
.chat-messages {
    height: 250px;
    overflow-y: auto;
    padding: 10px;
    font-size: 14px;
}

.bot-msg {
    background: #f1f0f0;
    padding: 8px;
    margin: 5px 0;
    border-radius: 5px;
    max-width: 80%;
}

.user-msg {
    background: #e91e63;
    color: white;
    padding: 8px;
    margin: 5px 0;
    border-radius: 5px;
    max-width: 80%;
    margin-left: auto;
}

/* Input */
.chat-input {
    display: flex;
    border-top: 1px solid #ddd;
}

.chat-input input {
    flex: 1;
    padding: 8px;
    border: none;
    outline: none;
}

.chat-input button {
    background: #e91e63;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

/* Trigger Button */
#open-popup {
    padding: 10px 20px;
    background: #e91e63;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* Overlay */
#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

/* Popup Box */
#popup-box {
    background: white;
    width: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

/* Header */
.popup-header {
    background: #e91e63;
    color: white;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

/* Content */
.popup-content {
    padding: 15px;
    font-size: 15px;
    line-height: 1.4;
}

/* Footer */
.popup-footer {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #ddd;
}

.popup-btn {
    padding: 8px 16px;
    background: #e91e63;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Animation */
@keyframes fadeIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* --- popup + chat styles --- */
#start-dating-btn {
    display: inline-block;
    background: #e91e63;
    color: #fff;
    padding: 10px 18px;
    border-radius: 28px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(233, 30, 99, 0.18);
}

#chat-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

#chat-popup {
    width: 360px;
    max-width: 96%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    animation: pop-in .22s ease;
}

/* header */
.chat-header {
    background: #e91e63;
    color: #fff;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
}

.chat-header small {
    opacity: .9;
    font-weight: 400;
    margin-left: 8px;
    font-size: 0.85rem
}

.chat-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* messages area */
.chat-body {
    padding: 12px;
    height: 320px;
    overflow: auto;
    background: linear-gradient(180deg, #fff, #fff);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.msg {
    max-width: 78%;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.3;
    word-wrap: break-word;
}

/* bot / welcome */
.msg.bot {
    background: #f1f0f0;
    color: #222;
    align-self: flex-start;
    border-top-left-radius: 4px;
}

/* user */
.msg.user {
    background: #e91e63;
    color: #fff;
    align-self: flex-end;
    border-top-right-radius: 4px;
}

/* input area */
.chat-input {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #eee;
    align-items: center;
}

.chat-input input[type="text"] {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
}

.chat-input button.send {
    background: #e91e63;
    color: #fff;
    border: none;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

/* small typing indicator style (optional) */
.typing {
    width: 36px;
    height: 10px;
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing span {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    opacity: .7;
    animation: blink 1s infinite;
}

.typing span:nth-child(2) {
    animation-delay: .12s
}

.typing span:nth-child(3) {
    animation-delay: .24s
}

@keyframes pop-in {
    from {
        transform: scale(.96);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

@keyframes blink {
    0% {
        opacity: .15
    }

    50% {
        opacity: 1
    }

    100% {
        opacity: .15
    }
}

/* responsive tweak */
@media (max-width:420px) {
    #chat-popup {
        width: 96%;
        height: 92vh;
        max-height: 92vh;
    }

    .chat-body {
        height: calc(92vh - 150px);
    }
}