/* =============================================================
   FEETFANSLY - VARIABILI CSS GLOBALI
   =============================================================
   DESIGNER: Modifica QUI i colori, font, e spacing globali.
   Tutto il sito usa queste variabili. Cambi qui = cambia ovunque.
   ============================================================= */

:root {
    /* --- Colori Primari --- */
    /*--ff-primary: #7945E5;   */      /* Viola principale (come FeetFinder) */
    --ff-primary: #5A189A;
    --ff-secondary: #e91e63;
    /*--ff-secondary: #ff00ba;   */    /* Rosa/Magenta accent */
    --ff-primary-light: #EEE7FC;   /* Viola chiaro per sfondi */
    /*--ff-primary-light: #3F2A6D;   /* Viola scuro per sfondi */
    --ff-primary-dark: #530AA2;    /* Viola scuro */
    --ff-secondary-soft: rgba(233, 30, 99, .35);
    --ff-secondary-glow: rgba(233, 30, 99, .15);
    --ff-scrollbar: #ded1f9;  /*scroolbar*/

    /* --- Colori Testo --- */
    --ff-text-dark: #3A3D3F;       /* Titoli */
    --ff-text-body: #737588;       /* Testo corpo */
    --ff-text-muted: #777777;      /* Testo secondario */
    --ff-text-mutedw: #FFFFFF;      /* Testo bianco pee home page sostituisce mute */
    --ff-text-light: #979797;      /* Placeholder, hint */
    --ff-text-white: #FFFFFF;      /* testo bianco */
    --ff-text-yellow: #c6d211;      /* text giallo per stelline recensioni */
    --ff-text-red: #f110d7;      /* text rosso per il cuore like */
    /*--ff-text-red: #f11053;    oppure cuore rosso*/


    /* --- Sfondi --- */
    --ff-bg-white: #FFFFFF;
    --ff-bg-light: #F6F6F6;        /* Sezioni alternate */
    --ff-bg-card: #FBFBFB;         /* Card background */
    --ff-bg-input: #F3F3F3;        /* Input fields */
    --ff-bg-viola: #2b1e4b;
    --ff-bg-nero: #000000;            /* nero*/

    /* --- Bordi --- */
    --ff-border: #EAEAEA;
    --ff-border-hover: #7945E5;

    /* --- Rating --- */
    --ff-rating: #FFBB00;

    /* --- Errori --- */
    --ff-error: #FF0000;
    --ff-success: #155724;


    --ff-font-family: 'Poppins', sans-serif;
    /* --- Font --- */
    /*--ff-font-family: 'Montserra', sans-serif;*/


    /* --- Border Radius --- */
    --ff-radius-sm: 8px;
    --ff-radius-md: 12px;
    --ff-radius-lg: 20px;
    --ff-radius-pill: 50px;

    /* --- Shadows --- */
    --ff-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --ff-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --ff-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --ff-shadow-primary: 0 4px 15px rgba(121, 69, 229, 0.3);

    /* --- Gradient (per banner, footer, CTA) --- */
    --ff-gradient: linear-gradient(135deg, var(--ff-primary), var(--ff-secondary));
    --ff-gradient-overlay: linear-gradient(135deg, rgba(65, 25, 155, 0.72), rgba(255, 1, 196, 0.72));

    --ff-gradientgold: linear-gradient(135deg, var(--ff-lightgold), var(--ff-darkgold));
}


/* =============================================================
   TIPOGRAFIA GLOBALE
   ============================================================= */

/*body {
    font-family: var(--ff-font-family), sans-serif;
    font-weight: 400;
    color: var(--ff-text-body);
    background-color: var(--ff-bg-white);
    -webkit-font-smoothing: antialiased;

}*/
html, body {
    overflow-x: hidden;
}
body {
    font-family:
        'Poppins',
        system-ui,
        -apple-system,
        "Segoe UI",
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Noto Color Emoji",
        sans-serif;
}

.monsieur-la-doulaise-regular {
  font-family: "Monsieur La Doulaise", cursive;
  font-weight: 400;
  font-size: 48px;
  font-style: normal;
}

