/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Modern Eras', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background-color: #f0f0f0;
    /* Desktop background */
    display: flex;
    justify-content: center;
    min-height: 100vh;
    color: #000;
}

/* App Container (Mobile View Simulation) */
.app-container {
    width: 100%;
    max-width: 414px;
    /* iPhone Max width */
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow-x: hidden;
}

/* Header */
.app-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px 5px;
    font-size: 14px;
    font-weight: 600;
    align-items: center;
}

.icons {
    display: flex;
    gap: 5px;
    align-items: center;
}

.status-icon {
    width: 18px;
    height: 18px;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.close-btn,
.menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
}

.app-name {
    font-family: serif;
    /* Hinge uses a serif logo */
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 1px;
}

/* Profile Content */
.profile-content {
    padding-bottom: 100px;
    /* Space for fixed action buttons */
}

/* Cards General */
section {
    padding: 20px;
    border-bottom: 1px solid #f5f5f5;
}

/* Photo Cards */
.photo-card {
    padding: 0;
    position: relative;
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    /* Hinge photos have slight radius usually, or full bleed. Let's go full bleed for impact or slight padding? Hinge is usually full bleed cards. */
}

/* Adjusting photo card to be more "Hinge-like" - usually photos are within the flow */
.photo-card {
    padding: 10px;
}

.profile-img {
    border-radius: 12px;
}

.photo-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.heart-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    color: #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.heart-btn:hover {
    transform: scale(1.1);
    color: #ff4b4b;
}

.caption {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    padding: 0 5px;
}

/* Vitals */
.vitals-card {
    padding: 20px;
}

.name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.vital-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
}

.vital-item .icon {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Prompts */
.prompt-card {
    padding: 30px 20px;
}

.prompt-header {
    font-size: 13px;
    font-weight: 600;
    color: #777;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prompt-answer {
    font-size: 22px;
    font-weight: 600;
    /* Hinge answers are bold/heavy */
    line-height: 1.3;
    color: #000;
    font-family: 'Tiempos Headline', 'Playfair Display', serif;
}

.heart-btn-inline {
    background: none;
    border: 1px solid #eee;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 16px;
    color: #ccc;
    cursor: pointer;
    margin-top: 15px;
    float: right;
}

/* Voice Prompt */
.voice-prompt-card {
    padding: 30px 20px;
}

.voice-player {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    padding: 15px;
    border-radius: 30px;
    margin-top: 10px;
}

.play-btn {
    background: #6e40c9;
    /* Hinge Purple ish */
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.waveform {
    flex-grow: 1;
    display: flex;
    align-items: center;
    height: 20px;
    gap: 2px;
}

.bar {
    width: 3px;
    background-color: #ddd;
    border-radius: 2px;
    animation: wave 1s infinite paused;
}

.bar:nth-child(odd) {
    height: 60%;
}

.bar:nth-child(even) {
    height: 100%;
}

.bar:nth-child(3n) {
    height: 40%;
}

.voice-player.playing .bar {
    animation-play-state: running;
    background-color: #6e40c9;
}

@keyframes wave {
    0% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.5);
    }

    100% {
        transform: scaleY(1);
    }
}

.duration {
    font-size: 12px;
    color: #777;
    margin-left: 10px;
}

/* Instagram */
.instagram-card {
    text-align: center;
    padding: 30px 20px;
    background: #fafafa;
}

.insta-header {
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    margin-bottom: 15px;
    opacity: 0.6;
    /* Simulated preview */
}

.insta-photo {
    background: #ddd;
    padding-bottom: 100%;
    /* Square */
}

.insta-link {
    color: #6e40c9;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Floating Action Buttons */
.action-buttons {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 200;
    width: 100%;
    max-width: 414px;
    justify-content: center;
    pointer-events: none;
    /* Let clicks pass through container */
}

.action-btn {
    pointer-events: auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    transform: scale(1.1);
}

.nope {
    background: white;
    color: #ff4b4b;
    border: 1px solid #eee;
}

.like {
    background: white;
    color: #000;
    border: 1px solid #eee;
}