
    html {
      scroll-behavior: smooth;
    }

    :root {
      --primary-bg: #0a0a0f;
      --secondary-bg: #000;
      --text-color: #e5e7eb;
      --accent: #6366f1;
      --card-bg: rgba(17, 24, 39, 0.7);
      --card-border: rgba(255, 255, 255, 0.1);
      --card-shadow: rgba(99, 102, 241, 0.3);
      --input-bg: rgba(0, 0, 0, 0.3);
      --input-text: #ffffff;
      --button-bg: linear-gradient(to right, #6366f1, #a855f7);
      --button-hover: linear-gradient(to right, #4f46e5, #9333ea);
      --error: #ef4444;
    }

    [data-theme="light"] {
      --primary-bg: #f8fafc;
      --secondary-bg: #e2e8f0;
      --text-color: #1e293b;
      --accent: #2563eb;
      --card-bg: rgba(255, 255, 255, 0.9);
      --card-border: rgba(0, 0, 0, 0.05);
      --card-shadow: rgba(0, 0, 0, 0.1);
      --input-bg: #ffffff;
      --input-text: #1e293b;
      --button-bg: linear-gradient(to right, #2563eb, #7c3aed);
      --button-hover: linear-gradient(to right, #1d4ed8, #6d28d9);
      --error: #dc2626;
    }

    body {
      background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
      background-size: cover;
      color: var(--text-color);
      font-family: 'Inter', sans-serif;
      overflow-x: hidden;
      margin: 0;
      transition: background 0.3s ease, color 0.3s ease;
    }

    /* Particle background */
    #particles {
      position: fixed;
      width: 100%;
      height: 100%;
      z-index: -1;
      background: transparent;
      overflow: hidden;
      pointer-events: none;
    }
    .particle {
      position: absolute;
      border-radius: 50%;
      background: var(--accent);
      opacity: 0.2;
      animation: floatParticle linear infinite, fadeParticle 3s ease-in-out infinite;
      box-shadow: 0 0 8px var(--accent);
    }
    @keyframes floatParticle {
      from { transform: translateY(0) rotate(0deg); }
      to { transform: translateY(-150vh) rotate(360deg); }
    }
    @keyframes fadeParticle {
      0%, 100% { opacity: 0.2; }
      50% { opacity: 0.4; }
    }

    /* Glowing text */
    .glow-text {
      text-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent), 0 0 36px var(--accent);
      font-weight: 800;
    }

    /* Gradient border profile */
    .profile-pic {
      position: relative;
      display: inline-block;
      transition: transform 0.4s ease;
    }
    .profile-pic:hover {
      transform: scale(1.1);
    }
    .profile-pic::before {
      content: "";
      position: absolute;
      inset: -6px;
      border-radius: 50%;
      background: conic-gradient(from 0deg, var(--accent), transparent 90deg);
      z-index: -1;
      animation: spin 3s linear infinite;
    }
    @keyframes spin {
      100% { transform: rotate(360deg); }
    }

    /* Glass card */
    .glass {
      background: var(--card-bg);
      backdrop-filter: blur(16px);
      border: 1px solid var(--card-border);
      box-shadow: 0 4px 24px var(--card-shadow);
      transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
      border-radius: 16px;
    }
    .glass:hover {
      transform: translateY(-12px) scale(1.03);
      box-shadow: 0 12px 40px var(--card-shadow);
    }

    /* Input and button styles */
    input, textarea {
      background: var(--input-bg);
      color: var(--input-text);
      border: 1px solid var(--card-border);
      transition: all 0.3s ease;
      border-radius: 8px;
    }
    input:focus, textarea:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
      outline: none;
    }
    input.error, textarea.error {
      border-color: var(--error);
      box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
    }
    button {
      background: var(--button-bg);
      transition: all 0.3s ease;
      border-radius: 8px;
    }
    button:hover {
      background: var(--button-hover);
      transform: scale(1.05);
    }

    /* Profile icon */
    .profile-icon {
      transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
      color: var(--accent);
    }
    .profile-icon:hover {
      transform: scale(1.2);
      color: var(--accent);
    }

    /* Profile modal */
    #profile-section {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
      backdrop-filter: blur(10px);
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      transform: translateY(100%);
    }
    #profile-section.open {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }
    .profile-content {
      max-width: 90vw;
      max-height: 90vh;
      width: 600px;
      padding: 2rem;
      text-align: center;
      background: var(--card-bg);
      border: 2px solid var(--accent);
      border-radius: 20px;
      box-shadow: 0 8px 32px var(--card-shadow);
      transform: scale(0.8);
      transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      position: relative;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: var(--accent) var(--card-bg);
    }
    #profile-section.open .profile-content {
      transform: scale(1);
    }
    .profile-content .profile-pic, 
    .profile-content h2, 
    .profile-content h3, 
    .profile-content p, 
    .profile-content .social-links {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    #profile-section.open .profile-pic { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
    #profile-section.open h2 { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
    #profile-section.open h3 { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
    #profile-section.open p { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
    #profile-section.open .social-links { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
    .close-btn {
      position: absolute;
      top: 1rem;
      right: 1rem;
      font-size: 1.5rem;
      color: var(--text-color);
      transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
    }
    .close-btn:hover {
      transform: rotate(90deg);
      color: var(--accent);
      text-shadow: 0 0 8px var(--accent);
    }
    .social-links a {
      transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
    }
    .social-links a:hover {
      transform: scale(1.2);
      color: var(--accent);
      text-shadow: 0 0 8px var(--accent);
    }
    /* Modal particles */
    .modal-particle {
      position: absolute;
      border-radius: 50%;
      background: var(--accent);
      opacity: 0.3;
      animation: floatModalParticle linear infinite;
    }
    @keyframes floatModalParticle {
      from { transform: translateY(0); }
      to { transform: translateY(-100%); }
    }

    /* Section animations */
    .section-fade {
      opacity: 0;
      transform: translateY(60px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    .section-fade.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Progress bar animation */
    .progress-bar {
      animation: fillBar 1.5s ease-out forwards;
    }
    @keyframes fillBar {
      from { width: 0%; }
    }

    /* Cursor blink for typing effect */
    .animate-blink {
      animation: blink 0.7s step-end infinite;
    }
    @keyframes blink {
      50% { opacity: 0; }
    }

    /* Responsive styles */
    @media (max-width: 768px) {
      .text-6xl { font-size: 2.5rem; }
      .text-4xl { font-size: 2rem; }
      .text-xl { font-size: 1rem; }
      .py-24 { padding-top: 4rem; padding-bottom: 4rem; }
      .max-w-7xl, .max-w-6xl, .max-w-4xl, .max-w-3xl { max-width: 100%; padding-left: 1.5rem; padding-right: 1.5rem; }
      .w-40 { width: 6rem; }
      .h-40 { height: 6rem; }
      .h-48 { height: 12rem; }
      .profile-content { 
        padding: 1.5rem; 
        width: 95vw;
        max-height: 85vh;
      }
      .profile-content .text-4xl { font-size: 1.75rem; }
      .profile-content .text-2xl { font-size: 1.25rem; }
      .profile-content .text-lg { font-size: 0.9rem; }
      .close-btn { font-size: 1.3rem; top: 0.75rem; right: 0.75rem; }
    }
    @media (max-width: 480px) {
      .profile-content { 
        padding: 1rem; 
        width: 98vw;
        max-height: 80vh;
      }
      .w-40 { width: 5rem; }
      .h-40 { height: 5rem; }
      .profile-content .text-4xl { font-size: 1.5rem; }
      .profile-content .text-2xl { font-size: 1rem; }
      .profile-content .text-lg { font-size: 0.8rem; }
      .social-links a { font-size: 1.2rem; }
    }
 