/*
Theme Name: Triumf Chess Club
Description: Tema oficială pentru Triumf Chess Club Costești
Version: 1.0
Author: Triumf Chess Club
*/

/* === CSS VARIABLES & RESET === */
:root {
  --green-900: #0D3B1E;
  --green-800: #14532D;
  --green-700: #166534;
  --green-600: #1B7A3D;
  --green-500: #22963E;
  --green-100: #DCFCE7;
  --green-50: #F0FDF4;
  --gold-500: #C5960D;
  --gold-400: #D4A517;
  --gold-300: #E0B832;
  --gold-100: #FDF0B8;
  --ivory: #FDFCF8;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* === UTILITY === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--gold-500);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.7;
}
/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === NAVIGATION === */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(253,252,248,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, background 0.3s;
}
#navbar.scrolled {
  background: rgba(253,252,248,0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-brand .brand-icon {
  width: 40px; height: 40px;
  background: var(--green-800);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--gold-400);
  box-shadow: 0 2px 8px rgba(13,59,30,0.3);
}
.nav-brand .brand-text {
  display: flex; flex-direction: column; line-height: 1.15;
}
.nav-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--green-900);
}
.nav-brand .brand-slogan {
  font-size: 0.65rem; color: var(--gold-500);
  letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 600;
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  text-decoration: none; color: var(--gray-600);
  font-size: 0.88rem; font-weight: 500;
  padding: 8px 16px; border-radius: 8px;
  transition: all 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--green-800);
  background: var(--green-50);
}
.nav-links .nav-cta {
  background: var(--green-800);
  color: var(--white) !important;
  padding: 8px 20px;
  font-weight: 600;
  margin-left: 8px;
}
.nav-links .nav-cta:hover {
  background: var(--green-700);
}
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  width: 24px; height: 2px;
  background: var(--green-900);
  transition: all 0.3s;
  border-radius: 2px;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-hamburger.open span:nth-child(2) { opacity:0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
@media(max-width:768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 72px; left:0; right:0;
    background: rgba(253,252,248,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column; padding: 16px 24px 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.35s ease;
    border-bottom: 1px solid var(--gray-200);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .nav-links .nav-cta { margin-left: 0; text-align: center; }
}

/* === HERO === */
#acasa {
  min-height: 100vh;
  padding-top: 72px;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(168deg, var(--ivory) 0%, var(--green-50) 50%, var(--ivory) 100%);
}
.hero-grid-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--green-800) 1px, transparent 1px),
    linear-gradient(90deg, var(--green-800) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-piece-float {
  position: absolute;
  font-size: 8rem;
  color: var(--green-800);
  opacity: 0.04;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}
.hero-piece-float:nth-child(2) { top: 10%; right: 8%; font-size: 10rem; animation-delay: -5s; }
.hero-piece-float:nth-child(3) { bottom: 15%; left: 5%; font-size: 7rem; animation-delay: -10s; }
.hero-piece-float:nth-child(4) { top: 60%; right: 25%; font-size: 5rem; animation-delay: -15s; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(3deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
  75% { transform: translateY(-25px) rotate(1deg); }
}
.hero-content {
  max-width: 1200px; margin: 0 auto; padding: 60px 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 2;
}
.hero-left { }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--green-700);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .badge-dot {
  width: 8px; height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--green-900);
  margin-bottom: 4px;
  white-space: nowrap;
}
/* Business card wrapper */
.hero-card {
  margin-bottom: 24px;
  display: inline-block;
  max-width: 100%;
}
.hero-card-inner {
  background: linear-gradient(135deg, rgba(13,59,30,0.06) 0%, rgba(212,160,23,0.08) 100%);
  border: 1.5px solid rgba(13,59,30,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 36px 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(13,59,30,0.06), inset 0 1px 0 rgba(255,255,255,0.5);
}
.hero-card-inner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-800), var(--gold-500), var(--green-800));
}
.hero-card-inner::after {
  content: '♔';
  position: absolute;
  top: 16px; right: 20px;
  font-size: 2.5rem;
  color: var(--green-800);
  opacity: 0.06;
  pointer-events: none;
}
.hero-card .hero-title {
  margin-bottom: 2px;
}
.hero-card .hero-slogan {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-style: italic;
  color: var(--gold-500);
  margin-bottom: 6px;
  font-weight: 400;
  line-height: 1.08;
  white-space: nowrap;
}
.hero-card .hero-location {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--green-900);
  font-style: normal;
  margin-bottom: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--green-800);
  color: var(--white);
  border: none; border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(13,59,30,0.25);
}
.btn-primary:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,59,30,0.3);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--green-800);
  border: 1.5px solid var(--green-200, #BBF7D0);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-secondary:hover {
  background: var(--green-50);
  border-color: var(--green-600);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.hero-stat {
  display: flex; flex-direction: column;
}
.hero-stat .stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700;
  color: var(--green-900);
  line-height: 1.2;
}
.hero-stat .stat-label {
  font-size: 0.78rem; color: var(--gray-400);
  font-weight: 500;
}
/* Hero right -- image */
.hero-right {
  display: flex; justify-content: center; align-items: center;
}
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.06);
  max-width: 480px;
  width: 100%;
}
.hero-image-wrapper::before {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 23px;
  background: linear-gradient(135deg, var(--gold-400), var(--green-600));
  z-index: -1;
  opacity: 0.4;
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.6s ease;
}
.hero-image-wrapper:hover .hero-image {
  transform: scale(1.03);
}
/* Hero announcement overlay — full height, left side, narrow */
.hero-anons {
  position: absolute;
  top: 5px; left: 5px; bottom: 5px;
  width: 38%;
  max-width: 200px;
  background: rgba(13,59,30,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 18px 16px;
  color: var(--white);
  border: 1px solid rgba(212,160,23,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: anonsSlideIn 0.6s ease 0.5s both;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
@keyframes anonsSlideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
.hero-anons-label {
  display: inline-block;
  padding: 2px 10px;
  background: var(--gold-500);
  color: var(--green-900);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.hero-anons p {
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0 0 8px;
  color: rgba(255,255,255,0.92);
  flex: 1;
}
.hero-anons-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-400);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
  flex-shrink: 0;
  margin-top: auto;
}
.hero-anons-link:hover { gap: 8px; }
@media(max-width:768px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-card { display: block; }
  .hero-card-inner { padding: 20px 18px 18px; }
  .hero-card .hero-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    white-space: normal;
  }
  .hero-card .hero-slogan {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    white-space: normal;
  }
  .hero-card .hero-location {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
  }
  .hero-card-inner::after { font-size: 1.8rem; top: 10px; right: 12px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-anons {
    position: relative;
    top: auto; right: auto; bottom: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    max-height: none;
    overflow-y: visible;
  }
}

/* === COURSES === */
#cursuri {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
#cursuri::before {
  content: ''; position: absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--green-100), var(--gold-100), var(--green-100), transparent);
}
.courses-header { text-align: center; margin-bottom: 60px; }
.courses-header .section-subtitle { margin: 0 auto; }
.courses-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-bottom: 60px;
}
.course-card {
  background: var(--ivory);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute; top:0; left:0; right:0; height: 4px;
  background: var(--green-600);
  transform: scaleX(0);
  transition: transform 0.35s;
  transform-origin: left;
}
.course-card:hover::before { transform: scaleX(1); }
.course-card:hover {
  border-color: var(--green-200, #BBF7D0);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.course-card.intermediar::before { background: var(--gold-500); }
.course-card.avansat::before { background: var(--green-900); }
.course-level-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.badge-incepator { background: var(--green-100); color: var(--green-700); }
.badge-intermediar { background: var(--gold-100); color: var(--gold-500); }
.badge-avansat { background: var(--green-900); color: var(--gold-400); }
.course-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--green-900);
  margin-bottom: 12px;
}
.course-card .course-desc {
  font-size: 0.9rem; color: var(--gray-500);
  margin-bottom: 20px; line-height: 1.7;
}
.course-topics {
  list-style: none; margin-bottom: 24px;
}
.course-topics li {
  font-size: 0.85rem; color: var(--gray-600);
  padding: 6px 0;
  display: flex; align-items: center; gap: 10px;
}
.course-topics li::before {
  content: '\265F'; font-size: 0.75rem; color: var(--green-600);
}
.course-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; border-top: 1px solid var(--gray-200);
}
.course-meta .lesson-count {
  font-size: 0.82rem; color: var(--gray-400); font-weight: 600;
}
.course-progress {
  width: 100%; height: 4px;
  background: var(--gray-200);
  border-radius: 100px;
  margin-top: 12px;
  overflow: hidden;
}
.course-progress .bar {
  height: 100%; border-radius: 100px;
  background: var(--green-600);
  transition: width 1s ease;
}
.btn-course {
  padding: 10px 22px;
  background: var(--green-800);
  color: var(--white);
  border: none; border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-course:hover { background: var(--green-700); }
/* Poziția Zilei */
.pozitia-zilei {
  background: var(--ivory);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pozitia-zilei::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--gold-500), var(--green-600));
}
.pz-header { margin-bottom: 24px; }
.pz-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--gold-100);
  color: var(--gold-500);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pozitia-zilei h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--green-900);
}
.pz-content { max-width: 500px; margin: 0 auto; }
.pz-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-200);
}
.pz-image-wrap img {
  width: 100%; height: auto; display: block;
}
.pz-placeholder {
  background: linear-gradient(135deg, var(--green-50), var(--gold-100));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 24px;
  border: 2px dashed var(--gray-300);
  box-shadow: none;
}
.pz-placeholder-board {
  font-size: 2.5rem; margin-bottom: 16px;
  display: flex; gap: 8px;
  color: var(--green-800);
  opacity: 0.4;
}
.pz-placeholder-text {
  font-size: 0.88rem; color: var(--gray-500);
  line-height: 1.5;
}
.pz-question {
  padding: 16px 20px;
  background: var(--green-50);
  border-radius: 10px;
  border-left: 4px solid var(--green-600);
  margin-bottom: 16px;
}
.pz-question p {
  font-size: 1rem; color: var(--green-900);
  font-weight: 600; line-height: 1.5;
  margin: 0;
}
.pz-answer-wrap { text-align: center; }
.pz-reveal-btn {
  padding: 10px 24px;
  background: var(--gold-500);
  color: var(--white);
  border: none; border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.pz-reveal-btn:hover { background: var(--gold-400); }
.pz-answer {
  margin-top: 14px;
  padding: 14px 18px;
  background: var(--gold-100);
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--green-900);
  font-weight: 600;
  line-height: 1.5;
  display: none;
}
.pz-answer.show { display: block; }
@media(max-width:768px) {
  .courses-grid { grid-template-columns: 1fr; }
}

