:root {
     --black: #080808;
     --red: #ef4444;
     --red-dark: #b91c1c;
     --red-light: rgba(239, 68, 68, 0.1);
     --gray-800: #171717;
     --gray-700: #262626;
     --gray-900: #0f0f0f;
     --white: #ffffff;
     --glass: rgba(255, 255, 255, 0.05);
     --border: rgba(255, 255, 255, 0.1);
     --gradient: linear-gradient(135deg, var(--red) 0%, #8b0000 100%);
     }

     /* Light Mode Variables */
     body.light-mode {
     --black: #ffffff;
     --red: #1a1a1a;
     --red-dark: #333333;
     --red-light: rgba(0, 0, 0, 0.07);
     --gray-800: #f0f0f0;
     --gray-700: #e0e0e0;
     --gray-900: #f7f7f7;
     --white: #111111;
     --glass: rgba(0, 0, 0, 0.04);
     --border: rgba(0, 0, 0, 0.12);
     --gradient: linear-gradient(135deg, #1a1a1a 0%, #444444 100%);
     }

     body.light-mode .nav-links a { color: rgba(0,0,0,0.75); }
     body.light-mode .hero-description { color: rgba(0,0,0,0.65); }
     body.light-mode .social-links a { color: rgba(0,0,0,0.5); }
     body.light-mode .stat-label { color: rgba(0,0,0,0.6); }
     body.light-mode .about-content p { color: rgba(0,0,0,0.75); }
     body.light-mode .learning-list { color: rgba(0,0,0,0.75); }
     body.light-mode .project-info p { color: rgba(0,0,0,0.65); }
     body.light-mode .project-link.secondary { color: rgba(0,0,0,0.7); border-color: rgba(0,0,0,0.2); }
     body.light-mode .contact-content p { color: rgba(0,0,0,0.65); }
     body.light-mode .contact-item p { color: rgba(0,0,0,0.55); }
     body.light-mode footer { color: rgba(0,0,0,0.45); }
     body.light-mode .footer-links a { color: rgba(0,0,0,0.55); }
     body.light-mode .copyright { color: rgba(0,0,0,0.4); }
     body.light-mode .menu-toggle span { background: #111111; }
     body.light-mode nav { background: rgba(255,255,255,0.92); }
     body.light-mode .nav-links { background: #f7f7f7; }
     body.light-mode .project-img { background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%); }
     body.light-mode .btn-primary { color: #ffffff; }
     body.light-mode .project-link.primary { color: #ffffff; }

     /* Theme Toggle Button */
     .theme-toggle {
     background: var(--glass);
     border: 1px solid var(--border);
     color: var(--white);
     width: 42px;
     height: 42px;
     border-radius: 50%;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.1rem;
     transition: all 0.3s ease;
     margin-left: 1rem;
     flex-shrink: 0;
     }
     .theme-toggle:hover {
     border-color: var(--red);
     transform: scale(1.1);
     }

     * { margin: 0; padding: 0; box-sizing: border-box; }
     html { scroll-behavior: smooth; }
     body {
     font-family: 'Inter', sans-serif;
     background: var(--black);
     color: var(--white);
     line-height: 1.6;
     overflow-x: hidden;
     position: relative;
     }

     /* Background particles */
     .particles {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: -1;
     opacity: 0.5;
     }

     /* Custom Scrollbar */
     ::-webkit-scrollbar { width: 10px; }
     ::-webkit-scrollbar-track { background: var(--gray-900); }
     ::-webkit-scrollbar-thumb {
     background: var(--red);
     border-radius: 10px;
     transition: background 0.3s;
     }
     ::-webkit-scrollbar-thumb:hover { background: var(--red-dark); }

     .container {
     max-width: 1280px;
     margin: 0 auto;
     padding: 0 2rem;
     position: relative;
     }

     /* Navigation */
     nav {
     position: fixed;
     top: 0;
     width: 100%;
     z-index: 1000;
     background: rgba(8, 8, 8, 0.9);
     backdrop-filter: blur(15px);
     border-bottom: 1px solid var(--border);
     padding: 1.2rem 0;
     transition: all 0.3s ease;
     }
     nav.scrolled {
     padding: 0.8rem 0;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
     }
     .nav-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     }
     .logo {
     font-family: 'JetBrains Mono';
     font-weight: 700;
     font-size: 1.5rem;
     letter-spacing: -1px;
     display: flex;
     align-items: center;
     gap: 8px;
     }
     .logo span {
     color: var(--red);
     }
     .nav-links {
     display: flex;
     gap: 2.5rem;
     list-style: none;
     }
     .nav-links a {
     text-decoration: none;
     color: rgba(255,255,255,0.8);
     font-size: 0.95rem;
     font-weight: 500;
     transition: 0.3s;
     position: relative;
     padding: 0.5rem 0;
     }
     .nav-links a::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 0;
     height: 2px;
     background: var(--red);
     transition: width 0.3s ease;
     }
     .nav-links a:hover {
     color: var(--red);
     }
     .nav-links a:hover::after {
     width: 100%;
     }
     .nav-links a.active {
     color: var(--red);
     }
     .nav-links a.active::after {
     width: 100%;
     }

     /* Mobile Menu Toggle */
     .menu-toggle {
     display: none;
     flex-direction: column;
     cursor: pointer;
     gap: 4px;
     }
     .menu-toggle span {
     width: 25px;
     height: 3px;
     background: var(--white);
     transition: 0.3s;
     }
     .menu-toggle.active span:nth-child(1) {
     transform: rotate(45deg) translate(5px, 5px);
     }
     .menu-toggle.active span:nth-child(2) {
     opacity: 0;
     }
     .menu-toggle.active span:nth-child(3) {
     transform: rotate(-45deg) translate(7px, -6px);
     }

     /* Hero Section */
     .hero {
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     padding-top: 80px;
     position: relative;
     }
     .hero-content {
     max-width: 900px;
     position: relative;
     z-index: 2;
     }
     .hero-label {
     display: inline-block;
     padding: 0.5rem 1.2rem;
     background: var(--red-light);
     border: 1px solid var(--red);
     border-radius: 50px;
     color: var(--red);
     font-size: 0.8rem;
     font-weight: 600;
     margin-bottom: 2rem;
     letter-spacing: 1.5px;
     text-transform: uppercase;
     animation: fadeInUp 1s ease;
     }
     .hero-title {
     font-size: clamp(2.5rem, 8vw, 4.8rem);
     font-weight: 800;
     line-height: 1.1;
     margin-bottom: 1.5rem;
     min-height: 3.3em;
     }
     .typing-line { display: block; margin-bottom: 0.5rem; }
     .typing-text {
     border-right: 3px solid var(--red);
     animation: blink 0.8s step-end infinite;
     padding-right: 5px;
     }
     @keyframes blink {
     50% { border-color: transparent; }
     }

     .hero-description {
     max-width: 600px;
     margin: 0 auto 3rem;
     color: rgba(255,255,255,0.7);
     font-size: 1.15rem;
     animation: fadeInUp 1s ease 0.5s both;
     }

     .btn {
     padding: 1rem 2.2rem;
     border-radius: 8px;
     font-weight: 600;
     text-decoration: none;
     transition: all 0.3s;
     display: inline-block;
     font-size: 1rem;
     cursor: pointer;
     border: none;
     outline: none;
     position: relative;
     overflow: hidden;
     z-index: 1;
     }
     .btn-primary {
     background: var(--gradient);
     color: white;
     box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
     }
     .btn-primary:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 30px rgba(239, 68, 68, 0.6);
     }
     .btn-primary::after {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: var(--red-dark);
     z-index: -1;
     transform: translateX(-100%);
     transition: transform 0.4s ease;
     }
     .btn-primary:hover::after {
     transform: translateX(0);
     }

     .social-links {
     display: flex;
     justify-content: center;
     gap: 1.5rem;
     margin-top: 3rem;
     animation: fadeInUp 1s ease 1s both;
     }
     .social-links a {
     color: rgba(255,255,255,0.6);
     font-size: 1.5rem;
     transition: all 0.3s;
     }
     .social-links a:hover {
     color: var(--red);
     transform: translateY(-5px);
     }

     /* Stats Section */
     .stats-bar {
     padding: 5rem 0;
     border-top: 1px solid var(--border);
     border-bottom: 1px solid var(--border);
     background: var(--gray-900);
     }
     .stats-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 2rem;
     }
     .stat-item {
     text-align: center;
     padding: 2rem;
     background: var(--glass);
     border-radius: 15px;
     border: 1px solid var(--border);
     transition: transform 0.3s, border-color 0.3s;
     }
     .stat-item:hover {
     transform: translateY(-10px);
     border-color: var(--red);
     }
     .stat-number {
     font-family: 'JetBrains Mono';
     font-size: 3rem;
     font-weight: 700;
     color: var(--red);
     display: block;
     margin-bottom: 0.5rem;
     }
     .stat-label {
     color: rgba(255,255,255,0.7);
     font-size: 0.9rem;
     text-transform: uppercase;
     letter-spacing: 1px;
     }

     /* Sections General */
     section {
     padding: 8rem 0;
     position: relative;
     }
     .section-label {
     color: var(--red);
     font-weight: 700;
     font-size: 0.85rem;
     text-transform: uppercase;
     letter-spacing: 2px;
     display: block;
     margin-bottom: 1rem;
     }
     .section-title {
     font-size: 2.8rem;
     margin-bottom: 3rem;
     position: relative;
     display: inline-block;
     }
     .section-title::after {
     content: '';
     position: absolute;
     bottom: -10px;
     left: 0;
     width: 80px;
     height: 4px;
     background: var(--red);
     border-radius: 2px;
     }

     /* About Section */
     .about-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 4rem;
     align-items: center;
     }
     .about-content p {
     color: rgba(255,255,255,0.8);
     margin-bottom: 1.5rem;
     font-size: 1.1rem;
     }
     .skills-container {
     display: flex;
     flex-wrap: wrap;
     gap: 0.8rem;
     margin-top: 2rem;
     }
     .skill-tag {
     padding: 0.6rem 1.4rem;
     background: var(--gray-800);
     border: 1px solid var(--border);
     border-radius: 50px;
     font-size: 0.9rem;
     transition: all 0.3s;
     display: flex;
     align-items: center;
     gap: 8px;
     }
     .skill-tag i {
     color: var(--red);
     }
     .skill-tag:hover {
     border-color: var(--red);
     color: var(--red);
     transform: translateY(-3px);
     box-shadow: 0 5px 15px rgba(239, 68, 68, 0.2);
     }
     .learning-box {
     background: var(--gray-900);
     padding: 2.5rem;
     border-radius: 20px;
     border: 1px solid var(--border);
     height: 100%;
     }
     .learning-box h3 {
     margin-bottom: 1.5rem;
     font-size: 1.5rem;
     color: var(--red);
     }
     .learning-list {
     list-style: none;
     color: rgba(255,255,255,0.8);
     }
     .learning-list li {
     margin-bottom: 1rem;
     display: flex;
     align-items: flex-start;
     gap: 12px;
     }
     .learning-list li i {
     color: var(--red);
     margin-top: 3px;
     }

     /* Projects Section */
     .projects-section {
     background: var(--gray-900);
     }
     .projects-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
     gap: 2.5rem;
     }
     .project-card {
     background: var(--gray-800);
     border-radius: 15px;
     border: 1px solid var(--border);
     overflow: hidden;
     transition: all 0.3s;
     height: 100%;
     display: flex;
     flex-direction: column;
     }
     .project-card:hover {
     border-color: var(--red);
     transform: translateY(-10px);
     box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
     }
     .project-img {
     height: 220px;
     background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
     position: relative;
     }
     .project-img::after {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(239, 68, 68, 0.1);
     opacity: 0;
     transition: opacity 0.3s;
     }
     .project-card:hover .project-img::after {
     opacity: 1;
     }
     .project-img i {
     font-size: 4rem;
     color: var(--red);
     opacity: 0.7;
     }
     .project-info {
     padding: 2rem;
     flex-grow: 1;
     display: flex;
     flex-direction: column;
     }
     .project-tech {
     color: var(--red);
     font-size: 0.75rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 1px;
     margin-bottom: 0.8rem;
     }
     .project-info h3 {
     font-size: 1.5rem;
     margin-bottom: 1rem;
     }
     .project-info p {
     font-size: 0.95rem;
     color: rgba(255,255,255,0.7);
     margin-bottom: 1.5rem;
     flex-grow: 1;
     }
     .project-links {
     display: flex;
     gap: 1rem;
     margin-top: auto;
     }
     .project-link {
     padding: 0.6rem 1.2rem;
     border-radius: 6px;
     font-size: 0.9rem;
     font-weight: 500;
     text-decoration: none;
     transition: all 0.3s;
     display: flex;
     align-items: center;
     gap: 8px;
     }
     .project-link.primary {
     background: var(--red);
     color: white;
     }
     .project-link.secondary {
     background: transparent;
     border: 1px solid var(--border);
     color: rgba(255,255,255,0.8);
     }
     .project-link:hover {
     transform: translateY(-3px);
     }
     .project-link.primary:hover {
     background: var(--red-dark);
     }
     .project-link.secondary:hover {
     border-color: var(--red);
     color: var(--red);
     }

     /* Contact Section */
     .contact-content {
     text-align: center;
     max-width: 700px;
     margin: 0 auto;
     }
     .contact-content p {
     color: rgba(255,255,255,0.7);
     font-size: 1.1rem;
     margin-bottom: 3rem;
     }
     .contact-info {
     display: flex;
     justify-content: center;
     gap: 3rem;
     flex-wrap: wrap;
     margin-top: 3rem;
     }
     .contact-item {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 10px;
     }
     .contact-item i {
     font-size: 2rem;
     color: var(--red);
     margin-bottom: 0.5rem;
     }
     .contact-item h4 {
     font-size: 1.1rem;
     margin-bottom: 0.3rem;
     }
     .contact-item p {
     color: rgba(255,255,255,0.6);
     font-size: 0.95rem;
     margin: 0;
     }

     /* Footer */
     footer {
     padding: 3rem 0;
     border-top: 1px solid var(--border);
     text-align: center;
     color: rgba(255,255,255,0.5);
     font-size: 0.9rem;
     background: var(--gray-900);
     }
     .footer-content {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 2rem;
     }
     .footer-logo {
     font-family: 'JetBrains Mono';
     font-weight: 700;
     font-size: 1.5rem;
     }
     .footer-logo span {
     color: var(--red);
     }
     .footer-links {
     display: flex;
     gap: 2rem;
     }
     .footer-links a {
     color: rgba(255,255,255,0.6);
     text-decoration: none;
     transition: color 0.3s;
     }
     .footer-links a:hover {
     color: var(--red);
     }
     .copyright {
     color: rgba(255,255,255,0.4);
     }

     /* Animations */
     @keyframes fadeInUp {
     from {
     opacity: 0;
     transform: translateY(30px);
     }
     to {
     opacity: 1;
     transform: translateY(0);
     }
     }

     .fade-in {
     opacity: 0;
     transform: translateY(30px);
     transition: opacity 0.6s ease, transform 0.6s ease;
     }

     .fade-in.visible {
     opacity: 1;
     transform: translateY(0);
     }

     /* Responsive Design */
     @media (max-width: 1024px) {
     .about-grid {
     gap: 3rem;
     }
     .section-title {
     font-size: 2.5rem;
     }
     }

     @media (max-width: 768px) {
     .container {
     padding: 0 1.5rem;
     }

     .menu-toggle {
     display: flex;
     }

     .nav-links {
     position: fixed;
     top: 70px;
     right: -100%;
     flex-direction: column;
     background: var(--gray-900);
     width: 100%;
     text-align: center;
     padding: 2rem 0;
     gap: 1.5rem;
     border-top: 1px solid var(--border);
     transition: right 0.3s ease;
     }

     .nav-links.active {
     right: 0;
     }

     .nav-links a {
     font-size: 1.1rem;
     padding: 0.8rem 0;
     }

     .hero-title {
     font-size: clamp(2rem, 7vw, 3.5rem);
     }

     .hero-description {
     font-size: 1rem;
     padding: 0 1rem;
     }

     .stats-grid {
     grid-template-columns: 1fr;
     gap: 1.5rem;
     }

     .about-grid {
     grid-template-columns: 1fr;
     gap: 3rem;
     }

     .projects-grid {
     grid-template-columns: 1fr;
     }

     .footer-content {
     flex-direction: column;
     gap: 1.5rem;
     }

     .footer-links {
     gap: 1.5rem;
     }

     .contact-info {
     gap: 2rem;
     }
     }

     @media (max-width: 480px) {
     .section-title {
     font-size: 2rem;
     }

     .btn {
     padding: 0.9rem 1.8rem;
     font-size: 0.95rem;
     }

     .project-link {
     padding: 0.5rem 1rem;
     font-size: 0.85rem;
     }

     .social-links {
     gap: 1rem;
     }
     }