.saint-george {
  font-family: 'Saint George', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.playfair {
  font-family: "Playfair", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

/* =========================
   LOGO
========================= */
.logo-feet {
    color: var(--ff-secondary);  /* colore normale */
    transition: color .3s ease;
}

.logo-fansly {
    color: var(--accent-color); /* oppure il tuo colore brand */
    transition: color .3s ease;
}



h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--ff-text-dark);
}

a {
    color: var(--ff-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--ff-secondary);
    text-decoration: none;
}
/* NAVBAR DEFAULT */
#mainNavbar {

    transition: all .3s ease;
    padding-top: 0.5rem;
    /*padding-bottom: 1rem;*/
     padding: .6rem 0;
     transition: background-color .35s ease, backdrop-filter .35s ease;
}

/* SHRINK STATE */
#mainNavbar.navbar-shrink {
    padding-top: .2rem;
    padding-bottom: .4rem;
    backdrop-filter: blur(10px);
}

/* Logo shrink */
#mainNavbar .navbar-brand img {
    height: 48px;
    transition: height .3s ease;
}

#mainNavbar.navbar-shrink .navbar-brand img {
    height: 40px;
}

/* OFFCANVAS CUSTOM ANIMATION */

.offcanvas.offcanvas-end {
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .3s ease;
    opacity: 0;
}

.offcanvas.show {
    transform: translateX(0);
    opacity: 1;
}

/* CUSTOM TOGGLER + animazione*/

.custom-toggler {
    border: none;
    background: transparent;
    width: 32px;
    height: 24px;
    position: relative;
    border: none;
    padding: 0;
    cursor: pointer;
    transition:
        transform .45s cubic-bezier(.22,1,.36,1);

}

/* Hover lift */
.custom-toggler:hover {
    transform: scale(1.1) rotate(2deg);
}

/* Click compression */
.custom-toggler:active {
    transform: scale(.92) rotate(-2deg);
}
.toggler-line {
    position: relative;
    display: block;
    width: 100%;
    height: 3px;
    margin: 6px 0;
    border-radius: 4px;

    background: #ffffff;

    transition:
        background-color .4s cubic-bezier(.22,1,.36,1),
        transform .5s cubic-bezier(.22,1,.36,1),
        opacity .3s ease,
        box-shadow .4s ease;
}


/* TOGGLER ANIMATED STATE */
.custom-toggler.active {
    transform: rotate(180deg);
}

.custom-toggler.active .toggler-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.custom-toggler.active .toggler-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(.5);
}

.custom-toggler.active .toggler-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.custom-toggler::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--ff-secondary-soft) 0%, transparent 70%);
    opacity: 0;
    transform: scale(.5);
    transition: opacity .4s ease, transform .4s ease;
    pointer-events: none;
}

.custom-toggler:active::after {
    opacity: 1;
    transform: scale(1.2);
}


/* REMOVE TOGGLER FOCUS BORDER */

.custom-toggler:focus,
.custom-toggler:active,
.custom-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}


/* =============================================================
   OVERRIDE BOOTSTRAP
   =============================================================
   DESIGNER: Qui sovrascriviamo i colori di Bootstrap con i nostri.
   ============================================================= */
/*SCROLLBAR */
   /* Firefox */

  * {
    scrollbar-width: thin;
    scrollbar-color: var(--ff-scrollbar) transparent;

  }

  /* Chrome, Edge, Safari */
  ::-webkit-scrollbar {
    width: 8px;
  }

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

  ::-webkit-scrollbar-thumb {
    background: linear-gradient(
      180deg,
      var(--ff-primary),
      var(--ff-secondary)
    );
    border-radius: 999px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
      180deg,
      var(--ff-secondary),
      var(--ff-primary)
    );
  }


.shadow {
  box-shadow: 0 6px 20px rgba(121, 69, 229, 0.4);}

