

/* ==========================================================================
   LOKALNE CZCIONKI PRONTOCORE (POPRAWKA VARIABLE)
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
}

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/Cinzel-VariableFont_wght.ttf') format('truetype-variations');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/Syne-VariableFont_wght.ttf') format('truetype-variations');
}








body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  background: #000;
  overflow-x: clip;
}

#containerr {
  position: relative;
  height: 100vh;      /* ← zmiana z min-height na height */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #000;
  z-index: 1;
}
  
  /* Canvas jako tło wypełniające całą sekcję */
  canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;      /* ← zmiana z 100% na 100vh */
    display: block;
    z-index: 0;
    pointer-events: auto;
}
  
  /* Tytuły – na wierzchu, wyśrodkowane */
  .a-title,
  .a-second-title {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  text-transform: uppercase; /* opcjonalnie – wzmacnia „mityczny” charakter */
  letter-spacing: 0.08em;
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0.2em 0;
  pointer-events: none;
}
  
  /* Efektywne tytuły (gradient, stroke) */
  .a-title {
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: conic-gradient(#ed0101, blue);
    filter: drop-shadow(2px 4px 6px black);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: bold;
  }
  
  .a-second-title {
    -webkit-text-stroke: 1.3px white;
    letter-spacing: 1.125px;
    font-size: clamp(1.5rem, 6vw, 2.8rem);
    font-weight: 900;
    mix-blend-mode: color-dodge;
    color: white;
  }
  .a-title, .a-second-title {
    text-align: center;
    max-width: 90vw;
    word-break: keep-all;
    line-height: 1.3;
  }

  /* ====================== FAQ SECTION (OPTYMALIZACJA) ====================== */
.faq-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 20% 30%, rgba(17, 26, 47, 0.4) 0%, var(--bg) 80%);
}

/* ORBY – lżejsze, bez blur na mobile */
.faq-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.faq-orb-left {
  width: 350px;
  height: 350px;
  left: -150px;
  top: 20%;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.12) 0%, transparent 70%);
}

.faq-orb-right {
  width: 300px;
  height: 300px;
  right: -120px;
  bottom: 10%;
  background: radial-gradient(circle, rgba(179, 77, 255, 0.12) 0%, transparent 70%);
}

/* Na desktopie dodajemy delikatny blur tylko gdy jest mocne GPU */
@media (min-width: 1024px) {
  .faq-bg-orb {
    filter: blur(60px);
  }
}

