/* ========================================================
   ZonaGP Web App - Styling
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,700;1,800&display=swap');

:root {
  --zonagp-red: #E10600;
  --zonagp-red-hover: #C50500;
  --zonagp-dark: #0B0F17;
  --zonagp-card: #131B2A;
  --zonagp-border: #1E293B;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--zonagp-dark);
  color: #F8FAFC;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0B0F17;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E10600;
}

/* Nav Tabs */
.nav-tab-btn {
  color: #94A3B8;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.nav-tab-btn:hover {
  color: #FFFFFF;
  border-color: #334155;
}
.nav-tab-btn.active {
  color: #FFFFFF;
  border-color: #E10600;
  background: linear-gradient(180deg, rgba(225, 6, 0, 0) 0%, rgba(225, 6, 0, 0.08) 100%);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #E10600 0%, #B30500 100%);
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 0.65rem 1.25rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(225, 6, 0, 0.3);
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #F0150F 0%, #C50500 100%);
  box-shadow: 0 6px 20px rgba(225, 6, 0, 0.45);
  transform: translateY(-1px);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(40%);
}

.btn-secondary {
  background: #1E293B;
  color: #F1F5F9;
  font-weight: 600;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 0.65rem 1.25rem;
  transition: all 0.2s ease;
}
.btn-secondary:hover:not(:disabled) {
  background: #334155;
  color: #FFFFFF;
  border-color: #475569;
}

/* Poster Previews */
.poster-preview-container {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4 / 5;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  background-color: #000;
}

.poster-canvas-preview {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: contain;
}

.poster-canvas-preview-small {
  width: 100% !important;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: contain;
}

/* Glassmorphism Card */
.glass-card {
  background: rgba(19, 27, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

/* Glow Accent */
.glow-red {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.15) 0%, rgba(225, 6, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
