/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #121824;
  --bg-glass: rgba(18, 24, 36, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Sports Accent Colors */
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-neon-green: #39ff14;
  --accent-danger: #ef4444;
  --accent-danger-glow: rgba(239, 68, 68, 0.4);
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  --grad-dark: linear-gradient(180deg, #0e1420 0%, #06090e 100%);
  --grad-jersey: linear-gradient(185deg, #101c33 0%, #030812 100%);
  
  --font-family: 'Outfit', 'Montserrat', sans-serif;
  --shadow-neon: 0 0 15px rgba(0, 242, 254, 0.5);
  --shadow-neon-hover: 0 0 25px rgba(0, 242, 254, 0.8);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

/* Stadium Floodlight Background Effect */
.stadium-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% -20%, rgba(79, 172, 254, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 10% 20%, rgba(0, 242, 258, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(57, 255, 20, 0.03) 0%, transparent 40%);
  z-index: -2;
  pointer-events: none;
}

/* Subtle Animated Background Grid */
.stadium-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   GLASSMORPHISM UTILITY STYLE
   ========================================================================== */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.app-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.club-logo {
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
  animation: logo-float 4s ease-in-out infinite;
}

.club-info h1 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.club-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 4px;
}

/* ==========================================================================
   HERO / CALL TO ACTION
   ========================================================================== */
.hero-section {
  text-align: center;
  padding: 5rem 2rem;
  background: radial-gradient(circle at center, rgba(16, 28, 51, 0.4) 0%, transparent 70%);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-section h2 {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-section p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Buttons */
.btn-primary {
  background: var(--grad-primary);
  color: #030712;
  border: none;
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-family);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--shadow-neon-hover);
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* Pulsing highlight effect */
.animate-pulse {
  animation: pulse-glow 2s infinite;
}

/* ==========================================================================
   REGISTRATION WORKSPACE
   ========================================================================== */
.registration-section {
  opacity: 1;
  transform: translateY(0);
  transition: var(--transition-smooth);
}

.registration-section.hidden {
  display: none;
  opacity: 0;
  transform: translateY(40px);
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-secondary);
}

.workspace-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

/* ==========================================================================
   CSS JERSEY & KIT VISUALIZER
   ========================================================================== */
.preview-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.card-header {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
}

.card-header h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
}

.jersey-visualizer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 300px;
}

/* The Soccer Jersey shape */
.jersey-wrapper {
  position: relative;
  width: 260px;
  height: 240px;
  perspective: 600px;
}

.jersey {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--grad-jersey);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 2px 10px rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.05);
}

/* Jersey Collar */
.jersey::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 25px;
  background: #0d1e3a;
  border-radius: 0 0 35px 35px;
  z-index: 5;
  box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.5), 0 2px 3px rgba(255,255,255,0.1);
  border-bottom: 2px solid var(--accent-cyan);
}

/* Sleeves */
.sleeve {
  position: absolute;
  top: 0;
  width: 60px;
  height: 110px;
  background: #08101f;
  z-index: -1;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.sleeve.left {
  left: -42px;
  border-radius: 12px 0 0 20px;
  transform: rotate(-35deg);
  transform-origin: top right;
  border-left: 2px solid var(--accent-cyan);
  border-bottom: 3px solid var(--accent-cyan);
}

.sleeve.right {
  right: -42px;
  border-radius: 0 12px 20px 0;
  transform: rotate(35deg);
  transform-origin: top left;
  border-right: 2px solid var(--accent-cyan);
  border-bottom: 3px solid var(--accent-cyan);
}

/* Athletic stripes on jersey */
.jersey-stripes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
  opacity: 0.15;
}

.stripe {
  width: 24px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-blue) 0%, transparent 100%);
}

/* Jersey badge (shield logo) */
.jersey-badge {
  position: absolute;
  top: 40px;
  left: 35px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Text on shirt */
.jersey-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 30px;
  z-index: 3;
}

.jersey-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.9), -1px -1px 3px rgba(0,0,0,0.9);
  text-transform: uppercase;
  margin-bottom: 15px;
  max-width: 190px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-family);
}

.jersey-number {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #ffffff 30%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.8));
}

/* Shorts shape */
.short-wrapper {
  margin-top: 10px;
  width: 180px;
  height: 100px;
}

