/* ============================================
   SAVE POSIDONIA PROJECT — "Ocean Depth" Theme
   Design System & Complete Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --deep-ocean: #0a1628;
  --deep-ocean-rgb: 10, 22, 40;
  --med-blue: #0d3b66;
  --med-blue-rgb: 13, 59, 102;
  --posidonia-green: #2d8a6e;
  --posidonia-green-rgb: 45, 138, 110;
  --turquoise: #1ecbe1;
  --turquoise-rgb: 30, 203, 225;
  --sandy-white: #f0ece2;
  --sandy-white-rgb: 240, 236, 226;
  --coral: #ff6b6b;
  --coral-rgb: 255, 107, 107;
  --gold: #f0a500;
  --dark-surface: #0f1f35;
  --card-bg: rgba(13, 59, 102, 0.25);
  --card-border: rgba(30, 203, 225, 0.15);
  --glass-bg: rgba(10, 22, 40, 0.6);
  --glass-border: rgba(240, 236, 226, 0.08);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Sizing */
  --max-width: 1200px;
  --nav-height: 70px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow-turquoise: 0 0 30px rgba(30, 203, 225, 0.2);
  --shadow-glow-green: 0 0 30px rgba(45, 138, 110, 0.3);
  --shadow-glow-coral: 0 0 20px rgba(255, 107, 107, 0.3);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--deep-ocean);
  color: var(--sandy-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--posidonia-green);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sandy-white);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  color: rgba(var(--sandy-white-rgb), 0.8);
  font-size: 1rem;
  max-width: 70ch;
}

.text-gradient {
  background: linear-gradient(135deg, var(--turquoise), var(--posidonia-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent { color: var(--turquoise); }
.text-green { color: var(--posidonia-green); }
.text-coral { color: var(--coral); }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

/* Section Background Images */
#posidonia, #threats, #project, #forum, #sponsor, #wall, #contact {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
#posidonia::before, #threats::before, #project::before, #forum::before, #sponsor::before, #wall::before, #contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.45);
  z-index: 0;
}
#posidonia > *, #threats > *, #project > *, #forum > *, #sponsor > *, #wall > *, #contact > * {
  position: relative;
  z-index: 1;
}
#posidonia { background-image: url('assets/bg-posidonia.png'); }
#threats { background-image: url('assets/bg-threats.png'); }
#project { background-image: url('assets/bg-project.png'); }
#forum { background-image: url('assets/bg-forum.png'); }
#sponsor { background-image: url('assets/bg-sponsor.png'); }
#wall { background-image: url('assets/bg-wall.png'); }
#contact { background-image: url('assets/bg-contact.png'); }

@media (max-width: 768px) {
  #posidonia, #threats, #project, #forum, #sponsor, #wall, #contact {
    background-attachment: scroll;
  }
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.wave-separator {
  position: relative;
  width: 100%;
  height: clamp(60px, 10vw, 120px);
  overflow: hidden;
  line-height: 0;
}
.wave-separator svg {
  width: 100%;
  height: 100%;
  display: block;
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  margin: 0 auto;
  font-size: 1.1rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--turquoise);
  margin-bottom: var(--space-sm);
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--turquoise);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.4s var(--ease-out);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(var(--deep-ocean-rgb), 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 42px;
  width: auto;
  border-radius: 50%;
}

.nav-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sandy-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(var(--sandy-white-rgb), 0.7);
  border-radius: 8px;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sandy-white);
  background: rgba(var(--turquoise-rgb), 0.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: rgba(var(--sandy-white-rgb), 0.08);
  border: 1px solid rgba(var(--sandy-white-rgb), 0.12);
  border-radius: 8px;
  color: var(--sandy-white);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.lang-btn:hover {
  background: rgba(var(--turquoise-rgb), 0.15);
  border-color: rgba(var(--turquoise-rgb), 0.3);
}

.lang-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-out);
}

.lang-switcher.open .lang-btn svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: rgba(var(--deep-ocean-rgb), 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-card);
}

