:root {
      --bg-primary: #0a0a0a;
      --bg-secondary: #111111;
      --bg-tertiary: #1a1a1a;
      --bg-glass: rgba(255, 255, 255, 0.05);
      --bg-glass-hover: rgba(255, 255, 255, 0.08);
      --text-primary: #ffffff;
      --text-secondary: #a0a0a0;
      --text-muted: #666666;
      --accent-primary: #00d9ff;
      --accent-secondary: #ff006e;
      --accent-tertiary: #8338ec;
      --accent-quaternary: #3a86ff;
      --accent-success: #06ffa5;
      --accent-warning: #ffbe0b;
      --accent-error: #fb5607;
      --border-glass: rgba(255, 255, 255, 0.1);
      --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
      --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-quaternary) 100%);
      --gradient-secondary: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-tertiary) 100%);
      --gradient-success: linear-gradient(135deg, var(--accent-success) 0%, var(--accent-primary) 100%);
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
      position: relative;
    }

    .bg-animation {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      opacity: 0.4;
    }

    .bg-animation::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: 
        radial-gradient(ellipse 80% 80% at 50% -20%, rgba(0, 217, 255, 0.15), transparent),
        radial-gradient(ellipse 80% 80% at 20% 60%, rgba(255, 0, 110, 0.1), transparent),
        radial-gradient(ellipse 80% 80% at 80% 40%, rgba(131, 56, 236, 0.1), transparent);
      animation: gradientShift 20s ease-in-out infinite;
    }

    @keyframes gradientShift {
      0%, 100% { opacity: 0.4; }
      50% { opacity: 0.6; }
    }

    .particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: -1;
    }

    .particle {
      position: absolute;
      width: 2px;
      height: 2px;
      background: var(--accent-primary);
      border-radius: 50%;
      animation: float 15s infinite linear;
      opacity: 0.3;
    }

    @keyframes float {
      0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
      }
      10% {
        opacity: 0.3;
      }
      90% {
        opacity: 0.3;
      }
      100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
      }
    }

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

    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 0 20px;
      position: relative;
    }

    .profile-image {
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: var(--gradient-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 30px;
      animation: slideUp 1s ease-out;
      box-shadow: 0 20px 60px rgba(0, 217, 255, 0.3);
      border: 3px solid var(--border-glass);
    }

    .profile-icon {
        width: 50%;
        height: 50%;
        color: white;
        filter: drop-shadow(0 2px 10px rgba(0,0,0,0.2));
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--bg-glass);
      border: 1px solid var(--border-glass);
      border-radius: 50px;
      padding: 8px 20px;
      font-size: 14px;
      font-weight: 500;
      margin-bottom: 20px;
      animation: slideUp 1s ease-out 0.1s both;
      letter-spacing: 1.5px;
    }

    .badge-dot {
      width: 8px;
      height: 8px;
      background: var(--accent-success);
      border-radius: 50%;
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }

    .hero-title {
      font-size: clamp(2.5rem, 8vw, 5rem);
      font-weight: 900;
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 16px;
      animation: slideUp 1s ease-out 0.2s both;
      letter-spacing: -0.02em;
    }

    .hero-subtitle {
      font-size: clamp(1.2rem, 3vw, 1.5rem);
      color: var(--text-secondary);
      max-width: 700px;
      margin-bottom: 30px;
      animation: slideUp 1s ease-out 0.3s both;
    }

    .hero-description {
      font-size: 1.1rem;
      color: var(--text-secondary);
      max-width: 600px;
      margin-bottom: 40px;
      animation: slideUp 1s ease-out 0.4s both;
      line-height: 1.8;
    }

    .social-links {
      display: flex;
      gap: 15px;
      justify-content: center;
      flex-wrap: wrap;
      animation: slideUp 1s ease-out 0.5s both;
    }

    .social-btn {
      padding: 12px 28px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--bg-glass);
      color: var(--text-primary);
      border: 1px solid var(--border-glass);
      backdrop-filter: blur(10px);
    }

    .social-btn:hover {
      background: var(--bg-glass-hover);
      transform: translateY(-3px);
      box-shadow: var(--shadow-glass);
    }

    .social-btn.primary {
      background: var(--gradient-primary);
      border: none;
    }

    .social-btn.primary:hover {
      box-shadow: 0 20px 40px rgba(0, 217, 255, 0.4);
    }

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

    .section-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-title {
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 800;
      margin-bottom: 16px;
      background: var(--gradient-secondary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .section-subtitle {
      font-size: 1.2rem;
      color: var(--text-secondary);
      max-width: 600px;
      margin: 0 auto;
    }

    .tech-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 20px;
      margin: 60px 0;
    }

    .tech-card {
      background: var(--bg-glass);
      backdrop-filter: blur(20px);
      border: 1px solid var(--border-glass);
      border-radius: 16px;
      padding: 24px;
      text-align: center;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .tech-card:hover {
      background: var(--bg-glass-hover);
      transform: translateY(-5px);
      box-shadow: var(--shadow-glass);
    }

    .tech-icon {
      font-size: 3rem;
      margin-bottom: 12px;
    }

    .tech-name {
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text-primary);
    }

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

    .project-card {
      background: var(--bg-glass);
      backdrop-filter: blur(20px);
      border: 1px solid var(--border-glass);
      border-radius: 24px;
      padding: 40px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }

    .project-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--gradient-primary);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .project-card:hover {
      background: var(--bg-glass-hover);
      transform: translateY(-8px);
      box-shadow: var(--shadow-glass);
    }

    .project-card:hover::before {
      opacity: 1;
    }

    .project-icon {
      font-size: 3rem;
      margin-bottom: 20px;
      display: block;
    }

    .project-title {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text-primary);
    }

    .project-description {
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 20px;
    }

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

    .tag {
      background: rgba(0, 217, 255, 0.1);
      color: var(--accent-primary);
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 500;
    }

    .project-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--accent-primary);
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      transition: all 0.3s ease;
    }

    .project-link:hover {
      gap: 10px;
    }

   .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
    }

    .stat-card {
      background: var(--bg-glass);
      backdrop-filter: blur(20px);
      border: 1px solid var(--border-glass);
      border-radius: 20px;
      padding: 30px;
      text-align: center;
      transition: all 0.3s ease;
    }

    .stat-card:hover {
      background: var(--bg-glass-hover);
      transform: translateY(-5px);
    }

    .stat-icon {
      font-size: 2.5rem;
      margin-bottom: 12px;
    }

    .stat-value {
      font-size: clamp(1.2rem, 5vw, 1.8rem);
      font-weight: 900;
      background: var(--gradient-success);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 8px;
      white-space: normal; 
      word-wrap: break-word;
    }

    .stat-label {
      font-size: 0.95rem;
      color: var(--text-secondary);
      font-weight: 500;
    }

    .footer {
      border-top: 1px solid var(--border-glass);
      padding: 40px 20px;
      text-align: center;
      color: var(--text-muted);
      font-size: 14px;
      margin-top: 80px;
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(50px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .fade-in {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 768px) {
      .hero {
        padding: 60px 20px 40px;
        min-height: 90vh;
      }

      .profile-image {
        width: 140px;
        height: 140px;
        margin-bottom: 20px;
      }

      .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
        letter-spacing: 1px;
      }

      .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 20px;
      }

      .hero-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 10px;
      }

      .social-links {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 12px;
      }

      .social-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
      }

      .section {
        padding: 60px 15px;
      }

      .section-header {
        margin-bottom: 40px;
      }

      .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
      }

      .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 12px;
        margin: 40px 0;
      }

      .tech-card {
        padding: 20px 12px;
        overflow: hidden;
      }

      .tech-icon {
        width: 64px;
        height: 64px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
      }

      .tech-name {
        font-size: 0.85rem;
      }

      .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 40px 0;
      }

      .project-card {
        padding: 24px;
      }

      .project-icon {
        font-size: 2.5rem;
        margin-bottom: 16px;
      }

      .project-title {
        font-size: 1.3rem;
      }

      .project-description {
        font-size: 0.95rem;
        line-height: 1.6;
      }

      .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        margin: 40px 0;
      }

      .stat-card {
        padding: 24px 16px;
      }

      .stat-icon {
        font-size: 2rem;
      }

      .stat-value {
        font-size: 1.8rem;
      }

      .stat-label {
        font-size: 0.85rem;
      }

      .footer {
        padding: 30px 20px;
        margin-top: 60px;
        font-size: 12px;
      }
    }

    @media (max-width: 480px) {
      .hero {
        padding: 40px 15px 30px;
      }

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

      .hero-title {
        font-size: clamp(2rem, 10vw, 2.5rem);
      }

      .hero-description {
        font-size: 0.9rem;
      }

      .section {
        padding: 50px 12px;
      }

      .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
      }

      .tech-card {
        padding: 16px 8px;
      }

      .tech-icon {
        font-size: 2rem;
      }

      .tech-name {
        font-size: 0.8rem;
      }

      .project-card {
        padding: 20px;
      }

      .project-title {
        font-size: 1.2rem;
      }

      .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
      }
    }

    @media (max-height: 600px) and (orientation: landscape) {
      .hero {
        min-height: auto;
        padding: 40px 20px;
      }

      .profile-image {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
      }

      .hero-description {
        margin-bottom: 20px;
      }
    }
