* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #181c24;
    color: #f3f3f3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
    text-align: center;
    transition: background 0.3s, color 0.3s;
  }
  
  .container {
    flex: 1 0 auto;
    width: 100%;
    max-width: 600px;
  }
  
  .profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #23283a;
    box-shadow: 0 4px 16px rgba(0,119,255,0.10);
  }
  
  h1 {
    font-size: 28px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #0077ff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  p {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .links {
    display: grid;
    gap: 15px;
    margin-bottom: 40px;
  }
  
  .links a {
    display: inline-block;
    padding: 12px 20px;
    background-color: #0077ff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
  }
  
  .links a:hover {
    background-color: #005fcc;
  }
  
  .projects {
    text-align: left;
    background-color: #23283a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  
  .projects h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .project-card {
    margin-top: 15px;
    background: #23283a;
    border-radius: 8px;
    padding: 15px;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    color: #f3f3f3;
  }
  
  .project-card:hover {
    box-shadow: 0 4px 16px rgba(0,119,255,0.12);
    transform: translateY(-4px) scale(1.02);
  }
  
  .project-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
  }
  
  .project-card p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
  }
  
  .project-card a {
    display: inline-block;
    color: #0077ff;
    text-decoration: underline;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
  }
  .social-icons a {
    color: #7ab8ff;
    font-size: 1.3rem;
    transition: color 0.2s;
    opacity: 0.7;
  }
  .social-icons a:hover {
    color: #fff;
    opacity: 1;
  }
  
  .project-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
    align-items: stretch;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .project-btn {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 14px 0;
    background: #0077ff;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  }
  .project-btn:hover {
    background: #005fcc;
    transform: translateY(-2px) scale(1.01);
  }
  
  /* Tema claro */
  body.light-theme {
    background-color: #f9f9f9;
    color: #333;
  }
  
  body.light-theme .projects {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  body.light-theme .project-card {
    background: #f5f8ff;
    color: #333;
  }
  
  body.light-theme .project-btn {
    background: #0077ff;
    color: #fff;
  }
  
  body.light-theme .project-btn:hover {
    background: #005fcc;
  }
  
  body.light-theme .social-icons a {
    color: #0077ff;
  }
  
  body.light-theme .profile-pic {
    border: 4px solid #ddd;
  }
  
  /* Botão de alternância de tema */
  .theme-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    background: #23283a;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.3s, color 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body.light-theme .theme-toggle {
    background: #fff;
    color: #0077ff;
  }
  
  footer {
    width: 100%;
    text-align: center;
    margin-top: 32px;
    font-size: 0.95rem;
    color: #888;
    opacity: 0.8;
    padding-bottom: 16px;
  }
  
  @media (max-width: 600px) {
    .container {
      padding: 0 5px;
      max-width: 100vw;
    }
    .projects {
      padding: 8px;
      border-radius: 6px;
    }
    .profile-pic {
      width: 80px;
      height: 80px;
      margin-bottom: 14px;
    }
    h1 {
      font-size: 20px;
    }
    p {
      font-size: 14px;
      margin-bottom: 18px;
    }
    .project-btn {
      font-size: 0.98rem;
      padding: 11px 0;
    }
    .theme-toggle {
      top: 10px;
      right: 10px;
      width: 34px;
      height: 34px;
      font-size: 1.1rem;
    }
    .social-icons {
      gap: 10px;
      margin-bottom: 18px;
    }
  }