/* --------------------------------------------------
   FlirtMe - Nouveau style global avec thèmes
   -------------------------------------------------- */

/* ---------- Variables & thème par défaut (dark) ---------- */

:root {
    --st--white: #ffffff;

    /* Fond global dark */
    --st--bg: #050816;
    --st--bg-soft: #070b16;
    --st--bg-card: #020617;

    /* Accents FlirtMe */
    --st--accent: #ff6b9f;
    --st--accent-soft: #ffb3d1;
    --st--accent-dark: #e60073;

    --st--blue: #38bdf8;
    --st--green: #22c55e;

    /* Texte */
    --st--text-main: #DB3276;
    --st--text-soft: #f9a8d4;

    /* Bordures & ombres */
    --st--border-subtle: #334155;
    --st--shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);

    /* Rayons & transitions */
    --st--radius-lg: 1.5rem;
    --st--radius-md: 1rem;
    --st--radius-sm: .5rem;
    --st--transition-fast: 0.2s ease-out;
    --st--transition-med: 0.3s ease-out;
}

/* ---------- Thème clair (si besoin) ---------- */

body.theme-light {
    --st--bg: #f9fafb;
    --st--bg-soft: #e5e7eb;
    --st--bg-card: #ffffff;

    --st--text-main: #DB3276;
    --st--text-soft: #f9a8d4;

    --st--shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.12);
}

/* --------------------------------------------------
   RESET DE BASE
   -------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    background-color: var(--st--bg);
    color: var(--st--text-main);
    -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------
   TYPOGRAPHIE
   -------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--st--white);
    margin-top: 0;
}

h1 {
    font-size: clamp(2.2rem, 2.8vw, 2.9rem);
}

h2 {
    font-size: clamp(1.6rem, 2.1vw, 2rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    margin-bottom: .75rem;
    color: var(--st--text-main);
}

small,
.small {
    font-size: .825rem;
    color: var(--st--text-soft);
}

a {
    color: var(--st--accent);
    text-decoration: none;
    transition: color var(--st--transition-fast), opacity var(--st--transition-fast);
}

a:hover {
    color: var(--st--accent-soft);
}

/* --------------------------------------------------
   LAYOUT GÉNÉRAL
   -------------------------------------------------- */

main {
    min-height: calc(100vh - 80px);
}

.container {
    max-width: 1140px;
}

/* --------------------------------------------------
   BACKGROUNDS UTILITAIRES
   -------------------------------------------------- */

.bg-base {
    background-color: var(--st--bg);
}

.bg-soft {
    background-color: var(--st--bg-soft);
}

.bg-card {
    background-color: var(--st--bg-card);
}

/* --------------------------------------------------
   CARTES GLOBALES
   -------------------------------------------------- */

.card-soft {
    background: radial-gradient(circle at top left, rgba(248, 113, 113, .16), transparent 55%),
                radial-gradient(circle at bottom right, rgba(56, 189, 248, .16), transparent 55%),
                #020617;
    border-radius: var(--st--radius-lg);
    border: 1px solid rgba(148, 163, 184, .3);
    box-shadow: var(--st--shadow-soft);
    padding: 1.7rem 1.6rem;
    position: relative;
    overflow: hidden;
}

.card-soft::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(236, 72, 153, .08), transparent 50%);
    opacity: 0;
    transition: opacity var(--st--transition-med);
}

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

.card-soft-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.1rem;
}

.card-soft-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--st--white);
}

/* --------------------------------------------------
   NAVBAR
   -------------------------------------------------- */

.navbar {
    position: relative;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.92) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .95rem;
    color: var(--st--white) !important;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.navbar-brand img {
    height: 32px;
    width: auto;
}

.navbar-nav .nav-link {
    position: relative;
    color: var(--st--text-soft) !important;
    font-weight: 500;
    letter-spacing: .02em;
    border-radius: 999px;
    padding-inline: .85rem;
    padding-block: .4rem;
    margin-inline: .15rem;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    inset-inline: 10%;
    bottom: 6px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, .6), transparent);
    opacity: 0;
    transform: scaleX(.8);
    transform-origin: center;
    transition: opacity var(--st--transition-fast), transform var(--st--transition-fast);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    background-color: rgba(248, 113, 113, 0.12);
    color: var(--st--accent-soft) !important;
}

