:root {
    --bg-dark: #121417;
    --card-dark: rgba(255, 255, 255, 0.06);
    --accent: #b87333;
    --accent-hover: #d69056;
    --text-dark: #f4f4f4;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
  }

  a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
  a:hover { color: var(--accent-hover); }

  header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
  }

  .typed-container {
    line-height: 1.2;
  }
  .typed-line {
    font-weight: 700;
    font-size: 2.5rem;
    color: #ffffff;
    white-space: pre-wrap;
    margin-bottom: 8px;
    min-height: 1.2em;
  }
  .typed-sub {
    font-weight: 300;
    max-width: 700px;
    opacity: 0.9;
    font-size: 1.05rem;
    margin-top: 8px;
    min-height: 1.2em;
  }

  .typing::after {
    content: '|';
    margin-left: 6px;
    display: inline-block;
    animation: blink 1s steps(2, start) infinite;
    color: var(--accent);
  }
  @keyframes blink { 50% { opacity: 0 } }

  .scroll-down {
    position: absolute;
    bottom: 12%;
    font-size: 1.5cm;
    color: var(--accent);
    cursor: pointer;
    opacity: 0; /* start hidden */
    transition: opacity 1.2s ease;
  }

  .scroll-down.show {
    opacity: 1;
    animation: bounce 2s infinite;
  }

  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      bottom: 12%;
    }
    40% {
      bottom: 7%;
    }
    60% {
      bottom: 10%;
    }
  }

  section { padding: 60px 20px; max-width: 1100px; margin: auto; }
  .section-title { font-size: 2rem; margin-bottom: 30px; text-align: center; color: var(--accent); }

  .card {
    background: var(--card-dark);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    backdrop-filter: blur(8px);
    margin-bottom: 20px;
    transition: transform 0.3s ease, background 0.3s ease;
  }
  .card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
  }
  .card h3 { font-size: 1.2rem; margin-bottom: 5px; color: #ffffff; }
  .card span { font-size: 0.9rem; opacity: 0.75; display:block; margin-bottom: 10px; }

  .list { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
  .list span {
    background: var(--card-dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .list span:hover {
    background: rgba(255,255,255,0.08); /* match card hover */
    transform: translateY(-2px);
    color: #ffffff;
  }
  .list span a {
    color: inherit;
    text-decoration: none;
  }
  .list span a:hover {
    color: inherit;
  }

  .fade-in { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
  .fade-in.show { opacity: 1; transform: translateY(0); }