/* ═══════════════════════════════════════
   ITALIAN BEARS NATION — CSS Condiviso
   ═══════════════════════════════════════ */

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

:root {
  --navy:    #0b162a;
  --navy2:   #11213f;
  --orange:  #c83803;
  --orange2: #dc3e03;
  --cream:   #f0ebe0;
  --muted:   #8a9ba8;
  --green:   #009246;
  --red:     #CE2B37;
  --card:    #182d54;
  --blue:    #3a6ea5;
  --gold:    #d97706;
}

html { scroll-behavior: smooth; }
body { background: var(--navy); color: #fff; font-family: 'Inter', sans-serif; overflow-x: hidden; }

/* ── GOOGLE FONTS (caricati nelle singole pagine) ── */

/* ── TICKER ── */
.ticker { position: fixed; top: 0; left: 0; width: 100%; height: 36px; background: var(--orange); padding: 0; display: flex; align-items: center; overflow: hidden; z-index: 300; }
.ticker-inner { display: flex; white-space: nowrap; animation: ticker 28s linear infinite; }
.ticker-inner span { font-family: 'Barlow Condensed', sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 0 2rem; color: #fff; }
.ticker-inner span::before { content: '🏈 '; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── NAV ── */
nav {
  position: fixed; top: 36px; width: 100%; z-index: 200;
  background: rgba(7,17,31,0.97); border-bottom: 3px solid var(--orange);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 58px;
}
.nav-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.nav-logo img { height: 38px; width: 38px; border-radius: 50%; border: 2px solid var(--orange); mix-blend-mode: lighten; }
.nav-logo span { font-family: 'Bebas Neue', sans-serif; font-size: 1.3rem; letter-spacing: .08em; color: #fff; }
.nav-logo span em { color: var(--orange2); font-style: normal; }
.nav-links { display: flex; gap: 0; list-style: none; height: 58px; }
.nav-links a { font-family: 'Barlow Condensed', sans-serif; font-size: .9rem; font-weight: 700; color: var(--muted); text-decoration: none; letter-spacing: .07em; text-transform: uppercase; padding: 0 1rem; display: block; height: 58px; line-height: 55px; box-sizing: border-box; border-bottom: 3px solid transparent; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; border-bottom-color: var(--orange2); }
.nav-links a.members { color: var(--blue); }
.nav-links a.members.active { border-bottom-color: var(--blue); }
.nav-cta { background: var(--orange); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: .85rem; font-weight: 700; padding: .38rem 1rem; border-radius: 3px; text-decoration: none; letter-spacing: .06em; text-transform: uppercase; transition: background .2s; }
.nav-cta:hover { background: var(--orange2); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .4rem; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { display: none; position: fixed; top: 86px; left: 0; right: 0; bottom: 0; z-index: 190; background: rgba(7,17,31,0.98); backdrop-filter: blur(10px); flex-direction: column; padding: 2rem 1.5rem; gap: 0; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: .06em; color: #fff; text-decoration: none; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.06); transition: color .2s; }
.mobile-menu a:hover { color: var(--orange2); }
.mobile-menu .mob-cta { margin-top: 1.5rem; background: var(--orange); color: #fff; text-align: center; padding: 1rem; border-radius: 4px; font-size: 1.3rem; border: none; }
.mobile-socials { display: flex; gap: .75rem; margin-top: 1.5rem; }
.mobile-socials a { width: 44px; height: 44px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; text-decoration: none; }

/* Nav utente (area riservata) */
.nav-user { display: flex; align-items: center; gap: .75rem; }
.user-badge { display: flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: .3rem .75rem .3rem .3rem; }
.user-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), #7a2200); display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.user-name { font-size: .78rem; font-weight: 600; color: #fff; }
.user-role { font-size: .62rem; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.btn-nav-action { font-family: 'Barlow Condensed', sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: .35rem .75rem; border-radius: 3px; border: 1px solid rgba(255,255,255,.1); transition: all .2s; }
.btn-nav-action:hover { color: #fff; border-color: rgba(255,255,255,.25); }

/* ── SEZIONI COMUNI ── */
section { padding: 3rem 1.5rem; }
.s-inner { max-width: 1200px; margin: 0 auto; }
.s-label { font-family: 'Barlow Condensed', sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange2); display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.s-label::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08); }

/* ── FOOTER ── */
footer { background: #040c18; border-top: 3px solid var(--orange); padding: 2.5rem 1.5rem 1.25rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-brand img { height: 64px; margin-bottom: .65rem; display: block; mix-blend-mode: lighten; border-radius: 0; }
.footer-brand p { font-size: .78rem; color: var(--muted); line-height: 1.65; max-width: 210px; }
.footer-col h5 { font-family: 'Barlow Condensed', sans-serif; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--orange2); margin-bottom: .8rem; }
/* Social col */
.social-col { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 96px; }
.ig-banner { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border-radius: 8px; padding: 1.1rem 1.25rem; display: flex; align-items: center; gap: 1rem; text-decoration: none; color: #fff; transition: transform .2s; box-shadow: 0 4px 15px rgba(0,0,0,.2); }
.ig-banner:hover { transform: translateY(-2px); }
.ig-icon { font-size: 2rem; }
.ig-text h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: .1rem; }
.ig-text p { font-size: .8rem; opacity: .9; }
.ig-btn { margin-left: auto; background: rgba(255,255,255,.25); padding: .4rem .85rem; border-radius: 4px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer-col ul a { font-size: .78rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.footer-bottom p { font-size: .7rem; color: var(--muted); }
.tricolor { display: flex; gap: 2px; }
.tricolor span { display: block; width: 18px; height: 4px; border-radius: 2px; }

/* ── SOCIAL STRIP ── */
.social-strip { background: var(--orange); padding: 1.75rem 1.5rem; }
.social-strip-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.social-strip h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: #fff; white-space: nowrap; }
.social-strip h3 span { display: block; font-size: .85rem; font-family: 'Inter', sans-serif; font-weight: 600; opacity: .8; }
.social-icons { display: flex; gap: .6rem; flex-wrap: wrap; }
.soc-btn { display: flex; align-items: center; gap: .5rem; background: rgba(0,0,0,.18); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .48rem 1rem; border-radius: 3px; text-decoration: none; border: 1.5px solid rgba(255,255,255,.2); transition: background .2s; }
.soc-btn:hover { background: rgba(0,0,0,.35); }

/* ── BUTTONS ── */
.btn { font-family: 'Barlow Condensed', sans-serif; font-size: .95rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; padding: .65rem 1.6rem; border-radius: 3px; transition: all .2s; display: inline-block; }
.btn.primary { background: var(--orange); color: #fff; border: 2px solid var(--orange); }
.btn.primary:hover { background: var(--orange2); border-color: var(--orange2); }
.btn.secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.25); }
.btn.secondary:hover { border-color: #fff; }

/* ── CARD COMUNI ── */
.card { background: var(--card); border-radius: 8px; border: 1px solid rgba(255,255,255,.05); }
.cat-tag { display: inline-block; background: var(--orange); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .18rem .6rem; border-radius: 2px; }
.card-meta { font-size: .7rem; color: var(--muted); display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── ANIMAZIONI ── */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@keyframes floatLogo { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  nav { top: 26px; padding: 0 1rem; height: 52px; }
  .nav-logo span { font-size: 1.1rem; }
  .nav-logo img { height: 32px; width: 32px; }
  .mobile-menu { top: 78px; }
  section { padding: 2.25rem 1rem; }
  .social-strip-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
