/* style.css */
:root {
  /* Dark Theme Variables */
  --bg-color: #0b0b16;
  --bg-secondary: #121223;
  --text-primary: #ffffff;
  --text-secondary: #ffd6a5;
  --primary-color: #9b5cff;
  --primary-hover: #7c3aed;
  
  --nav-bg: rgba(11, 11, 22, 0.7);
  --card-bg: rgba(21, 21, 43, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.15);
  
  --gradient-1: #ff7a7a;
  --gradient-2: #ff5da2;
  --gradient-3: #b65cff;
  
  --shadow-color: rgba(0,0,0,0.5);
  --glow-color: rgba(155, 92, 255, 0.5);
  --neon-cyan: rgba(0, 255, 255, 0.5);
  --neon-pink: rgba(255, 0, 255, 0.5);
  --body-bg: linear-gradient(-45deg, #0b0b16, #1e1b4b, #0f172a, #2e1065);
}

[data-theme="light"] {
  /* Light Theme Variables */
  --bg-color: #f6f8fb;
  --bg-secondary: #ffffff;
  --text-primary: #0b0b16;
  --text-secondary: #5a5a73;
  --primary-color: #7c3aed;
  --primary-hover: #5b21b6;
  
  --nav-bg: rgba(246, 248, 251, 0.85);
  --card-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(0, 0, 0, 0.1);
  --glass-hover: rgba(0, 0, 0, 0.05);

  --gradient-1: #ff4757;
  --gradient-2: #ff6b81;
  --gradient-3: #5352ed;
  
  --shadow-color: rgba(100, 100, 111, 0.2);
  --glow-color: rgba(124, 58, 237, 0.2);
  --body-bg: linear-gradient(-45deg, #f6f8fb, #e2e8f0, #e0e7ff, #f3e8ff);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  background: var(--body-bg, var(--bg-color));
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: var(--text-primary);
  transition: background-color 0.5s ease, color 0.5s ease;
}

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

#tsparticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
  opacity: 0.12;
  pointer-events: none;
}

/* Base Typo */
h1, h2, h3, h4 {
  color: var(--text-primary);
}

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

/* Gradients */
.text-gradient {
  background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.heading-gradient {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}
.heading-gradient::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 12px auto 0;
  border-radius: 4px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 8%;
  background: #0f131f; /* Darker background matching the image */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 10px 8%;
  box-shadow: 0 5px 20px var(--shadow-color);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.logo span {
  color: var(--primary-color);
}

nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

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

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  color: var(--primary-color);
  background: var(--glass-hover);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  position: relative;
  gap: 2rem;
}

.hero-left {
  max-width: 600px;
  z-index: 2;
}

.hero h4 {
  font-size: 1.2rem;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 600;
  height: 3rem; /* reserves space for typing */
  margin-bottom: 1.5rem;
}

.cursor {
  animation: blink 1s step-end infinite;
  color: var(--primary-color);
  font-weight: 400;
}
@keyframes blink { 50% { opacity: 0; } }

.hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

/* Buttons */
.btn, .btn-outline {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn {
  background: var(--primary-color);
  color: white;
  border: none;
  box-shadow: 0 8px 20px var(--glow-color);
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px var(--glow-color);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  background: var(--glass-hover);
  transform: translateY(-4px);
}

/* 3D Orbit Animation */
.hero-right {
  flex-shrink: 0;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.orbit-container {
  width: 450px;
  height: 450px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbit {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 2px dashed var(--glass-border);
  position: absolute;
  transform-style: preserve-3d;
  animation: rotate3d 30s linear infinite;
}

.skill {
  position: absolute;
  background: var(--card-bg);
  padding: 14px 24px;
  border-radius: 40px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px var(--shadow-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transform-style: preserve-3d;
  font-size: 0.95rem;
  
  /* Positions */
  left: 50%;
  top: 50%;
}

.skill.python { transform: translate(-50%, -50%) translate3d(0, -190px, 0) rotateX(-60deg) rotateY(-15deg); }
.skill.sql { transform: translate(-50%, -50%) translate3d(190px, 0, 0) rotateX(-60deg) rotateY(-15deg); }
.skill.ml { transform: translate(-50%, -50%) translate3d(-190px, 0, 0) rotateX(-60deg) rotateY(-15deg); }
.skill.power { transform: translate(-50%, -50%) translate3d(0, 190px, 0) rotateX(-60deg) rotateY(-15deg); }

.skill i {
  font-size: 1.4rem;
  color: var(--primary-color);
}

@keyframes rotate3d {
  0% { transform: rotateX(60deg) rotateY(15deg) rotateZ(0deg); }
  100% { transform: rotateX(60deg) rotateY(15deg) rotateZ(360deg); }
}

/* Counter rotate items */
.orbit .skill {
  animation: counter-rotate3d 30s linear infinite;
}

@keyframes counter-rotate3d {
  0% { transform: translate(-50%, -50%) rotateZ(0deg) rotateY(-15deg) rotateX(-60deg); }
  100% { transform: translate(-50%, -50%) rotateZ(-360deg) rotateY(-15deg) rotateX(-60deg); }
}

/* About Section */
.about {
  padding: 120px 8%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
}

.about-container {
  display: flex;
  gap: 80px;
  align-items: center;
  margin-top: 3rem;
}

.profile {
  width: 100%;
  max-width: 420px;
  border-radius: 30px;
  box-shadow: -20px 20px 0 var(--primary-color);
  transition: transform 0.5s ease;
}

.profile:hover {
  transform: translate(5px, -5px);
  box-shadow: -25px 25px 0 var(--glow-color);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

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

.stat {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 20px var(--shadow-color);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s;
}

.stat:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  font-weight: 500;
  font-size: 1rem;
  margin-top: 0.3rem;
  display: block;
}

/* Skills Grid */
.skills {
  padding: 120px 8%;
  background: var(--bg-color);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
  border-radius: 24px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s ease;
}

.skill-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 25px var(--glow-color);
}

.skill-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
  background: var(--glass-hover);
  padding: 1rem;
  border-radius: 16px;
}

.skill-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.skill-card p {
  font-size: 0.95rem;
}

/* Projects */
.projects {
  padding: 120px 8%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px var(--glow-color);
  border-color: var(--primary-color);
}

.project-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-info {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.project-info p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--glass-hover);
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.project-links a:hover {
  background: var(--primary-color);
  color: white;
}

/* Contact */
.contact {
  padding: 120px 8%;
  background: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.glass-form {
  width: 100%;
  max-width: 650px;
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px var(--shadow-color), inset 0 0 20px rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.input-group label i { color: var(--primary-color); }

.glass-form input,
.glass-form textarea {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--bg-color);
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.glass-form input:focus,
.glass-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--glow-color);
  transform: scale(1.01);
}

.service-block:hover {
  transform: translateY(-10px) scale(1.02) !important;
  box-shadow: 0 15px 30px var(--glow-color);
  border: 1px solid var(--primary-color);
}

.stat:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 15px 30px var(--glow-color);
}

/* Notice */
.github-notice {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  opacity: 0.7;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 8%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
}


.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

@keyframes spin-circle { 100% { transform: rotate(360deg); } }
@keyframes reverse-spin-circle { 100% { transform: rotate(-360deg); } }

.social-icons-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: spin-circle 15s linear infinite;
}

.social-icons-wrapper a {
    animation: reverse-spin-circle 15s linear infinite;
}

.social-icons-wrapper:hover,
.social-icons-wrapper:hover a {
    animation-play-state: paused;
}

/* Extra Grid Definitions */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.what-makes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  width: 100%;
}
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  width: 100%;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; gap: 3rem; padding-top: 120px; }
  .hero-left { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
  .hero h1 { font-size: 3.5rem; }
  .hero-buttons { justify-content: center; }
  .orbit-container { width: 350px; height: 350px; }
  .orbit { width: 300px; height: 300px; }
  .skill.python { transform: translate(-50%, -50%) translate3d(0, -150px, 0) rotateX(-60deg) rotateY(-15deg); }
  .skill.sql { transform: translate(-50%, -50%) translate3d(150px, 0, 0) rotateX(-60deg) rotateY(-15deg); }
  .skill.ml { transform: translate(-50%, -50%) translate3d(-150px, 0, 0) rotateX(-60deg) rotateY(-15deg); }
  .skill.power { transform: translate(-50%, -50%) translate3d(0, 150px, 0) rotateX(-60deg) rotateY(-15deg); }
  .about-container { flex-direction: column; text-align: center; }
  .profile { max-width: 350px; }
  .stats { text-align: left; }
}

