:root {
    --font-ui: 'Inter', sans-serif;
    --font-brand: 'Sora', 'Inter', sans-serif;
    --primary: #ff2d78;
    --primary-dark: #d31a62;
    --primary-light: #ff6aa4;
    --accent: #ff9f1c;
    --violet: #8a5bff;
    --bg-dark: #0e0b16;
    --bg-darker: #090710;
    --surface: #171324;
    --surface-soft: #221b33;
    --surface-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #fff5fb;
    --text-secondary: #c9bed9;
    --text-muted: #a795bf;
    --card-bg: #1a1528;
    --online: #52e37c;
    --offline: #ff5d63;
    --story-border: linear-gradient(135deg, #ff2d78, #ff8a5b, #8a5bff);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.28);
    --shadow-pink: 0 12px 30px rgba(255, 45, 120, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    min-height: 100%;
}

body {
    font-family: var(--font-ui);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 0% 0%, rgba(255, 45, 120, 0.2), transparent 35%),
        radial-gradient(circle at 90% 10%, rgba(138, 91, 255, 0.22), transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(255, 159, 28, 0.08), transparent 40%),
        var(--bg-dark);
}

body::before {
    content: "";
    position: fixed;
    inset: -20% -10%;
    pointer-events: none;
    z-index: -2;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 45, 120, 0.18), transparent 32%),
        radial-gradient(circle at 78% 16%, rgba(138, 91, 255, 0.2), transparent 34%),
        radial-gradient(circle at 50% 80%, rgba(255, 159, 28, 0.1), transparent 36%);
    filter: blur(8px);
    animation: bgFloat 18s ease-in-out infinite alternate;
}

.app-container {
    width: min(1120px, 100%);
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 180px),
        var(--bg-darker);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.app-container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.04) 45%, transparent 70%);
    transform: translateX(-60%);
    animation: sheenSweep 12s linear infinite;
    z-index: 0;
}

.app-container > * {
    position: relative;
    z-index: 1;
}

.seo-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header {
    position: sticky;
    top: 0;
    z-index: 110;
    backdrop-filter: blur(14px);
    background: rgba(20, 16, 33, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.header::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 164, 0.8), rgba(138, 91, 255, 0.7), transparent);
    animation: pulseLine 4.5s ease-in-out infinite;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    animation: logoPulse 4s ease-in-out infinite;
}

.logo svg {
    width: 34px;
    height: 34px;
    color: #ffd2ea;
    padding: 7px;
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(255, 71, 141, 0.38), rgba(138, 91, 255, 0.33));
    box-shadow: 0 8px 20px rgba(255, 45, 120, 0.24);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.brand-name {
    font-family: var(--font-brand);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.2px;
    background: linear-gradient(115deg, #ffd8ea 0%, #ff8ac3 46%, #c59cff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tagline {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    color: rgba(255, 233, 244, 0.76);
}

.brand-badge {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #fff3fb;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(130deg, rgba(255, 45, 120, 0.32), rgba(255, 159, 28, 0.24));
    border-radius: 999px;
    padding: 7px 10px;
}

.navigation {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px 14px;
    background: rgba(16, 12, 25, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    scrollbar-width: none;
}

.navigation::-webkit-scrollbar {
    display: none;
}

.nav-btn {
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 999px;
    transition: 0.25s ease;
    flex-shrink: 0;
}

.nav-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-pink);
}

.tap-pop {
    animation: tapPop 220ms ease-out;
}

.main-section {
    display: none;
    padding: 18px 14px 30px;
}

.main-section.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.reveal-item {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
    transition: opacity 0.55s ease, transform 0.55s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stories-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 16px 10px 20px;
    margin-bottom: 18px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.stories-container::-webkit-scrollbar {
    display: none;
}

.story {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-block;
    margin: 0 8px;
    position: relative;
    cursor: pointer;
    background: var(--story-border);
    padding: 3px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.story-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--surface);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.story img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.story-code {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 10px;
    font-weight: 600;
    padding: 0;
    white-space: nowrap;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

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

/* ── Profile Card : Hero-image layout ── */
.profile-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 45, 120, 0.22);
    border-color: rgba(255, 106, 164, 0.3);
}

.profile-card:focus-within {
    outline: none;
    border-color: rgba(255, 106, 164, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 106, 164, 0.15), var(--shadow-soft);
}

/* Hero image zone */
.profile-card-hero {
    position: relative;
    height: clamp(190px, 38vw, 280px);
    overflow: hidden;
}

.profile-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-hero-img {
    transform: scale(1.06);
}

.profile-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08) 0%,
        transparent 30%,
        rgba(0, 0, 0, 0.55) 70%,
        rgba(0, 0, 0, 0.88) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
}

