﻿:root {
  --bg: #0b1020;
  --bg-2: #121a30;
  --line: #233054;
  --text: #e8f0ff;
  --accent: #4dd6ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, #1a2b52 0%, transparent 40%),
    radial-gradient(circle at 80% 90%, #0f4c5c 0%, transparent 35%),
    linear-gradient(160deg, var(--bg), var(--bg-2));
}

.intro {
  width: min(92vw, 860px);
  margin-bottom: 14px;
}

.intro h1 {
  margin: 8px 0 10px;
}

.intro p {
  margin: 0;
  line-height: 1.55;
  opacity: 0.95;
}

.intro-kicker {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.wrap {
  width: min(92vw, 860px);
  display: grid;
  gap: 16px;
  padding: 24px;
}

.panel {
  position: relative;
  z-index: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: rgba(8, 15, 35, 0.72);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(77, 214, 255, 0.08) inset;
}

.wrap .panel::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -140px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(77, 214, 255, 0.45) 0%, rgba(85, 187, 255, 0.28) 28%, rgba(65, 155, 255, 0.12) 52%, rgba(65, 155, 255, 0) 72%);
  filter: blur(32px);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  animation: spotlightSweep 10s ease-in-out infinite;
}

.wrap .panel:nth-child(2)::after {
  background: radial-gradient(circle, rgba(125, 200, 255, 0.42) 0%, rgba(115, 155, 255, 0.26) 30%, rgba(76, 122, 255, 0.12) 54%, rgba(76, 122, 255, 0) 72%);
  animation-delay: 1.6s;
}

.wrap .panel:nth-child(3)::after {
  background: radial-gradient(circle, rgba(91, 243, 194, 0.4) 0%, rgba(77, 214, 255, 0.24) 32%, rgba(67, 171, 242, 0.1) 56%, rgba(67, 171, 242, 0) 72%);
  animation-delay: 3.2s;
}

@keyframes spotlightSweep {
  0%,
  15%,
  43%,
  100% {
    opacity: 0;
    transform: translateX(calc(-50% - 28px)) scale(0.88);
  }
  24% {
    opacity: 0.68;
    transform: translateX(calc(-50% + 18px)) scale(1.08);
  }
  30% {
    opacity: 0.36;
    transform: translateX(calc(-50% + 8px)) scale(1);
  }
  36% {
    opacity: 0.78;
    transform: translateX(calc(-50% + 28px)) scale(1.14);
  }
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0.3px;
}

h1 {
  font-size: clamp(1.4rem, 4vw, 2rem);
}

h2 {
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
}
h3,p{
  margin: 0;
}
.panel-link {
  text-align: center;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1rem, 3vw, 1.2rem);
}

.panel > a {
  display: inline-block;
  margin-top: 10px;
}
.btn-red{
      border-color: #6d2f2f;
    background: #351919;
    color: #ffdede;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
}
.game{
  display: flex;
  align-items: center;
  margin-top: 25px;
}
.game-cta{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.game img{
  margin-right: 25px;
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
}


.buycoffee-link {
  display: flex !important;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  text-wrap: balance;
}
.szkliste-logo{
  margin: 0 auto 30px;
  max-width: 30%;
}
.buycoffee-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  background: #fff;
  padding: 13px;
  height: 50px;
  width: 180px;
  border-radius: 100px;
  filter: drop-shadow(0 0 6px rgba(77, 214, 255, 0.4));
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 520px) {
  .buycoffee-link {
    flex-direction: column;
    gap: 8px;
  }

  .wrap .panel::after {
    width: 220px;
    height: 220px;
    bottom: -110px;
    filter: blur(26px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wrap .panel::after {
    animation: none;
    opacity: 0.3;
    transform: translateX(-50%) scale(1);
  }
}

@media (min-width: 700px) {
  .wrap {
    gap: 20px;
    padding: 28px;
  }

  .intro {
    margin-bottom: 18px;
  }

  .panel {
    padding: 28px;
  }
}