.faq-grid {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

/* KARTA – bez backdrop-filter dla lepszej wydajności, zamiast tego przezroczyste tło */
.faq-item {
  background: rgba(17, 26, 47, 0.7);
  border: 1px solid rgba(126, 168, 255, 0.2);
  border-radius: 20px;
  transition: all 0.25s ease;
  /* Izolacja warstwy – przyspiesza malowanie */
  contain: layout style paint;
  will-change: transform;
}

.faq-item:hover {
  border-color: rgba(79, 140, 255, 0.6);
  background: rgba(17, 26, 47, 0.85);
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: none;
  padding: 1.4rem 1.8rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  border-radius: 20px;
  transition: background 0.2s;
}

.faq-question-text {
  flex: 1;
  letter-spacing: -0.01em;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-icon svg {
  display: block;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon svg {
  transform: rotate(45deg);
}

/* ROZWIJANIE – grid-template-rows z lekkim easing */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 1.8rem;
}

.faq-answer-inner p {
  margin: 0 0 1.2rem 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
  border-top: 1px solid rgba(126, 168, 255, 0.15);
  padding-top: 1.2rem;
}

/* RESPONSIVE – mobile bez zbędnych efektów */
@media (max-width: 768px) {
  .faq-section {
    padding: 3rem 0;
  }
  .faq-question {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }
  .faq-answer-inner {
    padding: 0 1.2rem;
  }
  .faq-answer-inner p {
    font-size: 0.85rem;
    padding-top: 0.8rem;
    margin-bottom: 0.8rem;
  }
  .faq-item:hover {
    transform: none;
  }
}
/* Ukryj magiczny hero na urządzeniach mobilnych (szerokość < 992px) */
@media (max-width: 991px) {
  #containerr {
    display: none !important;
  }
}



/*OVER ONS */
/* =============================================
   ABOUT SECTION - ADVANCED
   ============================================= */
   .about-advanced {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    background: var(--bg-deep, #04070f); /* Fallback jeśli zmiennej nie ma w głównym CSS */
    color: var(--text-primary, #eef2ff);
  }
  
  /* Dekoracyjne kule w tle (nawiązanie do hero/diensten) */
  .about-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
  }
  .about-bg-orb.orb-left {
    width: 400px;
    height: 400px;
    background: rgba(61, 126, 255, 0.15);
    top: 10%;
    left: -150px;
  }
  .about-bg-orb.orb-right {
    width: 300px;
    height: 300px;
    background: rgba(0, 212, 170, 0.1);
    bottom: 0;
    right: -100px;
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  
  /* --- LEWA STRONA --- */
  .about-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-primary, #eef2ff);
    margin-bottom: 2rem;
    font-weight: 500;
  }
  
  .about-glass-quote {
    background: rgba(61, 126, 255, 0.05);
    border-left: 4px solid var(--accent, #3d7eff);
    border-radius: 0 16px 16px 0;
    padding: 1.8rem;
    margin: 2rem 0;
    position: relative;
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .quote-icon {
    width: 24px;
    height: 24px;
    color: var(--accent, #3d7eff);
    margin-bottom: 0.8rem;
    opacity: 0.7;
  }
  
  .about-glass-quote p {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted, #6b7fa3);
    margin: 0;
  }
  
  .about-text-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted, #6b7fa3);
    margin-bottom: 1.5rem;
  }
  
  .about-motto {
    font-size: 1.1rem;
    color: var(--accent-2, #00d4aa);
    margin-bottom: 2.5rem;
  }
  
  /* --- PRAWA STRONA (Dashboard) --- */
  .craft-dashboard {
    background: var(--bg-card, rgba(8, 14, 30, 0.92));
    border: 1px solid var(--border, rgba(61, 126, 255, 0.18));
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  }
  
  .craft-dashboard:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-5px);
  }
  
  .craft-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border, rgba(61, 126, 255, 0.18));
  }
  
  .craft-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-2, #00d4aa);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-2-glow, rgba(0, 212, 170, 0.4));
    animation: pulseDot 2s infinite;
  }
  
  @keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 212, 170, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0); }
  }
  
  .craft-title {
    font-family: var(--font-display, 'Syne', sans-serif);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    flex: 1;
  }
  
  .craft-status {
    font-size: 0.75rem;
    background: rgba(0, 212, 170, 0.15);
    color: var(--accent-2, #00d4aa);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
  }
  
  .craft-stat {
    margin-bottom: 1.5rem;
  }
  
  .stat-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
  }
  
  .stat-name {
    color: var(--text-primary, #eef2ff);
  }
  
  .stat-value {
    color: var(--text-muted, #6b7fa3);
    font-family: var(--font-display, 'Syne', sans-serif);
  }
  
  .stat-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
  }
  
  .stat-fill {
    height: 100%;
    width: 0%; /* Startuje od 0 dla animacji JS */
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  }
  
  .craft-footer {
    margin-top: 2rem;
    text-align: center;
  }
  
  .craft-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent, #3d7eff);
    background: rgba(61, 126, 255, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(61, 126, 255, 0.2);
  }
  
  /* Responsywność */
  @media (max-width: 900px) {
    .about-grid {
      grid-template-columns: 1fr;
      gap: 3rem;
    }
    .craft-dashboard {
      transform: none;
    }
  }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}
/* Usuwa niechciane prostokątne podświetlenie przy kliknięciu */
button, 
.btn, 
.click-btn, 
.lang-btn, 
.shop-toggle-btn, 
.reset-btn,
.modal-btn,
.faq-question {
  -webkit-tap-highlight-color: transparent; /* Niweluje szary/niebieski prostokąt na urządzeniach mobilnych */
  outline: none; /* Usuwa domyślną prostokątną ramkę po kliknięciu */
}