.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: none;
  color: rgba(var(--sandy-white-rgb), 0.7);
  font-size: 0.85rem;
  border-radius: 8px;
  transition: all 0.2s var(--ease-out);
}

.lang-dropdown button:hover,
.lang-dropdown button.active {
  background: rgba(var(--turquoise-rgb), 0.15);
  color: var(--sandy-white);
}

.lang-dropdown button.active {
  color: var(--turquoise);
}

/* Nav CTA */
.nav-cta {
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--posidonia-green), var(--turquoise));
  color: var(--deep-ocean) !important;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 25px;
  transition: all 0.3s var(--ease-out);
  box-shadow: var(--shadow-glow-green);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(45, 138, 110, 0.5);
  color: var(--deep-ocean) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--sandy-white);
  transition: all 0.3s var(--ease-out);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--posidonia-green), #35a882);
  color: white;
  box-shadow: var(--shadow-glow-green);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(45, 138, 110, 0.5);
  color: white;
}

.btn-coral {
  background: linear-gradient(135deg, var(--coral), #ff8e8e);
  color: white;
  box-shadow: var(--shadow-glow-coral);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.btn-coral:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(255, 107, 107, 0.5);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--sandy-white);
  border: 2px solid rgba(var(--sandy-white-rgb), 0.3);
}

.btn-outline:hover {
  border-color: var(--turquoise);
  color: var(--turquoise);
  background: rgba(var(--turquoise-rgb), 0.08);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1.1rem 3rem;
  font-size: 1.15rem;
}

/* --- Cards (Glassmorphism) --- */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: var(--space-lg);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--turquoise-rgb), 0.3), transparent);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--turquoise-rgb), 0.3);
  box-shadow: var(--shadow-glow-turquoise);
}

.glass-card .card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(var(--turquoise-rgb), 0.1);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.glass-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.glass-card p {
  font-size: 0.92rem;
  color: rgba(var(--sandy-white-rgb), 0.65);
}

/* --- Hero Section --- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero-posidonia.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--deep-ocean-rgb), 0.7) 0%,
    rgba(13, 48, 84, 0.4) 60%,
    rgba(var(--deep-ocean-rgb), 0.95) 100%
  );
}

#particle-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-lg);
}

.hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(var(--turquoise-rgb), 0.2),
              0 0 120px rgba(var(--posidonia-green-rgb), 0.1);
  animation: float 4s ease-in-out infinite;
}

.hero-title {
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(var(--sandy-white-rgb), 0.7);
  margin-bottom: var(--space-xl);
  font-weight: 300;
}

.hero-counter {
  margin-bottom: var(--space-xl);
}

.counter-value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--turquoise), var(--posidonia-green), var(--turquoise));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
  line-height: 1;
}

.counter-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(var(--sandy-white-rgb), 0.5);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 0.5rem;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Wave Separator --- */
.wave-separator {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.wave-separator svg {
  width: 100%;
  height: auto;
  display: block;
}

.wave-separator.flip {
  transform: rotate(180deg);
  margin-bottom: -1px;
  margin-top: 0;
}

/* --- Posidonia Section --- */
#posidonia {
  background: url('assets/posidonia-light-bg.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

#posidonia::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.45);
  z-index: 0;
}

#posidonia .container {
  position: relative;
  z-index: 1;
}

.posidonia-hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--card-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.stat-card .stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--turquoise);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: rgba(var(--sandy-white-rgb), 0.6);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.comparison-card {
  text-align: center;
  padding: var(--space-md);
}

.comparison-card .comp-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--posidonia-green);
}

.comparison-card .comp-label {
  font-size: 0.85rem;
  color: rgba(var(--sandy-white-rgb), 0.6);
  margin-top: 0.25rem;
}

.comparison-card .comp-percent {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(var(--posidonia-green-rgb), 0.15);
  color: var(--posidonia-green);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* --- Threats Section --- */
#threats {
  background: url('assets/posidonia-threats-bg.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

#threats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 53, 0.92); /* Dark surface overlay */
  z-index: 0;
}

#threats .container {
  position: relative;
  z-index: 1;
}

