* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
      background: #0a0a0f;
      color: #f5f5f5;
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    /* Fundo animado */
    #particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      background: radial-gradient(circle at bottom, #0a0a0f, #000);
    }

    canvas {
      display: block;
    }

    /* Header / Navbar */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(10, 10, 15, 0.7);
      backdrop-filter: blur(10px);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      z-index: 1000;
      border-bottom: 1px solid rgba(255, 200, 50, 0.2);
    }

    header h1 {
      font-size: 1.8rem;
      background: linear-gradient(90deg, #ffcc00, #ff8800, #ff00ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 2rem;
    }

    nav a {
      text-decoration: none;
      color: #f5f5f5;
      font-weight: bold;
      transition: color 0.3s;
    }

    nav a:hover {
      color: #ffcc00;
    }

    section {
      min-height: 100vh;
      padding: 7rem 2rem 3rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    section h2 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      background: linear-gradient(90deg, #ffcc00, #ff8800, #ff00ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    section p {
      max-width: 800px;
      font-size: 1.2rem;
      color: #bbb;
      margin-bottom: 2rem;
    }

    /* Seção Projetos */
    .portfolio {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      width: 100%;
      max-width: 1200px;
    }

    .card {
      background: rgba(20, 20, 30, 0.8);
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid rgba(255, 200, 50, 0.2);
      transition: transform 0.3s, box-shadow 0.3s;
      cursor: pointer;
    }

    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 0 25px rgba(255, 200, 50, 0.6);
    }

    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .card h3 {
      padding: 1rem;
      color: #ffcc00;
    }

    /* Formulário de contato */
    form {
      background: rgba(20, 20, 30, 0.8);
      padding: 2rem;
      border-radius: 20px;
      border: 1px solid rgba(255, 200, 50, 0.2);
      width: 100%;
      max-width: 600px;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    form input, form textarea {
      width: 100%;
      padding: 1rem;
      border-radius: 10px;
      border: none;
      outline: none;
      font-size: 1rem;
      background: #1f1f1f;
      color: #f5f5f5;
    }

    form input:focus, form textarea:focus {
      border: 1px solid #ffcc00;
      box-shadow: 0 0 10px rgba(255, 200, 50, 0.5);
    }

    form button {
      padding: 1rem;
      border: none;
      border-radius: 10px;
      background: linear-gradient(90deg, #ffcc00, #ff8800);
      color: #0a0a0f;
      font-weight: bold;
      cursor: pointer;
      transition: transform 0.3s;
    }

    form button:hover {
      transform: scale(1.05);
    }

    /* Footer */
    footer {
      text-align: center;
      padding: 1.5rem;
      background: #0d0d0d;
      font-size: 0.9rem;
      border-top: 1px solid rgba(255, 200, 50, 0.2);
    }

    footer a {
      color: #ffcc00;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }