/* ==========================================================================
   EMAN'S APRILIA SR 50 - ULTIMATE TUNING & MEME HUBSPACE
   ========================================================================== */

:root {
  --bg-primary: #0a0c10;
  --bg-card: rgba(22, 27, 34, 0.75);
  --bg-card-hover: rgba(30, 38, 48, 0.85);
  --accent-red: #ff0033;
  --accent-red-glow: rgba(255, 0, 51, 0.4);
  --accent-yellow: #ffcc00;
  --accent-cyan: #00f0ff;
  --accent-green: #00ff66;
  --text-main: #f0f4f8;
  --text-muted: #8b949e;
  --border-glow: rgba(255, 0, 51, 0.3);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-heading: 'Teko', sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 0, 51, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(10, 12, 16, 0.95), #0a0c10);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  padding-bottom: 90px; /* Space for mobile nav */
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0c10;
}
::-webkit-scrollbar-thumb {
  background: #2d3748;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px 0 rgba(255, 0, 51, 0.25);
  transform: translateY(-2px);
}

/* Header & Top Bar */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 0, 51, 0.2);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent-red);
  box-shadow: 0 0 15px var(--accent-red-glow);
  object-fit: cover;
  animation: pulse-border 2s infinite;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  display: block;
}

.header-status {
  background: rgba(255, 0, 51, 0.15);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-red);
  animation: blink 1s infinite alternate;
}

/* Container */
.main-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(26, 31, 41, 0.9), rgba(15, 18, 25, 0.95));
  border: 1px solid rgba(255, 0, 51, 0.3);
  box-shadow: 0 10px 40px rgba(255, 0, 51, 0.2);
}

@media (min-width: 768px) {
  .hero-section {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 36px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 204, 0, 0.15);
  border: 1px solid var(--accent-yellow);
  color: var(--accent-yellow);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 0, 51, 0.5);
}

.hero-title span {
  color: var(--accent-red);
  display: block;
}

.hero-description {
  color: #c0c8d4;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(255, 0, 51, 0.4);
  box-shadow: 0 0 30px rgba(255, 0, 51, 0.3);
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}