.threats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.threat-card {
  background: rgba(255, 107, 107, 0.05);
  border-color: rgba(255, 107, 107, 0.12);
}

.threat-card .card-icon {
  background: rgba(255, 107, 107, 0.1);
}

.threat-card:hover {
  border-color: rgba(255, 107, 107, 0.3);
  box-shadow: 0 0 30px rgba(255, 107, 107, 0.15);
}

.threat-banner {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.15);
  border-radius: 16px;
}

.threat-banner p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--coral);
  margin: 0 auto;
}

/* --- Project Section --- */
#project {
  background: url('assets/posidonia-light-bg.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

#project::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.45);
  z-index: 0;
}

#project .container {
  position: relative;
  z-index: 1;
}

.winning-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.project-feature-card {
  text-align: left;
  border-top: 3px solid var(--posidonia-green);
}

.project-feature-card h4 {
  color: var(--posidonia-green);
  margin-bottom: 0.5rem;
}

.project-feature-card .grant-amount {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(var(--turquoise-rgb), 0.1);
  color: var(--turquoise);
  border-radius: 20px;
  font-size: 0.8rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 1rem;
}

.winning-projects-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.project-detailed-card {
  text-align: left;
  border-left: 4px solid var(--posidonia-green);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.project-detailed-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.project-year-badge {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--deep-ocean);
  background-color: var(--posidonia-green);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.project-detailed-header h4 {
  color: var(--posidonia-green);
  font-size: 1.4rem;
  margin: 0;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.project-meta span {
  display: inline-flex;
  align-items: center;
  background: rgba(var(--turquoise-rgb), 0.1);
  color: var(--turquoise);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.project-meta .project-award {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
}

.project-detailed-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(var(--sandy-white-rgb), 0.85);
  margin-bottom: var(--space-sm);
}

.project-detailed-body .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.project-intro {
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.project-intro p {
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Timeline */
.timeline {
  position: relative;
  padding: var(--space-lg) 0;
  margin-bottom: var(--space-xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--turquoise), var(--posidonia-green));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding: var(--space-sm) 0;
  display: flex;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 30px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 30px);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  width: 16px;
  height: 16px;
  background: var(--turquoise);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(var(--turquoise-rgb), 0.4);
  z-index: 2;
}

.timeline-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: var(--space-md);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--turquoise);
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.timeline-content h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.timeline-content p {
  font-size: 0.85rem;
}

/* Actions Grid */

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

/* --- Sponsor Section (Apadrina) --- */
#sponsor {
  background: url('assets/posidonia-sponsor-bg.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

#sponsor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.45);
  z-index: 0;
}

#sponsor .container {
  position: relative;
  z-index: 1;
}

.sponsor-highlight {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.sponsor-highlight h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-sm);
}

.sponsor-quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--turquoise);
  margin-bottom: var(--space-lg);
}

/* Calculator */
.calculator-card {
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-xl);
  background: rgba(var(--posidonia-green-rgb), 0.08);
  border-color: rgba(var(--posidonia-green-rgb), 0.2);
}

.calculator-card h3 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.quick-picks {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.quick-pick-btn {
  padding: 0.6rem 1.5rem;
  background: rgba(var(--posidonia-green-rgb), 0.15);
  border: 1px solid rgba(var(--posidonia-green-rgb), 0.3);
  color: var(--posidonia-green);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease-out);
}

.quick-pick-btn:hover,
.quick-pick-btn.active {
  background: var(--posidonia-green);
  color: white;
  box-shadow: var(--shadow-glow-green);
}

.slider-container {
  margin-bottom: var(--space-lg);
}

.slider-value {
  text-align: center;
  margin-bottom: var(--space-sm);
}

.slider-value .amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--posidonia-green);
}

.slider-value .currency {
  font-size: 1.5rem;
  color: rgba(var(--sandy-white-rgb), 0.5);
}