@media (max-width: 768px) {
  .menu-btn { display: block !important; }
  nav ul { 
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #0f131f;
    flex-direction: column;
    padding: 20px 0;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    display: none !important;
  }
  nav ul.show {
    display: flex !important;
  }
  .hero { gap: 2rem; padding-top: 100px; min-height: auto; }
  .hero h1 { font-size: 3rem; }
  .hero h2 { font-size: 1.5rem; min-height: 4.5rem; }
  .hero-buttons { flex-direction: column; width: 100%; max-width: 300px; }
  .hero-buttons a, .hero-buttons button { width: 100%; justify-content: center; margin-bottom: 10px; }
  .hero-right { transform: scale(0.6); transform-origin: top center; margin-top: 1rem; margin-bottom: -150px; }
  .stats { grid-template-columns: 1fr; }
  .glass-form { padding: 2rem; }
  .about-container { gap: 40px; }
  #pw-icon { font-size: 2rem !important; } 
  .skills-tabs { align-items: center; }
  .what-makes-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-container { grid-template-columns: 1fr; }
  footer .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero h2 { font-size: 1.2rem; min-height: 4rem; }
  .hero-right { transform: scale(0.45); margin-bottom: -220px; margin-top: 0; }
  footer .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

/* Threat Dashboard */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.dashboard-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.dashboard-panel {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.panel-header {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
}
.panel-header::after {
    content: "● Live";
    color: #ef4444;
    animation: blink 1.5s infinite;
}
.map-panel {
    height: 400px;
}
#attack-map-canvas, #packet-canvas, #ai-chart-canvas {
    width: 100%;
    height: 200px;
    display: block;
}
.map-panel #attack-map-canvas {
    height: calc(100% - 35px);
}
.log-container {
    height: 150px;
    overflow-y: hidden;
    font-family: monospace;
    font-size: 0.85rem;
    color: #38bdf8;
    display: flex;
    flex-direction: column;
}
.log-entry {
    margin-bottom: 5px;
    opacity: 0;
    animation: fadeInLog 0.3s forwards;
}
@keyframes fadeInLog {
    to { opacity: 1; }
}
@media (max-width: 1024px) {
    .dashboard-grid { grid-template-columns: 1fr; }
}

