:root{
  --brand: #de7a63;
  --brand-dark: #c96550;
  --bg: #fff7f5;
  --card: rgba(255,255,255,0.85);
  --text: #1f2937;
  --muted: #6b7280;
}

*{ box-sizing:border-box; }

html, body{
  height:100%;
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% 10%, #ffe6df 0%, transparent 55%),
              radial-gradient(1200px 700px at 90% 30%, #ffe9e2 0%, transparent 60%),
              var(--bg);
  overflow-x:hidden;
}

/* Background shapes layer */
.bg-shapes{
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
}

/* Base shape */
.shape{
  position:absolute;
  /* NOTE: leave left/top for placement from JS */
  border-radius: 999px;
  filter: blur(0.2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.04);
  will-change: transform;
  /* Make sure animation is always active */
  animation-name: floatMove;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  /* fallback if JS doesn't set duration */
  animation-duration: 22s;
}

/* Circle, square, triangle */
.shape.circle{
  border-radius: 999px;
}

.shape.square{
  border-radius: 14px;
}

.shape.triangle{
  /* IMPORTANT: remove the transparent override so it can be colored */
  border-radius: 0;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Visible, smooth movement using transform (not top/left) */
@keyframes floatMove{
  0%   { transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)); }
  50%  { transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) rotate(var(--rot, 0deg)); }
  100% { transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)); }
}

/* Main layout */
.page{
  position:relative;
  z-index:1;
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 48px 18px;
}

.card{
  width: min(640px, 92vw);
  background: var(--card);
  border: 1px solid rgba(222,122,99,0.18);
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
  text-align:center;
}

.logo-wrap{
  width: 84px;
  height: 84px;
  margin: 0 auto 12px auto;
  border-radius: 22px;
  background: rgba(222,122,99,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(222,122,99,0.22);
}

.logo{
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.title{
  margin: 8px 0 10px 0;
  font-size: 42px;
  letter-spacing: 0.5px;
  font-weight: 600; /* smanjen weight */
  background: linear-gradient(90deg, var(--brand) 0%, #ff8d6e 45%, #ffb199 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle{
  margin: 0 auto 18px auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 54ch;
}

.play-btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  text-decoration:none;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(222,122,99,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.play-btn:hover{
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(222,122,99,0.38);
}

.play-icon{
  width: 22px;
  height: 22px;
  display:block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.hint{
  margin-top: 20px;
  font-size: 12px;
  color: #9ca3af;
}

/* Mobile tuning */
@media (max-width: 420px){
  .card{ padding: 24px 18px; }
  .title{ font-size: 36px; }
  .play-btn{ font-size: 14px; }
}

/* If user has reduced motion enabled, keep it subtle but still moving a bit */
@media (prefers-reduced-motion: reduce){
  .shape{
    animation-duration: 18s;
  }
}