.slider-label {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(var(--sandy-white-rgb), 0.6);
  margin-top: 0.5rem;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--posidonia-green) 0%, rgba(var(--sandy-white-rgb), 0.15) 0%);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--posidonia-green);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(var(--posidonia-green-rgb), 0.4);
  border: 3px solid white;
  transition: transform 0.2s var(--ease-out);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--posidonia-green);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(var(--posidonia-green-rgb), 0.4);
  border: 3px solid white;
}

.comparison-text {
  text-align: center;
  font-size: 0.95rem;
  color: rgba(var(--sandy-white-rgb), 0.6);
  margin-bottom: var(--space-md);
}

.comparison-text strong {
  color: var(--turquoise);
}

.sponsor-cta {
  text-align: center;
  margin-bottom: var(--space-lg);
}

/* Bank Info Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--deep-ocean-rgb), 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease-out);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  max-width: 500px;
  width: 90%;
  text-align: center;
  transform: translateY(30px);
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(var(--sandy-white-rgb), 0.1);
  border: none;
  color: var(--sandy-white);
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(var(--sandy-white-rgb), 0.2);
}

.modal-content h4 {
  margin-bottom: var(--space-sm);
  padding-right: 20px;
}

.iban-display {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(var(--sandy-white-rgb), 0.05);
  border: 1px solid rgba(var(--sandy-white-rgb), 0.15);
  border-radius: 12px;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.copy-btn {
  padding: 0.4rem 0.8rem;
  background: rgba(var(--turquoise-rgb), 0.15);
  color: var(--turquoise);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s var(--ease-out);
}

.copy-btn:hover {
  background: var(--turquoise);
  color: var(--deep-ocean);
}

.copy-btn.copied {
  background: var(--posidonia-green);
  color: white;
}

/* Modificado para limpiar código antiguo pero mantener animaciones a Testimonios debajo */

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.testimonial-card {
  padding: var(--space-md);
}

.testimonial-card .stars {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.testimonial-card blockquote {
  font-size: 0.9rem;
  color: rgba(var(--sandy-white-rgb), 0.7);
  font-style: italic;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.testimonial-card cite {
  font-size: 0.8rem;
  color: var(--turquoise);
  font-style: normal;
  font-weight: 600;
}

/* --- Wall Section --- */
#wall {
  background: url('assets/deep-posidonia-bg.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

#wall::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(var(--deep-ocean-rgb), 0.85);
  z-index: 0;
}

#wall .container {
  position: relative;
  z-index: 1;
}

.wall-tier {
  margin-bottom: var(--space-xl);
}

.tier-label {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.tier-label.gold {
  background: rgba(240, 165, 0, 0.15);
  color: var(--gold);
  border: 1px solid rgba(240, 165, 0, 0.3);
}

.tier-label.silver {
  background: rgba(192, 192, 192, 0.1);
  color: #c0c0c0;
  border: 1px solid rgba(192, 192, 192, 0.2);
}

.tier-label.bronze {
  background: rgba(176, 141, 87, 0.1);
  color: #b08d57;
  border: 1px solid rgba(176, 141, 87, 0.2);
}

.wall-grid {
  display: grid;
  gap: var(--space-sm);
}

.wall-grid.tier-1 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wall-grid.tier-2 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.wall-grid.tier-3 {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.wall-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  transition: all 0.3s var(--ease-out);
}

.wall-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--turquoise-rgb), 0.3);
}

.wall-card .sponsor-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.wall-card .sponsor-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--turquoise);
}

.wall-card.tier-1 .sponsor-amount {
  color: var(--gold);
  font-size: 1.3rem;
}

/* --- Contact Section --- */
#contact {
  background: url('assets/posidonia-sponsor-bg.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.45);
  z-index: 0;
}

#contact .container {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-info h3 {
  margin-bottom: var(--space-md);
}

.contact-info p {
  margin-bottom: var(--space-sm);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: var(--turquoise);
  margin-bottom: var(--space-lg);
}

