/*
Theme Name: TABLETONE Radio WOW
Theme URI: https://tabletone.pl
Author: TABLETONE RADIO
Author URI: https://tabletone.pl
Description: Jednostronicowy motyw landing page dla TABLETONE RADIO z nawigacją, Patronite Audio, FAQ, regulaminem i sekcją klientów.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: tabletone-radio-wow
*/

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1d1d21 0, #050509 50%, #020204 100%);
  color: #f5f5f5;
}

/* Global links */
a { color: #d4af37; text-decoration: none; }
a:hover { color: #f2d675; }

/* Top navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(5,5,8,0.96), rgba(5,5,8,0.88));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 20%, #f2d675, #d4af37 55%, #604515 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #120c02;
  box-shadow: 0 4px 14px rgba(0,0,0,0.8);
}
.nav-title {
  display: flex;
  flex-direction: column;
}
.nav-title-main {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.nav-title-sub {
  font-size: 11px;
  color: #bbbbbb;
}
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.nav-link {
  font-size: 13px;
  color: #e6e6e6;
  padding: 5px 9px;
  border-radius: 999px;
}
.nav-link:hover {
  background: rgba(255,255,255,0.06);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(120deg, #d4af37, #f2d675);
  color: #120c02;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 7px 16px rgba(0,0,0,0.7);
}

/* Hero section */
.hero {
  position: relative;
  padding: 70px 16px 60px;
  text-align: center;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.22), transparent 70%);
  filter: blur(4px);
  animation: floatOrb 18s linear infinite;
  z-index: -1;
}
.hero::before { top: -40px; left: -40px; }
.hero::after { bottom: -60px; right: -60px; animation-delay: -9s; }

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.5);
  background: rgba(0,0,0,0.45);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f2d675;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 42px);
  margin: 0 0 10px;
}
.hero-subtitle {
  font-size: 17px;
  color: #d1d1d1;
  max-width: 640px;
  margin: 0 auto 18px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}
.hero-badge {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.55);
  color: #ccc;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(120deg, #d4af37, #f2d675);
  color: #120c02;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.65);
  transform: translateY(0);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.85);
  filter: brightness(1.03);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.7);
  padding: 9px 18px;
  text-decoration: none;
  color: #f2d675;
  background: rgba(0,0,0,0.5);
  font-size: 14px;
}
.hero-disclaimer {
  font-size: 12px;
  color: #a0a0a0;
  max-width: 650px;
  margin: 0.35rem auto 0;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.section h2 {
  font-size: 24px;
  margin: 0 0 12px;
}
.section-lead {
  font-size: 15px;
  color: #d0d0d0;
  max-width: 720px;
}

/* Grid */
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

/* Cards */
.card {
  background: radial-gradient(circle at top left, rgba(212,175,55,0.12), rgba(10,10,10,0.96));
  border-radius: 16px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
}
.card h3 {
  margin-top: 0;
  font-size: 18px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.chip {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  color: #d8d8d8;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #222;
  min-height: 170px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.8);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.8s ease-out;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 55%);
}
.gallery-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 13px;
  color: #f5f5f5;
  z-index: 1;
}
.gallery-item:hover img {
  transform: scale(1.09);
}

/* Demo player */
.player-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.85);
  margin-bottom: 8px;
}
.player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Patronite Audio badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.store-badge {
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 13px;
}
.store-badge span {
  color: #f5f5f5;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: radial-gradient(circle at left, rgba(10,10,10,0.96), rgba(5,5,8,0.98));
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 10px 14px;
  font-weight: 600;
  list-style: none;
  color: #fdfdfd;
}
.faq-item[open] summary {
  background: radial-gradient(circle at left, rgba(212,175,55,0.25), transparent 65%);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-body {
  padding: 8px 14px 12px;
  font-size: 14px;
  color: #e0e0e0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Regulamin */
.regulamin-box {
  background: rgba(5,5,8,0.96);
  border-radius: 16px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  max-height: 460px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.65;
}
.regulamin-box h3 {
  margin-top: 0;
  font-size: 16px;
}
.regulamin-box h4 {
  margin-bottom: 4px;
  margin-top: 14px;
  font-size: 14px;
}
.regulamin-box p {
  margin: 3px 0;
}
.regulamin-box ol {
  padding-left: 18px;
}

/* Clients logos */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.client-logo {
  background: radial-gradient(circle at top, rgba(255,255,255,0.05), rgba(10,10,10,0.96));
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #dcdcdc;
  box-shadow: 0 10px 26px rgba(0,0,0,0.8);
}

/* Kontakt */
.contact-box {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: 20px;
}
.contact-card {
  background: radial-gradient(circle at top right, rgba(212,175,55,0.18), rgba(10,10,12,0.96));
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.08);
}
.contact-card h3 {
  margin-top: 0;
}

/* Footer */
.site-footer {
  padding: 26px 16px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: #a0a0a0;
}
.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* Animations */
.section,
.hero-inner {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeInUp 0.8s ease-out forwards;
}
.section:nth-of-type(1) { animation-delay: 0.12s; }
.section:nth-of-type(2) { animation-delay: 0.22s; }
.section:nth-of-type(3) { animation-delay: 0.32s; }
.section:nth-of-type(4) { animation-delay: 0.42s; }
.section:nth-of-type(5) { animation-delay: 0.52s; }
.section:nth-of-type(6) { animation-delay: 0.62s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatOrb {
  0% { transform: translate3d(0,0,0); opacity: 0.8; }
  50% { transform: translate3d(18px,26px,0); opacity: 1; }
  100% { transform: translate3d(-8px,-18px,0); opacity: 0.85; }
}

@media (max-width: 768px) {
  .section-grid { grid-template-columns: minmax(0,1fr); }
  .hero { padding-top: 56px; }
  .hero-subtitle { font-size: 15px; }
  .contact-box { grid-template-columns: minmax(0,1fr); }
}
