/* ==============================================================================
   vabbe.se - Official Stylesheet (Consistent with Cozy Pixel Art Identity)
   ============================================================================== */

:root {
  --bg-deep: #090d16;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(24, 34, 54, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 158, 11, 0.4);
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-blue: #4f80b0;
  --accent-blue-light: #70a1d4;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

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

/* ==============================================================================
   Background Elements
   ============================================================================== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
}

.glow-gold {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.4), transparent 70%);
  top: -120px;
  left: 15%;
}

.glow-blue {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(79, 128, 176, 0.4), transparent 70%);
  bottom: 80px;
  right: 10%;
}

.pixel-grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

/* ==============================================================================
   Header Navigation
   ============================================================================== */
.vabbe-header {
  background: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}

.header-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.header-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.header-logo-link:hover {
  transform: scale(1.02);
}

.header-logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.btn-cta-nav {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

/* ==============================================================================
   Main & Hero Section
   ============================================================================== */
.vabbe-main {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-section {
  text-align: center;
  padding: 64px 0 48px;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 18px;
  border-radius: 30px;
  letter-spacing: 0.8px;
  margin-bottom: 24px;
}

.hero-heading {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: #ffffff;
}

.highlight-text {
  background: linear-gradient(135deg, #fbbf24 20%, #60a5fa 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
  color: #090d16;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
  border: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ==============================================================================
   Video Showcase Section
   ============================================================================== */
.video-section {
  padding: 32px 0 64px;
}

.video-container {
  max-width: 960px;
  margin: 0 auto;
}

.video-card-frame {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.video-card-frame:hover {
  border-color: var(--border-focus);
  box-shadow: 0 24px 60px rgba(245, 158, 11, 0.18);
}

.frame-bar {
  background: rgba(12, 18, 30, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.frame-controls {
  display: flex;
  gap: 8px;
}

.ctrl {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.ctrl-close { background: #ef4444; }
.ctrl-min { background: #f59e0b; }
.ctrl-max { background: #10b981; }

.frame-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.frame-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 9px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.video-player-wrapper {
  background: #000;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vabbe-video {
  width: 100%;
  max-height: 560px;
  display: block;
  outline: none;
  background: #000;
}

.video-footer-info {
  padding: 16px 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(12, 18, 30, 0.7);
  border-top: 1px solid var(--border-subtle);
}

.vf-icon {
  font-size: 22px;
}

.vf-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

/* ==============================================================================
   Features Section
   ============================================================================== */
.features-section {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-focus);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
}

.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.card-icon-box.gold {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-icon-box.blue {
  background: rgba(79, 128, 176, 0.15);
  border: 1px solid rgba(79, 128, 176, 0.3);
}

.card-icon-box.green {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.card-icon-box.cyan {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ==============================================================================
   Showcase Box
   ============================================================================== */
.showcase-section {
  padding: 40px 0;
}

.showcase-box {
  background: linear-gradient(135deg, rgba(20, 30, 48, 0.9), rgba(12, 18, 30, 0.95));
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4);
}

.showcase-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.showcase-content h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
}

.showcase-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.showcase-character-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.character-pedestal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.character-img {
  width: 140px;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.75));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}

.character-img:hover {
  transform: translateY(-8px) scale(1.08);
}

.pixelated {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.character-shadow {
  width: 110px;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  margin-top: -6px;
  z-index: 1;
}

/* ==============================================================================
   Call To Action Section
   ============================================================================== */
.cta-section {
  padding: 60px 0 80px;
}

.cta-card {
  text-align: center;
  background: radial-gradient(circle at center, rgba(28, 41, 65, 0.9) 0%, rgba(12, 18, 30, 0.95) 100%);
  border: 1px solid var(--border-focus);
  border-radius: 24px;
  padding: 56px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.cta-logo-wrap {
  margin-bottom: 24px;
}

.cta-logo-img {
  height: 64px;
  width: auto;
  display: inline-block;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6));
}

.cta-heading {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-desc {
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-large {
  padding: 16px 38px;
  font-size: 17px;
}

/* ==============================================================================
   Footer
   ============================================================================== */
.vabbe-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(7, 10, 18, 0.96);
  padding: 44px 0 32px;
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

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

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

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

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==============================================================================
   Responsive Adjustments
   ============================================================================== */
@media (max-width: 860px) {
  .showcase-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .header-nav {
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .header-container {
    flex-direction: column;
    padding: 0 16px;
  }
  .header-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .header-logo-img {
    height: 40px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
