:root {
  --gold: #D4AF37;
  --gold-light: #F5D76E;
  --dark: #020617;
  --navy: #0f172a;
  --text-muted: #9ca3af;
}

body {
  font-family: 'Comfortaa', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  background: radial-gradient(circle at 20% 10%, #1e293b, #020617 70%);
  background-attachment: fixed;
  color: white;
  margin: 0;
  padding-top: 95px;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero {
  text-align: center;
  padding: 10rem 2rem 8rem;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  margin-bottom: 1.2rem;
}

.hero h3 {
  margin-bottom: 1rem;
}

.hero .sub {
  margin-bottom: 2rem;
}

.hero .highlight {
  font-size: 1.22rem;
  margin-bottom: 2.5rem;
}

.profile {
  text-align: center;
}

.profile h2 {
  margin-top: 1rem;
}

.hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,175,55,0.3), transparent);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(80px);
}

.cta button {
  margin: 0.5rem;
  padding: 1.5rem 3rem;
  border-radius: 40px;
  border: none;
  background: linear-gradient(135deg,var(--gold),var(--gold-light));
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: 0.3s;
  font-size: 1.1rem;
}

.cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212,175,55,0.4);
}

.glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px);
  margin: 2.5rem 1.5rem;
  border-radius: 32px;
  border: 1px solid rgba(212,175,55,0.15);
}
.glass:hover {
  border: 1px solid rgba(212,175,55,0.3);
  transform: translateY(-2px);
  transition: 0.3s;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 1.8rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.08); /* ciemniejsze niż sekcja */
  border: 1px solid rgba(212,175,55,0.22);
  transition: 0.4s;
  color: #f8fafc;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-shadow: 0 0 14px rgba(212,175,55,0.22);
  box-shadow: inset 0 0 0 1px rgba(212,175,55,0.08);
}

.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 
    0 25px 60px rgba(0,0,0,0.7),
    0 0 36px rgba(212,175,55,0.42),
    inset 0 0 22px rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.42);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(120deg, rgba(212,175,55,0.04), rgba(212,175,55,0.85), rgba(212,175,55,0.04));
  -webkit-mask: 
    linear-gradient(#000 0 0) content-box, 
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.45;
  transition: 0.4s;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}


.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.4s;
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  border-color: rgba(212,175,55,0.3);
}

.pricing-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.7rem;
}

.pricing-card .price {
  margin: 0.8rem 0 1.2rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.pricing-card p {
  max-width: 28rem;
}

.profile img {
  width: 720px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 30px rgba(212,175,55,0.4);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 999;
  background: rgba(2,6,23,0.9);
  backdrop-filter: blur(10px);
}

.header a {
  color: white;
  text-decoration: none;
}

.header a:hover {
  color: var(--gold);
}

nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  margin-bottom: 1.4rem;
  text-align: center;
}

h3 {
  font-weight: 400;
  font-size: 1.9rem;
}

h1 {
  font-size: 3.2rem;
}

h2 {
  font-size: 2.4rem;
}

p {
  line-height: 1.85;
  max-width: 820px;
  margin: 0 auto 1.4rem;
  font-size: 1.22rem;
}

.sub {
  color: var(--text-muted);
}

.highlight {
  color: var(--gold);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(212,175,55,0.4);
}

.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

#homeOpinionsSection.home-opinions-empty {
  background: transparent;
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
  margin-top: 1rem;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

#homeOpinionsSection.home-opinions-empty #homeOpinionsHeading,
#homeOpinionsSection.home-opinions-empty #featuredOpinieList {
  display: none;
}

#kontakt button {
  margin: 0.5rem;
  padding: 1rem 2rem;
}

#kontakt {
  text-align: center;
}

#kontakt .cta {
  margin-top: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 45px;
}

.logo span {
  font-weight: 600;
  letter-spacing: 1px;
}

.card:hover {
  box-shadow:
    0 20px 50px rgba(0,0,0,0.6),
    0 0 20px rgba(212,175,55,0.2);
}

/* FORMULARZ OPINII */
#form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
  margin: 2rem auto 0;
}

#form input,
#form textarea,
#form select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(255,255,255,0.05);
  color: #f8fafc;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

#form input::placeholder,
#form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

#form input:focus,
#form textarea:focus,
#form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
}

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

#form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23D4AF37' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

#form select option {
  background: #0f172a;
  color: #f8fafc;
}

#form button[type="submit"] {
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0f172a;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  align-self: center;
  width: 100%;
}

