/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Root Variables - Cyberpunk Theme */
:root {
  --bg-primary: #0a0e27;
  --bg-secondary: #1a1f3a;
  --bg-card: rgba(26, 31, 58, 0.6);
  --text-primary: #e0e0e0;
  --text-secondary: #b8b8d1;
  --accent-primary: #00ff9d;
  --accent-secondary: #64ffda;
  --accent-tertiary: #00ff9d;
  --border-color: rgba(0, 255, 157, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 255, 157, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 255, 157, 0.2);
  --shadow-lg: 0 10px 30px rgba(0, 255, 157, 0.3);
  --gradient-primary: linear-gradient(135deg, #00ff9d 0%, #64ffda 100%);
  --gradient-secondary: linear-gradient(135deg, #64ffda 0%, #00ff9d 100%);
  --gradient-bg: linear-gradient(45deg, #0a0e27 0%, #1a1f3a 50%, #0a0e27 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Courier New', monospace, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated Background Grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(90deg, rgba(0, 255, 157, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(0, 255, 157, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Navbar */
.navbar {
  padding: 1.5rem 0;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  background: rgba(10, 14, 39, 0.95);
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.nav-brand {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

.nav-brand:hover {
  opacity: 0.8;
  text-shadow: 0 0 20px rgba(0, 255, 157, 0.7);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
  box-shadow: 0 0 5px var(--accent-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 4rem;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: brightness(0.8) hue-rotate(150deg);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 14, 39, 0.7) 0%, rgba(10, 14, 39, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--accent-primary);
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
  animation: glitch 3s infinite;
}

@keyframes glitch {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-2px, 2px); }
  94% { transform: translate(2px, -2px); }
  96% { transform: translate(-2px, -2px); }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--accent-secondary);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-meta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  padding: 0.5rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.badge:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Section */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--accent-primary);
  text-align: center;
  position: relative;
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

/* Content Card */
.content-card {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  line-height: 1.8;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.content-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.content-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.content-card strong {
  color: var(--accent-secondary);
}

.content-card ul {
  color: var(--text-secondary);
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.content-card li {
  margin-bottom: 0.75rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-lg);
}

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
}

.stat-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Challenge Grid */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.challenge-card {
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.challenge-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-lg);
}

.challenge-header {
  background: rgba(0, 255, 157, 0.05);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.challenge-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-shadow: 0 0 15px rgba(0, 255, 157, 0.5);
}

.challenge-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.challenge-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.challenge-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  filter: brightness(0.8) hue-rotate(150deg);
}

.challenge-card:hover .challenge-image img {
  transform: scale(1.05);
}

.challenge-content {
  padding: 2rem;
}

.challenge-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.challenge-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.challenge-content ul {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.challenge-content li {
  margin-bottom: 0.5rem;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.tag {
  padding: 0.4rem 0.9rem;
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid rgba(0, 255, 157, 0.3);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--accent-primary);
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(0, 255, 157, 0.2);
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--accent-primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-primary);
  cursor: pointer;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-primary);
  transition: left 0.3s;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tool-category {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.tool-category:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.tool-category h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-secondary);
}

.tool-category ul {
  list-style: none;
}

.tool-category li {
  padding: 0.7rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.tool-category li:last-child {
  border-bottom: none;
}

.tool-category li:hover {
  color: var(--accent-primary);
  padding-left: 0.5rem;
}

/* Takeaways Grid */
.takeaways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.takeaway-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: center;
  backdrop-filter: blur(10px);
}

.takeaway-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-secondary);
  box-shadow: var(--shadow-md);
}

.takeaway-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: grayscale(0.5) brightness(1.2);
}

.takeaway-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent-secondary);
}

.takeaway-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  margin: 4rem 0;
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 157, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  color: var(--accent-primary);
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* Warning Box */
.warning {
  background: rgba(0, 255, 157, 0.05);
  border: 1px solid rgba(0, 255, 157, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.warning strong {
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.5rem;
}

/* Step Container for Individual Writeups */
.step-container {
  margin-top: 2rem;
}

.step {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  margin-bottom: 3rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.step:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

.step h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

.step h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.step p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.step img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
}

/* Command Box */
.command-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-family: 'Courier New', monospace;
}

.command {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.output {
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-break: break-all;
}

/* Finding Box */
.finding {
  background: rgba(0, 255, 157, 0.05);
  border: 1px solid rgba(0, 255, 157, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.finding strong {
  color: var(--accent-primary);
}

.finding code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  color: var(--accent-secondary);
}

/* Hash Display */
.hash-display {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  font-family: 'Courier New', monospace;
  color: var(--accent-primary);
  word-break: break-all;
  margin: 1.5rem 0;
  text-align: center;
  font-weight: 600;
}

/* Attack Timeline */
.attack-timeline {
  margin-top: 2rem;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2rem;
  border-left: 2px solid var(--border-color);
  margin-left: 1rem;
}

.timeline-item:last-child {
  border-left: 2px solid transparent;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

.timeline-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-bottom: 0.75rem;
}

.timeline-item p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--accent-primary);
  color: var(--bg-primary);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 255, 157, 0.7);
}
/* back to top*/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 157, 0.9);
    color: #0a0e27;
    border: 2px solid #00ff9d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #00ff9d;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 255, 157, 0.5);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* Footer */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  margin-top: 6rem;
  position: relative;
  z-index: 1;
  background: rgba(10, 14, 39, 0.95);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-content p {
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

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

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

/* Responsive Design */

/* Large tablets and small laptops */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .challenge-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .container {
    padding: 0 1.5rem;
  }
}

