/* ==========================================================================
   Pay It Forward — Design System & Styles
   payitforward.thorjuell.art
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Warm light palette */
  --bg:          #faf8f5;
  --bg-alt:      #f0ece6;
  --bg-card:     #ffffff;
  --bg-card-hover:#fdfcfa;
  --surface:     rgba(0,0,0,0.03);

  /* Text */
  --text:        #1a1a1a;
  --text-secondary: #5c5c5c;
  --text-muted:  #8a8a8a;

  /* Brand */
  --accent:      #ff6b35;
  --accent-hover:#e85a28;
  --accent-soft: rgba(255,107,53,0.10);
  --accent-glow: rgba(255,107,53,0.20);

  /* State */
  --success:     #16a34a;
  --success-soft: rgba(22,163,74,0.10);
  --waiting:     #f59e0b;
  --waiting-soft: rgba(245,158,11,0.10);

  /* Lines & shadows */
  --line:        rgba(0,0,0,0.08);
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 30px rgba(0,0,0,0.10);

  /* Type */
  --serif:       'Instrument Serif', Georgia, serif;
  --sans:        'DM Sans', -apple-system, system-ui, sans-serif;

  /* Sizes */
  --radius:      12px;
  --radius-lg:   18px;
  --max-width:   1140px;
  --nav-height:  72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---------- Navigation ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-logo span {
  color: var(--accent);
}

.nav-byline {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-left: 0.75rem;
}

.nav-byline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1em;
  background: var(--line);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--text); }

.nav-links .btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  transition: background 0.25s;
}

