/* ========================== */
/* Global Styles (Unchanged for Desktop) */
/* ========================== */
body {
    font-family: 'Segoe UI', 'Montserrat', Arial, sans-serif;
    background: #f8f8f8;
    margin: 0;
    padding: 0;
    text-align: center;
     font-size: 15px;
}

h2 {
    color: #ff4d6d;
}

h2 {
    color: #ff4d6d;
    text-align: center;
}
  h3 { font-size: 1.15em !important; }
/* ========================== */
/* Buttons */
/* ========================== */
button {
    background: #ff4d6d;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 25px;
    margin-top: 5px;
    transition: 0.3s;
}

button:hover {
    
}

/* ========================== */
/* Authentication Pages (Restored) */
/* ========================== */
.auth-container {
    max-width: 370px;
    margin: 50px auto 30px auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 32px 24px 24px 24px;
    text-align: center;
}
.auth-container h2 {
    margin-bottom: 25px;
    color: #ff4d6d;
    font-size: 2rem;
    letter-spacing: 1px;
}
.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.auth-container input[type="email"],
.auth-container input[type="password"] {
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.auth-container input[type="email"]:focus,
.auth-container input[type="password"]:focus {
    border-color: #ff4d6d;
    outline: none;
}
.auth-container button[type="submit"] {
    background: #ff4d6d;
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.auth-container button[type="submit"]:hover {
    background: #e63950;
}
.auth-container p {
    margin-top: 18px;
    margin-bottom: 0;
    font-size: 0.96rem;
    color: #333;
}
.auth-container a {
    color: #ff4d6d;
    text-decoration: none;
}
.auth-container a:hover {
    text-decoration: underline;
}


/* ========================== */
/* Mobile-Specific Fixes (ONLY for Screens < 768px) */
/* ========================== */
@media (max-width: 768px) {
    /* Responsive Onboarding */
    .onboarding-container {
        width: 90%;
        margin: 20px auto;
        padding: 15px;
    }

    /* Responsive Chat System */
    .chat-container {
        width: 95%;
    }

    /* Responsive Matchmaking Cards */
    .swipe-card {
        width: 90%;
        max-width: 300px;
    }

    /* Responsive Buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons a {
        width: 80%;
    }

    /* Responsive Header */
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #ff4d6d;
        color: white;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
}



.verified-icon {
      background-color: #4caf50;
      
      border-radius: 50%;
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px!important;
      line-height: 1;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    color: #fff !important;
    font-size: 1.25em !important;
    vertical-align: middle !important;
    margin-left: 5px !important;
    display: inline !important;
    }



.swipe-card {
    width: 350px;
    aspect-ratio: 9/16;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    position: absolute;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.swipe-card img {
    width: 100%;
    height: 75%;
    object-fit: cover;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background: white;
    border-top: 1px solid #ddd;
}

.action-buttons button {
    font-size: 20px;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    width: 50px;
    height: 50px;
    transition: 0.3s;
}

.like-btn {  color: white; }
.superlike-btn {  color: white; }
.rewind-btn {  color: white; }
.boost-btn {  color: white; }
.dislike-btn {  color: white; }

/* Coin Animation */




/* Fix for Button Placement */
.action-buttons {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: white;
    border-top: 1px solid #ddd;
    position: relative;
    width: 100%;
}

.action-buttons button {
    font-size: 20px;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

/* Fix for Swipe Card Positioning */
.swipe-card {
    width: 90%;
    max-width: 350px;
    aspect-ratio: 9/16;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}
/* Fix for Profile Card Overlapping */
.swipe-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    padding-top: 25px; /* Prevents card from overlapping header */
}

/* Mobile-Friendly Fixes */
@media (max-width: 768px) {
    .swipe-card {
        width: 90%;
        max-width: 300px;
    }

    .coin-display {
        position: absolute;
        top: 15px;
        left: 20px;
    }

    .action-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* ========================== */
/* Global Styles */
/* ========================== */
body {
    font-family: Arial, sans-serif;
    background: #f8f8f8;
    margin: 0;
    padding: 0;
}

h2 {
    color: #ff4d6d;
    text-align: center;
}




/* ========================== */
/* Onboarding Page */
/* ========================== */
.onboarding-container {
    width: 600px;
    background: white;
    padding: 20px;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #ccc;
    text-align: left;
    max-height: none;
    overflow-y: visible;
    position: relative;
}

.onboarding-container label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.onboarding-container input,
.onboarding-container select {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* ========================== */
/* Profile Picture Upload & Grid */
/* ========================== */
.photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.photo-box {
    width: 120px;
    height: 160px;
    border: 2px dashed #ff4d6d;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 10px;
    font-size: 24px;
    color: #ff4d6d;
    background: #fff;
    position: relative;
}

.photo-box:hover {
    background: #ffe6eb;
}

.profile-pic-preview {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

/* ========================== */
/* Chat System */
/* ========================== */
.chat-container {
    width: 400px;
    margin: auto;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.chat-header {
    background: #ff4d6d;
    color: white;
    padding: 15px;
    text-align: center;
}

.chat-box {
    height: 400px;
    overflow-y: auto;
    padding: 10px;
    background: #f9f9f9;
}

.chat-message {
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    max-width: 80%;
}

.sent {
    background: #ff4d6d;
    color: white;
    align-self: flex-end;
}

.received {
    background: #ddd;
    align-self: flex-start;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.chat-input textarea {
    flex: 1;
    padding: 5px;
}

.chat-input button {
    padding: 5px 15px;
    background: #ff4d6d;
    color: white;
    border: none;
    cursor: pointer;
}

/* ========================== */
/* Mobile Number Input */
/* ========================== */
.mobile-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
}

.country-code {
    width: 25%;
    min-width: 80px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    text-align: center;
}

.mobile-container input {
    width: 70%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* ========================== */
/* Tinder-Style Hobbies Selector */
/* ========================== */
.looking-for-container, .hobbies-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.relationship-item , .hobby-item {
    padding: 8px 12px;
    border: 2px solid #ff4d6d;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.relationship-item.selected , .hobby-item.selected {
    background: #ff4d6d;
    color: white;
}

/* ========================== */
/* Modal (For Image Cropping) */
/* ========================== */


/* ========================== */
/* Header & Footer */
/* ========================== */
header {
    background: #ff4d6d;
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}


/* ========================== */
/* Fix for Image Cropping Modal */
/* ========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999; /* Ensures modal is on top */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 80%;
    max-width: 400px;
}

.modal-content {
    position: relative;
    padding: 15px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    background: #ff4d6d;
    color: white;
    border-radius: 50%;
    padding: 5px 10px;
}



/* Ensure modal visibility */
.show {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.onboarding-container {
    width: 550px;
    background: white;
    padding: 25px;
    margin: 50px auto;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #ccc;
    text-align: left ;
}

.center-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 25px;
    background: #ff4d6d;
    color: white;
    border: none;
    cursor: pointer;
}


.modal {
    display: none;
}

/* Full-Screen Transparent Match Overlay */
.match-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Match Card - Large & Centered */
.match-card {
    background: black;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
    box-shadow: 0px 0px 20px rgba(255, 0, 0, 0.8);
    border: none;
}

/* Smooth Fade In */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Match Text */
.match-text {
    font-size: 28px;
    font-weight: bold;
    color: #ff4d6d;
}

.match-subtext {
    font-size: 14px;
    color: gray;
    margin-bottom: 15px;
}

/* Match Profile Images */
.match-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.match-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
}

/* Match Buttons */
.match-button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin: 10px;
    width: 80%;
}

.match-button.secondary {
    background-color: #ff4d6d;
}

.match-button:hover {
    opacity: 0.9;
}



/* Coin Animation - Centered */
.coin-animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: gold;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    animation: fade-out 1s forwards;
}

/* Coin Animation Fade */
@keyframes fade-out {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}



.matchmaking-container {
      text-align: center;
      padding: 20px;
    }
    .swipe-container {
      width: 350px;
      margin: 0 auto;
      position: relative;
      min-height: 500px;
    }
    .swipe-card {
      position: absolute;
      width: 100%;
      border-radius: 8px;
      box-shadow: 0 3px 8px rgba(0,0,0,0.2);
      overflow: hidden;
      background: #fff;
      transition: transform 0.3s ease, opacity 0.3s ease;
      top: 0;
      left: 0;
    }
    .img-container {
      position: relative;
      width: 100%;
      height: 400px;
      overflow: hidden;
    }
    .img-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    /* --- NEW: Premium Icon in top-left of image container --- */
    .membership-badge {
      position: absolute;
      top: 0;
      left: 0;
      width: 80px;
      height: 80px;
      z-index: 2;
      pointer-events: none;
    }
    .membership-badge img {
      width: 80px;
      height: 80px;
      object-fit: contain;
      /* Optionally: add some glow or drop-shadow for effect */
      filter: drop-shadow(0 2px 8px #fff7);
    }
    .card-info {
      padding: 10px;
      text-align: center;
    }
    .card-info h3 { margin: 5px 0; font-size: 18px; font-weight: 600; }
    .card-info p { margin: 4px 0; font-size: 14px; color: #666; }
    .action-buttons {
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 10px 0;
      background: #f9f9f9;
    }
    .action-buttons button {
      border: none;
      background: none;
      font-size: 24px;
      cursor: pointer;
      transition: transform 0.2s;
    }
    .action-buttons button:hover { transform: scale(1.2); }
    .swipe-left { transform: translateX(-350px) rotate(-15deg); opacity: 0; }
    .swipe-right { transform: translateX(350px) rotate(15deg); opacity: 0; }
    /* Tinder-like match overlay */
    .match-overlay {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0,0,0,0.8); z-index: 9999;
      display: none; justify-content: center; align-items: center;
    }
    
    @keyframes pop-in { 0% { transform: scale(0.5); } 100% { transform: scale(1.0); } }
    .match-text { font-size: 28px; color: #ff4d6d; margin-bottom: 14px; }
    .match-images { display: flex; justify-content: center; gap: 22px; margin-bottom: 18px; }
    .match-img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid #ff4d6d;}
    .match-button {
      background: #ff4d6d; color: #fff; border: none; padding: 11px 25px;
      border-radius: 6px; cursor: pointer; font-size: 16px;
    }
    .bounce { animation: bounce 0.8s infinite alternate; }
    @keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-8px); } }

    body { background: #f5f5f5; margin: 0; display: flex; flex-direction: column; min-height: 100vh; }
        .wrapper { flex: 1; }
        .main-content { display: flex; justify-content: center; align-items: flex-start; padding: 50px 0; }
        .profile-container { width: 370px; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 6px 32px rgba(31,38,135,0.13); text-align: center; margin-bottom: 32px; }
        .membership-icon-big { width:80px; height:80px; display:block; margin: 18px auto 2px auto; object-fit:contain;}
        .profile-header { width: 100%; height: 340px; background: #f2f2f2; }
        .profile-header img { width: 100%; height: 100%; object-fit: cover; border-bottom-left-radius: 24px; border-bottom-right-radius: 24px; }
        .gallery { display: flex; gap: 10px; justify-content: center; background: #fff; padding: 12px 0 5px 0; overflow-x: auto; }
        .gallery img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: border 0.2s; }
        .gallery img.active, .gallery img:hover { border: 2px solid #ff4d6d; }
        .profile-info { padding: 20px 22px 0 22px; background: #fff; }
        .profile-name { font-size: 1.7rem; font-weight: bold; margin-bottom: 0.2em; display: flex; justify-content: center; align-items: center; gap: 0.5em; }
        .profile-meta { display: flex; justify-content: center; gap: 10px; margin-bottom: 12px; margin-top: 4px; }
        .meta-pill { padding: 3px 14px; background: #eee; color: #555; border-radius: 14px; font-size: 1.03em; font-weight: 500; }
        .meta-pill.gender { background: #f9e0f1; color: #c2185b; }
        .meta-pill.tier { background: #e0f7fa; color: #00838f; }
        .meta-pill.tier img { height: 22px; vertical-align:middle; margin-top:-2px; }
        .section-card { background: #f7f7f7; border-radius: 15px; padding: 13px 14px 24px 14px; margin-bottom: 14px; color: #454545; text-align: left; font-size: 1.06rem; }
        .section-card:last-child { margin-bottom: 32px; }
        .profile-action-btns { display: flex; justify-content: space-around; margin: 20px 0 15px 0; padding: 0 22px; gap: 16px; }
        .profile-action-btns button, .profile-action-btns a { width: 49px; height: 49px; border-radius: 50%; border: none; cursor: pointer; font-size: 1.6em; box-shadow: 0 2px 12px rgba(31,38,135,0.09); display: flex; align-items: center; justify-content: center; transition: background 0.15s, transform 0.15s; }
        .dislike-btn {  color: #e53935; }
        .dislike-btn:hover {  color: #fff; transform: scale(1.1);}
        .like-btn {  color: #00b87c; }
        .like-btn:hover {  color: #fff; transform: scale(1.1);}
        .superlike-btn {  color: #1976d2; }
        .superlike-btn:hover {  color: #fff; transform: scale(1.1);}
        .dm-btn {  color: #fbc02d; border: none; }
        .dm-btn:hover { color: #fff; transform: scale(1.1);}
        .edit-links, .block-report { display: flex; flex-wrap: wrap; gap: 1.1rem; justify-content: center; margin: 1.1rem 0 1.2rem 0;}
        .edit-links a, .block-btn, .report-btn { color: #3363ff; text-decoration: none; font-size: 1.08em; font-weight: 500; background: #eef3fc; border-radius: 22px; padding: 8px 19px; border: 1px solid #e4eefe; transition: background 0.13s, color 0.13s; }
        .edit-links a:hover, .block-btn:hover, .report-btn:hover { background: #3363ff; color: #fff;}
        .block-btn { color: #dc3545; background: #fff1f1; border: 1px solid #f5c2c7; }
        .block-btn:hover { background: #dc3545; color: #fff; }
        .report-btn { color: #ff9800; background: #fff7e6; border: 1px solid #ffe0b2; }
        .report-btn:hover { background: #ff9800; color: #fff; }
        .action-popup {
            animation: pop-in 0.2s cubic-bezier(.36,.07,.19,.97);
        }
        @keyframes pop-in {
            0% { transform:translate(-50%,-50%) scale(0.8);}
            80%{ transform:translate(-50%,-54%) scale(1.1);}
            100%{ transform:translate(-50%,-50%) scale(1);}
        }
        @media(max-width:500px) { .profile-container { width: 98vw; } .membership-icon-big{width:50px;height:50px;} .profile-header { height: 220px; } .gallery img { width: 46px; height: 46px; } .profile-action-btns { padding: 0 4vw; } }like-btn


 .heading { text-align:center; margin-bottom:20px; font-size: 1.7em; }
    .subheading { text-align:center; color:#666; margin-bottom:20px; font-size: 1.07em;}
    .top-name-fieldset { margin-bottom:20px; border:1px solid #ccc; padding:10px; border-radius:6px; font-size: 13px;}
    .filters-row { display:flex; gap:20px; flex-wrap:wrap; margin-bottom:20px; font-size: 13px;}
    .filters-row fieldset { flex:1; min-width:300px; border:1px solid #ccc; padding:10px; border-radius:6px; font-size: 13px;}
    legend { font-weight:bold; font-size: 1.07em;}
    label, input, select { font-size: 13px;}
    .slider-container { display:flex; align-items:center; gap:10px; font-size: 13px;}
    #distanceValue { font-weight:bold; min-width:40px; text-align:center; font-size: 13px;}
    .btn-search {
      background:#ff4d6d; color:#fff; border:none; border-radius:25px;
      padding:8px 16px; cursor:pointer; font-weight:bold; font-size: 13.5px;
    }
    .btn-search:hover { background:#e63956; }
    #searchResults { margin-top:20px; font-size: 14px;}
    #searchResults h2 { color:#ff4d6d; margin-bottom:10px; font-size: 1.2em;}
    .search-cards {
      display:grid;
      grid-template-columns: repeat(auto-fill, minmax(210px,1fr));
      gap:18px;
    }
    .user-card {
      border:1px solid #ddd; border-radius:8px; overflow:hidden;
      box-shadow:0 2px 5px rgba(0,0,0,0.1); text-align:center; padding:8px;
      font-size: 13px;
    }
    .user-card img.profile-pic {
      width:100%;  object-fit:cover; border-radius:8px;
    }
    .mem-icon { width:68px; height:68px; display:block; margin:0 auto; }
    .empty-icon { width:68px; height:68px; margin:0 auto;}
    .user-card h3 { margin:10px 0 5px; font-size:14px;}
    .user-card .user-info { font-size:12px; color:#555; line-height:1.4em;}
    .profile-link {
      display:inline-block; margin-top:8px; background:#ff4d6d; color:#fff;
      padding:5px 10px; border-radius:20px; text-decoration:none; font-weight:bold;
      font-size: 12px;
    }
    .profile-link:hover { background:#e63956; }
    /* Paging bar */
    .paging-bar {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 6px;
      margin: 18px 0 5px 0;
      font-size: 13px;
      flex-wrap: wrap;
    }
    .paging-bar button, .paging-bar .page-btn {
      padding: 5px 13px;
      background: #ff4d6d;
      color: #fff;
      border: none;
      border-radius: 20px;
      font-weight: bold;
      cursor: pointer;
      font-size: 13px;
      margin: 0 2px;
    }
    .paging-bar .page-btn.current {
      background: #fff;
      color: #ff4d6d;
      border: 1px solid #ff4d6d;
      pointer-events: none;
    }
    .paging-bar button:disabled {
      background: #f3c2cc;
      color: #fff;
      cursor: not-allowed;
    }




    /* --- Tinder-Style Mobile Responsive --- */
@media (max-width: 768px) {
  /* Header Burger (mobile only) */
  .header-center, .header-right, .header-left {
    display: none !important;
  }

  .mobile-header-bar .logo img { height: 34px; }
  .mobile-header-bar .burger {
    background: none; border: none;
    color: #fff; font-size: 2em; cursor: pointer;
    margin-left: 8px; margin-right: 10px;
  }
  .mobile-header-bar .coin-display {
    background: #fff6;
    color: #ff4d6d;
    border-radius: 16px;
    padding: 5px 10px 5px 7px;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 3px;
  }
  .mobile-header-bar .coin-display img { width: 18px; height: 18px; }

  .mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: fixed;
    top: 48px; left: 0;
    width: 100vw;
    z-index: 5003;
    border-bottom: 1px solid #ffd3e0;
    box-shadow: 0 3px 18px #ffc3cd33;
    padding-bottom: 12px;
  }
  .mobile-nav.open {
    display: flex;
  }
  .mobile-nav a {
    padding: 17px 19px;
    color: #ff4d6d;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.16em;
    border-bottom: 1px solid #ffe0ea;
    transition: background 0.15s;
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a:active, .mobile-nav a:hover {
    background: #ffe5ef;
    color: #e63a5a;
  }
  body.nav-open { overflow: hidden !important; }

  /* Make swipe card full width, centered, no boxy margin */
  .main-container,
  .swipe-container,
   .profile-view-container,
  .matches-container,
  .edit-container {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 16px 0 !important;
    background: #f8f8f8 !important;
  }
  .swipe-card, .match-card, .profile-card {
    width: 96vw !important;
    max-width: 420px !important;
    min-width: 94vw !important;
    margin: 15px auto 20px auto !important;
    left: 0 !important; right: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 2px 14px #e63a5a10;
    position: static !important;
  }
  .action-buttons {
    width: 96vw !important;
    max-width: 420px !important;
    margin: 0 auto 10px auto !important;
    justify-content: space-between !important;
  }
  .action-buttons button, .profile-action-btns button {
    width: 48px !important;
    height: 48px !important;
    font-size: 2em !important;
    border-radius: 50% !important;
    margin: 0 8px !important;
  }
  /* Hide boxed style for photo grid/profile grid etc */
  .profile-photos-grid, .matches-grid, .photo-grid {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
    justify-content: flex-start !important;
  }
  .gallery img,
  .photo-box img,
  .match-img {
    width: 54px !important;
    height: 54px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
  }

}

/* Hide mobile nav and mobile header bar on desktop */
@media (min-width: 769px) {
  .mobile-header-bar, .mobile-nav {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .main-container,
  .swipe-container,
  .matchmaking-container,
  .profile-view-container,
  .matches-container,
  .edit-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 1px 0 !important;
    background: #fafbfc !important;
    height: auto !important;
    display: block !important;
  }
  .matchmaking-card {
    width: 96vw !important;
    max-width: 390px !important;
    margin: 20px auto !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.09) !important;
    background: #fff !important;
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 900px) {
  h3 { font-size: 1.15em !important; }
}


@media (max-width: 768px) {
  .swipe-container > .swipe-card:not(:first-child) {
    display: none !important;
  }
  .main-container, .swipe-container, .matchmaking-container {
    padding-top: 25px !important;
  }
  .main-header-bar, .mobile-header-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 999;
  }
}
/* MOBILE RESPONSIVE */
@media (max-width: 500px) {
    .auth-container {
        max-width: 96vw;
        padding: 22px 8vw 18px 8vw;
        border-radius: 0;
        box-shadow: none;
        margin-top: 28px;
    }
    .auth-container h2 {
        font-size: 1.6rem;
    }
    .auth-container form {
        gap: 12px;
    }
    .auth-container input,
    .auth-container button[type="submit"] {
        font-size: 1rem;
    }
}


@media (max-width: 600px) {
    .logo {
        width: 112px;
        max-width: 90vw;
    }
    .homepage-content {
        max-width: 96vw;
        margin-top: 68px;
        padding: 18px 6vw 22px 6vw;
        border-radius: 16px;
    }
    .homepage-content h1 {
        font-size: 1.28rem;
        margin-bottom: 10px;
    }
    .homepage-content p {
        font-size: 1rem;
        margin-bottom: 18px;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .cta-buttons a {
        padding: 12px 0;
        width: 100%;
        min-width: 0;
        font-size: 1rem;
    }
}
@media (max-width: 600px) {
    .logo {
        width: 112px;
        max-width: 90vw;
    }
    .homepage-content {
        max-width: 96vw;
        margin-top: 68px;
        padding: 18px 6vw 22px 6vw;
        border-radius: 16px;
    }
    .homepage-content h1 {
        font-size: 1.28rem;
        margin-bottom: 10px;
    }
    .homepage-content p {
        font-size: 1rem;
        margin-bottom: 18px;
    }
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .cta-buttons a {
        padding: 12px 0;
        width: 100%;
        min-width: 0;
        font-size: 1rem;
    }
}





/* iPad/Tablets Landscape & Portrait Fix (width 600px–1100px) */
@media (min-width: 768px) and (max-width: 1100px) {
  body {
    background: #f5f5f5;
  }
  .main-header-bar, .mobile-header-bar {
    width: 100vw !important;
    left: 0;
    right: 0;
    min-width: 0;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
  .matchmaking-container, .main-container {
    max-width: 500px !important;
    width: 92vw !important;
    margin: 85px auto 0 auto !important;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 8px 38px #ffe8ef;
    padding: 24px 0 60px 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .swipe-container {
    max-width: 430px !important;
    width: 100% !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 500px;
  }
  .swipe-card {
    max-width: 420px;
    width: 100% !important;
    margin: 0 auto;
  }
}

/* If you use .footer or #footer, ensure it is always at the bottom */
@media (min-width: 768px) and (max-width: 1100px) {
  .footer, #footer {
    position: static;
    width: 100vw;
    max-width: 100vw;
    left: 0; right: 0; bottom: 0;
    margin: 0 auto;
    background: none;
  }
}
/* --- Ensure HEADER BAR is visible on iPad/tablet (landscape/portrait) --- */
@media (min-width: 768px) and (max-width: 1366px) 
{
  .main-header-bar {
    display: flex !important;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw !important;
    min-width: 0;
    z-index: 1001 !important;
    border-radius: 0 !important;
    box-shadow: 0 1.5px 9px rgba(0,0,0,0.03);
    background: #ff5c8d !important; /* or your header color */
    height: 66px;
    align-items: center;
    justify-content: center;
    padding: 0 0;
  }
  .mobile-header-bar {
    display: none !important;  /* Hide mobile burger header on iPad */
  }
  .main-container,
  .matchmaking-container {
    margin-top: 70px !important;
  }
}



.bmr-footer-main .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}
.bmr-footer-main .col-md-4, 
.bmr-footer-main .col-md-3, 
.bmr-footer-main .col-md-2,
.bmr-footer-main .col-12,
.bmr-footer-main .col-6 {
  flex: 1 1 180px;
  min-width: 160px;
  margin-bottom: 18px;
}
@media (max-width: 700px) {
  .bmr-footer-main .row {
    flex-direction: column;
    gap: 0;
  }
  .bmr-footer-main .col-md-4,
  .bmr-footer-main .col-md-3,
  .bmr-footer-main .col-md-2,
  .bmr-footer-main .col-12,
  .bmr-footer-main .col-6 {
    min-width: 0;
    width: 100%;
    margin-bottom: 22px;
  }
}

.bmr-footer-pro {
  background: #191b22;
  color: #e7e7ec;
  padding: 42px 0 14px 0;
  font-family: 'Inter', Arial, sans-serif;
  letter-spacing: 0.01em;
  border-top: 1.5px solid #232531;
  box-shadow: 0 -2px 32px #0002;
}

.bmr-footer-main {
  max-width: 1050px;
  margin: 0 auto;
}

.bmr-footer-pro .footer-brand .logo-text {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 6px;
  background: linear-gradient(90deg,#ff4d6d 20%,#ffd6e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bmr-footer-pro .footer-desc {
  font-size: 1rem;
  color: #aeb1c7;
  margin-top: 8px;
  margin-bottom: 0;
}

.bmr-footer-pro h6 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.bmr-footer-pro ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.bmr-footer-pro ul li {
  margin-bottom: 10px;
}

.bmr-footer-pro a {
  color: #ffb6c1;
  text-decoration: none;
  transition: color 0.18s;
  font-weight: 500;
}
.bmr-footer-pro a:hover,
.bmr-footer-pro a:focus {
  color: #fff;
  text-decoration: underline;
}

.bmr-footer-pro .footer-social a {
  display: inline-block;
  margin-right: 13px;
  font-size: 1.3rem;
  color: #ff4d6d;
  background: #232531;
  width: 35px; height: 35px;
  border-radius: 50%;
  text-align: center;
  line-height: 35px;
  transition: background 0.2s, color 0.2s;
}
.bmr-footer-pro .footer-social a:hover {
  color: #fff;
  background: #ff4d6d;
}

.bmr-footer-pro hr {
  border-color: #33364c;
  margin: 32px 0 20px 0;
  opacity: .4;
}

.bmr-footer-pro .copyright {
  font-size: 0.97rem;
  color: #888ca3;
  letter-spacing: 0.01em;
}

.bmr-footer-pro .footer-site {
  color: #ff4d6d;
  font-weight: 600;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .bmr-footer-main {
    padding-left: 6px;
    padding-right: 6px;
  }
  .bmr-footer-pro .footer-brand,
  .bmr-footer-pro .footer-desc {
    text-align: center;
  }
  .bmr-footer-pro .footer-social {
    text-align: center;
    margin-bottom: 16px;
  }
  .bmr-footer-pro .copyright {
    font-size: 0.92rem;
  }
}




.hero-section {
            width: 100vw;
            min-height: 100vh;
            position: relative;
            background: #000;
            overflow: hidden;
            display: flex;
            align-items: stretch;
            justify-content: center;
        }
        .hero-bg-img {
            position: absolute;
            top: 0; left: 0;
            width: 100vw;
            height: 100vh;
            object-fit: cover;
            object-position: center top;
            z-index: 1;
        }
        .header {
            position: absolute;
            top: 0; left: 0;
            width: 100%;
            z-index: 10;
            background: transparent;
            display: flex;
            align-items: center;
        }
        .header .logo {
            display: block;
            margin: 30px 0 0 10px;
            
            height: auto;
        }
        .hero-content {
            position: absolute;
            left: 50%;
            bottom: 5%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 640px;
            padding: 22px 22px 58px 22px;
            background: linear-gradient(0deg,rgba(16,16,20,0.92) 92%,rgba(0,0,0,0.01) 100%);
            border-bottom-left-radius: 32px;
            border-bottom-right-radius: 32px;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            z-index: 11;
        }
        .hero-content h1 {
            font-size: 2.9rem;
            font-weight: 900;
            margin-bottom: 10px;
            color: #ff4d6d;
            letter-spacing: .01em;
            text-shadow: 0 2px 14px #00000011;
            font-family: 'Inter', Arial, sans-serif;
        }
        .hero-content .hero-sub {
            color: #fff;
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 38px;
            text-shadow: 0 2px 16px #191d3b44, 0 3px 15px #0006;
            line-height: 1.14;
            font-family: 'Inter', Arial, sans-serif;
        }
        .cta-buttons {
            display: flex;
            gap: 18px;
            width: 100%;
            justify-content: center;
            margin-top: 0;
        }
        .cta-buttons a {
            text-decoration: none;
            font-size: 1.13rem;
            padding: 15px 38px;
            border-radius: 28px;
            font-weight: bold;
            display: inline-block;
            text-align: center;
            min-width: 130px;
            box-shadow: 0 3px 16px #ff4d6d1a;
            margin-bottom: 0;
            border: none;
            transition: background 0.2s, color 0.2s;
        }
        .signup-btn {
            background: #ff4d6d;
            color: white;
        }
        .signup-btn:hover {
            background: #e63956;
        }
        .login-btn {
            background: white;
            color: #ff4d6d;
            border: 2px solid #ff4d6d;
        }
        .login-btn:hover {
            background: #ff4d6d;
            color: white;
        }
        @media (max-width: 650px) {
            .header .logo {
                max-width: 110px;
                margin: 11px 0 0 10px;
            }
            .hero-content {
                max-width: 99vw;
                padding: 15px 11px 46px 11px;
            }
            .hero-content h1 {
                font-size: 1.8rem;
                margin-bottom: 15px;
            }
            .hero-content .hero-sub {
                font-size: 1.0rem;
                margin-bottom: 15px;
            }
            .cta-buttons {
                flex-direction: column;
                gap: 20px;
                width: 90%;
                align-items: center;
            }
            .cta-buttons a {
                width: 100%;
                min-width: 0;
                font-size: 1.07rem;
                padding: 15px 0;
                text-align: center;
            }
        }

       /* FAQ SECTION */
.faq-section {
    width: 100vw;
    background: #18181b;
    padding: 72px 0 60px 0;
    margin: 0;
}
.faq-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    font-weight: 900;
    color: #ff4d6d;
    letter-spacing: .01em;
    margin-bottom: 54px;
}
.faq-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto 54px auto;
}
.faq-feature-card {
    background: rgba(30,30,40, 0.68);
    border-radius: 26px;
    box-shadow: 0 28px 70px 0 #ff4d6d44, 0 2px 10px 0 #fff2;
    padding: 54px 24px 38px 24px;
    text-align: center;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1.5px solid #ffc76b;
    backdrop-filter: blur(8px) saturate(110%);
    /* No animation, always-on look */
    transition: none;
}
.faq-feature-card .icon {
    margin-bottom: 24px;
    display: block;
}
.faq-feature-card h4 {
    font-size: 1.31rem;
    margin: 0 0 13px 0;
    font-weight: 700;
    color: #ffc76b;
    font-family: 'Inter', Arial, sans-serif;
}
.faq-feature-card p {
    font-size: 1.10rem;
    color: #f4ede2;
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
}
/* --- FAQ 2 COLUMN LIST --- */
.faq-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 0 10px;
}
.faq-item {
    background: rgba(30,30,40, 0.68);
    border-radius: 26px;
    box-shadow: 0 28px 70px 0 #ff4d6d44, 0 2px 10px 0 #fff2;
    padding: 38px 36px 28px 36px;
    margin-bottom: 0;
    font-family: 'Inter', Arial, sans-serif;
    display: flex;
    align-items: flex-start;
    border: 1.5px solid #ffc76b;
    backdrop-filter: blur(8px) saturate(110%);
    transition: none;
}
.faq-item .icon {
    flex-shrink: 0;
    margin-right: 20px;
    margin-top: 6px;
    display: block;
}
.faq-item-content {
    flex: 1 1 0;
}
.faq-item h5 {
    font-size: 1.16rem;
    color: #ffc76b;
    margin: 0 0 12px 0;
    font-weight: 700;
    font-family: 'Inter', Arial, sans-serif;
}
.faq-item p {
    font-size: 1.08rem;
    margin: 0;
    color: #eee2d0;
}
@media (max-width: 1200px) {
    .faq-feature-grid, .faq-list {
        max-width: 97vw;
    }
}
@media (max-width: 900px) {
    .faq-feature-grid {
        grid-template-columns: 1fr 1fr;
    }
    .faq-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .faq-section {
        padding: 26px 0 12px 0;
    }
    .faq-title {
        font-size: 1.09rem;
        margin-bottom: 17px;
    }
    .faq-feature-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .faq-feature-card,
    .faq-item {
        max-width: 92vw;
        margin-left:20px;
        margin-right: 20px;
    }
    .faq-feature-card {
       
    }
    .faq-list {
        gap: 15px;
        padding: 0 0vw;
    }
}