.profile-card-badges {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.profile-card-status-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.profile-card-code-badge {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.4px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.profile-card-info-overlay {
    padding: 0 2px 2px;
}

.profile-card-name {
    font-family: var(--font-brand);
    font-size: clamp(16px, 3.5vw, 20px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.profile-card-sub {
    font-size: clamp(10px, 2vw, 12px);
    color: rgba(255, 255, 255, 0.68);
    margin-top: 3px;
}

/* Legacy — kept for compatibility */
.profile-header { display: none; }
.profile-images { display: none; }
.profile-status { display: flex; align-items: center; font-size: 13px; color: var(--text-muted); }

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.profile-code {
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary-light);
    font-weight: 700;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card footer */
.profile-card-footer {
    padding: 11px 13px 14px;
}

.profile-card-desc {
    font-size: clamp(11px, 2.2vw, 13px);
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 11px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile-card-actions {
    display: flex;
    gap: 7px;
}

.profile-card-actions .action-btn {
    padding: 9px 8px;
    font-size: clamp(11px, 2vw, 13px);
    flex: 1;
    gap: 5px;
}

.profile-actions {
    display: flex;
    gap: 10px;
    justify-content: space-around;
}

.action-btn,
.phone-btn,
.signup-btn,
.call-now-btn,
.back-btn {
    border: 1px solid transparent;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.25s ease;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 11px 14px;
    font-size: 13px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.action-btn.primary,
.phone-btn,
.call-now-btn,
.signup-btn,
.content-page a.call-link {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: rgba(255, 255, 255, 0.2);
}

.action-btn.secondary,
.back-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--text-primary);
}

.action-btn.stop {
    background: linear-gradient(135deg, #ff4f57, #d21f43);
    border-color: rgba(255, 255, 255, 0.2);
}

.content-page {
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    box-shadow: var(--shadow-soft);
}

.content-page h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 22px;
    background: linear-gradient(120deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-page h3 {
    font-size: 18px;
    color: var(--primary-light);
    margin: 24px 0 10px;
    padding-left: 11px;
    border-left: 3px solid var(--primary);
}

.content-page p,
.content-page li {
    font-size: 15px;
    margin-bottom: 14px;
}

.content-page ul {
    list-style-position: inside;
    padding-left: 4px;
}

.content-page .highlight {
    color: #ffd4e8;
    font-weight: 700;
}

.content-page a.call-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-width: 270px;
    margin: 24px auto 0;
    text-align: center;
    padding: 13px 22px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
}

.why-call-page {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 45, 120, 0.2), transparent 36%),
        radial-gradient(circle at 88% 0%, rgba(138, 91, 255, 0.2), transparent 40%),
        linear-gradient(162deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.why-kicker {
    display: inline-block;
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: #ffd6ea;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.why-intro {
    color: #eadff7;
    margin-bottom: 18px;
}

.why-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 8px;
}

.why-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 16px 16px 14px;
    transition: transform 0.25s ease, border-color 0.25s ease;
    border-left: 3px solid rgba(255, 45, 120, 0.5);
}

.why-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 45, 120, 0.35);
    border-left-color: var(--primary);
}

.why-card h3 {
    margin: 0 0 7px;
    border-left: 0;
    padding-left: 0;
    font-size: 15px;
    font-weight: 700;
    color: #ffd7ea;
}

.why-card p {
    margin: 0;
    color: #ccc0e0;
    font-size: 13.5px;
    line-height: 1.62;
}

.why-proofline {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.why-proofline::-webkit-scrollbar {
    display: none;
}

.why-proofline span {
    font-size: 12px;
    color: #f2e9fb;
    border-radius: 999px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.05);
}

.why-call-link {
    margin-top: 18px !important;
}

.contact-section,
.signup-section {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    margin: 16px 14px;
}

.signup-section {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    padding: 16px 16px;
}

.is-hidden {
    display: none !important;
}

.contact-title {
    font-size: 20px;
    margin-bottom: 14px;
    font-weight: 700;
    color: #fff;
}

.phone-btn,
.signup-btn,
.call-now-btn {
    padding: 12px 24px;
    font-size: 15px;
    min-width: 190px;
    justify-content: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.call-now-btn,
.content-page a.call-link {
    white-space: nowrap;
    line-height: 1;
}

.call-icon {
    color: #fff;
    font-size: 14px;
    line-height: 1;
}

.phone-number {
    display: none;
    font-size: 20px;
    font-weight: 800;
    margin: 16px 0 10px;
    color: #ffd2e9;
}

.phone-number.visible {
    display: block;
}

.tariff {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
}

.call-now-btn {
    display: none;
    margin: 10px auto 0;
}

.call-now-btn.visible {
    display: inline-flex;
}

.signup-text {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.signup-btn {
    min-width: 140px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 45, 120, 0.14);
    border: 1px solid rgba(255, 106, 164, 0.45);
    color: #ffd4e9;
    box-shadow: none;
}

.signup-note {
    margin-top: 8px;
    font-size: 11px;
    color: #9988b0;
    letter-spacing: 0.2px;
}

.modal {
    position: fixed;
    inset: 0;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.86);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    position: relative;
    max-width: min(900px, 96vw);
    max-height: 90vh;
}

.modal-img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close-modal,
.nav-arrow {
    position: absolute;
    background-color: rgba(9, 7, 16, 0.8);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-modal {
    top: 10px;
    right: 10px;
}

.nav-arrow {
    top: 50%;
    transform: translateY(-50%);
}

.nav-prev {
    left: 10px;
}

.nav-next {
    right: 10px;
}

/* ── Profile Detail ── */
.profile-detail-container {
    color: var(--text-secondary);
}

.profile-detail-container .reveal-item {
    transition-delay: var(--reveal-delay, 0ms);
}

/* Banner hero */
.profile-detail-banner {
    position: relative;
    height: 230px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    margin-bottom: 14px;
}

.profile-detail-banner-bg {
    position: absolute;
    inset: -25%;
    background-size: cover;
    background-position: center top;
    filter: blur(6px) brightness(0.62) saturate(1.3);
    transform: scale(1.15);
}

.profile-detail-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(9, 7, 16, 0.05) 0%,
        rgba(9, 7, 16, 0.2) 55%,
        rgba(9, 7, 16, 0.82) 100%
    );
}

