:root {
    --primary: #ff385c;
    --primary-hover: #e31c5f;
    --secondary: #222222;
    --background: #0f0f0f;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 70% 20%, rgba(255, 56, 92, 0.15), transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(138, 43, 226, 0.1), transparent 40%);
}

.app-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--glass-border);
}

.pulse {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(76, 175, 80, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.profile-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.image-gallery {
    position: relative;
    height: 500px;
    background: #000;
    overflow: hidden;
}

.gallery-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

/* Blurred background for premium look */
.gallery-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px) brightness(0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: scale(1.1);
    z-index: 1;
}

.gallery-img.active, .gallery-bg.active {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #ffffff;
}

.profile-info {
    padding: 24px;
}

.name-age {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.name-age h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.verified-icon {
    color: #0095f6;
    width: 22px;
    height: 22px;
}

.location {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 15px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.bio {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.more-photos-prompt {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
}

.actions {
    display: flex;
    padding: 0 24px 24px;
    gap: 15px;
    align-items: center;
}

.btn {
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    flex: 1;
    background: var(--primary);
    color: white;
    height: 56px;
    border-radius: 28px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px -5px rgba(255, 56, 92, 0.4);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary, .btn-heart {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-heart {
    color: var(--primary);
}

.btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.footer-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal.active {
    display: flex;
}

.modal-content {
    text-align: center;
    padding: 40px;
    max-width: 320px;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid var(--glass-border);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.modal p {
    color: var(--text-muted);
}
