/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html,
  body {
    height: 100%;
    scroll-behavior: smooth;
    font-family: 'Orbitron', sans-serif;
    
    color: #eee;
  }

  body {
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
  }

  /* Video background */
  #bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -3;
    filter: brightness(0.4);
  }

  /* Particle container */
  .particle-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    height: 100vh;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
  }

  .particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 204, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 204, 255, 1), 0 0 40px rgba(0, 204, 255, 0.6);
    animation-timing-function: linear;
  }

  @keyframes floatUp {
    0% {
      transform: translateY(100vh) scale(1);
      opacity: 0.8;
    }

    100% {
      transform: translateY(-20vh) scale(0.3);
      opacity: 0;
    }
  }

  /* Side menu */
  .side-menu {
    position: fixed;
    top: 50%;
    right: 220px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 50px;
    border: 1px solid #00ccff;
    padding: 20px;
    height: 12cm;
    width: 90px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    z-index: 99;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
  }

  .side-menu a {
    color: #888;
    font-size: 22px;
    padding: 12px;
    transition: 0.3s;
  }

  .side-menu a.active,
  .side-menu a:hover {
    color: #00ccff;
    transform: scale(1.25);
    text-shadow: 0 0 10px #00ccff, 0 0 20px #00ccff;
  }

  /* Main content container */
  .main-content {
    display: flex;
    gap: 80px;
    align-items: center;
    position: relative;
    padding: 0 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Card */
  .card {
    color: #fff;
    width: 360px;
    padding: 30px 25px;
    border-radius: 25px;
    text-align: center;
    border: 2px solid #00ccff;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px #00ccff50;
    transition: transform 0.3s ease;
  }

  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px #00ccff;
  }

  .logo {
    font-size: 32px;
    color: #00ccff;
    letter-spacing: 3px;
    margin-bottom: 6px;
  }

  .title {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 15px;
  }

  .avatar {
    width: 100%;
    border-radius: 20px;
    margin: 25px 0;
    border: 2px solid #00ccff70;
    box-shadow: 0 0 20px #00ccff;
    transition: transform 0.3s ease;
  }

  .avatar:hover {
    transform: scale(1.05);
  }

  .info p {
    font-size: 14px;
    margin: 6px 0;
    user-select: text;
  }

  .info .copyright {
    font-size: 12px;
    color: #777;
    margin-top: 12px;
  }

  .socials {
    margin: 20px 0;
  }

  .socials a {
    display: inline-block;
    margin: 0 8px;
    width: 38px;
    height: 38px;
    line-height: 38px;
    border-radius: 50%;
    color: #aaa;
    font-size: 18px;
    text-align: center;
    transition: 0.3s ease;
    border: 1.5px solid transparent;
  }

  .socials a:hover {
    color: #00ccff;
    transform: scale(1.3);
    box-shadow: 0 0 12px #00ccff, 0 0 30px #00ccff;
    border-color: #00ccff;
  }

  .contact-btn {
    background-color: transparent;
    border: 2px solid #00ccff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    color: #00ccff;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .contact-btn:hover {
    background-color: #000;
    box-shadow: 0 0 12px #00ccff, 0 0 30px #00ccff;
  }

  /* Intro section */
  .intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .intro h1 {
    font-size: 70px;
    margin-bottom: 25px;
    user-select: none;
  }

  .intro .white {
    color: white;
  }

  .intro .green {
    color: #00ccff;
    text-shadow: 0 0 15px #00ccff;
  }

  .description {
    color: #bbb;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
  }

  .stats {
    display: flex;
    gap: 80px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .stat-number {
    font-size: 50px;
    color: #00ccff;
    font-weight: bold;
    text-shadow: 0 0 15px #00ccff;
    user-select: none;
  }

  .stat-label {
    font-size: 14px;
    color: #aaa;
    margin-top: 6px;
    user-select: none;
    letter-spacing: 1.2px;
  }

  /* Portfolio section */
  #portfolio {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
  }

  #portfolio h1 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: #00ccff;
    text-shadow: 0 0 15px #00ccff;
  }

  .portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }

  .portfolio-item {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 15px #00ccff60;
    color: #eee;
    transition: transform 0.3s ease;
    cursor: pointer;
  }

  .portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #00ccff;
  }

  .portfolio-item img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 0 15px #00ccff80;
  }

  .portfolio-item h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .portfolio-item p {
    font-size: 14px;
    color: #bbb;
  }

  /* Skills section */
  #skills {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto 60px auto;
  }

  #skills h1 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: #00ccff;
    text-shadow: 0 0 15px #00ccff;
  }

  .skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }

  .skill {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 18px 24px;
    font-size: 16px;
    box-shadow: 0 0 15px #00ccff60;
    transition: transform 0.3s ease;
    cursor: default;
    user-select: none;
  }

  .skill:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px #00ccff;
  }

  /* Contact section */
  #contact {
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto 60px auto;
    text-align: center;
  }

  #contact h1 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #00ccff;
    text-shadow: 0 0 15px #00ccff;
  }

  form.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  form.contact-form input,
  form.contact-form textarea {
    padding: 14px 20px;
    border-radius: 10px;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #eee;
    font-size: 16px;
    resize: none;
    box-shadow: 0 0 10px #00ccff60;
    transition: box-shadow 0.3s ease;
  }

  form.contact-form input:focus,
  form.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 20px #00ccff;
    background: rgba(0, 0, 0, 0.6);
  }

  form.contact-form button {
    background-color: #00ccff;
    border: none;
    padding: 15px 0;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 0 20px #00ccff;
  }

  form.contact-form button:hover {
    background-color: #00a6d6;
    box-shadow: 0 0 30px #00a6d6;
    color: #fff;
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .side-menu {
      right: 10px;
      height: auto;
      width: 60px;
      padding: 15px;
      gap: 30px;
      border-radius: 20px;
      flex-direction: row;
      top: auto;
      bottom: 20px;
      transform: none;
    }

    .side-menu a {
      font-size: 18px;
      padding: 10px;
    }

    .main-content {
      flex-direction: column;
      gap: 40px;
    }
  }

  @media (max-width: 600px) {
    .intro h1 {
      font-size: 42px;
    }

    .stat-number {
      font-size: 36px;
    }

    .stat-label {
      font-size: 12px;
    }

    #portfolio,
    #skills,
    #contact {
      padding: 40px 10px;
    }

    .side-menu {
      width: 100%;
      height: 50px;
      border-radius: 0;
      bottom: 0;
      right: 0;
      flex-direction: row;
      gap: 20px;
      justify-content: space-around;
    }
  }