.nav-links .btn-nav:hover { background: var(--accent-hover); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.hero-content { max-width: 720px; }

.hero-content .btn-row { justify-content: center; }

.hero-description {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero h1 em.gradient-flow {
  background: linear-gradient(
    90deg,
    #ff6b35,
    #ff3d7f,
    #f5c542,
    #34d399,
    #6366f1,
    #ff6b35
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flowColors 6s ease-in-out infinite;
  padding-bottom: 0.15em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline-block;
}

@keyframes flowColors {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

/* ---------- Top Stats Banner ---------- */
.hero-content .stats-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 0.75rem;
}

.hero-content .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content .stat h3 {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
}

.hero-content .stat p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

/* ---------- Portfolio Showcase — Full Bleed ---------- */
.portfolio-showcase {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 380px;
  margin: 0;
}

.showcase-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.showcase-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 250%;
  height: 900px;
  border: none;
  pointer-events: none;
  transform: scale(0.4);
  transform-origin: 0 0;
}

.showcase-fade {
  display: none;
}

/* ---------- Buttons ---------- */
.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: all 0.25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,107,53,0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(255,107,53,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: rgba(0,0,0,0.15);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-sponsor {
  background: var(--accent);
  color: #fff;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(255,107,53,0.25);
  transition: all 0.25s;
}

.btn-sponsor:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(255,107,53,0.35);
  transform: translateY(-1px);
}

.btn-sponsor:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: 6rem 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.section-title.section-title-lg {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 10px;
  margin-bottom: 1.2rem;
}

.step-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  padding: 3rem 0;
  text-align: center;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.stat h3 {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--accent);
}

.stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ---------- Sponsor CTA Section ---------- */
.sponsor-cta {
  padding: 3.5rem 0;
  background: var(--text);
  color: #fff;
  text-align: center;
}

.sponsor-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.sponsor-cta .section-title {
  color: #fff;
  margin-bottom: 1rem;
}

.sponsor-cta-queue {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.sponsor-cta-queue span {
  font-size: 1.6rem;
  color: var(--accent);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ---------- Queue Cards ---------- */
.queue-section {
  padding: 6rem 0;
}

.queue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.queue-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.queue-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.queue-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.queue-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  flex-shrink: 0;
}

.queue-card-header h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
}

.queue-card-header .queue-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.queue-card-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.queue-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.queue-waiting {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.queue-linkedin a {
  color: var(--accent);
  font-weight: 500;
}

.queue-linkedin a:hover { text-decoration: underline; }

/* ---------- Forms ---------- */
.form-section {
  padding: 6rem 0;
}

.form-card {
  max-width: 580px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group .optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

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

.form-group .char-count {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.form-group .char-count.near-limit { color: var(--waiting); }
.form-group .char-count.at-limit { color: #ef4444; }

.form-error {
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #ef4444;
}

.form-group.has-error .form-error { display: block; }

.form-submit {
  margin-top: 2rem;
}

/* ---------- Thank You Pages ---------- */
.thankyou-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
}

.thankyou-card {
  max-width: 540px;
  text-align: center;
  padding: 3rem;
}

.thankyou-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
}

.thankyou-icon.accent {
  background: var(--accent-soft);
  color: var(--accent);
  animation: heartPulse 2s ease-in-out infinite;
}

@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
  45% { transform: scale(1.1); }
  60% { transform: scale(1); }
}

.thankyou-icon.success {
  background: var(--success-soft);
  color: var(--success);
}

.thankyou-card h1 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.thankyou-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ---------- Footer ---------- */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer a {
  color: var(--accent);
  font-weight: 500;
}

footer a:hover { text-decoration: underline; }

/* ---------- Empty / Loading States ---------- */
.queue-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.queue-empty h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.queue-loading {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-line {
  height: 12px;
  background: var(--surface);
  border-radius: 6px;
  margin-bottom: 10px;
}

.skeleton-line.short { width: 50%; }
.skeleton-line.medium { width: 75%; }
.skeleton-line.long { width: 90%; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ---------- Responsive ---------- */

/* Tablet and below */
@media (max-width: 900px) {
  /* Nav — hamburger menu */
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(250,248,245,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .nav-links.active .btn-nav {
    text-align: center;
    justify-content: center;
  }
  .nav-toggle { display: flex; }

  /* Hero — single column */
  .hero-inner { padding: 2rem 0 2rem; }
  .hero-content { max-width: 100%; }
  .hero p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .btn-row { justify-content: center; }
  .portfolio-showcase, .showcase-inner { height: 280px; }
  .showcase-inner iframe { top: 0; }

  /* Stats */
  .hero-content .stats-grid { gap: 1.5rem; }
  .hero-content .stat h3 { font-size: 1.2rem; }
  .hero-content .stat p { font-size: 0.7rem; }

  /* Steps — single column */
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
  .how-it-works { padding: 4rem 0; }

  /* Sponsor CTA */
  .sponsor-cta { padding: 3rem 0; }
  .sponsor-cta .section-title { font-size: 1.8rem; }

  /* Form */
  .form-card { padding: 1.5rem; }
  .form-section { padding: 4rem 0; }

  /* Thank you / Sponsor pages */
  .thankyou-card { padding: 2rem 1.5rem; }
  .thankyou-card h1 { font-size: 1.6rem; }
}

/* Mobile */
@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }

  /* Typography */
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .section-title { font-size: 1.6rem; }
  .section-title.section-title-lg { font-size: 1.8rem; }

  /* Stats */
  .hero-content .stats-grid {
    gap: 0;
    justify-content: space-around;
  }
  .hero-content .stat {
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    text-align: center;
  }
  .hero-content .stat h3 { font-size: 1.1rem; }
  .hero-content .stat p { font-size: 0.65rem; }

  /* Hero */
  .hero-inner { gap: 1.5rem; padding: 1.5rem 0 2rem; }
  .hero-badge { font-size: 0.7rem; margin-bottom: 1rem; }
  .btn-row { flex-direction: column; gap: 0.75rem; }
  .btn-row .btn { width: 100%; text-align: center; }
  .portfolio-showcase, .showcase-inner { height: 200px; }
  .showcase-inner iframe { top: 0; }
  .nav-byline { display: none; }

  /* Steps */
  .how-it-works { padding: 3rem 0; }
  .steps-grid { max-width: 100%; }
  .step-card { padding: 1.1rem 1.25rem; }
  .step-card h3 { font-size: 1.15rem; }
  .step-card p { font-size: 0.85rem; }

  /* Sponsor CTA */
  .sponsor-cta { padding: 2.5rem 0; }
  .sponsor-cta .section-title { font-size: 1.6rem; }
  .sponsor-cta-queue { font-size: 1.1rem; }
  .sponsor-cta-queue span { font-size: 1.3rem; }

  /* Queue/Sponsor page */
  .thankyou-card { padding: 2rem 1rem; max-width: 100%; }
  .thankyou-card h1 { font-size: 1.5rem; }
  .thankyou-card p { font-size: 0.9rem; }
  .thankyou-icon { width: 72px; height: 72px; font-size: 2.2rem; }
  .btn-lg { padding: 0.85rem 1.5rem; font-size: 0.95rem; }

  /* Form */
  .form-card { padding: 1.25rem; }
  .form-section { padding: 3rem 0; }

  /* Footer */
  footer { padding: 2rem 0; }
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered card reveal */
.step-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Heart Beat + Ring ---------- */
.heart-beat-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart-icon {
  font-size: 3.2rem;
  color: var(--accent);
  z-index: 2;
  animation: heartbeat 2.4s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(255,107,53,0.2));
}

.heart-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: ringPulse 2.4s ease-out infinite;
}

/* Double-beat like a real heartbeat: two quick pulses then rest */
@keyframes heartbeat {
  0%   { transform: scale(1); }
  8%   { transform: scale(1.18); }
  16%  { transform: scale(1); }
  24%  { transform: scale(1.12); }
  32%  { transform: scale(1); }
  100% { transform: scale(1); }
}

/* Ring expands and fades on the first beat */
@keyframes ringPulse {
  0%   { transform: scale(0.8); opacity: 0.5; }
  30%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- Spinner ---------- */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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