/* Global Styles */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f5f5;
  color: #222;
  transition: background 0.5s, color 0.5s;
}

header {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #ff6ec4, #7873f5);
  color: #fff;
}
header img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin-bottom: 20px;
}
header h1 { font-size: 2.5rem; margin: 0; }
header p { font-size: 1.2rem; }
.mode-buttons button {
  margin: 5px;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}
.mode-buttons button:hover { transform: scale(1.05); }

section.block {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 15px;
  color: #222;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s, transform 0.8s;
}
section.block:nth-child(odd) { background: linear-gradient(135deg, #ff9a9e, #fad0c4); }
section.block:nth-child(even) { background: linear-gradient(135deg, #a18cd1, #fbc2eb); }
section.block.show { opacity: 1; transform: translateY(0); }

.social a {
  display: inline-block;
  margin-right: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, background 0.3s;
}
.social a:hover { transform: scale(1.1); background: #ffd700; color: #000; }

footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #fff;
}

/* Night Mode */
body.night {
  background: #111;
  color: #eee;
}
body.night header { background: linear-gradient(135deg, #0f2027, #203a43); }
body.night section.block:nth-child(odd) { background: linear-gradient(135deg, #444, #666); color: #fff; }
body.night section.block:nth-child(even) { background: linear-gradient(135deg, #555, #777); color: #fff; }
body.night .social a { background: #333; color: #fff; }