/* Tablets */
@media (max-width: 768px) {
  body::before {
    background-size: 30px 30px;
  }
  
  .navbar {
    padding: 1rem 0;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem;
  }
  
  .nav-brand {
    font-size: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    height: 350px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-content {
    padding: 0 1.5rem;
  }
  
  .hero-meta {
    gap: 0.75rem;
  }
  
  .badge {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .content-card,
  .step {
    padding: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .stat-card {
    padding: 1.5rem;
  }
  
  .stat-card h3 {
    font-size: 2rem;
  }
  
  .challenge-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .challenge-header {
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .challenge-number {
    font-size: 2rem;
  }
  
  .challenge-header h3 {
    font-size: 1.5rem;
  }
  
  .challenge-content {
    padding: 1.5rem;
  }
  
  .tools-grid,
  .takeaways-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tool-category,
  .takeaway-card {
    padding: 1.5rem;
  }
  
  .cta-section {
    padding: 3rem 1.5rem;
    margin: 3rem 0;
  }
  
  .cta-section h2 {
    font-size: 1.8rem;
  }
  
  .cta-section p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer {
    margin-top: 4rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-links {
    gap: 1.5rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
  
  .scroll-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  body::before {
    background-size: 25px 25px;
  }
  
  .navbar {
    padding: 0.75rem 0;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .nav-brand {
    font-size: 0.95rem;
  }
  
  .nav-links {
    gap: 0.75rem;
    font-size: 0.85rem;
  }
  
  .hero {
    height: 300px;
    margin-bottom: 3rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }
  
  .section-title::after {
    width: 80px;
  }
  
  .content-card,
  .step {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .content-card ul,
  .step ul {
    padding-left: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  
  .stat-card {
    padding: 1.25rem;
  }
  
  .stat-card h3 {
    font-size: 1.75rem;
  }
  
  .stat-card p {
    font-size: 0.9rem;
  }
  
  .challenge-grid {
    gap: 1.25rem;
    margin-top: 1.5rem;
  }
  
  .challenge-header {
    padding: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .challenge-number {
    font-size: 1.75rem;
  }
  
  .challenge-header h3 {
    font-size: 1.3rem;
  }
  
  .challenge-image {
    height: 200px;
  }
  
  .challenge-content {
    padding: 1.25rem;
  }
  
  .challenge-content h4 {
    font-size: 1rem;
  }
  
  .tags {
    gap: 0.4rem;
  }
  
  .tag {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .tools-grid,
  .takeaways-grid {
    gap: 1.25rem;
  }
  
  .tool-category,
  .takeaway-card {
    padding: 1.25rem;
  }
  
  .tool-category h3,
  .takeaway-card h3 {
    font-size: 1.2rem;
  }
  
  .takeaway-icon {
    font-size: 2.5rem;
  }
  
  .cta-section {
    padding: 2.5rem 1rem;
    margin: 2.5rem 0;
    border-radius: 16px;
  }
  
  .cta-section h2 {
    font-size: 1.5rem;
  }
  
  .cta-section p {
    font-size: 0.95rem;
  }
  
  .warning,
  .finding {
    padding: 1.25rem;
    margin: 1.25rem 0;
    border-radius: 10px;
  }
  
  .command-box {
    padding: 1.25rem;
    margin: 1.25rem 0;
    font-size: 0.9rem;
  }
  
  .hash-display {
    padding: 1.25rem;
    font-size: 0.9rem;
  }
  
  .timeline-item {
    padding-left: 1.75rem;
    padding-bottom: 1.5rem;
  }
  
  .timeline-item h4 {
    font-size: 1.1rem;
  }
  
  .footer {
    padding: 2rem 0;
    margin-top: 3rem;
  }
  
  .footer-content {
    padding: 0 1rem;
  }
  
  .footer-content p {
    font-size: 0.9rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .scroll-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Small mobile phones */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .challenge-header {
    padding: 1rem;
  }
  
  .challenge-content {
    padding: 1rem;
  }
  
  .content-card,
  .step {
    padding: 1.25rem;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
  box-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}