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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: #0a0510;
  background-image: radial-gradient(circle at 30% 10%, #1e0a2e 0%, #0a0510 80%);
  color: #e6d9f0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0 20px;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(180, 80, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 80, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(180, 80, 255, 0.035) 0px,
      rgba(180, 80, 255, 0.035) 1px,
      transparent 1px,
      transparent 4px
    );
  pointer-events: none;
  z-index: 1;
  filter: blur(0.6px);
  opacity: 0.55;
  animation: matrixShift 22s linear infinite;
}

@keyframes matrixShift {
  0% { background-position: 0 0; }
  100% { background-position: 0 200px; }
}

h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
}

a {
  color: #d9a5ff;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: #ffb3ff;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #12081c;
}
::-webkit-scrollbar-thumb {
  background: #7a3c9c;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b87aff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 8px;
}

.lang-switch {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 9999;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  transition: transform 0.2s ease;
}

.lang-switch:hover {
  transform: scale(1.04);
}

.lang-switch:active {
  transform: scale(0.97);
}

.lang-switch:focus-visible .lang-switch-track {
  border-color: #b87aff;
  box-shadow: 0 0 25px rgba(200, 120, 255, 0.5);
}

.lang-switch-track {
  position: relative;
  display: flex;
  align-items: center;
  width: 92px;
  height: 40px;
  background: rgba(30, 12, 48, 0.85);
  border: 1px solid #7a3c9c;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(180, 80, 255, 0.25);
  transition: border-color 0.25s, box-shadow 0.25s;
  overflow: hidden;
  pointer-events: auto;
  cursor: pointer;
}

.lang-switch:hover .lang-switch-track {
  border-color: #b87aff;
  box-shadow: 0 0 25px rgba(200, 120, 255, 0.45);
}

.lang-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 43px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7a3c9c, #b87aff);
  box-shadow: 0 0 18px rgba(184, 122, 255, 0.6);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
  pointer-events: none;
}

.lang-switch.tr .lang-switch-thumb {
  transform: translateX(43px);
}

.lang-option {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #9a7fb0;
  transition: color 0.25s;
  pointer-events: none;
}

.lang-switch.tr .lang-en {
  color: #9a7fb0;
}
.lang-switch.tr .lang-tr {
  color: #ffffff;
}
.lang-switch:not(.tr) .lang-en {
  color: #ffffff;
}