/* Boot Loader */
#boot-loader {
    position: fixed;
    inset: 0;
    background: #0b0b16;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', Courier, monospace;
    transition: opacity 0.5s;
}
.terminal-loader {
    color: #fff;
    font-size: 1.2rem;
    line-height: 2;
    text-align: left;
    width: 100%;
    max-width: 350px;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Custom Cursor */
@media (pointer: fine) {
    body, a, button { cursor: none !important; }
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background: #00ffcc;
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
}
.cursor-glow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 255, 204, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
    transition: width 0.3s, height 0.3s, background 0.3s, border-color 0.3s;
}

/* Glitch Text Effect */
.glitch {
    position: relative;
    display: inline-block;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
  0% { clip-path: polygon(0 10%, 100% 10%, 100% 30%, 0 30%); }
  20% { clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%); }
  40% { clip-path: polygon(0 80%, 100% 80%, 100% 90%, 0 90%); }
  60% { clip-path: polygon(0 50%, 100% 50%, 100% 70%, 0 70%); }
  80% { clip-path: polygon(0 20%, 100% 20%, 100% 30%, 0 30%); }
  100% { clip-path: polygon(0 75%, 100% 75%, 100% 85%, 0 85%); }
}
@keyframes glitch-anim2 {
  0% { clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); }
  20% { clip-path: polygon(0 10%, 100% 10%, 100% 40%, 0 40%); }
  40% { clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%); }
  60% { clip-path: polygon(0 80%, 100% 80%, 100% 95%, 0 95%); }
  80% { clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%); }
  100% { clip-path: polygon(0 15%, 100% 15%, 100% 25%, 0 25%); }
}
