/* ===================================
   RESET & BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Black & Coral palette */
    --color-dark-bg: #1A1A1A;
    --color-light-bg: #FFF8F5;
    --color-card-bg: #FFFFFF;
    --color-coral: #FF6B6B;
    --color-coral-light: #FF8E8E;
    --color-text-dark: #1A1A1A;
    --color-text-light: #666666;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
    
    /* Border Radius */
    --radius-sm: 0.75rem;
    --radius-md: 1.25rem;
    --radius-lg: 2rem;
    --radius-xl: 2.5rem;
    --radius-button: 3rem;
    
    /* Typography */
    --font-main: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-main);
    background: var(--color-light-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   PAGE WRAPPER
   =================================== */
.page-wrapper {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background: var(--color-light-bg);
    position: relative;
    padding-bottom: var(--spacing-lg);
    overflow: hidden;
}

/* ===================================
   FLOATING DECORATIVE ELEMENTS
   =================================== */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.float-element {
    position: absolute;
    opacity: 0.7;
}

/* Soap elements */
.soap-1 {
    width: 60px;
    top: 15%;
    left: -10px;
    animation: float-1 8s ease-in-out infinite;
}

.soap-2 {
    width: 50px;
    top: 60%;
    right: -5px;
    animation: float-2 10s ease-in-out infinite;
}

/* Bubble elements */
.bubble-1 {
    width: 30px;
    top: 25%;
    right: 10px;
    animation: float-3 6s ease-in-out infinite;
}

.bubble-2 {
    width: 25px;
    top: 45%;
    left: 5px;
    animation: float-4 7s ease-in-out infinite;
}

.bubble-3 {
    width: 20px;
    top: 75%;
    right: 15px;
    animation: float-5 9s ease-in-out infinite;
}

/* Flower elements */
.flower-1 {
    width: 40px;
    top: 35%;
    left: -5px;
    animation: float-6 11s ease-in-out infinite;
}

.flower-2 {
    width: 35px;
    top: 80%;
    left: 10px;
    animation: float-7 8s ease-in-out infinite;
}

/* Float animations */
@keyframes float-1 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes float-2 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(-5deg);
    }
}

@keyframes float-3 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-15px) translateX(-5px);
    }
}

@keyframes float-4 {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-18px) translateX(5px);
    }
}

@keyframes float-5 {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.1);
    }
}

@keyframes float-6 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-22px) rotate(10deg);
    }
}

@keyframes float-7 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-16px) rotate(-8deg);
    }
}

/* ===================================
   HEADER SECTION
   =================================== */
.header-section {
    background: var(--color-dark-bg);
    padding: var(--spacing-xl) var(--spacing-md);
    padding-bottom: 4rem;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    text-align: center;
    position: relative;
    z-index: 10;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.header-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-coral);
}

.main-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.02em;
}

/* ===================================
   MAIN CARD
   =================================== */
.main-card {
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    margin: -2.5rem var(--spacing-md) 0;
    padding: var(--spacing-xl) var(--spacing-md);
    box-shadow: 0 4px 20px rgba(61, 46, 40, 0.08);
    position: relative;
    z-index: 10;
}

/* ===================================
   PROFILE CONTAINER
   =================================== */
.profile-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.profile-link:hover {
    transform: scale(1.01);
}

.profile-container {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    background: var(--color-light-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-photo {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.profile-link:hover .profile-photo {
    transform: scale(1.02);
}

/* ===================================
   SUBTITLE
   =================================== */
.subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
}

/* ===================================
   LINKS CONTAINER
   =================================== */
.links-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem var(--spacing-lg);
    border-radius: var(--radius-button);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button-text {
    display: block;
}

/* Button Variants */
.instagram-btn,
.tiktok-btn {
    background: var(--color-coral);
    color: white;
}

.instagram-btn:hover,
.tiktok-btn:hover {
    background: var(--color-coral-light);
    transform: translateY(-2px);
}

.shop-btn {
    background: var(--color-dark-bg);
    color: white;
}

.shop-btn:hover {
    background: #2D2D2D;
    transform: translateY(-2px);
}

.link-button:active {
    transform: translateY(0);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-section {
    animation: fadeInUp 0.5s ease-out;
}

.main-card {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 400px) {
    .header-section {
        padding: var(--spacing-lg) var(--spacing-sm);
        padding-bottom: 3.5rem;
    }
    
    .header-avatar {
        width: 40px;
        height: 40px;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .main-card {
        margin: -2rem var(--spacing-sm) 0;
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .profile-container {
        min-height: 150px;
    }
    
    .link-button {
        padding: 1rem var(--spacing-md);
        font-size: 0.95rem;
    }
}

@media (min-width: 768px) {
    .page-wrapper {
        max-width: 420px;
        min-height: auto;
        margin: var(--spacing-xl) auto;
        border-radius: var(--radius-xl);
        overflow: hidden;
    }
    
    .header-section {
        border-radius: 0;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.link-button:focus {
    outline: 3px solid var(--color-button-light);
    outline-offset: 3px;
}

.link-button:focus:not(:focus-visible) {
    outline: none;
}
