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

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

header {
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)),
    radial-gradient(circle at center, #cc0000 0%, #990000 50%, #000000 100%);
  padding: 3rem 2rem;
  text-align: center;
  border-bottom: 3px solid #cc0000;
  position: relative;
  overflow: hidden;
}

h1 {
  font-size: 3.5rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

h2 {
  font-size: 1.8rem;
  color: #cccccc;
  font-weight: 300;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}

h3 {
  font-size: 2.5rem;
  color: #cc0000;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  border-left: 5px solid #cc0000;
  padding-left: 1rem;
  position: relative;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-align: justify;
}

figure {
  text-align: center;
  margin: 2rem 0;
}

figcaption {
  font-style: italic;
  color: #cccccc;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  background: rgba(204, 0, 0, 0.1);
  margin: 0.8rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #cc0000;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

abbr {
  color: #cc0000;
  text-decoration: none;
  border-bottom: 1px dotted #cc0000;
  cursor: help;
  transition: all 0.2s ease;
}

cite {
  font-style: italic;
  color: #ff6666;
}

span {
  background: linear-gradient(45deg, #cc0000, #ff3333);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, #cc0000, transparent);
  margin: 2rem 0;
  opacity: 0.6;
}

img {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #cc0000;
  margin: 1rem 0;
  box-shadow: 0 8px 20px rgba(204, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#main-header {
  position: relative;
}

#biography {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

#early-life {
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(204, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

#technical-approach {
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(204, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

#accomplishments {
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(204, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

#charity {
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(204, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

#legacy {
  margin-bottom: 4rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(204, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

#page-footer {
  background: #000000;
  color: #cccccc;
  text-align: center;
  padding: 2rem;
  border-top: 3px solid #cc0000;
  margin-top: 3rem;
}

.title {
  font-size: 3.5rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.subtitle {
  font-size: 1.8rem;
  color: #cccccc;
  font-weight: 300;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}

.header-image {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  border: 3px solid #cc0000;
  box-shadow: 0 10px 30px rgba(204, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  color: #cc0000;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  border-left: 5px solid #cc0000;
  padding-left: 1rem;
  position: relative;
}

.section-paragraph {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 3px solid #cc0000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.section-image {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #cc0000;
  margin: 1rem 0;
  box-shadow: 0 8px 20px rgba(204, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.achievement-list {
  list-style: none;
  padding: 0;
}

.achievement-item {
  background: rgba(204, 0, 0, 0.1);
  margin: 0.8rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #cc0000;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.highlight-text {
  background: linear-gradient(45deg, #cc0000, #ff3333);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.footer-text {
  font-size: 1rem;
  font-style: italic;
}

#main-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(204, 0, 0, 0.1),
    transparent
  );
  animation: shine 3s infinite;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 1rem;
  width: 50px;
  height: 2px;
  background: #cc0000;
  box-shadow: 0 0 10px rgba(204, 0, 0, 0.5);
}

.achievement-item::before {
  content: "▶";
  color: #cc0000;
  font-weight: bold;
  margin-right: 0.5rem;
}

.header-image:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(204, 0, 0, 0.5);
}

.section-paragraph:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.section-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(204, 0, 0, 0.4);
}

.achievement-item:hover {
  background: rgba(204, 0, 0, 0.2);
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(204, 0, 0, 0.2);
}

abbr:hover {
  color: #ffffff;
  background: #cc0000;
  padding: 2px 4px;
  border-radius: 3px;
}

::selection {
  background: rgba(204, 0, 0, 0.3);
  color: #ffffff;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 768px) {
  .title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  #main-header {
    padding: 2rem 1rem;
  }

  #biography {
    padding: 2rem 1rem;
  }

  .header-image {
    width: 250px;
    height: 160px;
  }

  #early-life,
  #technical-approach,
  #accomplishments,
  #charity,
  #legacy {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
}
