:root {
    --bg1: #8b104b;
    --bg2: #c91d6a;
    --card: #fff6f0;
    --text: #2a2230;
    --muted: #7b6e79;
    --progress:#ffd166;
    --cta: #ff6b6b;
    --cta2: #22a06b;
    --accent: #ff3366;
    --shadow: 0 12px 40px rgba(0, 0, 0, .18);
    --radius: 22px;
}
html , body {
    overflow-x: hidden;
}
body {
    background: linear-gradient(165deg, var(--bg2), var(--bg1) 55%, #5d0a32 100%);
}
section {
    padding: 1rem 0;
    min-height: 100vh;
}
.cards-wrapper,
.card {
    width: 100%;
    padding: 1rem;
    box-shadow: var(--shadow);
    border-radius: 0.5rem;
    background: var(--card);
    border: 0 solid #fff;
    transition: all 0.15s linear;
}

.p0 {
    padding: 0rem !important;
} 
.p2 {
    padding: 2rem !important;
} 

.container-xs {
    max-width: 800px;
}
img {
    max-width: 100%;
}
.header {
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
}
.header * {
    margin-bottom: 0;
}
.header h1 {
    margin-bottom: 0.25rem;
    font-weight: bold;
}
.card {
    overflow: hidden;
    padding: 0;
    background: #fff;
}
.card-info {
    padding: 1rem;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}
.card-info p {
    margin-bottom: 0;
}
.card-info p.card-info-top {
    font-weight: bold;
    margin-bottom: 0.35rem;
}
.card-info p.card-info-bottom {
    color: var(--muted);
    font-size: calc(1rem - 2px);
}
.card-img {
    aspect-ratio: 4/5;
}
.card-img img {
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center top;
}

.react-buttons,
.final-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    gap: 1rem;
}
.react-buttons button {
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    border: 0px solid #fff;
    border-radius: 1000px;
    background: #fff;
    box-shadow: var(--shadow);
    font-size: 1.5rem;
    transition: all 0.15s linear;
}
.react-buttons button.no {
    color: var(--accent);
    border: 1px solid var(--accent);
}
.react-buttons button.no.active {
    color: #fff;
    background: var(--accent);
}
.react-buttons button.yes {
    color: var(--cta2);
    border: 1px solid var(--cta2);
}
.react-buttons button.yes.active {
    color: #fff;
    background: var(--cta2);
}
.react-buttons button.btn.btn-skip,
.final-btn a.btn {
    max-width: 350px;
    flex-grow: 1;
    height: 54px;
    min-height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.15rem;
    border-radius: 1000px;
    background: linear-gradient(90deg, var(--bg2), var(--bg1) 55%, #5d0a32 100%);
    border: 0px solid #fff;
    font-weight: bold;
    box-shadow: var(--shadow);
}

.final-btn a.btn {
    height: 68px;
    min-height: 68px;
    font-size: 1.35rem;
}
.final-btn {
    margin-top: 1rem;
}


.progress-bar {
    border-radius: 1000px;
    height: 10px;
    background: #fff;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .2);
    margin-top: 1rem;
    overflow: hidden;
}
.progress-line {
    height: 10px;
    width: 0;
    transition: all 0.15s linear;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .2);
    border-radius: 1000px;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    background-color: var(--progress);
}

.undercard-text {
    margin-bottom: 0;
    margin-top: 1rem;
    color: #fff;
    text-align: center;
}

.cards{
    position: relative;
    /* aspect-ratio: 394/480; */
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
}
.cards.cards-col-1{
    grid-template-columns:1fr;
}
.cards .card {
    /* position: absolute; */
    touch-action: none;
}
.cards .card.card-last {
    position: relative;
    height: 100%;
    touch-action: none;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.cards .card.card-last h1 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bg2);
}
.cards .card.card-last h1 span {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    margin-bottom: 0.5rem;
}
.cards .card.card-last p {
    margin-top: 1rem;
    color: var(--muted);
}
.cards .card .badge {
    position: absolute;
    top: 16px;
    padding: 6px 10px;
    border-radius: 8px;
    font: 700 14px/1.2 system-ui, sans-serif;
    background: rgba(255,255,255,.85);
    opacity: 0;
    pointer-events: none;
    user-select: none;
}
.cards .badge.like { 
    right: 16px; 
    background: var(--cta2);
}
.cards .badge.nope { 
    left: 16px; 
    background: var(--accent);
}
.cards .card, 
.cards .card * {
  user-select: none;                 
  -webkit-user-select: none;
}
.cards .card-img img {
  pointer-events: none;              
  -webkit-user-drag: none;           
  user-drag: none;                   
  -webkit-touch-callout: none;       
}

.online-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--cta2); 
  margin-left: 6px;
  animation: blink 1s infinite;
  vertical-align: middle;
  transform: translateY(-2px);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
/* @media screen and (max-width: 991px) {
    .cards{
        aspect-ratio: 394/496;
    }
} */
 @media screen and (max-width: 991px) {
    .cards{
        grid-gap: 0.5rem;
    }
    .card-info {
        padding: 0.5rem;
    }
    .cards-wrapper,
    .card {
        padding: 0.5rem;
    }
    .card {
        padding: 0;
    }
    .card-info p.card-info-bottom {
        font-size: calc(1rem - 4px);
    }

    .card-img {
        aspect-ratio: 4/6;
    }
    .card-img img {
        aspect-ratio: 4/6;
    }
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 10px;
    background: var(--card);
    font-size: 12px;
}
footer a {
    text-decoration: none;
    padding: 0 10px;
    color: var(--text) !important;
}

.h1, h1 {
    font-size: calc(1.375rem + 1vw);
}

@media (min-width: 1200px) {
    .h1, h1 {
        font-size: 2.1rem;
        margin-bottom: 1rem;
    }
}

.card-title {
    max-width: 400px;
}



.card {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.card.show {
  opacity: 1;
  transform: translateX(0px);
}
