/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #6B46C1 0%, #4C1D95 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Profile section */
.profile-section {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Profile picture */
.profile-picture {
    margin-bottom: 2rem;
    position: relative;
}

.profile-picture img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.profile-picture img:hover {
    transform: scale(1.05);
}

/* Profile info */
.profile-info {
    margin-bottom: 3rem;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.status-indicator {
    color: #10B981;
    font-size: 1.2rem;
    margin-right: 0.25rem;
}

.status-text {
    color: #E5E7EB;
}

.response-time {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #D1D5DB;
}

.location-icon {
    font-size: 1rem;
}

/* CTA section */
.cta-section {
    margin-top: auto;
    padding-bottom: 2rem;
}

.cta-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #EC4899 0%, #BE185D 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 8px 32px rgba(236, 72, 153, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(236, 72, 153, 0.5);
    background: linear-gradient(135deg, #F472B6 0%, #DB2777 100%);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem 1rem;
    }
    
    .profile-picture img {
        width: 180px;
        height: 180px;
    }
    
    .name {
        font-size: 2.2rem;
    }
    
    .cta-button {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .profile-picture img {
        width: 160px;
        height: 160px;
    }
    
    .name {
        font-size: 2rem;
    }
    
    .status, .location {
        font-size: 0.9rem;
    }
}

/* Touch-friendly improvements */
.cta-button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.cta-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Loading animation for image */
.profile-picture img {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Age Verification Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 16px;
    padding: 0;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-body {
    padding: 1.5rem;
    text-align: center;
    color: #E5E7EB;
}

.modal-body h2 {
    color: #EC4899;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    letter-spacing: -0.01em;
}

.modal-body p {
    margin: 0;
    font-size: 0.95rem;
    color: #D1D5DB;
    line-height: 1.5;
}

.modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
}

.btn-cancel, .btn-confirm {
    flex: 1;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: #D1D5DB;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #F3F4F6;
    transform: translateY(-1px);
}

.btn-confirm {
    background: linear-gradient(135deg, #EC4899 0%, #BE185D 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.btn-confirm:hover {
    background: linear-gradient(135deg, #F472B6 0%, #DB2777 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.4);
}

.btn-confirm:active, .btn-cancel:active {
    transform: translateY(0);
}

/* Mobile optimizations for modal */
@media (max-width: 480px) {
    .modal {
        padding: 0.5rem;
    }
    
    .modal-content {
        max-width: 100%;
        border-radius: 14px;
    }
    
    .modal-body {
        padding: 1.25rem;
    }
    
    .modal-body h2 {
        font-size: 1.2rem;
    }
    
    .modal-footer {
        padding: 0.75rem 1.25rem 1.25rem;
        flex-direction: column;
    }
    
    .btn-cancel, .btn-confirm {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}

/* Accessibility improvements */
.modal-content:focus {
    outline: none;
}

.btn-cancel:focus, .btn-confirm:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}