.profile-detail-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 20px;
    text-align: center;
}

.profile-detail-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    box-shadow: 0 0 0 5px rgba(255, 45, 120, 0.22), 0 8px 28px rgba(0, 0, 0, 0.55);
    margin-bottom: 10px;
}

.profile-detail-name {
    font-family: var(--font-brand);
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
    margin-bottom: 4px;
}

.profile-detail-meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 7px;
}

.profile-detail-status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Top bar: Retour (gauche) + Voix (droite) */
.profile-detail-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px 16px 0;
    flex-wrap: nowrap;
}

.profile-detail-top-bar .back-btn {
    flex-shrink: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.profile-detail-cta-row {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.profile-detail-cta-row .action-btn {
    padding: 10px 16px;
    font-size: 13px;
    flex: none;
}

/* Legacy header (hidden) */
.profile-detail-header { display: none; }
.profile-name-watermark { display: none; }

.profile-detail-section {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px 18px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-soft);
}

.profile-detail-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-light);
    margin: 0 0 14px;
    border-left: 3px solid var(--primary);
    padding-left: 10px;
}

.section-icon {
    font-size: 15px;
    line-height: 1;
}

.profile-detail-section p,
.profile-detail-section li {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 9px;
}

.profile-detail-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-detail-section li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 7px 10px;
    margin-bottom: 0;
}

.profile-detail-section li::before {
    content: '•';
    color: var(--primary-light);
    font-weight: 800;
}

.back-btn {
    display: block;
    margin: 8px auto 16px;
    padding: 10px 18px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.08);
}

.profile-detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin: 0 0 14px;
    border-radius: 14px;
    overflow: hidden;
}

.profile-detail-media {
    width: 100%;
    height: clamp(100px, 22vw, 155px);
    padding: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

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

.profile-detail-gallery img.gallery-focus-zoom {
    animation: galleryFocusZoom 4.4s ease-in-out infinite;
    animation-delay: var(--gallery-zoom-delay, 0s);
    transform-origin: center center;
    will-change: transform;
}

.tone-chips,
.theme-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tone-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 13px;
    border: 1px solid rgba(138, 91, 255, 0.4);
    background: linear-gradient(135deg, rgba(138, 91, 255, 0.18), rgba(138, 91, 255, 0.08));
    color: #d8c8ff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.theme-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 13px;
    border: 1px solid rgba(255, 45, 120, 0.4);
    background: linear-gradient(135deg, rgba(255, 45, 120, 0.22), rgba(255, 159, 28, 0.12));
    color: #ffd4e8;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

/* Testimonials — quote card style */
.testimonial-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testimonial-list li {
    position: relative;
    margin: 0;
    border-radius: 14px;
    padding: 14px 14px 12px 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #ddd0f5;
    font-size: 13.5px;
    font-style: italic;
    line-height: 1.65;
    border-left: 3px solid var(--primary);
}

.testimonial-list li::before {
    display: none;
}

.testimonial-list li::after {
    content: '"';
    position: absolute;
    top: -4px;
    left: 6px;
    font-size: 44px;
    color: var(--primary);
    opacity: 0.25;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.detail-sticky-cta {
    display: none;
}

/* ==============================================
   BLOG — NAVIGATION
   ============================================== */
.blog-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 4px 2px 10px;
    margin-bottom: 8px;
    scrollbar-width: none;
}
.blog-nav::-webkit-scrollbar { display: none; }

.blog-nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 8px 15px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.2px;
    flex-shrink: 0;
    transition: 0.2s ease;
}

.blog-nav-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 6px 16px rgba(255, 45, 120, 0.3);
    transform: translateY(-1px);
}

.blog-category { display: none; }
.blog-category.active { display: block; animation: fadeIn 0.4s ease-out; }

/* ==============================================
   BLOG — SHARED HERO + TIP BAR
   ============================================== */
.blog-hero {
    text-align: center;
    padding: 28px 20px 22px;
    position: relative;
}