/* === TESTS === */
#teste {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--green-50) 0%, var(--ivory) 100%);
  position: relative;
}
.tests-header { text-align: center; margin-bottom: 50px; }
.tests-header .section-subtitle { margin: 0 auto; }
.difficulty-tabs {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 40px;
}
.diff-tab {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.2s;
}
.diff-tab:hover { border-color: var(--green-600); color: var(--green-700); }
.diff-tab.active {
  background: var(--green-800); color: var(--white);
  border-color: var(--green-800);
}
.quiz-score-bar {
  display: flex; justify-content: center; gap: 32px;
  margin-bottom: 40px;
  padding: 16px 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  width: fit-content; margin-left: auto; margin-right: auto;
}
.score-item {
  display: flex; flex-direction: column; align-items: center;
}
.score-item .score-val {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; color: var(--green-900);
}
.score-item .score-lbl {
  font-size: 0.72rem; color: var(--gray-400); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
}
.quiz-container {
  max-width: 700px; margin: 0 auto;
}
.quiz-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.quiz-card .quiz-number {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 16px;
}
.quiz-card .quiz-question {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  color: var(--green-900); margin-bottom: 8px;
  line-height: 1.4;
}
.quiz-card .quiz-position {
  font-size: 0.88rem; color: var(--gray-500);
  margin-bottom: 24px; line-height: 1.6;
  padding: 12px 16px;
  background: var(--green-50);
  border-radius: 8px;
  border-left: 3px solid var(--green-600);
}
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt {
  padding: 14px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
  text-align: left;
  display: flex; align-items: center; gap: 12px;
}
.quiz-opt .opt-letter {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; color: var(--gray-500);
  flex-shrink: 0;
  transition: all 0.2s;
}
.quiz-opt:hover {
  border-color: var(--green-600);
  background: var(--green-50);
}
.quiz-opt:hover .opt-letter {
  background: var(--green-600); color: var(--white);
}
.quiz-opt.correct {
  border-color: #22C55E; background: #F0FDF4;
}
.quiz-opt.correct .opt-letter { background: #22C55E; color: #fff; }
.quiz-opt.wrong {
  border-color: #EF4444; background: #FEF2F2;
}
.quiz-opt.wrong .opt-letter { background: #EF4444; color: #fff; }
.quiz-opt.disabled { pointer-events: none; opacity: 0.6; }
.quiz-explanation {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.6;
  display: none;
}
.quiz-explanation.show { display: block; }
.quiz-explanation.correct-exp {
  background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534;
}
.quiz-explanation.wrong-exp {
  background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B;
}

/* === NEWS === */
#stiri {
  padding: 100px 0;
  background: var(--white);
}
.news-header { text-align: center; margin-bottom: 60px; }
.news-header .section-subtitle { margin: 0 auto; }
.news-layout {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 32px;
}
.news-feed { display: flex; flex-direction: column; gap: 20px; }
.news-card {
  background: var(--ivory);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-200, #BBF7D0);
  transform: translateX(4px);
}
.news-card-top {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.news-date {
  font-size: 0.78rem; color: var(--gray-400); font-weight: 500;
}
.news-tag {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.tag-turneu { background: var(--gold-100); color: var(--gold-500); }
.tag-club { background: var(--green-100); color: var(--green-700); }
.tag-interviu { background: #EDE9FE; color: #7C3AED; }
.tag-analiza { background: #FEE2E2; color: #DC2626; }
.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 700;
  color: var(--green-900); margin-bottom: 8px;
  line-height: 1.35;
}
.news-card p {
  font-size: 0.88rem; color: var(--gray-500);
  line-height: 1.65; margin-bottom: 14px;
}
.news-link {
  font-size: 0.82rem; font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.news-link:hover { gap: 10px; }
/* Calendar sidebar */
.calendar-sidebar {
  background: var(--ivory);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: fit-content;
  position: sticky; top: 96px;
}
.calendar-sidebar h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--green-900); margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.cal-event {
  display: flex; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}
.cal-event:last-child { border-bottom: none; }
.cal-date-box {
  width: 48px; min-width: 48px; height: 52px;
  background: var(--green-800);
  border-radius: 10px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--white);
}
.cal-date-box .cal-day {
  font-size: 1.1rem; font-weight: 700; line-height: 1.1;
}
.cal-date-box .cal-month {
  font-size: 0.6rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  opacity: 0.8;
}
.cal-info .cal-title {
  font-size: 0.85rem; font-weight: 600;
  color: var(--green-900); line-height: 1.35;
}
.cal-info .cal-loc {
  font-size: 0.75rem; color: var(--gray-400);
}
@media(max-width:768px) {
  .news-layout { grid-template-columns: 1fr; }
}

/* === AUTH === */
#auth {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--green-50) 100%);
}
.auth-wrapper {
  max-width: 480px; margin: 0 auto;
}
.auth-header { text-align: center; margin-bottom: 40px; }
.auth-header .section-subtitle { margin: 0 auto; }
.auth-toggle {
  display: flex;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 32px;
}
.auth-toggle-btn {
  flex:1; padding: 12px;
  border: none; border-radius: 9px;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  color: var(--gray-400);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
}
.auth-toggle-btn.active {
  background: var(--green-800);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(13,59,30,0.2);
}
.auth-form-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.82rem; font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--ivory);
  transition: all 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(22,101,52,0.1);
}
.btn-auth {
  width: 100%;
  padding: 14px;
  background: var(--green-800);
  color: var(--white);
  border: none; border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}
