* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Masquer le badge reCAPTCHA (mention légale affichée dans le formulaire) */
.grecaptcha-badge {
    visibility: hidden !important;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* ── Animated gradient background ── */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 50%, var(--accent-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    animation: bgShift 12s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes bgShift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(3%, -3%) rotate(1deg);
    }

    100% {
        transform: translate(-1%, 1%) rotate(-0.5deg);
    }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: floatUp linear infinite;
}

.particles span:nth-child(1) {
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.particles span:nth-child(2) {
    left: 25%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.particles span:nth-child(3) {
    left: 45%;
    animation-duration: 7s;
    animation-delay: 4s;
}

.particles span:nth-child(4) {
    left: 65%;
    animation-duration: 9s;
    animation-delay: 1s;
}

.particles span:nth-child(5) {
    left: 85%;
    animation-duration: 11s;
    animation-delay: 3s;
}

.particles span:nth-child(6) {
    left: 35%;
    animation-duration: 8s;
    animation-delay: 5s;
}

@keyframes floatUp {
    0% {
        bottom: -10px;
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.1;
    }

    100% {
        bottom: 110vh;
        opacity: 0;
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

/* ═══════════════════════════════════════════
   PAGE D'ACCUEIL
═══════════════════════════════════════════ */

.page-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* ── Bandeau retour boudoir ── */
.boudoir-topbar {
    text-align: center;
    padding: 14px 24px;
    background: rgba(196, 155, 92, 0.08);
    border-bottom: 1px solid rgba(196, 155, 92, 0.2);
}

.boudoir-topbar a {
    font-size: 14px;
    font-weight: 600;
    color: #c49b5c;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.boudoir-topbar a:hover {
    color: #e0c07a;
}

.boudoir-topbar-msg {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.boudoir-topbar-msg strong {
    color: #c49b5c;
}

/* ── Header / Hero ── */
.hero {
    text-align: center;
    padding: 80px 24px 40px;
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-badge {
    display: inline-block;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.25);
    color: #c084fc;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 7vw, 64px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 30%, #ec4899 60%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 16px;
    line-height: 1.6;
}

.hero-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ── Divider ── */
.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 40px auto;
    opacity: 0.5;
}

/* ── Section title ── */
.section-title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 48px;
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* ── Characters grid ── */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.character-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    position: relative;
    overflow: hidden;
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.character-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.character-card:hover::before {
    opacity: 1;
}

.card-photo-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    position: relative;
}

.card-photo-wrapper::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--card-accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.character-card:hover .card-photo-wrapper::before {
    opacity: 1;
}

.card-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.card-emoji {
    font-size: 20px;
    margin-bottom: 8px;
}

.card-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.card-style {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 16px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
}

.card-tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
}

.card-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--card-accent);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.character-card:hover .card-cta {
    opacity: 1;
}

.card-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.character-card:hover .card-cta svg {
    transform: translateX(4px);
}

/* ── Badge passerelle boudoir ── */
.card-boudoir-link {
    display: block;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #c49b5c;
    letter-spacing: 0.5px;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.character-card:hover .card-boudoir-link {
    opacity: 1;
}

/* ── Animation delays for grid cards ── */
.character-card:nth-child(1) {
    animation-delay: 0.1s;
}

.character-card:nth-child(2) {
    animation-delay: 0.15s;
}

.character-card:nth-child(3) {
    animation-delay: 0.2s;
}

.character-card:nth-child(4) {
    animation-delay: 0.25s;
}

.character-card:nth-child(5) {
    animation-delay: 0.3s;
}

.character-card:nth-child(6) {
    animation-delay: 0.35s;
}

.character-card:nth-child(7) {
    animation-delay: 0.4s;
}

.character-card:nth-child(8) {
    animation-delay: 0.45s;
}

.character-card:nth-child(9) {
    animation-delay: 0.5s;
}

.character-card:nth-child(10) {
    animation-delay: 0.55s;
}

/* ── Home footer ── */
.home-footer {
    text-align: center;
    padding: 40px 24px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.home-footer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

.home-footer span {
    color: var(--accent);
    font-weight: 700;
}

.footer-classic-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.footer-classic-link:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Book carousel ── */
.book-carousel-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 48px;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.book-carousel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
    min-width: 100%;
    aspect-ratio: 16/10;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0;
}

.book-carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-prev {
    left: 16px;
}

.carousel-next {
    right: 16px;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0 0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    transform: scale(1.2);
}

.dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 480px) {
    .book-carousel-wrapper {
        padding: 0 16px 40px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        opacity: 1;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }
}

/* ── Contact form ── */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 32px;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.form-submit {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), #6366f1);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.form-submit:active {
    transform: translateY(0);
}