.hamburger {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(30, 12, 48, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid #7a3c9c;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  z-index: 1000;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.3s;
  box-shadow: 0 0 15px rgba(180, 80, 255, 0.2);
}

.hamburger:hover {
  background: rgba(60, 20, 90, 0.9);
  border-color: #b87aff;
  box-shadow: 0 0 25px rgba(200, 120, 255, 0.4);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #d9a5ff;
  border-radius: 4px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 5, 16, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay a {
  font-size: 2rem;
  font-weight: 400;
  color: #e6d9f0;
  letter-spacing: 0.02em;
  padding: 8px 24px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.nav-overlay a:hover {
  color: #ffb3ff;
  border-bottom-color: #b87aff;
  transform: scale(1.02);
}

section {
  padding: 80px 0 40px;
  position: relative;
  z-index: 2;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #b87aff;
  margin-bottom: 8px;
  opacity: 0.8;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 500;
  color: #f0e6ff;
  margin-bottom: 32px;
  border-left: 4px solid #b87aff;
  padding-left: 20px;
  text-shadow: 0 0 30px rgba(180, 80, 255, 0.3);
}

#hero {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(180, 80, 255, 0.12);
  border: 1px solid #7a3c9c;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 0.8rem;
  color: #d9a5ff;
  margin-bottom: 24px;
  align-self: flex-start;
  letter-spacing: 0.06em;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
  color: #f5edff;
  margin-bottom: 16px;
}

.hero-title .highlight {
  font-size: 0.5em;
  color: #e0aaff;
  text-shadow: 0 0 40px rgba(200, 120, 255, 0.5);
  position: relative;
  display: block;
  font-weight: 400;
  margin-top: 4px;
}

.hero-sub {
  font-size: 1.2rem;
  color: #b8a6cc;
  max-width: 600px;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  font-size: 0.95rem;
  color: #9a7fb0;
  border-top: 1px solid #2a1a3a;
  padding-top: 28px;
  margin-top: 16px;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b87aff;
  box-shadow: 0 0 12px #b87aff;
  display: inline-block;
}

.hero-meta .loading {
  opacity: 0.5;
  font-style: italic;
}

.banner {
  width: 100%;
  max-width: 760px;
  margin: 12px auto 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid #3e2456;
  box-shadow: 0 0 40px rgba(140, 60, 200, 0.2);
  background: #0a0510;
  display: block;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.card {
  background: rgba(25, 12, 40, 0.6);
  border: 1px solid #2e1a42;
  border-radius: 20px;
  padding: 28px 24px;
  transition: border-color 0.25s, box-shadow 0.4s, transform 0.2s;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: #8b4dbb;
  box-shadow: 0 0 40px rgba(140, 60, 200, 0.25), 0 8px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(-3px);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 500;
  color: #e6d9f0;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-desc {
  font-size: 0.9rem;
  color: #b8a6cc;
  margin: 10px 0 16px;
  flex: 1;
  line-height: 1.6;
  font-weight: 300;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tag {
  background: rgba(120, 50, 180, 0.2);
  border: 1px solid #3e2456;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.7rem;
  color: #c9a6f0;
  letter-spacing: 0.02em;
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #d9a5ff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  align-self: flex-start;
  font-weight: 400;
}

.card-link:hover {
  border-bottom-color: #d9a5ff;
  color: #ffb3ff;
}

.exploit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.exploit-item {
  background: rgba(20, 10, 32, 0.7);
  border: 1px solid #2a1a3a;
  border-radius: 14px;
  padding: 20px 20px;
  transition: border-color 0.2s, box-shadow 0.3s, background 0.2s;
  backdrop-filter: blur(4px);
}

.exploit-item:hover {
  border-color: #9a5fd0;
  box-shadow: 0 0 30px rgba(140, 60, 200, 0.2);
  background: rgba(30, 15, 50, 0.8);
}

.exploit-id {
  font-size: 0.9rem;
  font-weight: 500;
  color: #e0aaff;
  letter-spacing: 0.02em;
}

.exploit-desc {
  font-size: 0.8rem;
  color: #9a7fb0;
  margin-top: 8px;
  line-height: 1.6;
}

.exploit-item a {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.75rem;
  color: #b87aff;
  border-bottom: 1px solid transparent;
}

.exploit-item a:hover {
  border-bottom-color: #b87aff;
  color: #ffb3ff;
}

.exploit-item.other {
  background: linear-gradient(135deg, rgba(120, 50, 180, 0.15), rgba(20, 10, 32, 0.8));
  border-color: #6b3fa0;
}
.exploit-item.other:hover {
  border-color: #b87aff;
  box-shadow: 0 0 40px rgba(180, 80, 255, 0.3);
}
.exploit-item.other .exploit-id {
  color: #d9a5ff;
}

.other-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.other-links a {
  font-size: 0.75rem;
  color: #b87aff;
  border-bottom: 1px solid transparent;
}

.other-links a:hover {
  border-bottom-color: #b87aff;
  color: #ffb3ff;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.privacy-card {
  background: rgba(25, 12, 40, 0.6);
  border: 1px solid #2e1a42;
  border-radius: 20px;
  padding: 28px 24px;
  transition: border-color 0.25s, box-shadow 0.4s, transform 0.2s;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.privacy-card:hover {
  border-color: #8b4dbb;
  box-shadow: 0 0 40px rgba(140, 60, 200, 0.25), 0 8px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(-3px);
}

.privacy-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.privacy-card-title {
  font-size: 1.3rem;
  font-weight: 500;
  color: #e6d9f0;
}

.privacy-tags {
  display: flex;
  gap: 8px;
}

.privacy-desc {
  font-size: 0.9rem;
  color: #b8a6cc;
  line-height: 1.7;
  font-weight: 300;
}

.privacy-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: #d9a5ff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  font-weight: 400;
}

.privacy-link:hover {
  border-bottom-color: #d9a5ff;
  color: #ffb3ff;
}

.about-text {
  max-width: 820px;
  font-size: 1.05rem;
  color: #cbb8e0;
  font-weight: 300;
  line-height: 1.8;
  padding-left: 24px;
  border-left: 2px solid #3e2456;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text strong {
  color: #e6d9f0;
  font-weight: 500;
}

.contact-box {
  background: rgba(25, 12, 40, 0.5);
  border: 1px solid #2e1a42;
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 700px;
  backdrop-filter: blur(8px);
}

.contact-box p {
  font-size: 0.95rem;
  color: #b8a6cc;
  margin-bottom: 20px;
  font-weight: 300;
}

.session-id {
  background: #12081c;
  border: 1px solid #3e2456;
  border-radius: 12px;
  padding: 16px 20px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.8rem;
  color: #c9a6f0;
  word-break: break-all;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.session-id:hover {
  border-color: #8b4dbb;
  box-shadow: 0 0 25px rgba(140, 60, 200, 0.15);
}

footer {
  padding: 60px 0 40px;
  text-align: center;
  font-size: 0.8rem;
  color: #5a4a6a;
  border-top: 1px solid #1e1230;
  margin-top: 40px;
  position: relative;
  z-index: 2;
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  .lang-switch {
    top: 16px;
    left: 16px;
    z-index: 9999;
  }

  .lang-switch-track {
    width: 78px;
    height: 36px;
  }

  .lang-switch-thumb {
    width: 37px;
    height: 28px;
  }

  .lang-switch.tr .lang-switch-thumb {
    transform: translateX(35px);
  }

  .lang-option {
    font-size: 0.7rem;
  }

  .hamburger {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .nav-overlay a {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
    padding-left: 14px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-title .highlight {
    font-size: 0.55em;
  }

  .hero-sub {
    font-size: 1rem;
  }

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

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

  .hero-meta {
    flex-direction: column;
    gap: 12px;
  }

  .about-text {
    padding-left: 14px;
    font-size: 0.95rem;
  }

  .card {
    padding: 22px 18px;
  }

  .privacy-card {
    padding: 22px 18px;
  }

  .contact-box {
    padding: 24px 18px;
  }

  .session-id {
    font-size: 0.7rem;
    padding: 14px 16px;
  }

  .banner {
    max-width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 400px) {
  body {
    padding: 0 12px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
}