.btn-auth:hover { background: var(--green-700); }
.auth-forgot {
  display: block; text-align: center;
  font-size: 0.82rem; color: var(--green-700);
  text-decoration: none;
  margin-top: 16px; font-weight: 500;
}
.auth-forgot:hover { text-decoration: underline; }
.auth-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 24px 0;
  font-size: 0.8rem; color: var(--gray-400);
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex:1; height:1px; background: var(--gray-200);
}
.social-btns { display: flex; gap: 12px; }
.social-btn {
  flex:1; padding: 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem; font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.social-btn:hover { border-color: var(--gray-300); background: var(--gray-50); }

/* === PRICING === */
#abonamente {
  padding: 100px 0;
  background: var(--white);
}
.pricing-header { text-align: center; margin-bottom: 60px; }
.pricing-header .section-subtitle { margin: 0 auto; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px;
  max-width: 960px; margin: 0 auto;
}
.pricing-card {
  background: var(--ivory);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all 0.35s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  background: var(--green-900);
  border-color: var(--green-800);
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.pricing-card.featured * { color: rgba(255,255,255,0.85); }
.pricing-card.featured h3 { color: var(--white); }
.pricing-card.featured .price-val { color: var(--gold-400); }
.pricing-badge-popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold-500);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--green-900); margin-bottom: 8px;
}
.pricing-card .price-row {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 24px;
}
.price-val {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 700;
  color: var(--green-900);
  line-height: 1;
}
.price-currency { font-size: 1rem; font-weight: 600; color: var(--gray-400); }
.price-period { font-size: 0.82rem; color: var(--gray-400); }
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 0.88rem;
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li .check {
  width: 20px; height: 20px;
  background: var(--green-100);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--green-700);
  flex-shrink: 0;
}
.pricing-card.featured .check {
  background: rgba(255,255,255,0.15);
  color: var(--gold-400);
}
.btn-pricing {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-pricing.primary {
  background: var(--gold-500);
  color: var(--white);
}
.btn-pricing.primary:hover { background: var(--gold-400); }
.btn-pricing.outline {
  background: transparent;
  border: 1.5px solid var(--gray-300);
  color: var(--green-800);
}
.btn-pricing.outline:hover { border-color: var(--green-600); background: var(--green-50); }
.pricing-card.featured .btn-pricing.outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.pricing-card.featured .btn-pricing.outline:hover {
  background: rgba(255,255,255,0.1);
}
@media(max-width:768px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
}

/* === CONTACT FORM === */
#contact {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--green-50) 0%, var(--ivory) 100%);
  position: relative;
}
#contact::before {
  content: ''; position: absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--green-100), var(--gold-100), var(--green-100), transparent);
}
.contact-wrapper {
  max-width: 600px; margin: 0 auto;
}
.contact-header { text-align: center; margin-bottom: 40px; }
.contact-header .section-subtitle { margin: 0 auto; }
.contact-form-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.contact-form-box .wpcf7-form label {
  display: block;
  font-size: 0.82rem; font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.contact-form-box .wpcf7-form input[type="text"],
.contact-form-box .wpcf7-form input[type="email"],
.contact-form-box .wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--ivory);
  transition: all 0.2s;
  outline: none;
  margin-bottom: 16px;
}
.contact-form-box .wpcf7-form input:focus,
.contact-form-box .wpcf7-form textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(22,101,52,0.1);
}
.contact-form-box .wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 14px;
  background: var(--green-800);
  color: var(--white);
  border: none; border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}
