@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --primary-green: #00ff00;
  --dark-bg: #000000;
  --terminal-bg: #0a0a0a;
  --terminal-border: #333333;
  --text-dim: #888888;
  --text-bright: #ffffff;
  --accent-cyan: #00ffff;
  --accent-yellow: #ffff00;
  --accent-red: #ff0040;
  --accent-blue: #0080ff;
  --gradient-green: linear-gradient(45deg, #00ff00, #00cc00);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark-bg);
  color: var(--primary-green);
  font-family: "JetBrains Mono", "Courier New", monospace;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 14px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* Matrix Background */
.matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.05;
}

/* Terminal Windows */
.terminal-window {
  background: var(--terminal-bg);
  border: 2px solid var(--primary-green);
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

#main-terminal {
  margin-bottom: 0;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
}

.terminal-window:hover {
  box-shadow: 0 0 40px rgba(0, 255, 0, 0.3);
  transform: translateY(-2px);
}

.terminal-window::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 49%,
    rgba(0, 255, 0, 0.03) 50%,
    transparent 51%
  );
  pointer-events: none;
  z-index: 1;
}

.terminal-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  padding: 12px 20px;
  border-bottom: 1px solid var(--primary-green);
  display: flex;
  align-items: center;
  gap: 12px;
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: relative;
  transition: all 0.2s ease;
}

.dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.7;
}

.dot.red {
  background: #3a1a1a;
  border: 1px solid #ff5f56;
}
.dot.red::after {
  background: #ff5f56;
}

.dot.yellow {
  background: #3a3a1a;
  border: 1px solid #ffbd2e;
}
.dot.yellow::after {
  background: #ffbd2e;
}

.dot.green {
  background: #1a3a1a;
  border: 1px solid #27ca3f;
}
.dot.green::after {
  background: #27ca3f;
}

