:root {
      --bg-color: #0f0f0f;
      --primary-color: #00ff88;
      --text-color: #ffffff;
      --card-bg: #1a1a1a;
      --card-border: #2a2a2a;
      --hover-color: #00cc6a;
    }

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

    body {
      background-color: var(--bg-color);
      color: var(--text-color);
      line-height: 1.6;
    }

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

    .header {
      text-align: center;
      padding: 60px 20px;
      background-color: #000;
    }

    .header h1 {
      color: var(--primary-color);
      font-size: 2.5rem;
    }

    .header p {
      font-size: 1.2rem;
      color: #ccc;
    }

    .about {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 40px 20px;
    }

    .profile-img {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 20px;
      border: 3px solid var(--primary-color);
    }

    .projects {
      padding: 60px 20px;
    }

    .projects h2,
    .contact h2 {
      text-align: center;
      margin-bottom: 30px;
      color: var(--primary-color);
    }

    .project-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }

    .card {
      background-color: var(--card-bg);
      border: 1px solid var(--card-border);
      padding: 20px;
      border-radius: 8px;
      text-align: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 0 10px var(--primary-color);
    }

    .card img {
      max-width: 100%;
      border-radius: 4px;
      margin-bottom: 15px;
    }

    .card h3 {
      margin-bottom: 10px;
    }

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

    .card a:hover {
      color: var(--hover-color);
    }

    .contact {
      padding: 60px 20px;
      text-align: center;
    }

    .contact ul {
      list-style: none;
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .contact a {
      color: var(--primary-color);
      text-decoration: none;
      font-weight: bold;
    }

    .contact a:hover {
      color: var(--hover-color);
    }

    .footer {
      background-color: #000;
      color: #888;
      text-align: center;
      padding: 20px;
    }

    #backToTop {
      margin-top: 10px;
      background: none;
      border: 1px solid var(--primary-color);
      color: var(--primary-color);
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    #backToTop:hover {
      background: var(--primary-color);
      color: #000;
    }

    @media (max-width: 600px) {
      .about {
        padding: 30px 15px;
      }

      .project-cards {
        grid-template-columns: 1fr;
      }
    }