@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&family=Playfair+Display:ital,wght@0,400;1,400&display=swap");
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  background: #0A0A0A;
  color: #FAFAFA;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 4rem;
  }
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #262626;
}
@media (min-width: 768px) {
  .navbar {
    padding: 1.5rem 3rem;
  }
}
@media (min-width: 1024px) {
  .navbar {
    padding: 1.5rem 4rem;
  }
}
.navbar .logo {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.navbar .logo span {
  color: #FF3D00;
}
.navbar .nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.navbar .nav-links a {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #737373;
  position: relative;
  transition: color 150ms;
}
.navbar .nav-links a:hover {
  color: #FAFAFA;
}
.navbar .nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #FF3D00;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 150ms cubic-bezier(0.25, 0, 0, 1);
}
.navbar .nav-links a:hover::after {
  transform: scaleX(1);
}

.heading-xl, .hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .heading-xl, .hero h1 {
    font-size: 4.5rem;
  }
}
@media (min-width: 1024px) {
  .heading-xl, .hero h1 {
    font-size: 6rem;
  }
}

.heading-lg, .auth-container .auth-card h2, .dashboard-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
@media (min-width: 768px) {
  .heading-lg, .auth-container .auth-card h2, .dashboard-header h2 {
    font-size: 3rem;
  }
}

.heading-md, .section-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
@media (min-width: 768px) {
  .heading-md, .section-header h3 {
    font-size: 2rem;
  }
}

.heading-sm, .dashboard-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.label-text, .hero .hero-label, .promo-code-box .usage, .stat-badge .label {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #737373;
}

.text-accent {
  color: #FF3D00;
}

.text-muted, .auth-container .auth-card .subtitle {
  color: #737373;
}

.text-serif {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  background: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  position: relative;
  transition: all 150ms cubic-bezier(0.25, 0, 0, 1);
}
.btn:focus-visible {
  outline: 2px solid #FF3D00;
  outline-offset: 2px;
}
.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #FF3D00;
  padding: 0.625rem 0;
  background: none;
  border: none;
}
.btn-primary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #FF3D00;
  transition: transform 150ms cubic-bezier(0.25, 0, 0, 1);
}
.btn-primary:hover::after {
  transform: scaleX(1.1);
}

.btn-outline {
  border: 1px solid #FAFAFA;
  color: #FAFAFA;
  padding: 0.625rem 1.5rem;
  background: transparent;
}
.btn-outline:hover {
  background: #FAFAFA;
  color: #0A0A0A;
}

.btn-danger {
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 0.625rem 1.5rem;
  background: transparent;
}
.btn-danger:hover {
  background: #ef4444;
  color: #FAFAFA;
}

.btn-ghost {
  color: #737373;
  padding: 0.625rem 1rem;
}
.btn-ghost:hover {
  color: #FAFAFA;
}

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

.btn-sm {
  font-size: 0.7rem;
  padding: 0.35rem 0.8rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid #262626;
}
@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
}

.section-hero {
  padding: 8rem 0 6rem;
}
@media (min-width: 768px) {
  .section-hero {
    padding: 10rem 0 8rem;
  }
}

.section-header {
  margin-bottom: 2rem;
}
.section-header .label-text, .section-header .hero .hero-label, .hero .section-header .hero-label, .section-header .promo-code-box .usage, .promo-code-box .section-header .usage, .section-header .stat-badge .label, .stat-badge .section-header .label {
  margin-bottom: 0.75rem;
  display: block;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-badge {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #262626;
}
.stat-badge .label {
  margin-bottom: 0.5rem;
}
.stat-badge .value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
@media (min-width: 768px) {
  .stat-badge .value {
    font-size: 2.5rem;
  }
}
.stat-badge .stat-icon {
  display: none;
}

.dashboard-header {
  padding: 3rem 0 2rem;
}
.dashboard-grid {
  display: grid;
  gap: 0;
}
@media (min-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.dashboard-card {
  background: #0A0A0A;
  border: 1px solid #262626;
  padding: 2rem;
  transition: border-color 150ms;
}
.dashboard-card:hover {
  border-color: #404040;
}
.dashboard-card h3 {
  margin-bottom: 1rem;
}
.dashboard-card h4 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: #737373;
}

.table-container {
  overflow-x: auto;
  margin: 0 -2rem;
  padding: 0 2rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #737373;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #262626;
}
.data-table td {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid #262626;
  vertical-align: middle;
}
.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.data-table a {
  color: #FF3D00;
}
.data-table a:hover {
  text-decoration: underline;
}

.platform-tag {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border: 1px solid #262626;
}
.platform-tag.youtube {
  color: #ff4444;
  border-color: rgba(255, 68, 68, 0.3);
}
.platform-tag.reddit {
  color: #ff6633;
  border-color: rgba(255, 102, 51, 0.3);
}
.platform-tag.tiktok {
  color: #69c9d0;
  border-color: rgba(105, 201, 208, 0.3);
}
.platform-tag.instagram {
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.3);
}

