* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root {
    --primary: #ab4b52;
    --primary-dark: #8a3c42;
    --primary-light: #c76a70;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #888888;
    --white: #ffffff;
    --gray-light: #f8f8f8;
    --gray: #dddddd;
}

body {
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--gray-light);
}

/* Dating app header */
.header {
    height: 300px;
    background-color: var(--primary);
    position: relative;
    overflow: hidden;
}

/* Animated background elements */
.heart-bg {
    position: absolute;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    animation: pulse 3s ease-in-out infinite;
}

/* Glowing particles */
.glow {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    filter: blur(5px);
    animation: glow 4s ease-in-out infinite;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.15;
    }
}

@keyframes glow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Main card container */
.card {
    max-width: 500px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: -100px auto 40px;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.card-header {
    padding: 30px;
    text-align: center;
}

.logo {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    position: relative;
}

.logo svg {
    fill: var(--primary);
    width: 100%;
    height: 100%;
}

.logo::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(171, 75, 82, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.referrer-info {
    margin-bottom: 20px;
    font-size: 16px;
}

.referrer-name {
    color: var(--primary);
    font-weight: 600;
}

/* Partner logos scrolling animation */
.partner-logos-container {
    width: 100%;
    overflow: hidden;
    margin: 30px 0;
    position: relative;
}

.partner-logos {
    display: flex;
    position: relative;
    width: max-content;
    animation: scroll 30s linear infinite;
}
.partner-logo {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    transition: transform 0.3s ease;
    overflow: hidden; /* Clips the image to the circle */
    position: relative; /* For absolute positioning of the image */
}

.partner-logo img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes the image fill the container */
    object-position: center; /* Centers the image in the container */
    min-width: 100%;
    min-height: 100%;
    border-radius: 50%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-40px * 8 - 15px * 16));
    }
}

.partner-logo {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.1);
}

.partner-logo img {
    max-width: 24px;
    max-height: 24px;
}

/* Button */
.claim-button {
    display: block;
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(171, 75, 82, 0.2);
}

.claim-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(171, 75, 82, 0.3);
}

/* Features section */
.description {
    padding: 20px 30px 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    margin-right: 15px;
    font-size: 18px;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background-color: rgba(171, 75, 82, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary);
}

.feature-content p {
    color: var(--text-medium);
    font-size: 14px;
}

.terms {
    color: var(--primary);
    text-decoration: none;
}

/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* Form styles */
#signup-form {
    display: none;
    text-align: left;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-medium);
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--gray);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(171, 75, 82, 0.1);
}

/* Success message */
.success-message {
    display: none;
    text-align: center;
    padding: 20px;
    background-color: rgba(171, 75, 82, 0.1);
    border-radius: 10px;
    margin-top: 20px;
}

.success-message h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.success-message p {
    color: var(--text-medium);
}

.logo {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    position: relative;
}

.logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.logo::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(171, 75, 82, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.terms-container {
    max-width: 500px;
    margin: 20px auto 40px;
    padding: 0 20px;
}

.terms-text {
    font-size: 12px;
    line-height: 1.4;
    color: #777777;
    white-space: pre-line;
    text-align: left;
}
.footer-message {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
}
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error message styles */
.error-message {
    color: #e53935;
    font-size: 14px;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: rgba(229, 57, 53, 0.1);
    border-radius: 4px;
    text-align: center;
}

/* Make the signup form container have enough margin at the bottom to accommodate error messages */
#signup-form {
    margin-bottom: 15px;
    position: relative;
}

#redirectP{
    margin-top: 15px;
}

.waitlist-confirmation {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 12px;
    text-align: center;
}

.waitlist-confirmation svg {
    margin-bottom: 10px;
}

.waitlist-confirmation p {
    font-weight: bold;
    color: #4CAF50;
    margin: 0;
    font-size: 18px;
}

/* Adjustments to existing success message for Android */
#success-message h3 {
    color: #333;
    margin-bottom: 10px;
}

#success-message p {
    color: #666;
    margin-bottom: 15px;
}
