/*
Theme Name: Portfolio Fans Coming Soon
Theme URI: https://portfolio.fans
Author: OpenAI
Description: Minimalistyczny motyw typu coming soon dla platformy portfolio.fans.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: portfolio-fans
*/

:root {
  --pf-bg: #f5f1e8;
  --pf-ink: #121212;
  --pf-muted: #69655d;
  --pf-accent: #3157ff;
  --pf-accent-soft: #dce3ff;
  --pf-line: rgba(18, 18, 18, 0.16);
}

* { box-sizing: border-box; }

html { min-height: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(49, 87, 255, .10), transparent 30%),
    radial-gradient(circle at 85% 90%, rgba(255, 102, 0, .08), transparent 32%),
    var(--pf-bg);
  color: var(--pf-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(18,18,18,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,18,18,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.pf-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(24px, 4vw, 56px);
  position: relative;
  isolation: isolate;
}

.pf-topbar,
.pf-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pf-brand {
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: none;
  font-size: clamp(18px, 2vw, 26px);
}

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

.pf-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--pf-muted);
}

.pf-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pf-accent);
  box-shadow: 0 0 0 7px rgba(49,87,255,.10);
  animation: pfPulse 2.2s ease-in-out infinite;
}

.pf-main {
  width: min(1180px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  padding: clamp(52px, 9vw, 120px) 0;
}

.pf-copy { max-width: 760px; }

.pf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--pf-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pf-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.pf-title {
  margin: 0;
  max-width: 820px;
  font-size: clamp(54px, 9vw, 132px);
  line-height: .88;
  letter-spacing: -.075em;
  font-weight: 850;
}

.pf-title em {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--pf-ink);
  font-style: normal;
}

.pf-lead {
  max-width: 630px;
  margin: 34px 0 0;
  color: var(--pf-muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.pf-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 460px;
}

.pf-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(78%, 380px);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--pf-line);
  border-radius: 28px;
  background: rgba(255,255,255,.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(18,18,18,.12);
  transform-origin: center;
}

.pf-card--back {
  transform: translate(-62%, -52%) rotate(-9deg);
  background: var(--pf-accent-soft);
  animation: pfFloatBack 7s ease-in-out infinite;
}

.pf-card--mid {
  transform: translate(-38%, -49%) rotate(8deg);
  background: #ffd8be;
  animation: pfFloatMid 8s ease-in-out infinite;
}

.pf-card--front {
  transform: translate(-50%, -50%) rotate(-1deg);
  padding: 28px;
  overflow: hidden;
  background: rgba(255,255,255,.78);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pf-card--front::after {
  content: "";
  position: absolute;
  inset: auto -18% -25% auto;
  width: 78%;
  aspect-ratio: 1;
  border: 42px solid var(--pf-accent);
  border-radius: 50%;
  opacity: .95;
}

.pf-card-label {
  position: relative;
  z-index: 2;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pf-muted);
}

.pf-card-word {
  position: relative;
  z-index: 2;
  font-size: clamp(44px, 6vw, 84px);
  line-height: .85;
  letter-spacing: -.07em;
  font-weight: 850;
}

.pf-card-word span { color: var(--pf-accent); }

.pf-orbit {
  position: absolute;
  inset: 4%;
  border: 1px dashed rgba(18,18,18,.22);
  border-radius: 50%;
  animation: pfSpin 18s linear infinite;
}

.pf-orbit::before,
.pf-orbit::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pf-ink);
}

.pf-orbit::before { top: 5%; left: 22%; }
.pf-orbit::after { right: 7%; bottom: 21%; background: var(--pf-accent); }

.pf-footer {
  padding-top: 22px;
  border-top: 1px solid var(--pf-line);
  color: var(--pf-muted);
}

.pf-footer strong { color: var(--pf-ink); }

@keyframes pfPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.75); opacity: .65; }
}

@keyframes pfSpin { to { transform: rotate(360deg); } }

@keyframes pfFloatBack {
  0%,100% { transform: translate(-62%, -52%) rotate(-9deg) translateY(0); }
  50% { transform: translate(-62%, -52%) rotate(-6deg) translateY(-12px); }
}

@keyframes pfFloatMid {
  0%,100% { transform: translate(-38%, -49%) rotate(8deg) translateY(0); }
  50% { transform: translate(-38%, -49%) rotate(11deg) translateY(10px); }
}

@media (max-width: 900px) {
  .pf-main {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .pf-visual {
    width: min(100%, 520px);
    margin: 0 auto;
    min-height: 500px;
  }
}

@media (max-width: 560px) {
  .pf-page { padding: 20px; }
  .pf-topbar { align-items: flex-start; }
  .pf-status { font-size: 10px; }
  .pf-title { font-size: clamp(56px, 18vw, 88px); }
  .pf-lead { font-size: 18px; }
  .pf-visual { min-height: 390px; }
  .pf-card--front { padding: 22px; border-radius: 22px; }
  .pf-footer { align-items: flex-end; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
