/* ==========================================================================
   CLUB GICĂ STUDIO - PREMIUM DESIGN SYSTEM & CSS STYLESHEET (v2.5 Final Mobile Polish)
   Target Domain: clubgica.com | Geo: RO | Glassmorphism 3D Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --bg-dark: #070a14;
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-card-hover: rgba(30, 41, 59, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(0, 210, 255, 0.35);
  
  --primary-gold: #ffb300;
  --primary-gold-hover: #ffc107;
  --cyan-glow: #00d2ff;
  --purple-glow: #a855f7;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 10px 30px -10px rgba(0, 210, 255, 0.3);
  --shadow-gold: 0 10px 30px -10px rgba(255, 179, 0, 0.4);
}

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

html, body {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 210, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(255, 179, 0, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-break: normal;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-gold) 50%, var(--cyan-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cyan-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
  transition: var(--transition);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  flex-shrink: 0;
}

.logo-svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.5));
}

.logo-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-selector {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 5px 8px;
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold) 0%, #d97706 100%);
  color: #000;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 15px 35px rgba(255, 179, 0, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border-radius: 8px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan-glow);
  color: var(--cyan-glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

/* HERO SECTION */
.hero {
  position: relative;
  padding-top: 110px;
  padding-bottom: 50px;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto 36px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 179, 0, 0.1);
  border: 1px solid rgba(255, 179, 0, 0.3);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  max-width: 100%;
}

.hero-title {
  font-size: clamp(1.4rem, 4.5vw, 3.4rem);
  margin-bottom: 16px;
  line-height: 1.18;
}

.hero-description {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-main-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  max-width: 1040px;
  margin: 0 auto;
  transition: var(--transition);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.05) brightness(0.95);
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(7, 10, 20, 0.95) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
}

/* SECTION TITLES */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-glow);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(1.3rem, 3.5vw, 2.3rem);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: clamp(0.82rem, 2vw, 0.92rem);
}

/* NEWS & RELEASES GRID SECTION */
.news-section {
  padding: 50px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-glow);
  box-shadow: var(--shadow-glow);
}

.news-img-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 210, 255, 0.25);
  border: 1px solid var(--cyan-glow);
  backdrop-filter: blur(8px);
  color: var(--cyan-glow);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
}

.news-tag.gold {
  background: rgba(255, 179, 0, 0.25);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.news-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-card-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-grow: 1;
}

.center-btn-wrap {
  text-align: center;
}

/* WHY US SECTION */
.why-us-section {
  padding: 50px 0;
}

.why-us-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.why-us-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.why-us-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-us-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-us-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.feature-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

.feature-badge-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 179, 0, 0.1);
  border: 1px solid rgba(255, 179, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-badge-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* INTERACTIVE SHOWCASE */
.showcase-section {
  padding: 50px 0;
}

.showcase-main-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  margin-bottom: 20px;
}

.showcase-viewport {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.showcase-viewport-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.viewport-overlay {
  position: relative;
  z-index: 2;
  padding: 20px;
  background: linear-gradient(0deg, rgba(7, 10, 20, 0.95) 0%, rgba(7, 10, 20, 0.4) 60%, transparent 100%);
}

.play-btn-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 179, 0, 0.9);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-gold);
  margin-bottom: 14px;
  cursor: pointer;
}

.showcase-tabs-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 14px;
  border-radius: 10px;
  color: var(--text-muted);
  text-align: left;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--bg-card-hover);
  border-color: var(--cyan-glow);
  color: var(--text-main);
}

.media-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.media-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
}

.media-card-img {
  position: relative;
  height: 130px;
}

.media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card-body {
  padding: 12px;
}

.media-card-title {
  font-size: 0.85rem;
}

/* FAQ SECTION */
.faq-section {
  padding: 50px 0;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.faq-answer {
  padding: 0 18px 16px;
  color: var(--text-muted);
  font-size: 0.84rem;
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-icon {
  font-size: 1rem;
  color: var(--cyan-glow);
}

/* FOOTER SECTION */
.footer {
  background: #04060d;
  border-top: 1px solid var(--border-glass);
  padding: 40px 0 20px;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 28px;
  margin-bottom: 30px;
}

.footer-about-text {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 10px;
  line-height: 1.5;
}

.footer-col-title {
  font-size: 0.85rem;
  margin-bottom: 14px;
  color: var(--text-main);
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.legal-details-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.anpc-badges-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.anpc-badge {
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyan-glow);
  background: rgba(0, 210, 255, 0.05);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 10px;
}

/* MODALS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #0b1120;
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 20px;
  position: relative;
  color: var(--text-main);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.3rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-title {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--primary-gold);
}

.modal-body {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* RESPONSIVE MEDIA QUERIES (MOBILE FIRST COMPLIANT 375px - 430px) */
@media (max-width: 992px) {
  .news-grid, .media-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-us-container, .showcase-main-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0 10px;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: #0b1120;
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 80px 20px;
    gap: 18px;
    transition: var(--transition);
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 85px;
  }

  .hero-badge {
    display: inline-block !important;
    white-space: normal !important;
    word-break: break-word !important;
    max-width: 92% !important;
    font-size: 0.65rem !important;
    padding: 5px 10px !important;
    text-align: center !important;
    margin: 0 auto 16px !important;
  }

  .hero-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  .hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
  }

  .hero-ctas .btn-primary, .hero-ctas .btn-secondary {
    width: 100% !important;
  }

  .news-grid, .media-cards-grid, .feature-badges-grid {
    grid-template-columns: 1fr !important;
  }

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

  .hero-card-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
  }

  .hero-card-overlay button {
    width: 100%;
  }

  .hero-card-overlay h3 {
    font-size: 1.05rem !important;
  }
}