.badge {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  display: inline-block;
  border: 1px solid;
}
.badge-success {
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.3);
}
.badge-warning {
  color: #eab308;
  border-color: rgba(234, 179, 8, 0.3);
}
.badge-error {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #737373;
}

input, select, textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  background: #1A1A1A;
  border: 1px solid #262626;
  border-radius: 0;
  color: #FAFAFA;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  transition: border-color 150ms;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #FF3D00;
}
input::placeholder, select::placeholder, textarea::placeholder {
  color: #737373;
}
input:disabled, select:disabled, textarea:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.input-sm {
  max-width: 120px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  background: #1A1A1A;
  border: 1px solid #262626;
  border-radius: 0;
  color: #FAFAFA;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  text-align: center;
}

.form-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.alert {
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  border-left: 3px solid;
}
.alert-error {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}
.alert-success {
  border-color: #22c55e;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.05);
}

.promo-display {
  text-align: center;
  padding: 1rem 0;
}

.promo-code-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 3rem;
  margin-top: 1rem;
  border: 1px solid #262626;
}
.promo-code-box .code {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FF3D00;
}
@media (min-width: 768px) {
  .promo-code-box .code {
    font-size: 2rem;
  }
}
.promo-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.inline-form {
  display: inline-block;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}
.auth-container .auth-card {
  width: 100%;
  max-width: 460px;
  padding: 3rem 0;
}
.auth-container .auth-card h2 {
  margin-bottom: 0.5rem;
}
.auth-container .auth-card .subtitle {
  margin-bottom: 3rem;
  font-size: 1rem;
}

.hero {
  padding: 8rem 0 6rem;
  position: relative;
}
@media (min-width: 768px) {
  .hero {
    padding: 12rem 0 8rem;
  }
}
.hero .hero-label {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero .hero-label::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: #FF3D00;
  display: inline-block;
}
.hero h1 {
  margin-bottom: 2rem;
  max-width: 900px;
}
.hero p {
  font-size: 1.125rem;
  color: #737373;
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .hero p {
    font-size: 1.25rem;
  }
}
.hero .hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.hero .hero-deco {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16rem;
  font-weight: 900;
  color: #1A1A1A;
  letter-spacing: -0.06em;
  line-height: 1;
  pointer-events: none;
  display: none;
}
@media (min-width: 1024px) {
  .hero .hero-deco {
    display: block;
  }
}

.features-grid {
  display: grid;
}
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 2rem;
  transition: background 150ms;
  border: 1px solid #262626;
}
.feature-card:hover {
  background: #1A1A1A;
}
.feature-card .feature-number {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.75rem;
  color: #FF3D00;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.feature-card p {
  color: #737373;
  font-size: 0.9rem;
  line-height: 1.6;
}

.store-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .store-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.store-item {
  background: #0A0A0A;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  border: 1px solid #262626;
  transition: border-color 150ms;
}
.store-item:hover {
  border-color: #404040;
}
.store-item .store-item-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.store-item .store-item-price {
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.8rem;
  color: #FF3D00;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.store-item .store-item-desc {
  color: #737373;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

footer {
  border-top: 1px solid #262626;
  padding: 3rem 1.5rem;
  text-align: center;
  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 0.75rem;
  color: #737373;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.link-text {
  color: #FF3D00;
}
.link-text:hover {
  text-decoration: underline;
}

.empty-state {
  color: #737373;
  font-size: 0.9rem;
  padding: 1.5rem 0;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-6 {
  margin-top: 3rem;
}

.action-cell {
  white-space: nowrap;
}
.action-cell form {
  display: inline-block;
  margin-right: 0.5rem;
}

.toggle-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.toggle-label input {
  width: auto;
}

.inline-edit-form {
  display: contents;
}

.divider {
  width: 100%;
  height: 1px;
  background: #262626;
  margin: 2rem 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-in {
  animation: fadeInUp 0.5s cubic-bezier(0.25, 0, 0, 1) both;
}

.delay-1 {
  animation-delay: 80ms;
}

.delay-2 {
  animation-delay: 160ms;
}

.delay-3 {
  animation-delay: 240ms;
}