.contact-form-box .wpcf7-form input[type="submit"]:hover {
  background: var(--green-700);
}
.contact-form-box .wpcf7-response-output {
  border-radius: 8px !important;
  margin: 16px 0 0 !important;
  font-size: 0.88rem;
}
.contact-selected-plan {
  background: var(--gold-100);
  border: 1px solid var(--gold-300);
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--green-900);
  font-weight: 600;
  display: none;
}
.contact-selected-plan.show { display: block; }

/* === FOOTER === */
#footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-brand .footer-slogan {
  font-size: 0.82rem; color: var(--gold-400);
  font-style: italic; margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.85rem; line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold-400); }
.footer-social {
  display: flex; gap: 10px; margin-top: 20px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--gold-500);
  color: var(--white);
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.8rem;
}
.footer-bottom .footer-tagline-heart { color: #EF4444; }
@media(max-width:768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* === BLITZ — GALERIE FOTO === */
#blitz {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--green-50) 50%, var(--ivory) 100%);
  position: relative;
}
#blitz::before {
  content: ''; position: absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--green-100), var(--gold-100), var(--green-100), transparent);
}
.blitz-header {
  text-align: center;
  margin-bottom: 60px;
}
.blitz-header .section-subtitle {
  margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200, #BBF7D0);
}
.gallery-card-visual {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.gallery-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}
.gallery-chess-piece {
  font-size: 3.5rem;
  color: rgba(255,255,255,0.25);
  z-index: 1;
  transition: all 0.4s ease;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.gallery-card:hover .gallery-chess-piece {
  color: rgba(255,255,255,0.45);
  transform: scale(1.15) rotate(-5deg);
}
.gallery-card-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gallery-date-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-500);
}
.gallery-caption {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.3;
}
.gallery-admin-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: 36px;
  font-style: italic;
}
/* Gallery responsive */
@media(max-width:1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width:560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* === EXTERNAL NEWS (RSS) === */
#stiri-externe {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--green-50) 100%);
  position: relative;
}
#stiri-externe::before {
  content: ''; position: absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--green-100), var(--gold-100), var(--green-100), transparent);
}
.external-news-header { text-align: center; margin-bottom: 60px; }
.external-news-header .section-subtitle { margin: 0 auto; }
.external-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ext-news-card {
  background: var(--ivory);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.ext-news-card.ext-card-club {
  border-color: var(--gold-300);
  background: linear-gradient(135deg, var(--ivory) 0%, var(--gold-100) 100%);
}
.ext-news-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--green-200, #BBF7D0);
  transform: translateX(4px);
}
.ext-news-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--green-900); margin-bottom: 8px;
  line-height: 1.35;
}
.ext-news-card p {
  font-size: 0.85rem; color: var(--gray-500);
  line-height: 1.65; margin-bottom: 14px;
}
.no-external-news {
  text-align: center;
  color: var(--gray-400);
  font-style: italic;
  grid-column: 1 / -1;
  padding: 40px 0;
}
.tag-international { background: #DBEAFE; color: #1D4ED8; }
.tag-romania { background: #FEF3C7; color: #B45309; }
.tag-moldova { background: var(--green-100); color: var(--green-700); }
.tag-club-anons { background: var(--gold-100); color: var(--gold-500); }
@media(max-width:1024px) {
  .external-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:768px) {
  .external-news-grid { grid-template-columns: 1fr; }
}