.navbar-btn-default {
    border-radius: 999px;
    padding-inline: 1.1rem;
    padding-block: .45rem;
    font-size: .9rem;
    font-weight: 600;
}

/* --------------------------------------------------
   HERO / HEADERS
   -------------------------------------------------- */

.hero {
    padding-block: 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 10% 20%, rgba(236, 72, 153, .18), transparent 60%),
        radial-gradient(circle at 80% 0%, rgba(56, 189, 248, .25), transparent 65%),
        radial-gradient(circle at 90% 80%, rgba(52, 211, 153, .16), transparent 60%);
    opacity: 0.9;
    z-index: -1;
}

.hero__title {
    font-size: clamp(2.1rem, 2.9vw, 3rem);
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.hero__subtitle {
    font-size: 1.05rem;
    color: var(--st--text-soft);
    max-width: 540px;
}

/* --------------------------------------------------
   TEXTE / LISTES
   -------------------------------------------------- */

ul.custom-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

ul.custom-list li {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .35rem;
    color: var(--st--text-soft);
    font-size: .96rem;
}

ul.custom-list li::before {
    content: "•";
    color: var(--st--accent-soft);
    font-size: 1.3rem;
}

/* --------------------------------------------------
   BOUTONS GLOBAUX
   -------------------------------------------------- */

.btn-primary {
    background: linear-gradient(135deg, var(--st--accent) 0%, var(--st--accent-dark) 100%);
    border: none;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .03em;
    padding-inline: 1.5rem;
    padding-block: .7rem;
    box-shadow: 0 16px 30px rgba(248, 113, 113, .45);
    transition: transform var(--st--transition-fast), box-shadow var(--st--transition-fast), filter var(--st--transition-fast);
}

.btn-primary:hover,
.btn-primary:focus {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 22px 40px rgba(248, 113, 113, .6);
}

.btn-outline-secondary {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: var(--st--text-main);
    background-color: transparent;
    padding-inline: 1.2rem;
    padding-block: .65rem;
    font-weight: 500;
}

.btn-outline-secondary:hover {
    background-color: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 1);
    color: var(--st--white);
}

.btn-send-upload {
    border-radius: 999px;
    padding-inline: 1.4rem;
    padding-block: .5rem;
    background: var(--st--blue);
    border: none;
    color: #0b1120;
    font-weight: 600;
}

/* Bouton plein FlirtMe */
.btn-flirtme {
    background-color: #DB3276;
    color: #ffffff !important;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 600;
    border: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(219, 50, 118, 0.35);
}

.btn-flirtme:hover {
    background-color: #b92463;
    box-shadow: 0 6px 16px rgba(185, 36, 99, 0.5);
}

/* Bouton outline FlirtMe */
.btn-outline-flirtme {
    border-radius: 10px;
    border: 2px solid #DB3276;
    color: #DB3276 !important;
    background: transparent;
    padding: 12px 22px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.btn-outline-flirtme:hover {
    background: #DB3276;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(219, 50, 118, 0.35);
}

/* --------------------------------------------------
   FORMULAIRES
   -------------------------------------------------- */

input,
select,
textarea {
    background-color: #020617;
    border-radius: .9rem;
    border: 1px solid rgba(148, 163, 184, .6);
    color: var(--st--text-main);
    padding: .7rem .85rem;
    font-size: .96rem;
}

input::placeholder,
textarea::placeholder {
    color: rgba(148, 163, 184, .9);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--st--accent);
    box-shadow: 0 0 0 1px rgba(236, 72, 153, .4);
}

.form-group label {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(148, 163, 184, .9);
    margin-bottom: .4rem;
}

.form-text {
    font-size: .8rem;
    color: rgba(148, 163, 184, .9);
}

/* --------------------------------------------------
   ALERTES
   -------------------------------------------------- */

.alert {
    border-radius: var(--st--radius-md);
    border: 1px solid rgba(148, 163, 184, .4);
    background-color: #020617;
    color: var(--st--text-soft);
}

/* --------------------------------------------------
   PROFIL / AVATARS
   -------------------------------------------------- */

