
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, sans-serif;
}

body {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #e2e8f0;
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}


header {
  text-align: center;
  padding: 2rem 1rem;
  border-bottom: 2px solid rgba(56,189,248,0.4);
  animation: fadeDown 1s ease-in-out;
}

.maintitle {
  font-size: 2.6rem;
  font-weight: bold;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  transition: transform 0.4s ease;
}
.maintitle:hover {
  transform: scale(1.05);
}

.parainfo {
  margin: 10px 0 20px;
  font-size: 1.1rem;
  color: #cbd5e1;
  animation: fadeIn 2s ease-in;
  padding: 5px 10px;
  border-left: 4px solid #38bdf8;
  background: linear-gradient(90deg, rgba(56,189,248,0.1), transparent);
  border-radius: 4px;
}


nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

nav ul li a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 10px 18px;
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background: linear-gradient(90deg, #f472b6, #a855f7, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.1);
}


section {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  margin: 2rem 0;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(129,140,248,0.4);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease forwards;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

section:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(56,189,248,0.5);
}

section h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  display: inline-block;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

section ul li, section ol li, section dd {
  margin-left: 20px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: transform 0.3s ease, background 0.3s ease;
  background: linear-gradient(90deg, rgba(56,189,248,0.05), transparent);
}
section ul li:hover,
section ol li:hover,
section dd:hover {
  transform: translateX(6px);
  background: linear-gradient(90deg, rgba(56,189,248,0.2), rgba(129,140,248,0.2));
  color: #fff;
}


footer {
  text-align: center;
  padding: 2rem 1rem;
  animation: fadeUp 1s ease-in-out;
  border-top: 2px solid rgba(56,189,248,0.4);
  margin-top: 30px;
}

footer h2 {
  font-size: 1.5rem;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

footer a {
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  transition: transform 0.3s;
}
footer a:hover {
  background: linear-gradient(90deg, #f472b6, #a855f7, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.1);
}


footer .socials img {
  height: 45px;
  width: 45px;
  margin: 0 12px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 2px solid #38bdf8;
  transition: transform 0.4s ease, filter 0.3s, border-color 0.3s;
}
footer .socials img:hover {
  transform: scale(1.3) rotate(10deg);
  filter: drop-shadow(0 0 12px #38bdf8);
  border-color: #818cf8;
}

footer ul {
  list-style: none;   
  padding-left: 0;    
  margin: 0;
}

footer ul li {
  margin: 6px 0;
  padding: 5px 0;
}



@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
  }
  section {
    padding: 1.5rem;
  }
}