.blog-hero-title {
    font-family: var(--font-brand);
    font-size: clamp(1.55rem, 4vw, 2rem);
    font-weight: 800;
    margin: 8px 0 10px;
    letter-spacing: -0.3px;
}

.blog-hero-sub {
    font-size: 13px;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.blog-tip-bar {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.55;
    margin: 16px 16px 20px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
}

/* Story reader */
.story-reader-page { max-width: 900px; margin: 0 auto; }
.story-reader-page #storyReaderBody p { margin-bottom: 16px; line-height: 1.85; color: #efe6f9; }

/* ==============================================
   💋 CONFESSIONS — Journal intime secret
   ============================================== */
.blog-conf-page {
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 0%, rgba(255, 50, 100, 0.22), transparent 45%),
        radial-gradient(ellipse at 5% 95%, rgba(150, 15, 60, 0.18), transparent 45%),
        linear-gradient(160deg, #180c12, #0f0709);
    border-color: rgba(255, 60, 110, 0.2);
}

.conf-hero {
    border-bottom: 1px solid rgba(255, 60, 110, 0.18);
    background: linear-gradient(180deg, rgba(255, 45, 90, 0.1), transparent);
}

.conf-hero-deco {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 6px;
    filter: drop-shadow(0 0 12px rgba(255, 45, 90, 0.6));
}

.conf-hero .blog-hero-title {
    background: linear-gradient(130deg, #ff9ecb 0%, #ff3d7f 60%, #c41d60 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.conf-hero .blog-hero-sub { color: rgba(255, 200, 220, 0.75); }

.conf-articles {
    padding: 12px 14px 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.conf-card {
    position: relative;
    background: rgba(255, 255, 255, 0.035);
    border: none;
    border-left: 3px solid #ff3d7f;
    border-radius: 0 14px 14px 0;
    padding: 14px 42px 14px 16px;
    overflow: hidden;
    transition: background 0.2s;
}

.conf-card:hover { background: rgba(255, 60, 110, 0.07); }

.conf-quote {
    position: absolute;
    top: 4px;
    right: 12px;
    font-size: 36px;
    color: rgba(255, 60, 110, 0.18);
    line-height: 1;
    pointer-events: none;
    font-family: Georgia, serif;
}

.conf-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #ff9ecb;
    font-style: italic;
    margin: 0 0 8px;
    border: none;
    padding: 0;
}

.conf-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #e8d0da;
    margin: 0;
}

/* ==============================================
   🌙 HISTOIRES — Cinéma Nuit
   ============================================== */
.blog-hist-page {
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 25% 0%, rgba(70, 55, 180, 0.28), transparent 48%),
        radial-gradient(ellipse at 85% 80%, rgba(100, 25, 160, 0.2), transparent 50%),
        linear-gradient(160deg, #0d0b1c, #070510);
    border-color: rgba(100, 90, 220, 0.2);
}

.hist-hero {
    border-bottom: 1px solid rgba(100, 90, 220, 0.2);
    background: linear-gradient(180deg, rgba(80, 60, 200, 0.12), transparent);
}

.hist-stars {
    font-size: 11px;
    letter-spacing: 8px;
    color: rgba(180, 190, 255, 0.5);
    margin-bottom: 6px;
}

.hist-icon { font-size: 2.6rem; line-height: 1; margin-bottom: 4px; }

.hist-hero .blog-hero-title {
    background: linear-gradient(130deg, #c5ccff 0%, #8892ff 55%, #5b6adf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hist-hero .blog-hero-sub { color: rgba(180, 185, 255, 0.7); }

.hist-articles {
    padding: 12px 14px 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hist-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(110, 120, 255, 0.28);
    background: linear-gradient(140deg, rgba(70, 55, 180, 0.12), rgba(15, 10, 60, 0.35));
    transition: transform 0.25s, border-color 0.25s;
}
.hist-card:hover { transform: translateY(-2px); border-color: rgba(110, 120, 255, 0.5); }

.hist-card-bar {
    height: 3px;
    background: linear-gradient(90deg, #6f7dff, #a855f7, #6f7dff);
    background-size: 200%;
}

.hist-card-body { padding: 14px 16px 16px; }

.hist-card-meta { margin-bottom: 8px; }

.hist-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #8892ff;
    background: rgba(100, 110, 255, 0.12);
    border: 1px solid rgba(100, 110, 255, 0.28);
    border-radius: 999px;
    padding: 3px 9px;
}

.hist-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #c5ccff;
    margin: 0 0 10px;
    border: none;
    padding: 0;
}

.hist-card p {
    font-size: 14px;
    line-height: 1.72;
    color: #b0b8e8;
    margin: 0 0 12px;
}

.hist-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(110, 120, 255, 0.28), rgba(90, 50, 180, 0.35));
    border: 1px solid rgba(110, 120, 255, 0.45);
    color: #c5ccff;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.hist-read-btn:hover { background: linear-gradient(135deg, rgba(110,120,255,0.45), rgba(90,50,180,0.5)); transform: translateX(3px); }

/* ==============================================
   ✨ SÉDUCTION — Magazine Premium
   ============================================== */
.blog-sed-page {
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 92% 0%, rgba(220, 160, 40, 0.2), transparent 45%),
        radial-gradient(ellipse at 8% 90%, rgba(180, 100, 10, 0.14), transparent 45%),
        linear-gradient(160deg, #141008, #0e0b04);
    border-color: rgba(220, 170, 50, 0.2);
}

.sed-hero {
    border-bottom: 1px solid rgba(220, 170, 50, 0.18);
    background: linear-gradient(180deg, rgba(200, 140, 20, 0.1), transparent);
}

.sed-label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 210, 100, 0.6);
    margin-bottom: 6px;
}

