/*
 |--------------------------------------------------------------------------
 | Pages publiques (home, profils créatrices, packs)
 |--------------------------------------------------------------------------
 | S'appuie sur common.css pour la gr@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
*/

.hero-section {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, rgba(90, 96, 232, 0.18), rgba(255, 95, 158, 0.18));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
    color: var(--heading-color);
}

.hero-section h1 {
    font-size: clamp(2.4rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-section p {
    color: var(--text-color-muted);
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.creators-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.creator-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.creator-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(21, 23, 46, 0.12);
}

.creator-image {
    height: 220px;
    overflow: hidden;
}

.creator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.creator-info h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--heading-color);
}

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

.creator-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1.25rem 1.75rem;
    border-top: 1px solid var(--border-color);
    background: rgba(90, 96, 232, 0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.95rem;
    color: var(--text-color-muted);
}

.stat-value {
    font-weight: 700;
    color: var(--heading-color);
    font-size: 1.1rem;
}

/* Section packs */
.pack-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pack-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 45px rgba(21, 23, 46, 0.12);
}

.pack-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.pack-card__body {
    padding: 1.75rem;
    display: grid;
    gap: 0.75rem;
}

.pack-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--heading-color);
}

.pack-card__description {
    color: var(--text-color-muted);
}

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

/* Profil créatrice */
.creator-header {
    margin-bottom: 3rem;
}

.creator-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    background: rgba(90, 96, 232, 0.25);
}

.creator-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(21, 23, 46, 0.35), rgba(21, 23, 46, 0.75));
}

.creator-banner__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
    color: #fff;
    gap: 1.5rem;
}

.creator-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.creator-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-title h1 {
    font-size: 2rem;
    font-weight: 700;
}

.creator-main {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
}

.creator-main>section,
.creator-sidebar>section {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.creator-links ul {
    display: grid;
    gap: 0.75rem;
}

.creator-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: rgba(90, 96, 232, 0.08);
    color: var(--primary-color);
    font-weight: 600;
}

.creator-links a:hover {
    background: rgba(90, 96, 232, 0.14);
}

/* Donateur */
.donations-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.donation-card {
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 0.6rem;
}

.donation-card strong {
    color: var(--heading-color);
    font-size: 1.2rem;
}

.donation-card .amount {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.35rem;
}

/* Responsive */
@media (max-width: 992px) {
    .creator-main {
        grid-template-columns: 1fr;
    }

    .creator-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3.5rem 1.5rem;
    }

    .creator-stats {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        justify-content: center;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.animate-fade-in-up {
    animation: fade-in-up 0.4s ease-out forwards;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Pink Accent Utilities */
.text-pink-soft {
    color: #ffafcc;
}

.bg-pink-soft {
    background-color: #ffafcc;
}

.border-pink-soft {
    border-color: #ffafcc;
}

.shadow-pink-glow {
    box-shadow: 0 0 20px rgba(255, 175, 204, 0.3);
}

.shadow-purple-glow {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

/* Custom Animations for Creator Profile */
@keyframes gradient-xy {
    0% {
        background-position: 0% 50%;
    }

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

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

.animate-gradient-xy {
    animation: gradient-xy 3s ease infinite;
    background-size: 200% 200%;
}

/* Missing Tailwind Utilities for Production */
.text-6xl {
    font-size: 3.75rem !important;
    line-height: 1 !important;
}

.text-7xl {
    font-size: 4.5rem !important;
    line-height: 1 !important;
}

.text-8xl {
    font-size: 6rem !important;
    line-height: 1 !important;
}

.text-9xl {
    font-size: 8rem !important;
    line-height: 1 !important;
}

@media (min-width: 768px) {
    .md\:text-6xl {
        font-size: 3.75rem !important;
        line-height: 1 !important;
    }

    .md\:text-7xl {
        font-size: 4.5rem !important;
        line-height: 1 !important;
    }

    .md\:text-8xl {
        font-size: 6rem !important;
        line-height: 1 !important;
    }

    .md\:text-9xl {
        font-size: 8rem !important;
        line-height: 1 !important;
    }

    .md\:pl-8 {
        padding-left: 2rem !important;
    }
}

.rounded-\[3rem\] {
    border-radius: 3rem;
}

.rounded-\[2\.5rem\] {
    border-radius: 2.5rem;
}

.backdrop-blur-xl {
    backdrop-filter: blur(24px);
}