.avatar {
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, .5);
    object-fit: cover;
}

.avatar--lg {
    width: 80px;
    height: 80px;
}

.avatar--xl {
    width: 140px;
    height: 140px;
}

.avatar-flirtme {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.avatar-large-flirtme {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.profile__online-indicator {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background-color: #22c55e;
    border: 2px solid #020617;
}

/* --------------------------------------------------
   LISTE MEMBRES
   -------------------------------------------------- */

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.3rem;
}

.member-card {
    text-align: center;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 60%),
                #020617;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, .4);
    padding: .9rem .6rem 1rem;
    position: relative;
    transition: transform var(--st--transition-fast), box-shadow var(--st--transition-fast), border-color var(--st--transition-fast);
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, .9);
    border-color: rgba(236, 72, 153, .8);
}

.member-card__name {
    margin-top: .35rem;
    font-size: .9rem;
    color: var(--st--text-soft);
}

/* --------------------------------------------------
   TABLES / DASHBOARD
   -------------------------------------------------- */

.table-dark {
    --bs-table-bg: #020617;
    --bs-table-striped-bg: #020617;
    --bs-table-striped-color: var(--st--text-main);
    --bs-table-border-color: rgba(148, 163, 184, .5);
}

.table-dark thead th {
    border-bottom-width: 1px;
    border-color: rgba(148, 163, 184, .7);
    font-weight: 600;
}

/* --------------------------------------------------
   FOOTER
   -------------------------------------------------- */

footer {
    border-top: 1px solid rgba(148, 163, 184, .4);
    background-color: #020617;
    padding-block: 1.6rem;
    margin-top: 2.5rem;
    font-size: .9rem;
    color: var(--st--text-soft);
}

.footer-flirtme {
    background: #111;
    color: #fff;
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-flirtme a {
    color: #ff2e80 !important;
}

/* --------------------------------------------------
   BADGES / STATUTS
   -------------------------------------------------- */

.badge-online {
    background-color: #22c55e;
    color: #022c22;
    border-radius: 999px;
    padding-inline: .7rem;
    padding-block: .25rem;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
}

/* --------------------------------------------------
   PAGES LOGIN / SIGNUP
   -------------------------------------------------- */

.signin {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top, rgba(236, 72, 153, .25), transparent 65%),
        radial-gradient(circle at bottom, rgba(37, 99, 235, .18), transparent 60%),
        #020617;
}

.signin__body {
    background-color: rgba(15, 23, 42, .96);
    border-radius: 1.7rem;
    padding: 1.9rem 2.4rem;
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    border: 1px solid rgba(148, 163, 184, .7);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 1);
}

.signin__logo {
    max-height: 48px;
    margin-bottom: 1.2rem;
}

.signin__title {
    font-size: 1.5rem;
    margin-bottom: .5rem;
    letter-spacing: .05em;
}

.signin__subtitle {
    font-size: .95rem;
    color: var(--st--text-soft);
    margin-bottom: 1.5rem;
}

/* --------------------------------------------------
   DASHBOARD
   -------------------------------------------------- */

.dashboard {
    padding-block: 2rem;
}

.dashboard__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard__title {
    font-size: 1.4rem;
}

.dashboard__subtitle {
    font-size: .95rem;
    color: var(--st--text-soft);
}

/* --------------------------------------------------
   UTILITAIRES
   -------------------------------------------------- */

.text-soft {
    color: var(--st--text-soft) !important;
}

.text-accent {
    color: var(--st--accent) !important;
}

.border-subtle {
    border-color: var(--st--border-subtle) !important;
}

.rounded-lg {
    border-radius: var(--st--radius-lg) !important;
}

.rounded-md {
    border-radius: var(--st--radius-md) !important;
}

.rounded-sm {
    border-radius: var(--st--radius-sm) !important;
}

.mt-6 {
    margin-top: 4rem;
}

.mb-6 {
    margin-bottom: 4rem;
}

/* --------------------------------------------------
   MEDIA QUERIES
   -------------------------------------------------- */

@media (max-width: 991.98px) {
    .dashboard__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding-block: 3rem;
    }

    .signin__body {
        padding: 1.5rem 1.4rem;
    }
}

