:root {
    --bg-color: #050507;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-1: #7000ff;
    --accent-2: #00c6ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hiding default cursor for custom one */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Noise Texture */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 900;
    opacity: 0.05;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Typography & Utilities */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--accent-1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    text-align: center;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 4px;
    color: var(--accent-2);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title .line {
    display: block;
}

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

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.btn-primary:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
}

/* Background Animated Sphere */
.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    z-index: 1;
    opacity: 0.4;
    filter: blur(80px);
}

.sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--accent-2), var(--accent-1));
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.8); }
    100% { transform: scale(1.1); }
}

/* About Section (Grokipedia Style) */
.about-section {
    padding: 10rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.tag {
    display: block;
    color: var(--accent-1);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.section-title {
    font-size: 3rem;
    text-transform: uppercase;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Work Section */
.work-section {
    padding: 5rem 0;
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 8rem;
    align-items: center;
}

.project-item:nth-child(even) .project-info {
    order: 2;
}

.project-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.tech-stack {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tech-stack span {
    font-size: 0.8rem;
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.project-link {
    color: var(--accent-2);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

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

.visual-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    opacity: 0.8;
    transition: transform 0.5s ease;
}

.project-item:hover .visual-placeholder {
    transform: scale(1.02);
}

.gradient-1 {
    background: linear-gradient(45deg, #2b0052, #000000);
    border: 1px solid var(--glass-border);
}

.gradient-2 {
    background: linear-gradient(45deg, #00293d, #000000);
    border: 1px solid var(--glass-border);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0 10rem;
}

.contact-wrapper {
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.contact-title {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.social-btn {
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.05);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.2rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-btn:hover {
    background: white;
    color: black;
}

/* Ticker */
.news-ticker {
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    animation: ticker 20s linear infinite;
    color: var(--accent-2);
    font-family: var(--font-heading);
    font-weight: bold;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .nav-list { display: none; }
    .project-item { grid-template-columns: 1fr; }
    .project-item:nth-child(even) .project-info { order: 0; }
    .contact-title { font-size: 2.5rem; }
  }
  