.contact-logos {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  margin-top: var(--space-lg);
}

.contact-logos img {
  height: 50px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.contact-logos img:hover {
  opacity: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(var(--sandy-white-rgb), 0.6);
}

.form-group input,
.form-group textarea {
  padding: 0.85rem 1rem;
  background: rgba(var(--sandy-white-rgb), 0.05);
  border: 1px solid rgba(var(--sandy-white-rgb), 0.12);
  border-radius: 12px;
  color: var(--sandy-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-out);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--turquoise);
  box-shadow: 0 0 20px rgba(var(--turquoise-rgb), 0.1);
}

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

/* --- Footer --- */
.footer {
  background: var(--deep-ocean);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-lg) 0;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-left img {
  height: 32px;
  opacity: 0.7;
}

.footer-left span {
  font-size: 0.85rem;
  color: rgba(var(--sandy-white-rgb), 0.5);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(var(--sandy-white-rgb), 0.4);
}

.footer-links a:hover {
  color: var(--turquoise);
}

/* --- Animations --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  50% { background-position: 200% center; }
  100% { background-position: 0% center; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 107, 0.3); }
  50% { box-shadow: 0 0 40px rgba(255, 107, 107, 0.5), 0 0 80px rgba(255, 107, 107, 0.2); }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; }
.animate-on-scroll.delay-7 { transition-delay: 0.7s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--deep-ocean-rgb), 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-lg);
    gap: 0.5rem;
    z-index: 999;
    animation: fade-in-up 0.3s var(--ease-out);
  }

  .nav-links.mobile-open a {
    font-size: 1.1rem;
    padding: 0.75rem;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .timeline-dot {
    left: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-xl) 0;
  }

  .hero-logo {
    width: 110px;
    height: 110px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .threats-grid {
    grid-template-columns: 1fr;
  }

  .wall-grid.tier-1 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

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

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .quick-picks {
    flex-direction: column;
    align-items: stretch;
  }

  .iban-display {
    flex-direction: column;
    font-size: 0.85rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .wall-grid.tier-1,
  .wall-grid.tier-2 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   NEW FEATURES — Progress Bar, Regression, 
   Forum, Docs, Share, Map
   ============================================ */

/* --- Hero Progress Bar --- */
.hero-progress {
  width: 100%;
  max-width: 400px;
  margin: var(--space-sm) auto 0;
}
.progress-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.progress-bar-fill {
  height: 100%;
  width: 0.33%;
  background: linear-gradient(90deg, var(--posidonia-green), var(--turquoise));
  border-radius: 10px;
  position: relative;
  animation: progressPulse 3s ease-in-out infinite;
  transition: width 2s ease;
}
.progress-bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 12px;
  height: 12px;
  background: var(--turquoise);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--turquoise), 0 0 20px rgba(30,203,225,0.4);
  animation: progressDot 2s ease-in-out infinite;
}
@keyframes progressPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}
@keyframes progressDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(240,236,226,0.5);
  margin-top: 4px;
}