.sed-icon { font-size: 2.6rem; line-height: 1; margin-bottom: 4px; }

.sed-hero .blog-hero-title {
    background: linear-gradient(130deg, #ffe8a0 0%, #ffc234 55%, #d4880a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sed-hero .blog-hero-sub { color: rgba(255, 220, 140, 0.7); }

.sed-body { padding: 8px 14px 16px; }

.sed-section-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 195, 70, 0.7);
    border: none;
    padding: 0;
    margin: 20px 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sed-section-title::after { content: ""; flex: 1; height: 1px; background: rgba(255, 195, 70, 0.2); }

/* Q&A */
.qa-block { margin-bottom: 16px; }

.qa-q {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #ffe8a0;
    background: rgba(255, 200, 60, 0.07);
    border-left: 3px solid #ffc234;
    padding: 10px 14px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 6px;
    line-height: 1.55;
}

.qa-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffc234;
    color: #1a0e00;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.qa-a {
    font-size: 14px;
    color: #d8c190;
    padding: 8px 14px 2px 18px;
    border-left: 1px dashed rgba(255, 195, 70, 0.3);
    margin-left: 3px;
    line-height: 1.65;
}

.qa-expert { font-weight: 700; color: #ffc234; }

/* Tips */
.sed-tips { display: flex; flex-direction: column; gap: 10px; }

.sed-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 200, 60, 0.05);
    border: 1px solid rgba(255, 200, 60, 0.12);
}

.sed-tip-num {
    flex-shrink: 0;
    font-family: var(--font-brand);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 200, 60, 0.25);
}

.sed-tip strong { display: block; color: #ffe8a0; font-size: 14px; margin-bottom: 3px; }
.sed-tip p { font-size: 13px; color: #c8ae82; margin: 0; line-height: 1.55; }

/* Phrases */
.sed-phrases { display: flex; flex-direction: column; gap: 8px; }

.sed-phrase {
    font-size: 14px;
    font-style: italic;
    color: #ffe8a0;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 195, 70, 0.06);
    border: 1px solid rgba(255, 195, 70, 0.15);
    line-height: 1.55;
}

/* Checklist */
.sed-checklist { display: flex; flex-direction: column; gap: 8px; }

.sed-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #d8c190;
    line-height: 1.5;
}

.sed-check-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 195, 70, 0.15);
    border: 1px solid rgba(255, 195, 70, 0.35);
    color: #ffc234;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

/* ==============================================
   🔮 HOROSCOPE — Carte du ciel mystique
   ============================================== */
.blog-horo-page {
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 5%, rgba(90, 60, 220, 0.26), transparent 45%),
        radial-gradient(ellipse at 82% 80%, rgba(50, 20, 160, 0.2), transparent 48%),
        radial-gradient(ellipse at 50% 50%, rgba(20, 8, 60, 0.4), transparent 70%),
        linear-gradient(160deg, #08060f, #05040c);
    border-color: rgba(130, 100, 255, 0.2);
}

.horo-hero {
    border-bottom: 1px solid rgba(130, 100, 255, 0.18);
    background: linear-gradient(180deg, rgba(80, 50, 200, 0.14), transparent);
}

.horo-cosmos {
    font-size: 11px;
    letter-spacing: 10px;
    color: rgba(180, 170, 255, 0.4);
    margin-bottom: 6px;
}

.horo-icon { font-size: 2.8rem; line-height: 1; margin-bottom: 4px; filter: drop-shadow(0 0 14px rgba(140, 100, 255, 0.7)); }

.horo-hero .blog-hero-title {
    background: linear-gradient(130deg, #d4c8ff 0%, #a880ff 50%, #7040e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.horo-hero .blog-hero-sub { color: rgba(200, 185, 255, 0.68); }

.horo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px 12px 20px;
}

.horo-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    padding: 14px 12px 14px;
    border: 1px solid rgba(130, 100, 255, 0.25);
    background: linear-gradient(145deg, rgba(80, 55, 190, 0.13), rgba(15, 8, 55, 0.5));
    transition: transform 0.25s, border-color 0.25s;
}
.horo-card:hover { transform: translateY(-2px) scale(1.01); border-color: rgba(150, 120, 255, 0.5); }

