* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8A2BE2;
    --primary-dark: #6A1CB0;
    --secondary: #FF6B8B;
    --dark: #1A1A2E;
    --light: #F8F9FA;
    --success: #20C997;
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    height: 100dvh;
    overflow: hidden;
}

.container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 20px 25px;
    z-index: 100;
    flex-shrink: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Hide search button */
.header-icon {
    display: none;
}

/* Add logo image to header */
.header-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Main Area */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.swiper-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    min-height: 0;
}

.swiper {
    width: 100%;
    flex: 1;
    min-height: 0;
}

.swiper-slide {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    height: 100%;
}

/* Full Width Image */
.profile-image {
    width: 100%;
    height: 100%;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.profile-details-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    color: white;
    padding: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.verification-badge {
    background: var(--success);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Action Buttons - Gradient backgrounds applied */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px 0;
    flex-shrink: 0;
}

.action-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: none;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    /* Existing color gradient */
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.action-btn:active {
    transform: scale(0.9);
}

/* Bottom Navigation - Updated styles from reference */
.bottom-nav {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 10px 25px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    flex-shrink: 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    padding: 8px 15px;
    border-radius: 15px;
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.nav-label {
    font-size: 11px;
    font-weight: 500;
}

.premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    z-index: 3;
}

.swipe-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    z-index: 10;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.swipe-left {
    left: 20px;
    background: linear-gradient(135deg, #8A2BE2, #6A1CB0);
    color: white;
    transform: translateY(-50%) rotate(-10deg);
}

.swipe-right {
    right: 20px;
    background: linear-gradient(135deg, #FF6B8B, #FF4757);
    color: white;
    transform: translateY(-50%) rotate(10deg);
}

.swipe-indicator.show {
    opacity: 0.95;
    transform: translateY(-50%) rotate(0deg);
}

.swipe-indicator i {
    margin-right: 10px;
    font-size: 22px;
}

/* Loading indicator */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 18px;
    color: var(--primary);
}

.loading i {
    margin-right: 10px;
    animation: spin 1s linear infinite;
}

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


/* Auth Overlay */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

/* Remove the white container completely */
.auth-container {
    background: transparent; /* Changed from white */
    border-radius: 0; /* Removed border radius */
    padding: 40px 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: none; /* Removed shadow */
    text-align: center;
}

/* Logo styling - ADDED */
.auth-logo {
    text-align: center;
    margin-bottom: 40px; /* Adjusted from 30px */
}

.auth-logo img {
    width: 140px; /* Increased from 120px */
    height: 140px; /* Increased from 120px */
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px; /* Increased from 15px */
}

.welcome-text {
    color: white;
    font-size: 28px; /* Increased from 20px */
    font-weight: 700; /* Increased from 600 */
    margin-bottom: 10px; /* Increased from 5px */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); /* Increased shadow */
    font-family: 'Playfair Display', serif;
}

.sub-welcome-text {
    color: rgba(255, 255, 255, 0.95); /* Increased opacity */
    font-size: 16px; /* Increased from 14px */
    margin-bottom: 40px; /* Increased from 30px */
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3); /* Increased shadow */
    line-height: 1.5;
    max-width: 320px; /* Increased from 300px */
    margin-left: auto;
    margin-right: auto;
}

/* REMOVE OR UPDATE the existing h2 styling since we're replacing it with logo */
.auth-container h2 {
    display: none; /* Hide the old text */
}

/* Make inputs transparent/glass effect */
.auth-input {
    width: 100%;
    padding: 15px 20px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 16px;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
}

.auth-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 1);
}

/* Make regular auth buttons transparent too */
.auth-btn {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2); /* Transparent white */
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 20px 0 10px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.auth-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Google button - transparent on gradient */
.google-signin-btn {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.google-signin-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.google-signin-btn i {
    background: conic-gradient(from -45deg, #ea4335 110deg, #4285f4 110deg 180deg, #34a853 180deg 270deg, #fbbc05 270deg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 12px;
    font-size: 20px;
    font-weight: bold;
}

/* Secondary buttons - transparent */
.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin: 8px 0;
    font-family: 'Montserrat', sans-serif;
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* Auth toggle links */
.auth-toggle {
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    margin-top: 20px;
    padding: 10px;
    transition: var(--transition);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.auth-toggle:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

/* Or divider - make white */
.or-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.or-divider:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.or-divider span {
    background: transparent;
    padding: 0 20px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Error message - make transparent */
.error-message {
    color: white;
    background: rgba(255, 71, 87, 0.2);
    padding: 12px;
    border-radius: 10px;
    margin: 15px 0;
    font-size: 14px;
    display: none;
    border: 1px solid rgba(255, 71, 87, 0.3);
    backdrop-filter: blur(10px);
}
