/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #0b3d2e;
  color: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Color tokens matching ClickNWin green + gold identity */
:root {
  --brand-bg: #0b3d2e;
  --brand-bg-2: #14563f;
  --brand-fg: #ffffff;
  --brand-fg-muted: rgba(255, 255, 255, 0.82);
  --brand-accent: #facc15;
  --brand-accent-2: #15803d;
}

/* Hero background */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(21, 128, 61, 0.55), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(250, 204, 21, 0.35), transparent 60%),
    linear-gradient(180deg, var(--brand-bg), var(--brand-bg-2));
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.orb-top {
  top: -8rem;
  left: -8rem;
  width: 24rem;
  height: 24rem;
  background: rgba(250, 204, 21, 0.25);
  opacity: 0.4;
}

.orb-bottom {
  bottom: -10rem;
  right: -8rem;
  width: 28rem;
  height: 28rem;
  background: rgba(250, 204, 21, 0.3);
  opacity: 0.25;
}

/* Container */
.container {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 4rem 1.5rem;
  }
}

/* Header */
.header {
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--brand-fg-muted);
  backdrop-filter: blur(8px);
}

.sparkle {
  color: var(--brand-accent);
}

.hero-content {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.logo-wrap {
  position: relative;
}

.logo-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-accent-2), var(--brand-accent));
  filter: blur(16px);
  opacity: 0.7;
}

.logo {
  position: relative;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  object-fit: contain;
  padding: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px -20px rgba(250, 204, 21, 0.55);
  animation: float 6s ease-in-out infinite;
}

@media (min-width: 640px) {
  .logo {
    width: 7rem;
    height: 7rem;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.title {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #fff, #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 640px) {
  .title {
    font-size: 3.75rem;
  }
}

.subtitle {
  max-width: 36rem;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--brand-fg-muted);
}

@media (min-width: 640px) {
  .subtitle {
    font-size: 1rem;
  }
}

/* Trust chips */
.trust-chips {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  color: var(--brand-fg-muted);
}

.chip-icon {
  color: var(--brand-accent);
}

/* Platforms section */
.platforms {
  margin-top: 3rem;
}

.section-header {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.section-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--brand-fg-muted);
}

/* Social grid */
.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--platform-color);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 60px -20px rgba(250, 204, 21, 0.55);
}

.social-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand-bg);
}

.social-card:active {
  transform: scale(0.98);
}

.corner-glow {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: var(--platform-color);
  filter: blur(30px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.social-card:hover .corner-glow,
.social-card:focus-visible .corner-glow {
  opacity: 0.6;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  color: #fff;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.social-card:hover .icon-wrap,
.social-card:focus-visible .icon-wrap {
  transform: scale(1.1);
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
}

.arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-fg-muted);
  transition: all 0.3s ease;
}

.social-card:hover .arrow,
.social-card:focus-visible .arrow {
  color: #fff;
  transform: translate(2px, -2px);
}

.card-title {
  margin: 1rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.card-desc {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--brand-fg-muted);
}

.card-handle {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

.handle-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

/* Stats */
.stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.stat-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(250, 204, 21, 0.4);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--brand-accent);
}

@media (min-width: 640px) {
  .stat-value {
    font-size: 1.875rem;
  }
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-fg-muted);
}

@media (min-width: 640px) {
  .stat-label {
    font-size: 0.75rem;
  }
}

/* QR Section */
.qr-section {
  margin-top: 3.5rem;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .qr-section {
    margin-top: 5rem;
    padding: 2.5rem;
  }
}

.qr-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .qr-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.qr-text {
  text-align: center;
}

@media (min-width: 768px) {
  .qr-text {
    text-align: left;
  }
}

.qr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(250, 204, 21, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-accent);
}

.qr-title {
  margin: 1rem 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

@media (min-width: 640px) {
  .qr-title {
    font-size: 1.875rem;
  }
}

.qr-desc {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--brand-fg-muted);
}

@media (min-width: 640px) {
  .qr-desc {
    font-size: 1rem;
  }
}

.qr-domain {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--brand-fg-muted);
}

@media (min-width: 768px) {
  .qr-domain {
    display: flex;
  }
}

.qr-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--brand-accent);
}

.qr-code-wrap {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .qr-code-wrap {
    justify-content: flex-end;
  }
}

.qr-halo {
  position: absolute;
  inset: -0.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--brand-accent-2), var(--brand-accent));
  filter: blur(16px);
  opacity: 0.6;
}

.qr-card {
  position: relative;
  border-radius: 1.5rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .qr-card {
    padding: 1.25rem;
  }
}

.qr-img {
  width: 13rem;
  height: 13rem;
}

@media (min-width: 640px) {
  .qr-img {
    width: 16rem;
    height: 16rem;
  }
}

.qr-caption {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #525252;
}

/* Footer */
.footer {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--brand-fg-muted);
}

.footer-logo {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  object-fit: contain;
  padding: 0.125rem;
  opacity: 0.9;
}