.horo-sign-badge {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 6px rgba(140, 100, 255, 0.5));
}

.horo-card h3 {
    font-size: 13px;
    font-weight: 700;
    color: #c5d0ff;
    margin: 0 0 8px;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.horo-card h3 span {
    font-size: 10px;
    font-weight: 500;
    color: rgba(160, 150, 255, 0.6);
}

.horo-card p {
    font-size: 12.5px;
    line-height: 1.6;
    color: #b8aedd;
    margin: 0;
}

/* ==============================================
   🎭 SCÉNARIOS — Screenplay / Théâtre
   ============================================== */
.blog-scen-page {
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 5%, rgba(200, 55, 20, 0.22), transparent 45%),
        radial-gradient(ellipse at 12% 88%, rgba(140, 30, 10, 0.18), transparent 45%),
        linear-gradient(160deg, #130806, #0d0504);
    border-color: rgba(220, 80, 40, 0.2);
}

.scen-hero {
    border-bottom: 1px solid rgba(220, 80, 40, 0.18);
    background: linear-gradient(180deg, rgba(180, 50, 20, 0.12), transparent);
}

.scen-curtain {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 4px;
    filter: drop-shadow(0 0 14px rgba(220, 80, 40, 0.6));
}

.scen-hero .blog-hero-title {
    background: linear-gradient(130deg, #ffd0b0 0%, #ff8c5a 55%, #c84020 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scen-hero .blog-hero-sub { color: rgba(255, 200, 170, 0.68); }

.scen-articles {
    padding: 10px 12px 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scen-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(220, 80, 40, 0.25);
    background: linear-gradient(145deg, rgba(160, 45, 15, 0.1), rgba(40, 10, 4, 0.45));
    transition: transform 0.25s, border-color 0.25s;
}
.scen-card:hover { transform: translateY(-2px); border-color: rgba(220, 80, 40, 0.5); }

.scen-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    background: rgba(200, 60, 20, 0.1);
    border-bottom: 1px solid rgba(220, 80, 40, 0.18);
}

.scen-num {
    flex-shrink: 0;
    font-family: var(--font-brand);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ff8c5a;
    background: rgba(220, 80, 40, 0.14);
    border: 1px solid rgba(220, 80, 40, 0.35);
    border-radius: 6px;
    padding: 3px 8px;
}

.scen-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffd0b0;
    line-height: 1.25;
}

.scen-body { padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 8px; }

.scen-body p {
    font-size: 13.5px;
    color: #d8b8a0;
    margin: 0;
    line-height: 1.65;
}

.scen-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #ff8c5a;
    background: rgba(220, 80, 40, 0.12);
    border: 1px solid rgba(220, 80, 40, 0.28);
    border-radius: 5px;
    padding: 2px 7px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Dice Game */
#gameSection {
    padding: 0;
}

#gameSection .game-wrapper {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 45, 120, 0.18), transparent 42%),
        radial-gradient(circle at 88% 0%, rgba(138, 91, 255, 0.2), transparent 46%),
        linear-gradient(160deg, #211431 0%, #181025 100%);
    color: #fff;
    min-height: calc(100vh - 90px);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
    margin: 0 14px;
    padding: 20px 16px 18px;
}

#gameSection .container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    gap: 14px;
}

#gameSection header {
    text-align: center;
    margin-bottom: 2px;
}

#gameSection .game-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 5px 10px;
    margin-bottom: 8px;
}

#gameSection h1 {
    font-size: clamp(1.75rem, 4vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 6px;
}

#gameSection .subtitle {
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 420px;
    margin: 0 auto;
}

#gameSection .game-meta-panel {
    width: min(100%, 560px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 12px;
    display: grid;
    gap: 6px;
}

#gameSection .game-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

#gameSection .game-meta label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

#gameSection .game-meta select {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 6px 12px;
    font-size: 0.85rem;
}

#gameSection .dice-container {
    width: 176px;
    height: 176px;
    perspective: 1000px;
    margin: 4px auto 8px;
}

#gameSection .dice {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.5s ease;
}

#gameSection .dice.rolling {
    animation: roll 1.5s ease-out;
}

@keyframes roll {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(720deg) rotateY(720deg); }
}

#gameSection .dice-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ff3c84 0%, #bf296f 100%);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    border: 2px solid rgba(255, 255, 255, 0.36);
    box-shadow: 0 12px 30px rgba(80, 2, 54, 0.35);
}

#gameSection .dice-face i {
    font-size: 58px;
}

#gameSection .dice-face:nth-child(1) { transform: rotateY(0deg) translateZ(88px); }
#gameSection .dice-face:nth-child(2) { transform: rotateY(90deg) translateZ(88px); }
#gameSection .dice-face:nth-child(3) { transform: rotateY(180deg) translateZ(88px); }
#gameSection .dice-face:nth-child(4) { transform: rotateY(-90deg) translateZ(88px); }
#gameSection .dice-face:nth-child(5) { transform: rotateX(90deg) translateZ(88px); }
#gameSection .dice-face:nth-child(6) { transform: rotateX(-90deg) translateZ(88px); }