.recaptcha-notice {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

.recaptcha-notice a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: underline;
}

.recaptcha-notice a:hover {
    color: rgba(255, 255, 255, 0.6);
}

.contact-success {
    text-align: center;
    padding: 48px 32px;
    background: rgba(102, 187, 106, 0.08);
    border: 1px solid rgba(102, 187, 106, 0.2);
    border-radius: 24px;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(102, 187, 106, 0.15);
    color: #66bb6a;
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-success p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
}

.contact-error {
    background: rgba(239, 83, 80, 0.1);
    border: 1px solid rgba(239, 83, 80, 0.25);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 20px;
    animation: fadeSlideUp 0.4s ease both;
}

.contact-error p {
    color: #ef5350;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px 20px;
    }
}

/* ═══════════════════════════════════════════
   PAGE BOOK PERSONNAGE
═══════════════════════════════════════════ */

.book-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* ── Back button ── */
.back-link {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* ── Profile card ── */
.card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    max-width: 420px;
    width: 100%;
    padding: 48px 32px 40px;
    text-align: center;
    margin-top: 40px;
    animation: cardIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 33px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, var(--accent-soft) 100%);
    z-index: -1;
    pointer-events: none;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }

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

.photo-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    animation: photoIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.photo-wrapper::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes photoIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.profile-picture {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.15);
    display: block;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.name-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.profile-name {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.verified-badge {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.profile-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.profile-bio {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 300;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.tag {
    background: var(--accent-soft);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ── Social links ── */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.tiktok {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.tiktok:hover {
    border-color: #ee1d52;
    box-shadow: 0 8px 30px rgba(238, 29, 82, 0.2);
}

.instagram {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 50%, #3d1259 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.instagram:hover {
    border-color: #c13584;
    box-shadow: 0 8px 30px rgba(193, 53, 132, 0.2);
}

.social-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

/* ── Gallery / Book ── */
.gallery-section {
    max-width: 900px;
    width: 100%;
    margin-top: 48px;
    padding-bottom: 60px;
    animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.gallery-title {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 24px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/4;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    pointer-events: none;
}

/* ── Video items ── */
.gallery-item--video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    transition: background 0.3s;
    pointer-events: none;
}

.gallery-item--video:hover .gallery-play-icon {
    background: rgba(0, 0, 0, 0.15);
}

/* ── Book footer ── */
.footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.footer-logo {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-logo span {
    color: var(--accent);
    font-weight: 700;
}

.boudoir-book-link {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    color: #c49b5c;
    border: 1px solid rgba(196, 155, 92, 0.4);
    border-radius: 20px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.2s, border-color 0.2s;
}

.boudoir-book-link:hover {
    background: rgba(196, 155, 92, 0.1);
    border-color: rgba(196, 155, 92, 0.7);
}

/* ── Lightbox ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    cursor: pointer;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px 30px;
    }

    .characters-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
        padding: 0 16px 60px;
    }

    .character-card {
        padding: 24px 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .card {
        padding: 36px 24px 32px;
        border-radius: 24px;
        margin-top: 60px;
    }

    .photo-wrapper,
    .profile-picture {
        width: 130px;
        height: 130px;
    }

    .profile-name {
        font-size: 22px;
    }

    .profile-subtitle {
        font-size: 12px;
    }

    .profile-bio {
        font-size: 14px;
    }

    .social-link {
        padding: 14px 20px;
        font-size: 14px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .back-link {
        top: 16px;
        left: 16px;
        font-size: 13px;
        padding: 8px 14px;
    }
}