@media (max-width: 575.98px) {
    .signin__body {
        padding: 1.4rem 1.1rem;
    }

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

/* --------------------------------------------------
   SECTION CONCEPT / SCAN
   -------------------------------------------------- */

.section-concept {
    padding-block: 3rem;
}

.section-concept h2 {
    color: #f9fafb;
    font-weight: 700;
}

.section-concept p {
    color: var(--st--text-soft);
}

/* --------------------------------------------------
   IMAGES / MÉDIAS
   -------------------------------------------------- */

.responsive-img {
    max-width: 100%;
    height: auto;
}

.img-thumb {
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, .4);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .85);
}

/* --------------------------------------------------
   NAV PILLS
   -------------------------------------------------- */

.nav-pills .nav-link {
    border-radius: 999px;
    padding-inline: 1rem;
    padding-block: .45rem;
    font-size: .85rem;
    color: var(--st--text-soft);
    border: 1px solid transparent;
}

.nav-pills .nav-link.active {
    background-color: rgba(236, 72, 153, .14);
    border-color: rgba(236, 72, 153, .75);
    color: var(--st--white);
}

/* --------------------------------------------------
   GALERIE PROFIL
   -------------------------------------------------- */

.profile__gal {
    border-radius: 1.2rem;
    border: 1px dashed rgba(148, 163, 184, .6);
    background-color: rgba(15, 23, 42, .85);
    padding: 1rem;
}

.profile__gal__list {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.profile__gal__item {
    width: 80px;
    height: 80px;
    border-radius: .9rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .7);
}

/* --------------------------------------------------
   NAVBAR TOGGLER
   -------------------------------------------------- */

.navbar-toggler {
    border: 1px solid rgba(148, 163, 184, .7);
}

/* --------------------------------------------------
   RÉGLAGES MOBILE SUPPLÉMENTAIRES
   -------------------------------------------------- */

@media (max-width: 991.98px) {
    .profile__gal__list {
        height: 260px;
    }

    .navbar-nav .nav-link {
        margin-top: .25rem;
    }
}

/* --------------------------------------------------
   CONTRASTE SECTIONS CLAIRES
   -------------------------------------------------- */

.bg-light {
    background-color: #f9fafb !important;
    color: #DB3276 !important;
}

.bg-white {
    background-color: #ffffff !important;
    color: #DB3276 !important;
}

.bg-light p,
.bg-white p,
.bg-light .text-muted,
.bg-white .text-muted {
    color: #DB3276 !important;
}

/* --------------------------------------------------
   SOCIAUX
   -------------------------------------------------- */

.social-cust {
    padding-inline: .9rem;
    padding-block: .35rem;
    height: 32px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: var(--st--text-soft);
    font-size: 1rem;
    margin-right: .4rem;
}

.social-cust:hover {
    border-color: var(--st--accent);
    color: var(--st--accent-soft);
}

/* --------------------------------------------------
   HERO FLIRTME SPÉCIFIQUE (ACCUEIL MARKETING)
   -------------------------------------------------- */

.hero-section {
    background: #fafafa !important;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    color: #DB3276 !important;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(0,0,0,0.15);
}

.hero-subtitle {
    color: #444 !important;
    font-size: 1.3rem;
    opacity: 0.9;
}

/* phrase concept FlirtMe (rose & gras) */
.hero-concept-line {
    color: #DB3276 !important;
    font-weight: 700 !important;
    font-size: 1.15rem;
}

/* sous-titre / h2 plus visible en rose */
.hero-title-small {
    color: #DB3276 !important;
    font-weight: 700 !important;
}

/* Titres lisibles sur fond clair */
.bg-light h1, .bg-light h2, .bg-light h3,
.bg-white h1, .bg-white h2, .bg-white h3,
section.bg-light h1, section.bg-light h2, section.bg-light h3,
section.bg-white h1, section.bg-white h2, section.bg-white h3 {
    color: #DB3276 !important;
}
/* FORÇAGE NOM "FlirtMe" EN ROSE DANS LA NAVBAR */
.navbar .navbar-brand span {
    color: #DB3276 !important;
    font-weight: 800 !important;
}