#gameSection .challenge-container {
    position: relative;
    width: min(100%, 480px);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 28px 24px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at top left, rgba(255, 45, 120, 0.28), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(138, 91, 255, 0.22), transparent 55%),
        rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 0 0 1px rgba(255, 45, 120, 0.18) inset,
        0 20px 48px rgba(0, 0, 0, 0.36),
        0 0 60px rgba(255, 45, 120, 0.12);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

#gameSection .challenge-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.06) 55%, transparent 80%);
    pointer-events: none;
    border-radius: inherit;
}

#gameSection .challenge-meta-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

#gameSection .challenge-flavor {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 4px 10px;
}

#gameSection .rare-badge {
    display: none;
    margin: 0;
    width: fit-content;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ffe085, #ffb347);
    color: #3d1e00;
    border-radius: 999px;
    padding: 4px 10px;
    animation: rarePulse 2s ease-in-out infinite;
}

#gameSection .rare-badge.visible {
    display: block;
}

@keyframes rarePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 195, 60, 0); }
    50% { box-shadow: 0 0 12px 3px rgba(255, 195, 60, 0.4); }
}

#gameSection .challenge-text {
    font-size: clamp(1.08rem, 2.8vw, 1.32rem);
    line-height: 1.65;
    text-align: center;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 14px rgba(255, 45, 120, 0.32);
    letter-spacing: 0.1px;
    position: relative;
    z-index: 1;
}

#gameSection .challenge-text.revealed {
    animation: challengeReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes challengeReveal {
    from { opacity: 0; transform: translateY(10px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

#gameSection .control-buttons {
    display: flex;
    gap: 12px;
    margin-top: 2px;
    flex-wrap: wrap;
    justify-content: center;
}

#gameSection button {
    background: linear-gradient(145deg, #ff367f 0%, #cd1f72 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 14px rgba(130, 12, 84, 0.32);
    transition: 0.25s ease;
}

#gameSection button.secondary {
    background: rgba(255, 255, 255, 0.2);
}

#gameSection .settings-panel {
    background: rgba(179, 15, 102, 0.97);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 28px 18px;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    z-index: 120;
    overflow-y: auto;
}

#gameSection .settings-panel.active {
    transform: translateY(0);
}

#gameSection .settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

#gameSection .settings-title {
    font-size: 1.45rem;
}

#gameSection .close-settings {
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

#gameSection .category-setting {
    margin-bottom: 18px;
}

#gameSection .category-title {
    font-size: 1.05rem;
    margin-bottom: 9px;
    color: #fff;
}

#gameSection .category-items {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 12px 14px;
}

#gameSection .custom-option-row {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

#gameSection .custom-option-input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    padding: 9px 11px;
    font-size: 0.9rem;
}

#gameSection .custom-option-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#gameSection .add-option-btn {
    padding: 9px 14px;
    font-size: 0.85rem;
    border-radius: 10px;
    white-space: nowrap;
}

#gameSection .category-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

#gameSection .category-item:last-child {
    border-bottom: none;
}

#gameSection .toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

#gameSection .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#gameSection .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ff8bbb;
    transition: 0.4s;
    border-radius: 24px;
}

#gameSection .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

#gameSection input:checked + .slider {
    background-color: #ff2d78;
}

#gameSection input:checked + .slider:before {
    transform: translateX(26px);
}

#gameSection .shake-info,
#gameSection .adult-warning {
    text-align: center;
}

#gameSection .shake-info {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
}

#gameSection .adult-warning {
    margin-top: -2px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.68);
}

#gameSection .game-stats,
#gameSection .mission-progress {
    margin-top: 0;
    font-size: 0.81rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

#gameSection .settings-content {
    display: grid;
    gap: 14px;
}

#gameSection .settings-note {
    margin-top: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    text-align: center;
}

#gameSection .settings-actions {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

#gameSection .reset-options-btn {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow: none;
}

@media (hover: hover) {
    .profile-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
        border-color: rgba(255, 255, 255, 0.14);
    }

    .story:hover {
        transform: translateY(-2px) scale(1.03);
    }

    .action-btn:hover,
    .phone-btn:hover,
    .signup-btn:hover,
    .call-now-btn:hover,
    .content-page a.call-link:hover,
    .back-btn:hover,
    .blog-nav-btn:hover,
    .nav-btn:hover,
    #gameSection button:hover,
    .profile-detail-media:hover img {
        transform: translateY(-2px);
    }
}

@media (min-width: 760px) {
    .main-section {
        padding-inline: 18px;
    }

    .profiles-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .blog-nav {
        justify-content: center;
    }

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

    .profile-detail-top-bar {
        flex-wrap: nowrap;
    }

    .profile-detail-banner {
        height: 270px;
    }
}