.hero-image-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Action Buttons */
.btn-primary {
  background: linear-gradient(135deg, #ff0033 0%, #b30024 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 1px;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 0, 51, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-primary:active {
  transform: scale(0.96);
  box-shadow: 0 2px 10px rgba(255, 0, 51, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
}

/* Interactive Soundboard & Rev Limiter */
.rev-section {
  padding: 24px;
  text-align: center;
  background: radial-gradient(circle at center, rgba(30, 15, 20, 0.9), rgba(15, 18, 25, 0.95));
}

.section-header {
  margin-bottom: 20px;
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* Tachometer Gauge */
.tacho-container {
  max-width: 320px;
  margin: 0 auto 20px auto;
  position: relative;
}

.tacho-dial {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border-radius: 50%;
  border: 8px solid #1a202c;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 0, 51, 0.2);
  background: radial-gradient(circle, #11141a 0%, #050608 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tacho-needle {
  width: 4px;
  height: 90px;
  background: linear-gradient(to top, var(--accent-red), #ff6688);
  position: absolute;
  bottom: 50%;
  left: calc(50% - 2px);
  transform-origin: bottom center;
  transform: rotate(-120deg);
  transition: transform 0.08s cubic-bezier(0.1, 0.9, 0.2, 1);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--accent-red);
}

.tacho-center {
  width: 24px;
  height: 24px;
  background: #fff;
  border: 4px solid var(--accent-red);
  border-radius: 50%;
  z-index: 10;
}

.tacho-readout {
  margin-top: 15px;
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent-yellow);
  text-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
  line-height: 1;
}

.tacho-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* Gas Handle / Hold Button */
.gas-handle-btn {
  width: 100%;
  max-width: 320px;
  height: 70px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ff0033 0%, #99001f 100%);
  border: 2px solid #ff4d73;
  border-radius: 35px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 6px 30px rgba(255, 0, 51, 0.6);
  user-select: none;
  touch-action: manipulation;
  transition: all 0.1s ease;
}

.gas-handle-btn:active, .gas-handle-btn.active {
  transform: scale(0.96);
  background: linear-gradient(135deg, #ff3300 0%, #ff0033 100%);
  box-shadow: 0 2px 15px rgba(255, 51, 0, 0.8), 0 0 30px var(--accent-yellow);
}

/* Sound Effect Pads Grid */
.sound-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.sound-pad {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 12px;
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.sound-pad i {
  font-size: 1.6rem;
  color: var(--accent-cyan);
}

.sound-pad:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.sound-pad:active {
  transform: scale(0.95);
}

/* Tuning Garage Section */
.garage-section {
  padding: 24px;
}

.tuning-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .tuning-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tuning-card {
  background: rgba(20, 24, 33, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
}

.tuning-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.tuning-card-header i {
  color: var(--accent-yellow);
  font-size: 1.4rem;
}

.tuning-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #fff;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.option-btn.selected {
  background: rgba(255, 0, 51, 0.2);
  border-color: var(--accent-red);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 51, 0.3);
}

.option-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.option-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Tuning Live Stats Display */
.live-stats-box {
  background: linear-gradient(135deg, rgba(20, 10, 15, 0.9), rgba(10, 12, 16, 0.95));
  border: 2px solid var(--accent-red);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.stat-item {
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent-yellow);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Meme Rules & Quotes Section */
.memes-section {
  padding: 24px;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rule-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease;
}

.rule-card:hover {
  transform: translateX(6px);
  border-color: var(--accent-yellow);
}

.rule-number {
  background: var(--accent-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--accent-red-glow);
}

.rule-text h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 4px;
}

.rule-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Drag Race Game Section */
.game-section {
  padding: 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(15, 25, 35, 0.9), rgba(10, 12, 16, 0.95));
}

.race-track {
  width: 100%;
  height: 120px;
  background: #11151c;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 10px 0;
}

.lane {
  width: 100%;
  height: 40px;
  position: relative;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.racer {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  transition: left 0.1s linear;
  display: flex;
  align-items: center;
  gap: 6px;
}

.racer-label {
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
}

.finish-line {
  position: absolute;
  right: 15px;
  top: 0;
  bottom: 0;
  width: 12px;
  background: repeating-linear-gradient(
    0deg,
    #fff,
    #fff 10px,
    #000 10px,
    #000 20px
  );
}

.race-btn {
  background: linear-gradient(135deg, #00ff66 0%, #009933 100%);
  color: #000;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  padding: 16px 36px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 255, 102, 0.4);
  letter-spacing: 1px;
  transition: transform 0.1s ease;
  margin-top: 10px;
}

.race-btn:active {
  transform: scale(0.94);
}

/* Dvotaktol Calculator Section */
.calc-section {
  padding: 24px;
}

.calc-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 450px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.form-control {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-size: 1.1rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--accent-red);
}

.calc-result {
  background: rgba(255, 0, 51, 0.1);
  border: 1px solid var(--accent-red);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.calc-val {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--accent-yellow);
}

/* Certificate Generator Section */
.cert-section {
  padding: 24px;
  text-align: center;
}

.cert-card {
  border: 4px double var(--accent-yellow);
  padding: 30px 20px;
  background: radial-gradient(circle, #1a1600 0%, #0a0c10 100%);
  border-radius: var(--radius-md);
  margin-top: 16px;
  box-shadow: 0 0 30px rgba(255, 204, 0, 0.2);
}

.cert-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cert-name {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--accent-red);
  text-transform: uppercase;
  margin: 10px 0;
}

/* Mobile Fixed Bottom Navigation */
.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: rgba(10, 12, 16, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 0, 51, 0.3);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 10px;
}

/* Facebook Feed Posts Styling */
.fb-feed-section {
  padding: 24px;
}

.fb-posts-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
}

.fb-post-card {
  background: rgba(20, 24, 33, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.fb-post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fb-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--accent-red);
  object-fit: cover;
}

.fb-user-info h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fb-verified-badge {
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

.fb-timestamp {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.fb-post-content {
  padding: 12px 16px;
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.4;
}

.fb-post-image-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.fb-post-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.fb-post-image:hover {
  transform: scale(1.02);
}

.fb-post-stats {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fb-post-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fb-action-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.fb-action-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.fb-action-btn.liked {
  color: #1877f2;
}

.fb-comments-list {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fb-comment-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.fb-comment-bubble {
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.85rem;
  max-width: 85%;
}

.fb-comment-author {
  font-weight: 700;
  color: var(--accent-yellow);
  margin-bottom: 2px;
}

.fb-comment-text {
  color: #cbd5e1;
}


.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  transition: color 0.2s ease;
  width: 20%;
  text-align: center;
}

.nav-item i {
  font-size: 1.3rem;
}

.nav-item.active, .nav-item:hover {
  color: var(--accent-red);
}

.nav-item.active i {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px var(--accent-red));
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer strong {
  color: var(--accent-red);
}

/* Smoke & Sparks Animation Keyframes */
@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(255, 0, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 51, 0); }
}

@keyframes blink {
  from { opacity: 1; }
  to { opacity: 0.3; }
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.shake-effect {
  animation: shake 0.3s infinite;
}

/* Floating particle canvas styling */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}