.terminal-title {
  color: var(--primary-green);
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.terminal-controls {
  margin-left: auto;
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
}

.terminal-content {
  padding: 30px 25px;
  position: relative;
}

/* Header Section */
.header {
  text-align: center;
  margin-bottom: 40px;
}

.ascii-art {
  font-size: 11px;
  line-height: 1.1;
  color: var(--primary-green);
  white-space: pre;
  margin-bottom: 30px;
  text-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
  font-weight: 600;
}

.boot-sequence {
  color: var(--text-dim);
  font-size: 12px;
  margin-bottom: 20px;
  text-align: left;
}

.boot-line {
  margin-bottom: 5px;
  opacity: 0;
  animation: bootUp 0.5s ease forwards;
}

.boot-line:nth-child(1) {
  animation-delay: 0.2s;
}
.boot-line:nth-child(2) {
  animation-delay: 0.4s;
}
.boot-line:nth-child(3) {
  animation-delay: 0.6s;
}
.boot-line:nth-child(4) {
  animation-delay: 0.8s;
}
.boot-line:nth-child(5) {
  animation-delay: 1s;
}

@keyframes bootUp {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.prompt {
  color: var(--primary-green);
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 500;
}

.command-output {
  color: var(--text-bright);
  margin-left: 20px;
  margin-bottom: 10px;
}

.typing-cursor {
  display: inline-block;
  background: var(--primary-green);
  animation: blink 1s infinite;
  width: 2px;
  height: 1.2em;
  margin-left: 2px;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* Navigation */
.navigation {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  background: rgba(0, 255, 0, 0.05);
  border-bottom: 1px solid var(--primary-green);
  overflow-x: auto;
  z-index: 10;
  position: relative;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 12px 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  position: relative;
}

.tab-btn:hover {
  background: rgba(0, 255, 0, 0.1);
  color: var(--primary-green);
}

.tab-btn.active {
  color: var(--primary-green);
  border-bottom-color: var(--primary-green);
  background: rgba(0, 255, 0, 0.05);
}

.tab-btn.external {
  color: var(--accent-cyan);
  text-decoration: none;
}

.tab-btn.external:hover {
  color: var(--primary-green);
}

.tab-btn.external::after {
  content: " ↗";
  font-size: 10px;
}

/* Tab Content */
.tab-content {
  display: none;
  min-height: 60vh;
  padding: 20px 0;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-item {
  color: var(--primary-green);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--primary-green);
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: lowercase;
  font-size: 12px;
  font-weight: 400;
  position: relative;
  background: transparent;
}

.nav-item:hover {
  background: var(--primary-green);
  color: var(--dark-bg);
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
  transform: translateY(-2px);
}

.nav-item.external::after {
  content: " ↗";
  font-size: 10px;
}

/* Section Styling */
.section {
  margin-bottom: 40px;
}

.section-title {
  color: var(--primary-green);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.section-content {
  color: var(--text-bright);
}

/* Info Blocks */
.info-block {
  margin-bottom: 25px;
  padding: 15px 0;
  border-left: 3px solid var(--primary-green);
  padding-left: 15px;
}

.info-block h3 {
  color: var(--primary-green);
  font-size: 16px;
  margin-bottom: 10px;
}

.info-block p {
  color: var(--text-bright);
  line-height: 1.7;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.info-card {
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid var(--primary-green);
  padding: 20px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.info-card:hover {
  background: rgba(0, 255, 0, 0.08);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.info-card h4 {
  color: var(--primary-green);
  font-size: 14px;
  margin-bottom: 15px;
}

.info-card ul {
  list-style: none;
  color: var(--text-bright);
}

.info-card li {
  margin-bottom: 8px;
  padding-left: 5px;
}

.info-card a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

.info-card a:hover {
  color: var(--primary-green);
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Experience Timeline */
.experience-timeline {
  position: relative;
  padding-left: 30px;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-green);
  opacity: 0.3;
}

.experience-item {
  position: relative;
  margin-bottom: 35px;
  padding: 20px;
  background: rgba(0, 255, 0, 0.03);
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.experience-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 25px;
  width: 12px;
  height: 12px;
  background: var(--primary-green);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.experience-item.current::before {
  background: var(--accent-yellow);
  box-shadow: 0 0 15px rgba(255, 255, 0, 0.7);
}

.experience-item:hover {
  background: rgba(0, 255, 0, 0.06);
  border-color: var(--primary-green);
  transform: translateX(5px);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.experience-header h3 {
  color: var(--primary-green);
  font-size: 16px;
  margin: 0;
}

.experience-date {
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 500;
}

.experience-status {
  background: var(--accent-yellow);
  color: var(--dark-bg);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.experience-details p {
  color: var(--text-bright);
  margin-bottom: 15px;
  font-weight: 500;
}

.experience-details ul {
  list-style: none;
  color: var(--text-bright);
}

.experience-details li {
  margin-bottom: 8px;
  padding-left: 5px;
  line-height: 1.6;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 25px;
}

.skill-category {
  background: rgba(0, 255, 0, 0.03);
  border: 1px solid rgba(0, 255, 0, 0.2);
  padding: 25px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.skill-category:hover {
  background: rgba(0, 255, 0, 0.06);
  border-color: var(--primary-green);
}

.skill-category h4 {
  color: var(--primary-green);
  font-size: 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.skill-name {
  color: var(--text-bright);
  font-size: 13px;
  min-width: 120px;
  flex-shrink: 0;
}

.skill-bar {
  flex-grow: 1;
  height: 8px;
  background: rgba(0, 255, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.skill-fill {
  height: 100%;
  background: var(--gradient-green);
  border-radius: 4px;
  width: 0%;
  transition: width 2s ease;
  position: relative;
}

.skill-fill::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.skill-percent {
  color: var(--primary-green);
  font-size: 12px;
  min-width: 50px;
  text-align: right;
  font-weight: 500;
}

/* Repositories Grid */
.repos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.repo-card {
  background: rgba(0, 255, 0, 0.03);
  border: 1px solid rgba(0, 255, 0, 0.2);
  padding: 25px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.repo-card:hover {
  background: rgba(0, 255, 0, 0.06);
  border-color: var(--primary-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.repo-card::before {
  content: "📁";
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  opacity: 0.3;
}

.repo-title {
  color: var(--primary-green);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.repo-desc {
  color: var(--text-bright);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 15px;
  min-height: 40px;
}

.repo-lang {
  color: var(--accent-cyan);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 15px;
}

.repo-card a {
  color: var(--primary-green);
  text-decoration: none;
  font-size: 12px;
  transition: all 0.2s ease;
}

.repo-card a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

/* Blog Section */
.blog-container {
  margin-top: 25px;
}

.blog-post {
  background: rgba(0, 255, 0, 0.03);
  border: 1px solid rgba(0, 255, 0, 0.2);
  padding: 25px;
  border-radius: 6px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.blog-post:hover {
  background: rgba(0, 255, 0, 0.06);
  border-color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.blog-post::before {
  content: "📝";
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  opacity: 0.3;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 15px;
}

.blog-title {
  color: var(--primary-green);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.blog-tag {
  background: rgba(0, 255, 0, 0.1);
  color: var(--primary-green);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  border: 1px solid rgba(0, 255, 0, 0.3);
}

.blog-preview {
  color: var(--text-bright);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 255, 0, 0.2);
  font-size: 12px;
}

.blog-engagement {
  display: flex;
  gap: 15px;
  color: var(--text-dim);
}

.blog-read-more {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.blog-read-more:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.blog-excerpt {
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--primary-green);
  padding: 15px;
  margin: 15px 0;
  font-style: italic;
  color: var(--text-dim);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.contact-card {
  background: rgba(0, 255, 0, 0.03);
  border: 1px solid rgba(0, 255, 0, 0.2);
  padding: 25px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-align: center;
}

.contact-card:hover {
  background: rgba(0, 255, 0, 0.06);
  border-color: var(--primary-green);
  transform: translateY(-3px);
}

.contact-icon {
  font-size: 30px;
  margin-bottom: 15px;
  display: block;
}

.contact-card h4 {
  color: var(--primary-green);
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.contact-card p {
  color: var(--text-bright);
  font-size: 13px;
}

.contact-card a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-card a:hover {
  color: var(--primary-green);
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .terminal-content {
    padding: 20px 15px;
  }

  .navigation {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-item {
    padding: 8px 15px;
    font-size: 11px;
  }

  .ascii-art {
    font-size: 8px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

  .repos-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .experience-timeline {
    padding-left: 20px;
  }

  .experience-timeline::before {
    left: 10px;
  }

  .experience-item::before {
    left: -26px;
  }

  .experience-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .section-title {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .ascii-art {
    font-size: 6px;
  }

  .terminal-content {
    padding: 15px 10px;
  }

  .terminal-header {
    padding: 8px 15px;
  }

  .nav-item {
    padding: 6px 12px;
    font-size: 10px;
  }

  .skill-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .skill-name {
    min-width: auto;
  }

  .skill-bar {
    width: 100%;
  }
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-green);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Recommendations Section */
/* Recommendations with Images */
.recommender-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.recommender-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary-green);
  object-fit: cover;
  transition: all 0.3s ease;
}

.recommender-avatar:hover {
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
  transform: scale(1.05);
}

.recommender-info {
  flex-grow: 1;
}

.recommendations-container {
  margin-top: 25px;
}

/* Speaking & Media Section */
.speaking-container {
  margin-top: 25px;
}

.speaking-item {
  background: rgba(0, 255, 0, 0.03);
  border: 1px solid rgba(0, 255, 0, 0.2);
  padding: 25px;
  border-radius: 6px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.speaking-item:hover {
  background: rgba(0, 255, 0, 0.06);
  border-color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.speaking-item::before {
  content: "🎤";
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  opacity: 0.3;
}

.speaking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.speaking-type {
  background: rgba(0, 255, 0, 0.1);
  color: var(--primary-green);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.speaking-date {
  color: var(--accent-cyan);
  font-size: 12px;
  font-weight: 500;
}

.speaking-content h3 {
  color: var(--primary-green);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.speaking-content p {
  color: var(--text-bright);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.speaking-link {
  margin-top: 15px;
}

.media-link {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 8px 15px;
  border: 1px solid var(--primary-green);
  border-radius: 4px;
  display: inline-block;
  font-size: 12px;
}

.media-link:hover {
  background: var(--primary-green);
  color: var(--dark-bg);
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

@media (max-width: 768px) {
  .speaking-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .speaking-item {
    padding: 20px;
  }
}

.recommendation-item {
  background: rgba(0, 255, 0, 0.03);
  border: 1px solid rgba(0, 255, 0, 0.2);
  padding: 25px;
  border-radius: 6px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  position: relative;
}

.recommendation-item:hover {
  background: rgba(0, 255, 0, 0.06);
  border-color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.recommendation-item::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 30px;
  color: var(--primary-green);
  opacity: 0.3;
  font-family: serif;
}

.recommendation-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.recommender-info h3 {
  color: var(--primary-green);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.recommender-title {
  color: var(--text-bright);
  font-size: 13px;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}

.recommendation-date {
  color: var(--accent-cyan);
  font-size: 11px;
  display: block;
  margin-bottom: 5px;
}

.relationship {
  background: rgba(0, 255, 0, 0.1);
  color: var(--primary-green);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 500;
}

.recommendation-content {
  color: var(--text-bright);
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
  padding-left: 15px;
  border-left: 3px solid var(--primary-green);
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .recommendation-header {
    flex-direction: column;
    gap: 10px;
  }

  .recommendation-item {
    padding: 20px;
  }

  .recommendation-content {
    font-size: 13px;
    padding: 12px;
  }
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Glitch Effect */
.glitch {
  animation: glitch 0.3s;
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00cc00;
}

/* Selection Styling */
::selection {
  background: var(--primary-green);
  color: var(--dark-bg);
}

/* Focus States */
.nav-item:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}
