:root {
  /* Refined Palette */
  --colorBackground: #0D0D0F;   /* deep obsidian black */
  --colorPrimary:    #C44569;   /* rosy crimson */
  --colorSecondary:  #2B2E3C;   /* muted steel gray */
  --colorAccent:     #F5A9B8;   /* soft rose highlight */
  --colorLight:      #EAEAEA;   /* neutral light gray */
  --colorExtraLight: #FFFFFF;   /* pure white */
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Orbitron', sans-serif;
  background: var(--colorBackground);
  color: var(--colorLight);
  overflow-x: hidden;
  scroll-behavior: smooth;
}
a { color: inherit; text-decoration: none; }

/* HEADER / HERO */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: linear-gradient(
    135deg,
    var(--colorPrimary),
    var(--colorSecondary),
    var(--colorAccent),
    var(--colorLight),
    var(--colorExtraLight)
  );
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  text-align: center;
  position: relative;
  overflow: hidden;
}
header::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  animation: rotateBG 60s linear infinite;
  top: -50%;
  left: -50%;
  z-index: 0;
}
header h1 {
  position: relative;
  font-size: 4rem;
  color: var(--colorLight);
  text-shadow:
    0 0 6px var(--colorAccent),
    0 0 12px var(--colorPrimary),
    0 0 25px var(--colorSecondary);
  animation: flicker 2s infinite;
  z-index: 1;
}
header p {
  position: relative;
  margin-top: 20px;
  font-size: 1.3rem;
  color: var(--colorAccent);
  text-shadow: 0 0 5px var(--colorSecondary);
  z-index: 1;
}
.tech span {
  font-weight: bold;
  text-shadow: 0 0 10px var(--colorSecondary), 0 0 20px var(--colorPrimary);
  animation: glow 2s infinite alternate;
  margin: 0 5px;
}

/* SECTIONS */
section {
  padding: 100px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}
section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--colorAccent);
  text-shadow: 0 0 6px var(--colorAccent), 0 0 15px var(--colorPrimary);
}
section p {
  max-width: 850px;
  margin: 0 auto 25px;
  line-height: 1.7;
  color: var(--colorLight);
  text-shadow: 0 0 2px var(--colorExtraLight);
}

/* BUTTONS */
.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 14px 28px;
  font-weight: bold;
  color: var(--colorLight);
  border: 2px solid var(--colorAccent);
  border-radius: 12px;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.05));
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn:hover {
  background: var(--colorPrimary);
  color: var(--colorExtraLight);
  box-shadow: 0 0 25px var(--colorPrimary), 0 0 50px var(--colorAccent);
}
.btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: rgba(255,255,255,0.2);
  transform: skewX(-20deg);
  transition: all 0.5s ease;
}
.btn:hover::after { left: 100%; }

/* KEYFRAMES */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes rotateBG {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.3; }
}
@keyframes glow {
  from { text-shadow: 0 0 10px var(--colorPrimary), 0 0 20px var(--colorSecondary); }
  to { text-shadow: 0 0 20px var(--colorPrimary), 0 0 40px var(--colorSecondary), 0 0 60px var(--colorAccent); }
}

/* DEV CARDS */
.devs-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; }
.dev-card {
  background: var(--colorSecondary);
  border: 2px solid var(--colorPrimary);
  border-radius: 16px;
  padding: 25px;
  width: 220px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.dev-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  animation: rotateBG 80s linear infinite;
  z-index: 0;
}
.dev-card:hover {
  transform: translateY(-12px) rotateZ(-1deg);
  box-shadow: 0 0 25px var(--colorPrimary), 0 0 50px var(--colorAccent), 0 0 75px var(--colorPrimary);
}
.dev-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
  border: 2px solid var(--colorPrimary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dev-card img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--colorAccent), 0 0 30px var(--colorPrimary);
}

/* BADGES */
.badge {
  display: inline-block;
  padding: 6px 14px;
  margin: 5px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--colorPrimary), var(--colorAccent));
  color: var(--colorLight);
  font-weight: bold;
  text-shadow: 0 0 5px var(--colorLight);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 10px var(--colorPrimary), 0 0 20px var(--colorAccent);
}

/* FOOTER */
footer {
  padding: 50px 20px;
  background: var(--colorSecondary);
  color: var(--colorLight);
  text-align: center;
  font-size: 0.9rem;
}
footer a {
  color: var(--colorAccent);
  text-shadow: 0 0 3px var(--colorAccent);
}

/* DOWNLOADS */
#downloads {
  padding: 100px 20px;
  text-align: center;
  background: var(--colorSecondary);
}
.downloads-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}
.download-card {
  background: var(--colorSecondary);
  border: 2px solid var(--colorPrimary);
  border-radius: 16px;
  padding: 25px;
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  animation: rotateBG 80s linear infinite;
  z-index: 0;
}
.download-card:hover {
  transform: translateY(-12px) rotateZ(-1deg);
  box-shadow: 0 0 25px var(--colorPrimary), 0 0 50px var(--colorAccent), 0 0 75px var(--colorPrimary);
}
.download-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 2px solid var(--colorPrimary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.download-card img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--colorAccent), 0 0 30px var(--colorPrimary);
}
.download-card h3 {
  color: var(--colorAccent);
  margin-bottom: 10px;
  text-shadow: 0 0 6px var(--colorAccent), 0 0 12px var(--colorPrimary);
}
.download-card p {
  color: var(--colorLight);
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 15px;
  text-shadow: 0 0 2px var(--colorLight);
}
.download-card .btn {
  font-size: 0.9rem;
  padding: 10px 20px;
}