.short {
  position: relative;
  width: 100%;
  height: 100%;
  background: #090e18;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

.short-belt {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: #04070c;
  border-bottom: 1.5px solid var(--accent-cyan);
}

.short .leg {
  width: 48%;
  height: 100%;
  background: #090e18;
  display: flex;
  align-items: flex-end;
  padding-bottom: 15px;
}

.short .leg.left {
  border-radius: 0 0 0 10px;
  padding-left: 15px;
  border-left: 2.5px solid var(--accent-cyan);
}

.short .leg.right {
  border-radius: 0 0 10px 0;
  justify-content: flex-end;
  padding-right: 15px;
  border-right: 2.5px solid var(--accent-cyan);
}

.short-number {
  font-size: 1.2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.short-badge {
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   REGISTRATION FORM CARD
   ========================================================================== */
.form-card {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
}

/* Custom Text Inputs */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-group input[type="text"] {
  width: 100%;
  padding: 1rem 4.5rem 1rem 1.2rem;
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 1.05rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.form-group input[type="text"]:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
  background: rgba(10, 14, 23, 0.9);
}

.char-count {
  position: absolute;
  right: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.error-msg {
  color: var(--accent-danger);
  font-size: 0.8rem;
  margin-top: 0.4rem;
  display: none;
  font-weight: 500;
}

.error-msg.visible {
  display: block;
}

/* Size selectors (Capsule design) */
.size-selectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.size-btn-group {
  display: flex;
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  padding: 4px;
}

.btn-size {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.6rem 0;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-size:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-size.active {
  background: var(--grad-primary);
  color: #030712;
  box-shadow: 0 4px 10px rgba(0, 242, 254, 0.3);
}

.sync-indicator {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  padding-left: 0.5rem;
  font-style: italic;
  transition: var(--transition-smooth);
}

.sync-indicator.edited {
  color: var(--accent-blue);
}

/* ==========================================================================
   INTERACTIVE NUMBER GRID SELECTOR
   ========================================================================== */
.number-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box svg {
  position: absolute;
  left: 0.8rem;
  color: var(--text-muted);
}

.search-box input {
  padding: 0.5rem 1rem 0.5rem 2.2rem;
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.85rem;
  width: 160px;
  transition: var(--transition-smooth);
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  width: 200px;
}

/* Grid Filters */
.number-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.btn-filter {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-family: var(--font-family);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-filter:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
}

.btn-filter.active {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Grid Container */
.number-grid-container {
  height: 180px;
  overflow-y: auto;
  border: 1px solid var(--border-glass);
  background: rgba(5, 8, 15, 0.4);
  border-radius: 10px;
  padding: 0.8rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-blue) rgba(255,255,255,0.02);
}

.number-grid-container::-webkit-scrollbar {
  width: 6px;
}

.number-grid-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

.number-grid-container::-webkit-scrollbar-thumb {
  background-color: var(--border-glass);
  border-radius: 10px;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
  gap: 0.5rem;
}

/* Individual number button item */
.num-btn {
  height: 42px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  background: rgba(18, 24, 36, 0.5);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

/* Free state */
.num-btn.free:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
  transform: translateY(-2px);
}

/* Selected state */
.num-btn.selected {
  background: var(--grad-primary);
  color: #030712;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.5);
  transform: scale(1.05);
}

/* Taken state */
.num-btn.taken {
  background: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.15);
  color: var(--accent-danger);
  opacity: 0.4;
  cursor: not-allowed;
  position: relative;
  overflow: hidden;
}

.num-btn.taken::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 1.5px;
  background: var(--accent-danger);
  transform: rotate(-45deg);
}

/* Submit Uniform Form Button */
.btn-submit {
  width: 100%;
  background: var(--grad-primary);
  color: #030712;
  border: none;
  border-radius: 10px;
  padding: 1.1rem;
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  box-shadow: var(--shadow-neon);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-hover);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: #030712;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner.hidden {
  display: none;
}

/* ==========================================================================
   LEADERBOARD / REGISTERED MEMBERS LIST
   ========================================================================== */
.leaderboard-section {
  padding: 2.5rem;
  margin-top: 1rem;
}

.search-registrations-bar {
  margin-bottom: 1.5rem;
}

.search-registrations-bar input {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.search-registrations-bar input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
  background: rgba(10, 14, 23, 0.9);
}

.table-container {
  overflow-x: auto;
  scrollbar-width: thin;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.leaderboard-table th {
  padding: 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-cyan);
  border-bottom: 2px solid rgba(255,255,255,0.08);
}

.leaderboard-table td {
  padding: 1.1rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition-smooth);
}

.leaderboard-table tr {
  transition: var(--transition-smooth);
}

.leaderboard-table tr:hover:not(.empty-row) {
  background: rgba(255, 255, 255, 0.02);
}

.player-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.1);
  border: 1.5px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 0 5px rgba(0, 242, 254, 0.4);
}

.size-pill {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.loading-state {
  text-align: center;
  padding: 3rem !important;
  color: var(--text-secondary);
}

.loading-state .spinner {
  display: inline-block;
  border-top-color: var(--accent-cyan);
  margin-bottom: 0.8rem;
}

/* ==========================================================================
   TOAST SYSTEM
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1000;
}

.toast {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  background: #161b22;
  border-left: 4px solid var(--accent-blue);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  font-size: 0.9rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transform: translateX(120%);
  animation: slide-in 0.3s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: var(--transition-smooth);
}

.toast.success {
  border-left-color: var(--accent-neon-green);
}

.toast.error {
  border-left-color: var(--accent-danger);
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 1;
  transition: var(--transition-smooth);
}

.modal-overlay.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  max-width: 440px;
  width: 90%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  animation: zoom-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(57, 255, 20, 0.1);
  border: 3px solid var(--accent-neon-green);
  color: var(--accent-neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.modal-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.modal-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.receipt-details {
  background: rgba(10, 14, 23, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 2rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed rgba(255,255,255,0.05);
}

.receipt-row:last-child {
  border-bottom: none;
}

.receipt-row span {
  color: var(--text-muted);
}

.receipt-row strong {
  color: var(--text-primary);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(0, 242, 254, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 242, 254, 0);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes slide-in {
  to { transform: translateX(0); }
}

@keyframes zoom-in {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 968px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  
  .preview-card {
    min-height: auto;
    padding: 1.5rem;
  }
  
  .hero-section h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 1rem;
  }
  
  .hero-section {
    padding: 3rem 1rem;
  }
  
  .hero-section h2 {
    font-size: 1.8rem;
  }
  
  .form-card, .leaderboard-section {
    padding: 1.5rem;
  }
  
  .size-selectors {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