#form button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(212,175,55,0.45);
}

/* FORMULARZ LOGOWANIA ADMINA */
#adminLoginBox {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

#adminLoginForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

#adminLoginForm input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(255,255,255,0.05);
  color: #f8fafc;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  text-align: center;
  letter-spacing: 0.1em;
}

#adminLoginForm input[type="password"]::placeholder {
  color: rgba(255,255,255,0.35);
  letter-spacing: 0;
}

#adminLoginForm input[type="password"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
}

#adminLoginForm button[type="submit"] {
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0f172a;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

#adminLoginForm button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(212,175,55,0.45);
}

/* GWIAZDKI W KARTACH OPINII */
.card-stars {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

/* PRZYCISKI W PANELU ADMINA */
.card button {
  margin-top: 0.75rem;
  margin-right: 0.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(212,175,55,0.4);
  background: rgba(212,175,55,0.1);
  color: var(--gold);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.card button:hover {
  background: rgba(212,175,55,0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212,175,55,0.25);
}

.card button[data-action="delete"] {
  border-color: rgba(239,68,68,0.4);
  background: rgba(239,68,68,0.08);
  color: #f87171;
}

.card button[data-action="delete"]:hover {
  background: rgba(239,68,68,0.22);
  box-shadow: 0 6px 18px rgba(239,68,68,0.2);
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.15), transparent 70%);
  animation: pulse 6s infinite;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(100px);
}

@keyframes pulse {
  0%,100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateX(-50%) scale(1.2);
    opacity: 1;
  }
}

.energy-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 0;
}

.energy-bg span {
  position: absolute;
  display: block;
  width: 2px;
  height: 120%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(212,175,55,0.8),
    transparent
  );
  animation: flow 6s linear infinite;
  filter: blur(1px);
}

/* różne linie */
.energy-bg span:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
}

.energy-bg span:nth-child(2) {
  left: 50%;
  animation-delay: 2s;
}

.energy-bg span:nth-child(3) {
  left: 80%;
  animation-delay: 4s;
}



/* animacja przepływu */
@keyframes flow {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

.hero * {
  position: relative;
  z-index: 2;
}


.pricing {
  margin: 3rem 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s;
}

.price-row:hover {
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(255,255,255,0.06);
  transform: translateX(5px);
}

.price-row span {
  font-size: 1rem;
}

.price {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 3.5rem;
}

.pricing-card {
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(212,175,55,0.22);
  transition: 0.4s;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(212,175,55,0.08);
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(120deg, rgba(212,175,55,0.04), rgba(212,175,55,0.85), rgba(212,175,55,0.04));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.45;
  transition: 0.4s;
}

.pricing-card h3 {
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 600;
  margin: 0.8rem auto 1rem;
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 0 32px rgba(212,175,55,0.38);
  border: 1px solid rgba(212,175,55,0.42);
}

.pricing-card:hover::before {
  opacity: 1;
}

/* WYRÓŻNIONA */
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(212,175,55,0.12), rgba(255,255,255,0.05));
  border: 1px solid rgba(212,175,55,0.38);
  box-shadow:
    0 0 24px rgba(212,175,55,0.18),
    inset 0 0 24px rgba(212,175,55,0.06);
  transform: scale(1.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 0 36px rgba(212,175,55,0.42),
    inset 0 0 24px rgba(212,175,55,0.08);
}

.pricing-card.featured .price {
  font-size: 2rem;
  text-shadow: 0 0 18px rgba(212,175,55,0.35);
}

/* PREMIUM */
.pricing-card.premium {
  background: linear-gradient(180deg, rgba(245,215,110,0.16), rgba(255,255,255,0.06));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(245,215,110,0.5);
  box-shadow:
    0 0 30px rgba(245,215,110,0.24),
    inset 0 0 28px rgba(245,215,110,0.08);
  transform: scale(1.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pricing-card.premium:hover {
  transform: translateY(-10px) scale(1.07);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 0 40px rgba(245,215,110,0.46),
    inset 0 0 28px rgba(245,215,110,0.1);
}

.pricing-card.premium .price {
  font-size: 2.1rem;
  text-shadow: 0 0 20px rgba(245,215,110,0.4);
}


@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero {
    padding: 5rem 1.5rem;
  }

  .section {
    padding: 3rem 1.5rem;
  }

  .cta button {
    width: 100%;
  }

  .header {
    flex-direction: column;
    gap: 6px;
  }

  .profile img {
    width: 400px;
  }

  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .price {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .profile img {
    width: 280px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }
}