/* bruh.tools — no cap, fr fr */
/* https://bruh.tools */

:root {
  --bg-primary: #1a1a2e;
  --bg-secondary: #16213e;
  --bg-card: #1f2937;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent-yellow: #fbbf24;
  --accent-cyan: #22d3ee;
  --accent-pink: #f472b6;
  --accent-green: #4ade80;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

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

/* Header */
header {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-yellow);
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--accent-cyan);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  text-align: center;
}

.hero-logo {
  max-width: 400px;
  margin: 0 auto 32px;
}

.hero-logo img {
  width: 100%;
  height: auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero .tagline .highlight {
  color: var(--accent-yellow);
  font-weight: 600;
}

/* Products Grid */
.products-section {
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-cyan);
}

.product-card.coming-soon {
  opacity: 0.7;
}

.product-card.coming-soon:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.1);
}

.product-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-yellow);
}

.product-description {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.product-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-available {
  background: rgba(74, 222, 128, 0.2);
  color: var(--accent-green);
}

.badge-coming {
  background: rgba(148, 163, 184, 0.2);
  color: var(--text-secondary);
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-copy {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Product Page Styles */
.product-page {
  padding: 60px 0;
}

.product-hero {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
}

.product-hero-icon {
  width: 120px;
  height: 120px;
  border-radius: var(--border-radius);
}

.product-hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-yellow);
  margin-bottom: 8px;
}

.product-hero-content .tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

/* Install Section */
.install-section {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 32px;
  margin-bottom: 48px;
}

.install-section h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.install-command {
  display: flex;
  align-items: center;
  background: #0d1117;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.install-command code {
  flex: 1;
  padding: 16px 20px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 1rem;
  color: var(--accent-cyan);
}

.copy-btn {
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.copy-btn:hover {
  color: var(--accent-yellow);
  background: rgba(255, 255, 255, 0.05);
}

.copy-btn.copied {
  color: var(--accent-green);
}

/* Usage Section */
.usage-section {
  margin-bottom: 48px;
}

.usage-section h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.code-block {
  background: #0d1117;
  border-radius: var(--border-radius-sm);
  padding: 24px;
  overflow-x: auto;
  margin-bottom: 16px;
}

.code-block pre {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.9rem;
  line-height: 1.7;
}

.code-block .comment {
  color: #6e7681;
}

.code-block .command {
  color: var(--accent-cyan);
}

.code-block .flag {
  color: var(--accent-yellow);
}

.code-block .value {
  color: var(--accent-pink);
}

/* Links Section */
.links-section {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.link-btn:hover {
  border-color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.1);
}

.link-btn svg {
  width: 20px;
  height: 20px;
}

/* Coming Soon Page */
.coming-soon-page {
  padding: 120px 0;
  text-align: center;
}

.coming-soon-page h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--accent-yellow);
}

.coming-soon-page p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .tagline {
    font-size: 1.25rem;
  }
  
  .header-content {
    flex-direction: column;
    gap: 16px;
  }
  
  .product-hero {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeIn 0.4s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }


/* Product Stats */
.product-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.product-stats .stat {
  opacity: 0.8;
}

/* Random Tool Button */
.random-btn {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-cyan));
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.random-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

/* Testimonials Section */
.testimonials {
  padding: 60px 0;
  background: rgba(0, 0, 0, 0.2);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 24px;
  border-left: 3px solid var(--accent-yellow);
  transition: transform 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px) rotate(0deg) !important;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  font-style: italic;
}

.testimonial-card .author {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

/* Comparison Table */
.comparison-section {
  padding: 60px 0;
}

.comparison-table {
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
  background: rgba(0, 0, 0, 0.3);
  font-weight: 600;
  color: var(--accent-yellow);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-table td a {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 500;
}

.comparison-table td a:hover {
  text-decoration: underline;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Animated Gradient Hero */
.hero {
  background: linear-gradient(-45deg, #0f172a, #1e293b, #0f172a, #1e3a5f);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

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

/* Version Badges */
.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
}

/* Content Page Styles */
.content-page {
  padding: 60px 0;
}

.content-page h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-yellow);
  margin-bottom: 32px;
}

.content-page h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.content-block {
  max-width: 700px;
}

.content-block p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-block .lead {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.content-block a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.content-block a:hover {
  text-decoration: underline;
}

.content-block ol {
  color: var(--text-secondary);
  padding-left: 24px;
  line-height: 2;
}

.muted {
  color: var(--text-secondary);
  opacity: 0.7;
}


/* Compact Hero */
.hero-compact {
  padding: 32px 0 48px;
}

.hero-compact .tagline {
  margin-bottom: 0;
}

/* Header Logo Image */
.header-logo-img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

/* Game Banner Section */
.game-banner {
  padding: 40px 0 60px;
}

.game-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(34, 211, 238, 0.3);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.2);
}

.game-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.game-card:hover .game-bg {
  filter: brightness(0.7);
  transform: scale(1.02);
}

.game-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px;
}

.game-logo-icon {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.game-logo-text {
  display: block;
  max-width: 400px;
  height: auto;
  margin: 0 auto 16px;
  filter: drop-shadow(0 4px 20px rgba(34, 211, 238, 0.5));
}

.game-tagline {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.game-status {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(251, 191, 36, 0.3));
  border: 1px solid rgba(34, 211, 238, 0.5);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .game-card {
    min-height: 280px;
  }
  
  .game-logo-icon {
    width: 80px;
    height: 80px;
  }
  
  .game-logo-text {
    max-width: 280px;
  }
  
  .game-tagline {
    font-size: 1rem;
  }
}
