:root {
    --primary-pink: #ffb7c5;
    --light-pink: #ffe4e1;
    --lavender: #e6e6fa;
    --baby-blue: #b0e0e6;
    --warm-white: #fffafa;
    --text-color: #5d5d5d;
    --accent-color: #ff6b81;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--light-pink), var(--lavender), var(--baby-blue));
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-color);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

header {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    max-width: 600px;
}

h1 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tab Navigation */
.nav-tabs {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px;
    list-style: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.tab-item {
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-item:hover {
    background: rgba(255, 255, 255, 0.6);
}

.tab-item.active {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 107, 129, 0.3);
}

/* Content Container */
.content-container {
    width: 100%;
    max-width: 700px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism Card Style */
.glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 107, 129, 0.15);
    background: rgba(255, 255, 255, 0.75);
}

.card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Profile Specific */
.profile-header {
    text-align: center;
    margin-bottom: 25px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 5px solid white;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.info-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 12px;
    border-radius: 15px;
    text-align: center;
}

.label {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 4px;
}

.value {
    font-weight: 700;
    color: var(--text-color);
}

.list-section ul {
    list-style: none;
    margin-top: 10px;
}

.list-section li {
    padding: 6px 0;
    display: flex;
    align-items: center;
}

.list-section li::before {
    content: '✨';
    margin-right: 10px;
}

/* Family & Friends Grid */
.family-grid,
.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.family-card,
.friend-card {
    text-align: center;
    padding: 20px;
}

.family-card img,
.friend-card img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.friend-card {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 15px;
}

/* D-day Card */
.dday-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 129, 0.1), rgba(230, 230, 250, 0.4));
}

.dday-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 15px 0;
}

/* Floating Icons (Hearts & Stars) */
.floating-icon {
    position: fixed;
    user-select: none;
    pointer-events: none;
    z-index: -1;
    animation: floatUp 4s ease-in forwards;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg) scale(1.5);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .nav-tabs {
        flex-wrap: wrap;
        border-radius: 20px;
    }

    .tab-item {
        width: 45%;
        justify-content: center;
    }
}