/* Opcjonalnie (Dobra praktyka): Jeśli chcesz zachować dostępność dla osób używających klawiatury (tabowanie), 
   dodaj podświetlenie używając box-shadow, które naturalnie respektuje border-radius */
button:focus-visible, 
.btn:focus-visible,
.click-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent, #3d7eff); /* Dopasowuje się do zaokrągleń */
}

/* =============================================
   ABOUT ACTIONS - PRZYCISKI PREMIUM
   ============================================= */

/* 1. Kontener przycisków - rozwiązuje problem responsywności */
.about-actions {
  display: flex;
  flex-wrap: wrap; /* Pozwala przyciskom spaść do nowej linii, gdy brakuje miejsca */
  gap: 1.2rem; /* MAGIA: To ten parametr sprawia, że NIGDY się nie stykną! */
  margin-top: 2.5rem;
}

/* 2. Wspólna baza dla obu przycisków w tej sekcji */
.about-actions .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 14px; /* Nowoczesne, nieco większe zaokrąglenie */
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
  letter-spacing: 0.02em;
}

/* 3. Główny przycisk (Primary) - Gładki gradient i glow */
.about-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary, #4f8cff), var(--primary-strong, #2f70ec));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(47, 112, 236, 0.3); /* Delikatna poświata w tle */
}

.about-actions .btn-primary:hover {
  transform: translateY(-4px); /* Eleganckie uniesienie przy najechaniu */
  box-shadow: 0 15px 35px rgba(47, 112, 236, 0.5);
  border-color: rgba(255, 255, 255, 0.4);
}

/* 4. Szklany przycisk (Secondary Glass) - Pasuje do reszty strony */
.about-actions .btn-secondary-glass {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary, #eef2ff);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-actions .btn-secondary-glass:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-2, #00d4aa); /* Wykorzystuje Twój seledynowy kolor */
  color: var(--accent-2, #00d4aa);
  box-shadow: 0 12px 30px rgba(0, 212, 170, 0.2); /* Lekki seledynowy glow */
}

/* =============================================
   PERFEKCYJNA RESPONSYWNOŚĆ (MOBILE)
   ============================================= */
@media (max-width: 580px) {
  .about-actions {
    flex-direction: column; /* Ustawia przyciski jeden pod drugim */
    width: 100%;
    gap: 1rem; /* Idealny odstęp w pionie */
  }
  
  .about-actions .btn {
    width: 100%; /* Przyciski rozciągają się na całą szerokość ekranu, co jest super wygodne dla palca */
  }
}


/* ==========================================================================
   GLOBALNE ZASTĄPIENIE PROBLEMATYCZNYCH CZCIONEK INTEREM
   ========================================================================== */

/* 1. Celujemy w nagłówki i sekcję "Real data, Real results" */
 h3, h4, h5, h6, .real-data-section {
  font-family: 'Inter', sans-serif !important;
  font-stretch: 100% !important;
  letter-spacing: normal !important;
}

/* 2. Celujemy w okienko z grą (JOUW BEDRIJF) oraz statystyki na over.html */
.game-container, 
.game-title, 
.game-box,
.stats, 
.stats-box, 
.stats-number {
  font-family: 'Inter', sans-serif !important;
  font-stretch: 100% !important;
  letter-spacing: normal !important;
}


/* ==========================================================================
   PRECYZYJNA ZMIANA CZCIONKI DLA KART STATYSTYK (OVER.HTML)
   ========================================================================== */

/* Celujemy we wszystkie możliwe elementy wewnątrz kart statystyk */
.stats, 
.stats-box, 
.stats-card, 
.stats-number, 
.stats-label, 
.stat-item,
[class*="stat"] {
  font-family: 'Inter', sans-serif !important;
  font-stretch: 100% !important;
  letter-spacing: normal !important;
  font-weight: 600 !important; /* Nadaje ładną, czytelną grubość cyfrom i tekstom */
}