/* Gradient Animated Background */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(270deg, #f5f5ff, #eef0ff, #e8e6ff, #f0f7ff);
    background-size: 800% 800%;
    animation: gradientBG 15s ease infinite;
    color: #333;
  }
  
  /* Animated Container */
  .container {
    max-width: 1100px;
    margin: 50px auto;
    background: #ffffffd1;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    padding: 40px;
    animation: fadeInUp 1s ease;
  }
  
  /* Profile Header Section */
  .header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 25px;
  }
  
  .header img {
    width: 160px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    border: 4px solid #8f87f1;
    box-shadow: 0 0 20px rgba(143, 135, 241, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .header img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #a394ff;
  }
  
  .header .info h1 {
    font-size: 30px;
    margin: 0;
    color: #641400;
    background: linear-gradient(90deg, #641400, #8f87f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textFade 3s ease infinite;
  }
  .header .info p {
    margin: 6px 0;
    color: #444;
    font-size: 16px;
  }
  
  /* Animated Section Titles */
  h2 {
    margin-top: 40px;
    font-size: 24px;
    color: #8f87f1;
    position: relative;
    animation: flyIn 1s ease;
  }
  h2::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 12px;
    width: 6px;
    height: 6px;
    background-color: #641400;
    border-radius: 50%;
    box-shadow: 0 0 10px #8f87f1;
  }
  
  /* Animated Lists */
  ul {
    list-style: square;
    padding-left: 30px;
    margin-top: 10px;
  }
  li {
    margin: 10px 0;
    font-size: 16px;
    transition: 0.3s ease;
  }
  li:hover {
    color: #8f87f1;
    transform: scale(1.03);
  }
  
  /* News Section: flying scroll */
  .news {
    margin-top: 30px;
  }
  .news-scroll {
    overflow: hidden;
    white-space: nowrap;
    animation: ticker 15s linear infinite;
    background: #eef0ff;
    padding: 12px 20px;
    font-size: 16px;
    border-left: 4px solid #8f87f1;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  .news-item {
    display: inline-block;
    padding-right: 50px;
    color: #641400;
    font-weight: bold;
  }
  
  /* Keyframe Animations */
  @keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes flyIn {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
  }
  @keyframes textFade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
  }
  @keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }
  
  /* Responsive Layout */
  @media (max-width: 768px) {
    .header {
      flex-direction: column;
      text-align: center;
    }
    .header img {
      width: 120px;
      height: 160px;
    }
    .container {
      padding: 24px;
      margin: 20px;
    }
  }
  .news {
    margin-top: 40px;
    overflow: hidden;
    position: relative;
  }
  
  .news h2 {
    color: #641400;
    font-size: 24px;
    animation: colorFlash 1.5s infinite alternate;
  }
  
  .news-scroll {
    display: inline-flex;
    gap: 50px;
    white-space: nowrap;
    overflow: hidden;
    animation: scrollLeft 25s linear infinite;
    padding: 10px 0;
  }
  
  .news-item {
    background: #e6e6ff;
    padding: 10px 25px;
    border-radius: 20px;
    color: #333;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  }
  
  @keyframes scrollLeft {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }
  
  @keyframes colorFlash {
    from { color: #641400; }
    to { color: #8F87F1; }
  }
 
  .info:hover {
    animation: bounceName 0.6s ease;
    color: #641400;
  }
  
  @keyframes bounceName {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-8px); }
    60%  { transform: translateY(4px); }
    100% { transform: translateY(0); }
  }
  
      