/* --- Regression Block (Oceansnell) --- */
.regression-block {
  margin-top: var(--space-lg);
  padding: var(--space-md);
}
.regression-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.regression-header h3 {
  font-size: 1.2rem;
  color: var(--coral);
}
.regression-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: var(--space-md) 0;
}
.regression-item {
  display: grid;
  grid-template-columns: 140px 1fr 50px;
  align-items: center;
  gap: 12px;
}
.regression-label {
  font-size: 0.85rem;
  color: var(--sandy-white);
  text-align: right;
}
.regression-bar-track {
  height: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
}
.regression-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1.5s ease;
}
.regression-bar-fill.critical { background: linear-gradient(90deg, #ff4444, #ff6b6b); }
.regression-bar-fill.high { background: linear-gradient(90deg, #ff8800, #ffaa44); }
.regression-bar-fill.medium { background: linear-gradient(90deg, #f0a500, #ffc855); }
.regression-pct {
  font-weight: 700;
  font-size: 1rem;
  color: var(--coral);
}
.regression-sources {
  font-size: 0.75rem;
  color: rgba(240,236,226,0.5);
  margin-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: var(--space-sm);
}
.regression-sources a {
  color: var(--turquoise);
  text-decoration: underline;
}

/* --- Docs Panel (BOIB) --- */
.docs-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease, margin 0.5s ease;
  margin-top: 0;
  padding: 0 var(--space-md);
}
.docs-panel.open {
  max-height: 800px;
  padding: var(--space-md);
  margin-top: var(--space-md);
}
.docs-panel h4 {
  margin-bottom: var(--space-sm);
  color: var(--turquoise);
}
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.doc-link {
  display: block;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(30,203,225,0.1);
  border-radius: 10px;
  color: var(--sandy-white);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}
.doc-link:hover {
  background: rgba(30,203,225,0.1);
  border-color: var(--turquoise);
  transform: translateY(-2px);
}

/* --- Forum Posidonia Section --- */
.forum-card {
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}
.forum-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}
.forum-year {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--turquoise);
  line-height: 1;
  min-width: 80px;
  text-shadow: 0 0 20px rgba(30,203,225,0.3);
}
.forum-header h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.forum-lema {
  color: var(--posidonia-green);
  font-style: italic;
  font-size: 0.95rem;
}
.forum-details > p {
  color: rgba(240,236,226,0.8);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}
.forum-speakers {
  margin-top: var(--space-sm);
}
.forum-speakers h4 {
  color: var(--turquoise);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.speakers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.speaker-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(30,203,225,0.08);
  border: 1px solid rgba(30,203,225,0.15);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--sandy-white);
  transition: all 0.3s ease;
}
.speaker-tag:hover {
  background: rgba(30,203,225,0.18);
  border-color: var(--turquoise);
  transform: translateY(-1px);
}
.forum-blocks {
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.forum-block-item {
  padding: 10px 14px;
  background: rgba(45,138,110,0.08);
  border-left: 3px solid var(--posidonia-green);
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  color: rgba(240,236,226,0.85);
}

/* --- Formentera Map --- */
.map-container {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.formentera-map {
  width: 100%;
  height: auto;
  display: block;
}
.island-shape {
  filter: drop-shadow(0 0 10px rgba(196,165,116,0.3));
}
.posidonia-glow {
  animation: glowPulse 4s ease-in-out infinite;
}
.posidonia-glow.delay-1 { animation-delay: 2s; }
.posidonia-dot {
  animation: dotFloat 3s ease-in-out infinite;
}
.posidonia-dot.delay-1 { animation-delay: 1s; }
.posidonia-dot.delay-2 { animation-delay: 2s; }
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
@keyframes dotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* --- Floating Share Button --- */
.floating-share {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}
.share-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--posidonia-green), var(--turquoise));
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(30,203,225,0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.share-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(30,203,225,0.6);
}
.share-options {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.floating-share.active .share-options {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.share-option {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sandy-white);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.share-option:hover {
  background: rgba(30,203,225,0.2);
  border-color: var(--turquoise);
  transform: scale(1.15);
}

/* --- Footer Social --- */
.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sandy-white);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-btn:hover {
  background: rgba(30,203,225,0.15);
  border-color: var(--turquoise);
  color: var(--turquoise);
}

/* --- Responsive for new features --- */
@media (max-width: 768px) {
  .regression-item {
    grid-template-columns: 100px 1fr 40px;
    gap: 8px;
  }
  .regression-label { font-size: 0.75rem; }
  .forum-header { flex-direction: column; }
  .forum-year { font-size: 2rem; }
  .docs-grid { grid-template-columns: 1fr; }
  .floating-share { bottom: 20px; right: 20px; }
  .share-fab { width: 48px; height: 48px; font-size: 1.2rem; }
  .footer .container { flex-direction: column; text-align: center; }
  .footer-social { justify-content: center; }
}
