:root {
      --primary-color: #ff0062;
      --secondary-color: #5e1f38;
      --bg-color: #111;
      --text-color: #f5f5f5;
      --card-bg: #222;
      --transition: all 0.3s ease;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Arial', sans-serif;
    }

    html {
      scroll-behavior: smooth;
      scrollbar-width: thin;
      scrollbar-color: var(--primary-color) var(--bg-color);
    }

    body {
      background-color: var(--bg-color);
      color: var(--text-color);
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
      color: var(--primary-color);
    }

    section {
      padding: 80px 0;
      opacity: 0;
      transition: var(--transition);
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Navbar */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      padding: 20px 0;
      backdrop-filter: blur(10px);
      z-index: 1000;
    }

    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-size: 24px;
      font-weight: bold;
      color: var(--primary-color);
    }

    .nav-links {
      display: flex;
      list-style: none;
    }

    .nav-links li {
      margin-left: 30px;
    }

    .nav-links a {
      font-size: 16px;
      font-weight: 500;
      color: var(--text-color);
      transition: var(--transition);
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--primary-color);
      transition: var(--transition);
    }

    .nav-links a:hover {
      color: var(--primary-color);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .mobile-menu {
      display: none;
      cursor: pointer;
    }

    .bar {
      width: 25px;
      height: 3px;
      background-color: var(--text-color);
      margin: 5px 0;
      transition: var(--transition);
    }

    /* Adições no CSS para as estatísticas */
    .stats-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-bottom: 40px;
    }

    .stat-card {
      background: var(--card-bg);
      padding: 25px;
      border-radius: 10px;
      text-align: center;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      transition: var(--transition);
    }

    .stat-card:hover {
      transform: translateY(-5px);
    }

    .stat-number {
      font-size: 36px;
      font-weight: bold;
      color: var(--primary-color);
      margin-bottom: 10px;
    }

    .stat-label {
      font-size: 16px;
      color: #aaa;
    }

    /* ========== MELHORIAS NA SEÇÃO HERO ========== */
    #inicio {
      padding-top: 100px;
      position: relative;
      overflow: hidden;
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: linear-gradient(45deg, #070707 30%, #181818 100%);
    }

    .hero-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      position: relative;
      z-index: 2;
    }

    /* NOVA ANIMAÇÃO DE FUNDO MELHORADA */
    .animated-background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 120%;
      z-index: 1;
      overflow: hidden;
    }

    .particles-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .particle {
      position: absolute;
      border-radius: 50%;
      background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
      filter: blur(4px);
      opacity: 0;
    }

    .grid-lines {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: 40px 40px;
      background-image:
        linear-gradient(to right, rgba(255, 0, 98, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 0, 98, 0.03) 1px, transparent 1px);
      opacity: 0.4;
    }

    .glow {
      position: absolute;
      width: 60%;
      height: 40%;
      top: -10%;
      right: -10%;
      background: radial-gradient(circle, rgba(255, 0, 98, 0.15) 0%, rgba(255, 0, 98, 0) 70%);
      opacity: 0.5;
      filter: blur(50px);
      border-radius: 50%;
      animation: glowPulse 15s infinite alternate;
    }

    .glow-secondary {
      position: absolute;
      width: 40%;
      height: 30%;
      bottom: 0;
      left: -10%;
      background: radial-gradient(circle, rgba(94, 31, 56, 0.15) 0%, rgba(94, 31, 56, 0) 70%);
      opacity: 0.5;
      filter: blur(50px);
      border-radius: 50%;
      animation: glowPulse 18s infinite alternate-reverse;
    }

    @keyframes glowPulse {
      0% {
        opacity: 0.3;
        transform: scale(1);
      }

      50% {
        opacity: 0.5;
        transform: scale(1.2);
      }

      100% {
        opacity: 0.3;
        transform: scale(1);
      }
    }

    /* Efeito de chuva de código digital */
    .code-rain {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 70%;
      pointer-events: none;
      z-index: 1;
    }

    .code-column {
      position: absolute;
      top: -100%;
      font-family: 'Fira Code', monospace;
      font-size: 24px;
      color: rgba(255, 0, 98, 0.3);
      text-shadow: 0 0 5px rgba(255, 0, 98, 0.3);
      white-space: nowrap;
      opacity: 0.6;
    }

    /* Melhorias no estilo do pinguim */
    .rocket-penguin {
      width: 100%;
      max-width: 500px;
      filter: drop-shadow(0 0 20px rgba(255, 0, 98, 0.4)) brightness(1.1);
      animation: floatPenguin 6s ease-in-out infinite;
      position: relative;
      z-index: 3;
      transform-origin: center 70%;
    }

    @keyframes floatPenguin {

      0%,
      100% {
        transform: translateY(0) rotate(-2deg);
        filter: drop-shadow(0 10px 20px rgba(255, 0, 98, 0.25));
      }

      50% {
        transform: translateY(-25px) rotate(2deg);
        filter: drop-shadow(0 25px 30px rgba(255, 0, 98, 0.45));
      }
    }

    /* Melhorias nos textos da hero */
    .hero-text {
      position: relative;
      z-index: 2;
      padding-right: 40px;
    }

    .hero-name {
      font-size: 4rem;
      background: linear-gradient(45deg, #ff0062, #ff3e00);
      background-clip: border-box;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 1.5rem;
      line-height: 1.1;
      letter-spacing: -1.5px;
      text-shadow: 0 0 30px rgba(255, 0, 98, 0.2);
    }

    .hero-title {
      font-size: 1.75rem;
      color: #ddd;
      margin-bottom: 2rem;
      position: relative;
      padding-left: 28px;
      font-weight: 400;
    }

    .hero-title::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 20px;
      height: 3px;
      background: var(--primary-color);
      border-radius: 2px;
    }

    .hero-intro {
      font-size: 1.15rem;
      line-height: 1.7;
      margin-bottom: 2.5rem;
      color: #ccc;
      max-width: 500px;
      position: relative;
      padding-left: 28px;
    }

    .hero-intro::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 3px;
      background: linear-gradient(to bottom,
          var(--primary-color),
          var(--secondary-color));
    }

    /* Social Links */
    .social-links {
      display: flex;
      gap: 20px;
      margin-top: 30px;
    }

    .social-link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 45px;
      height: 45px;
      background-color: rgba(34, 34, 34, 0.8);
      border-radius: 50%;
      transition: var(--transition);
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    }

    .social-link:hover {
      background-color: var(--primary-color);
      transform: translateY(-5px);
    }

    .social-link i {
      font-size: 20px;
      color: #fff;
    }

    /* ========== FIM DAS MELHORIAS NA SEÇÃO HERO ========== */

    /* Serviços Section */
    #servicos {
      background-color: #0a0a0a;
    }

    .section-title {
      font-size: 36px;
      text-align: center;
      margin-bottom: 60px;
      position: relative;
      display: inline-block;
      left: 50%;
      transform: translateX(-50%);
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 70%;
      height: 3px;
      background-color: var(--primary-color);
      left: 15%;
    }

    .services-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .service-card {
      background-color: var(--card-bg);
      border-radius: 10px;
      padding: 30px;
      text-align: center;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      transition: var(--transition);
    }

    .service-card:hover {
      transform: translateY(-10px);
    }

    .service-icon {
      width: 70px;
      height: 70px;
      background-color: var(--secondary-color);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
    }

    .service-icon i {
      font-size: 30px;
      color: var(--primary-color);
    }

    .service-title {
      font-size: 22px;
      margin-bottom: 15px;
    }

    .service-description {
      font-size: 16px;
      line-height: 1.6;
    }

    /* Sobre Section */
    #sobre {
      background-color: var(--bg-color);
    }

    .sobre-content {
      display: flex;
      align-items: center;
      gap: 60px;
    }

    .sobre-left {
      flex: 1;
    }

    .sobre-right {
      flex: 1;
    }

    .sobre-image {
      width: 100%;
      border-radius: 10px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
      height: 80vh;
      object-fit: cover;
    }

    .sobre-title {
      font-size: 30px;
      margin-bottom: 20px;
      color: var(--primary-color);
    }

    .sobre-text {
      font-size: 18px;
      line-height: 1.6;
      margin-bottom: 30px;
    }

    .skills-container {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-top: 30px;
    }

    .skill-items {

      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 20px;
      margin-bottom: 30px;
    }

    .skill-item {
      background-color: var(--card-bg);
      padding: 10px 20px;
      border-radius: 30px;
      font-size: 16px;
      transition: var(--transition);
    }

    .skill-item:hover {
      background-color: var(--primary-color);
      color: black;
      transform: translateY(-5px);
    }

    /* Repertório Section */
    #repertorio {
      background-color: #0a0a0a;
    }

    .projects-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .project-card {
      background-color: var(--card-bg);
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      transition: var(--transition);
    }

    .project-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    }

    .project-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .project-card-content {
      padding: 20px;
    }

    .project-card-title {
      font-size: 20px;
      margin-bottom: 10px;
      color: var(--primary-color);
    }

    .project-card-description {
      font-size: 16px;
      margin-bottom: 15px;
      line-height: 1.5;
    }

    .project-card-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 20px;
    }

    .project-card-tag {
      background-color: var(--secondary-color);
      color: var(--primary-color);
      padding: 5px 10px;
      border-radius: 5px;
      font-size: 14px;
    }

    .project-card-links {
      display: flex;
      justify-content: space-between;
    }

    .project-card-link {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 14px;
      font-weight: 500;
    }

    .github-projects-container {
      text-align: center;
      margin-top: 40px;
      padding: 30px 0;
    }

    .github-button {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 15px 35px;
      background-color: var(--card-bg);
      color: var(--primary-color);
      border-radius: 30px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
      border: 2px solid var(--card-bg);
    }

    .github-button:hover {
      background-color: var(--primary-color);
      color: white;
      transform: translateY(-2px);
    }

    .github-button .arrow {
      margin-left: 8px;
      transition: transform 0.3s ease;
    }

    .github-button:hover .arrow {
      transform: translateX(3px);
    }

    .fab.fa-github {
      font-size: 1.2em;
    }

    /* Contato Section */
    #contato {
      background-color: var(--bg-color);
    }

    .contact-content {
      display: flex;
      gap: 60px;
    }

    .contact-left {
      flex: 1;
    }

    .contact-right {
      flex: 1;
    }

    .contact-info {
      margin-bottom: 40px;
    }

    .contact-title {
      font-size: 30px;
      margin-bottom: 20px;
      color: var(--primary-color);
    }

    .contact-text {
      font-size: 18px;
      line-height: 1.6;
      margin-bottom: 30px;
    }

    .contact-item {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
    }

    .contact-item i {
      width: 50px;
      height: 50px;
      background-color: var(--secondary-color);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 15px;
      color: var(--primary-color);
    }

    .contact-item-content h4 {
      font-size: 18px;
      margin-bottom: 5px;
    }

    .contact-item-content p {
      font-size: 16px;
      color: #aaa;
    }

    .contact-form {
      background-color: var(--card-bg);
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      font-size: 16px;
      margin-bottom: 8px;
    }

    .form-control {
      width: 100%;
      padding: 12px 15px;
      background-color: #333;
      border: 1px solid #444;
      border-radius: 5px;
      color: var(--text-color);
      font-size: 16px;
      transition: var(--transition);
    }

    .form-control:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 10px rgba(0, 184, 255, 0.2);
    }

    textarea.form-control {
      min-height: 150px;
      resize: none;
    }

    .btn {
      display: inline-block;
      background-color: var(--primary-color);
      color: #000;
      padding: 12px 30px;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
    }

    .btn:hover {
      background-color: #0094cc;
      transform: translateY(-3px);
    }

    /* Footer */
    footer {
      background-color: #0a0a0a;
      padding: 30px 0;
      text-align: center;
    }

    .footer-content {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .footer-logo {
      font-size: 28px;
      font-weight: bold;
      color: var(--primary-color);
      margin-bottom: 20px;
    }

    .footer-nav {
      margin-bottom: 20px;
    }

    .footer-nav ul {
      display: flex;
      list-style: none;
      gap: 20px;
    }

    .footer-nav a {
      color: var(--text-color);
      transition: var(--transition);
    }

    .footer-nav a:hover {
      color: var(--primary-color);
    }

    .footer-social {
      display: flex;
      gap: 15px;
      margin-bottom: 20px;
    }

    .footer-social a {
      width: 40px;
      height: 40px;
      background-color: var(--card-bg);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
    }

    .footer-social a:hover {
      background-color: var(--primary-color);
    }

    .footer-social i {
      font-size: 18px;
      color: var(--text-color);
    }

    .footer-text {
      font-size: 14px;
      color: #777;
    }

    /* Animations */
    .fade-in {
      opacity: 1;
      transform: translateY(0);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .typewriter {
      overflow: hidden;
      white-space: nowrap;
      border-right: 3px solid var(--primary-color);
      animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    }

    @keyframes typing {
      from {
        width: 0
      }

      to {
        width: 100%
      }
    }

    @keyframes blink-caret {

      from,
      to {
        border-color: transparent
      }

      50% {
        border-color: var(--primary-color)
      }
    }

    /* Responsive Design */
    @media (max-width: 992px) {

      .hero-content,
      .sobre-content,
      .contact-content {
        flex-direction: column;
        gap: 40px;
      }

      .hero-left {
        order: 2;
      }

      .hero-right {
        order: 1;
        text-align: center;
      }

      .profile-image {
        width: 250px;
        height: 250px;
      }

      .services-container,
      .projects-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      }
    }

    @media (max-width: 768px) {
      .mobile-menu {
        display: block;
      }

      .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: var(--transition);
      }

      .nav-links.active {
        left: 0;
      }

      .nav-links li {
        margin: 15px 0;
      }

      .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .hero-text {
        padding-right: 0;
      }

      .hero-intro {
        padding-left: 0;
        margin: 0 auto 2.5rem;
      }

      .hero-intro::before,
      .hero-title::before {
        display: none;
      }

      .social-links {
        justify-content: center;
      }

      .stats-container {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 480px) {
      .hero-name {
        font-size: 2.25rem;
      }

      .hero-title {
        font-size: 1.25rem;
      }

      .hero-intro {
        font-size: 1rem;
      }

      .rocket-penguin {
        max-width: 80%;
      }
    }