.btn-primary {
    background: var(--ff-gradient);
    border: none;
    border-radius: var(--ff-radius-pill);
    font-weight: 600;
    padding: 10px 24px;
    transition: all 0.3s ease;
    box-shadow: var(--ff-shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(121, 69, 229, 0.4);
    background: var(--ff-gradient);
    opacity: 0.9;
}



.btn-white {
  border-color: var(--ff-text-white);
  color: var(--ff-text-white);
  border-radius: var(--ff-radius-pill);
  font-weight: 600;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-1px);
    color: var(--ff-text-white);
    box-shadow: 0 6px 20px rgba(121, 69, 229, 0.4);
    background: var(--ff-secondary);
    opacity: 0.9;
}


.btn-viola {
  background: var(--ff-primary-dark);
  border-color: #ffffff;
  color: #FFFFFF;
  border-radius: var(--ff-radius-pill);
  font-weight: 600;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.btn-viola:hover {
    color: var(--ff-primary-dark);
    border-color: var(--ff-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(121, 69, 229, 0.4);
    background: var(--ff-bg-white);
    opacity: 0.9;
}


.btn-outline-primary {
    border-color: var(--ff-primary);
    color: var(--ff-primary);
    border-radius: var(--ff-radius-pill);
    font-weight: 600;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--ff-primary);
    border-color: var(--ff-primary);
    color: white;
}

.btn-outline-secondary {
    border-color: var(--ff-secondary);
    color: var(--ff-secondary);
    border-radius: var(--ff-radius-pill);
    font-weight: 600;
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: var(--ff-secondary);
    border-color: var(--ff-secondary);
    color: white;
}

.text-primary {
    color: var(--ff-primary) !important;
}

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

.bg-primary {
    background-color: var(--ff-primary) !important;
}

.bg-secondary {
    background-color: var(--ff-secondary) !important;
}
/* ===================================================================
EFFETTO LIQUID GRASS PER BOTTONI E SEZIONI
====================================================================*/
/*Core Liquid Glass*/
.liquid-glass {
  backdrop-filter: url(#liquidGlass) blur(5px);
  -webkit-backdrop-filter: url(#liquidGlass) blur(5px);
    box-shadow: 0 30px 30px rgba(0,0,0,0.1), inset 0 0 20px rgba(0,0,0,0.1), inset 3px 3px 2px -2px rgba(255,255,255,0.8), inset -3px -3px 2px -2px rgba(255,255,255,0.8)!important;
}
</style>

<!-- Liquid Glass Filter -->
<svg width="0" height="0">
  <defs>
    <filter id="liquidGlass">
      <feTurbulence type="turbulence" baseFrequency="0.001" numOctaves="10" result="turbulence" />
      <feDisplacementMap in2="turbulence" in="SourceGraphic" scale="100" xChannelSelector="R" yChannelSelector="G" />
    </filter>
  </defs>
</svg>

<!-- Liquid Glass Saglix start-->
<style>
/*Core Liquid Glass*/
.liquid-glass {
  backdrop-filter: url(#liquidGlass) blur(5px);
  -webkit-backdrop-filter: url(#liquidGlass) blur(5px);
    box-shadow: 0 30px 30px rgba(0,0,0,0.1), inset 0 0 20px rgba(0,0,0,0.1), inset 3px 3px 2px -2px rgba(255,255,255,0.8), inset -3px -3px 2px -2px rgba(255,255,255,0.8)!important;
    overflow: hidden;
}

/*Light Mouse*/
.liquid-glass::before {
  content: '';
  position: absolute;
  width: 20vw;
  height: 20vw;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  filter: blur(5vw);
  pointer-events: none;
  transform: translate(-50%, -50%);
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  opacity: 0;
  transition: opacity 0.3s ease, top 0.05s ease, left 0.05s ease;
  z-index: 0;
}
.liquid-glass:hover::before {
  opacity: 1;
}
/* =============================================================
   FORM INPUTS
   ============================================================= */

.form-control {
    background-color: var(--ff-bg-input);
    border: 1px solid var(--ff-border);
    border-radius: var(--ff-radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--ff-primary);
    box-shadow: 0 0 0 3px rgba(121, 69, 229, 0.15);
    background-color: white;
}

.form-control::placeholder {
    color: var(--ff-text-light);
}


/* =============================================================
   UTILITIES
   ============================================================= */

.section-bg {
    background-color: var(--ff-bg-light);
}

.section-bg-white {
    background-color: var(--ff-bg-white);
}

/*.section-bg-nero {
    //background-color: var(--ff-bg-nero);

}*/
.section-bg-nero {
    background: #0b0b0b;
        margin-bottom: -1px;
}

.ff-section-lg {
  padding: 160px 0;
      margin-bottom: -1px;
}

@media (max-width: 768px) {
  .ff-section-lg {
    padding: 90px 0;
        margin-bottom: -1px;
  }
}

@media (max-width: 768px) {
  .ff-section {
    border: none;
    margin-bottom: -1px;
  }
}

.ff-section {
  padding: 120px 0;
      margin-bottom: -1px;
      overflow-x: hidden;
}

@media (max-width: 768px) {
  .ff-section {
    padding: 70px 0;
      margin-bottom: -1px;

  }
}
.ff-creators {
  padding: 120px 0;
}

.ff-how {
  padding: 100px 0;
}
#CTA {
  padding: 140px 0;
}
.section-bg-dark {
  /*background: #1c1b1b;
background: linear-gradient(180deg,rgba(28, 27, 27, 0.91) 0%, rgba(43, 30, 75, 1) 50%, rgba(28, 27, 27, 1) 90%);
    background: #1a1a1a;*/ originale

    /*background: #0b0b0b;
    background: linear-gradient(180deg,rgba(0, 0, 0, 1) 0%, rgba(3, 2, 5, 1) 3%, rgba(43, 30, 75, 1) 50%, rgba(0, 0, 0, 1) 90%);
    */

    background: #0B0B0B;
background: linear-gradient(180deg,rgba(11, 11, 11, 1) 0%, rgba(3, 2, 5, 0.93) 3%, rgba(43, 30, 75, 1) 50%, rgba(11, 11, 11, 1) 90%);

}
@media (max-width: 768px) {

  .ff-hero {
    padding: 110px 0;
  }

  .ff-early-creators,
  .ff-creators,
  .ff-earnings,
  .ff-safety {
    padding: 80px 0;
  }

  .ff-how {
    padding: 70px 0;
  }

  #CTA {
    padding: 100px 0;
  }
}
.ff-section + .ff-section {
  border-top: 1px solid rgba(255,255,255,0.03);
}



.dark-bg {
  background: linear-gradient(135deg, #2B1E4B 0%, #3F2A6D 50%, #1C1036 100%);
}

.gradient-bg {

    background: var(--ff-gradient);
}

.gradient-text {
    background: var(--ff-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Verified badge */
.ff-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--ff-primary);
    border-radius: 50%;
    color: white;
    font-size: 10px;
    margin-left: 4px;
}


/* =============================================================
   BOTTONE "START SELLING" — Navbar pubblica
   =============================================================
   DESIGNER: Colori, padding e border-radius modificabili qui.
   Usa il gradiente brand (viola→rosa) per distinguerlo da Sign In.
   Usato in _Layout.cshtml → classe .ff-btn-sell
   ============================================================= */
.ff-btn-sell {
    background: var(--ff-gradient);           /* viola → rosa, definito in :root */
    color: #fff !important;
    border: none;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: var(--ff-radius-pill);
    transition: opacity .2s ease, transform .15s ease, box-shadow .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    white-space: nowrap;
}

.ff-btn-sell:hover {
    opacity: .88;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: var(--ff-shadow-primary);
}

.ff-btn-sell:active {
    transform: translateY(0);
    opacity: 1;
}


/* =============================================================
   FOOTER — Link stile
   =============================================================
   DESIGNER: Colore link footer modificabile qui.
   ============================================================= */
.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s ease;
    display: block;
    margin-bottom: 6px;
}

.footer-link:hover {
    color: var(--ff-secondary);
    text-decoration: none;
}

mt-3 {
    margin-top: 1.5rem !important;
}


/* =============================================================
   PROFILO PUBBLICO — HERO COVER + AVATAR CIRCOLARE
   =============================================================
   ⚠️ NON TOCCARE QUESTE CLASSI PER NESSUN MOTIVO ⚠️
   ⚠️ NON TOCCARE QUESTE CLASSI PER NESSUN MOTIVO ⚠️
   ⚠️ NON TOCCARE QUESTE CLASSI PER NESSUN MOTIVO ⚠️

   Queste classi sono state calibrate con precisione per far funzionare
   correttamente lo sfondo SVG della cover e dell'avatar generati da
   Views/Profile/Index.cshtml (le const DEFAULT_COVER_SVG e
   DEFAULT_AVATAR_SVG). In particolare:

   1. background-color DEVE essere transparent sulla .ff-profile-cover —
      altrimenti copre l'SVG della cover con un colore pieno.
   2. border e background DEVONO essere transparent/none sulla
      .ff-profile-avatar — altrimenti appare un anello bianco attorno
      al logo glam FF di default (che ha già il suo bordo oro interno).
   3. Le stesse regole sono ripetute in wwwroot/css/layout.css —
      mantenerle allineate se proprio devi toccare qualcosa.

   Se introduci regressioni qui, il profilo pubblico si vede come merda
   su mobile e desktop. Chi tocca, sistemi anche layout.css e testi su
   tutti i breakpoint (375/768/1200+).
   ============================================================= */

/* Wrapper che contiene cover + avatar sovrapposto */
.ff-profile-hero {
    position: relative;
    margin-bottom: 70px; /* spazio per l'avatar che fuoriesce */
}

/* Banner di copertina */
.ff-profile-cover {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
}

/* Wrapper avatar — centrato, sovrapposto al banner */
.ff-profile-avatar-wrap {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Avatar circolare — NO anello bianco, SVG parla da solo */
.ff-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    background: transparent;
    display: block;
}

/* Modifier: avatar reale caricato dal creator (foto JPG/PNG).
   Riceve bordo bianco "Instagram-like" per staccarsi dalla cover.
   L'SVG default NON riceve questa classe (ha già il suo bordo oro interno). */
.ff-profile-avatar--real {
    border: 4px solid #fff;
    background: var(--ff-bg-light);
}
/* Modifier: cover default (SVG glam generato lato server quando CoverImageUrl è null).
   Il data-URI SVG è inline nel CSS invece che in Razor per evitare che le
   virgolette singole dell'SVG collidano col delimitatore url('...') CSS.
   Qui uso url("...") con double quotes — l'SVG ha only single quotes all'interno. */
.ff-profile-cover--default {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400' preserveAspectRatio='xMidYMid slice'><defs><linearGradient id='v2a' x1='0%' y1='0%' x2='100%' y2='100%'><stop offset='0%' stop-color='%23ff6ad5'/><stop offset='35%' stop-color='%23d946ef'/><stop offset='70%' stop-color='%238b5cf6'/><stop offset='100%' stop-color='%23c4b5fd'/></linearGradient><linearGradient id='v2b' x1='100%' y1='0%' x2='0%' y2='100%'><stop offset='0%' stop-color='%23ff4fa3' stop-opacity='0.55'/><stop offset='50%' stop-color='%23f0abfc' stop-opacity='0.25'/><stop offset='100%' stop-color='%23e9d5ff' stop-opacity='0.55'/></linearGradient><radialGradient id='v2c' cx='30%' cy='40%' r='55%'><stop offset='0%' stop-color='%23ffb1dc' stop-opacity='0.7'/><stop offset='70%' stop-color='%23ff4fa3' stop-opacity='0.08'/><stop offset='100%' stop-color='%23ff4fa3' stop-opacity='0'/></radialGradient><radialGradient id='v2d' cx='75%' cy='60%' r='55%'><stop offset='0%' stop-color='%23e9d5ff' stop-opacity='0.7'/><stop offset='70%' stop-color='%238b5cf6' stop-opacity='0.1'/><stop offset='100%' stop-color='%238b5cf6' stop-opacity='0'/></radialGradient><radialGradient id='bk1' cx='50%' cy='50%' r='50%'><stop offset='0%' stop-color='%23ffd1ea' stop-opacity='0.75'/><stop offset='100%' stop-color='%23ffd1ea' stop-opacity='0'/></radialGradient><radialGradient id='bk2' cx='50%' cy='50%' r='50%'><stop offset='0%' stop-color='%23e9d5ff' stop-opacity='0.7'/><stop offset='100%' stop-color='%23e9d5ff' stop-opacity='0'/></radialGradient><radialGradient id='bk3' cx='50%' cy='50%' r='50%'><stop offset='0%' stop-color='%23fce7f3' stop-opacity='0.85'/><stop offset='100%' stop-color='%23fce7f3' stop-opacity='0'/></radialGradient><radialGradient id='bk4' cx='50%' cy='50%' r='50%'><stop offset='0%' stop-color='%23ff8ac6' stop-opacity='0.55'/><stop offset='100%' stop-color='%23ff8ac6' stop-opacity='0'/></radialGradient></defs><rect width='1200' height='400' fill='url(%23v2a)'/><rect width='1200' height='400' fill='url(%23v2b)'/><rect width='1200' height='400' fill='url(%23v2c)'/><rect width='1200' height='400' fill='url(%23v2d)'/><circle cx='90' cy='70' r='80' fill='url(%23bk1)'/><circle cx='240' cy='220' r='100' fill='url(%23bk3)'/><circle cx='380' cy='90' r='70' fill='url(%23bk4)'/><circle cx='520' cy='260' r='90' fill='url(%23bk2)'/><circle cx='660' cy='100' r='60' fill='url(%23bk3)'/><circle cx='780' cy='310' r='110' fill='url(%23bk1)'/><circle cx='920' cy='120' r='80' fill='url(%23bk2)'/><circle cx='1060' cy='280' r='110' fill='url(%23bk3)'/><circle cx='1150' cy='50' r='50' fill='url(%23bk4)'/><circle cx='150' cy='330' r='60' fill='url(%23bk2)'/><circle cx='450' cy='380' r='50' fill='url(%23bk1)'/><circle cx='830' cy='60' r='45' fill='url(%23bk3)'/><path d='M 0 240 Q 300 120 600 220 T 1200 180' stroke='%23ffe6f6' stroke-width='2.5' fill='none' opacity='0.4'/><path d='M 0 90 Q 400 280 800 140 T 1200 260' stroke='%23f0abfc' stroke-width='2' fill='none' opacity='0.35'/><g fill='%23ffffff'><circle cx='60' cy='80' r='1.6' opacity='0.9'/><circle cx='140' cy='160' r='1.2' opacity='0.75'/><circle cx='220' cy='40' r='1.8' opacity='0.9'/><circle cx='310' cy='210' r='1.3' opacity='0.7'/><circle cx='400' cy='60' r='1.5' opacity='0.85'/><circle cx='490' cy='180' r='1.4' opacity='0.8'/><circle cx='580' cy='50' r='1.2' opacity='0.7'/><circle cx='670' cy='210' r='1.7' opacity='0.9'/><circle cx='760' cy='70' r='1.5' opacity='0.85'/><circle cx='850' cy='180' r='1.2' opacity='0.7'/><circle cx='940' cy='60' r='1.8' opacity='0.9'/><circle cx='1030' cy='200' r='1.3' opacity='0.75'/><circle cx='1120' cy='90' r='1.5' opacity='0.85'/><circle cx='1180' cy='180' r='1.2' opacity='0.7'/><circle cx='80' cy='300' r='1.4' opacity='0.8'/><circle cx='180' cy='370' r='1.2' opacity='0.7'/><circle cx='280' cy='310' r='1.8' opacity='0.9'/><circle cx='380' cy='360' r='1.3' opacity='0.75'/><circle cx='480' cy='310' r='1.5' opacity='0.85'/><circle cx='580' cy='370' r='1.2' opacity='0.7'/><circle cx='680' cy='310' r='1.7' opacity='0.9'/><circle cx='780' cy='370' r='1.3' opacity='0.75'/><circle cx='880' cy='310' r='1.5' opacity='0.85'/><circle cx='980' cy='370' r='1.2' opacity='0.7'/><circle cx='1080' cy='320' r='1.8' opacity='0.9'/><circle cx='1170' cy='360' r='1.3' opacity='0.75'/></g><g stroke='%23ffffff' stroke-width='1.1' opacity='0.9'><line x1='180' y1='110' x2='192' y2='110'/><line x1='186' y1='104' x2='186' y2='116'/><line x1='460' y1='140' x2='472' y2='140'/><line x1='466' y1='134' x2='466' y2='146'/><line x1='720' y1='240' x2='732' y2='240'/><line x1='726' y1='234' x2='726' y2='246'/><line x1='990' y1='110' x2='1002' y2='110'/><line x1='996' y1='104' x2='996' y2='116'/><line x1='320' y1='320' x2='330' y2='320'/><line x1='325' y1='315' x2='325' y2='325'/><line x1='860' y1='340' x2='870' y2='340'/><line x1='865' y1='335' x2='865' y2='345'/></g></svg>");
}


/* Puntino online sull'avatar */
.ff-profile-online-dot {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    background: #22c55e;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 8px rgba(34,197,94,0.6);
}

/* Badge online inline accanto al nome */
.ff-profile-online-badge {
    display: inline-flex;
    align-items: center;
    background: #22c55e;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 6px;
    vertical-align: middle;
}

/* Padding top dell'header info per compensare l'avatar sovrapposto */
.ff-profile-header-body {
    padding-top: 8px;
}

/* Divider e titolo sezione */
.ff-profile-divider {
    margin: 2rem 0 1.5rem;
    border-color: var(--ff-border);
    opacity: 0.5;
}

.ff-profile-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ff-text-dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
}

/* Mobile */
@media (max-width: 768px) {
    .ff-profile-cover { height: 180px; }
    .ff-profile-avatar { width: 96px; height: 96px; }
    .ff-profile-hero { margin-bottom: 58px; }
    .ff-profile-avatar-wrap { bottom: -48px; }
}


/* =============================================================
   PHYSICAL PROFILE — CARD GRID
   ============================================================= */

/* Grid a 3 colonne su desktop, 1 su mobile */
.ff-physical-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}

@media (max-width: 991px) {
    .ff-physical-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .ff-physical-grid { grid-template-columns: 1fr; }
}

/* Singola card sezione fisica */
.ff-phys-card {
    border-radius: var(--ff-radius-md);
    border: 1px solid var(--ff-border);
    overflow: hidden;
    background: var(--ff-bg-card);
    box-shadow: var(--ff-shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ff-phys-card:hover {
    box-shadow: var(--ff-shadow-md);
    transform: translateY(-2px);
}

/* Header colorato della card */
.ff-phys-card__header {
    background: var(--ff-gradient);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Body della card con lista attributi */
.ff-phys-card__body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Singolo attributo: label a sinistra, valore a destra */
.ff-phys-attr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--ff-border);
    padding-bottom: 6px;
}

.ff-phys-attr:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ff-phys-attr__label {
    color: var(--ff-text-muted);
    font-weight: 500;
    flex-shrink: 0;
}

.ff-phys-attr__val {
    color: var(--ff-text-dark);
    font-weight: 600;
    text-align: right;
}

/* Val "yes" — verde con icona */
.ff-phys-attr__val--yes {
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ff-phys-attr__val--yes i {
    font-size: 0.75rem;
}

/* Special features — sezione tag sotto le card */
.ff-phys-features {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    padding: 14px 18px;
    background: var(--ff-bg-light);
    border-radius: var(--ff-radius-md);
    border: 1px solid var(--ff-border);
}

.ff-phys-features__label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ff-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    padding-top: 3px;
}

.ff-phys-features__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