@media (min-width: 1080px) {
    .profiles-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .content-page,
    .contact-section,
    .signup-section {
        max-width: 980px;
        margin-left: auto;
        margin-right: auto;
    }

    .profile-detail-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .profile-detail-banner {
        height: 300px;
    }

    .profile-detail-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 520px) {
    .main-section {
        padding-inline: 12px;
    }

    .story {
        width: 64px;
        height: 64px;
        margin: 0 6px;
    }

    .profile-image {
        height: 250px;
    }

    .profile-actions {
        flex-direction: column;
    }

    .action-btn,
    .phone-btn,
    .signup-btn,
    .call-now-btn {
        width: 100%;
    }

    .content-page a.call-link {
        min-width: 100%;
        font-size: 13px;
        padding: 12px 14px;
        justify-content: center;
        white-space: nowrap;
    }

    .call-now-btn {
        font-size: 13px;
        padding: 12px 14px;
        white-space: nowrap;
    }

    .call-icon {
        font-size: 13px;
    }

    #profileDetailSection.active .detail-sticky-cta {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 180;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 14px;
        border-radius: 999px;
        text-decoration: none;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border: 1px solid rgba(255, 255, 255, 0.22);
        box-shadow: 0 14px 28px rgba(255, 45, 120, 0.28);
        animation: ctaRise 260ms ease-out;
    }

    #profileDetailSection .profile-detail-container {
        padding-bottom: 78px;
    }

    .why-proofline {
        justify-content: flex-start;
        gap: 6px;
        padding-bottom: 2px;
    }

    .why-proofline span {
        flex: 0 0 auto;
        font-size: 11px;
        padding: 5px 9px;
    }

    #gameSection .game-wrapper {
        margin: 0 12px;
    }

}

@media (max-width: 768px) {
    body::before,
    .app-container::before,
    .header::after {
        animation: none !important;
    }

    body::before,
    .app-container::before {
        display: none;
    }

    .logo {
        animation: none;
    }

    .header {
        padding: 12px 14px;
    }

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

    .brand-tagline {
        font-size: 10px;
        letter-spacing: 0.36px;
    }

    .brand-badge {
        padding: 6px 9px;
        font-size: 9px;
    }

    .main-section.active {
        animation: sectionSlideIn 0.22s ease-out;
    }

    .nav-btn.active {
        animation: activeTabPulse 420ms ease-out;
    }

    .profile-card {
        transition-duration: 0.24s;
    }
}

body.performance-mode::before,
body.performance-mode .app-container::before,
body.performance-mode .header::after {
    display: none !important;
    animation: none !important;
}

body.performance-mode .logo {
    animation: none !important;
}

body.performance-mode .main-section.active,
body.performance-mode .nav-btn.active,
body.performance-mode .tap-pop {
    animation-duration: 0.14s !important;
}

body.performance-mode .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

@media (max-width: 400px) {
    .logo {
        gap: 9px;
    }

    .logo svg {
        width: 30px;
        height: 30px;
        padding: 6px;
    }

    .brand-name {
        font-size: 20px;
    }

    .brand-tagline {
        font-size: 9px;
    }

    #gameSection .dice-container {
        width: 150px;
        height: 150px;
    }

    #gameSection .dice-face:nth-child(1) { transform: rotateY(0deg) translateZ(75px); }
    #gameSection .dice-face:nth-child(2) { transform: rotateY(90deg) translateZ(75px); }
    #gameSection .dice-face:nth-child(3) { transform: rotateY(180deg) translateZ(75px); }
    #gameSection .dice-face:nth-child(4) { transform: rotateY(-90deg) translateZ(75px); }
    #gameSection .dice-face:nth-child(5) { transform: rotateX(90deg) translateZ(75px); }
    #gameSection .dice-face:nth-child(6) { transform: rotateX(-90deg) translateZ(75px); }

    #gameSection button {
        width: 100%;
    }
}

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

    .reveal-item {
        opacity: 1 !important;
        transform: none !important;
    }

    .profile-detail-gallery img.gallery-focus-zoom {
        animation: none !important;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes sectionSlideIn {
    0% { opacity: 0; transform: translateY(12px) scale(0.995); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes activeTabPulse {
    0% { transform: scale(0.96); }
    60% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

@keyframes tapPop {
    0% { transform: scale(1); }
    45% { transform: scale(0.96); }
    100% { transform: scale(1); }
}

@keyframes ctaRise {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes galleryFocusZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes storyBreath {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes bgFloat {
    0% { transform: translate3d(-2%, -1%, 0) scale(1); }
    100% { transform: translate3d(2%, 1%, 0) scale(1.04); }
}

@keyframes sheenSweep {
    0% { transform: translateX(-65%); opacity: 0; }
    10% { opacity: 0.35; }
    40% { opacity: 0.25; }
    100% { transform: translateX(65%); opacity: 0; }
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 106, 164, 0)); }
    50% { filter: drop-shadow(0 0 8px rgba(255, 106, 164, 0.45)); }
}

@keyframes pulseLine {
    0%, 100% { opacity: 0.35; transform: scaleX(0.98); }
    50% { opacity: 0.9; transform: scaleX(1); }
}
