/* style.css */
:root {
    --bg-color: #0d0f1a;
    --text-main: #f0f2f5;
    --text-muted: #9aa0a6;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-bg: rgba(255,255,255,0.05);
}

@media (pointer: fine) {
    * {
        cursor: none !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* --- Custom Cursor --- */
#cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#cursor-aura {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Cursor Hover States */
.dot-hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.aura-hover {
    width: 60px;
    height: 60px;
    background-color: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.5);
}

/* Background Animated Orbs */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.orb1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #FF6B6B, #556270);
    top: -100px;
    left: -100px;
}

.orb2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.orb3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #fa709a, #fee140);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.1); }
    100% { transform: translate(-50px, 100px) scale(0.9); }
}

/* Main Container - required for 3D perspective */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 650px;
    padding: 2rem;
    perspective: 1200px;
}

/* Glassmorphism Card (Added 3D transform properties) */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    /* Smooth transition for when mouse leaves */
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.glass-card:hover {
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Element depth within the 3D card */
.glass-card > * {
    transform: translateZ(30px);
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Typography */
.title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.description strong {
    color: #fff;
    font-weight: 600;
}

/* Skills Dashboard */
.skills-dashboard {
    margin-bottom: 2.5rem;
    transform: translateZ(40px); /* Slightly higher pop out */
}

.dash-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.9;
}

.skill-item {
    margin-bottom: 1.25rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.skill-pct {
    font-weight: 600;
    color: var(--text-main);
}

.skill-bar-bg {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    width: 0; /* Animated via JS */
    background: linear-gradient(90deg, #6366f1, #00f2fe);
    border-radius: 999px;
    transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    transform: translateZ(50px); /* Highest pop out */
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: none; /* Let custom cursor handle this */
}

.primary-btn {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.primary-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.secondary-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .title { font-size: 2.5rem; }
    .action-buttons { flex-direction: column; }
    .btn { width: 100%; }
    #cursor-aura, #cursor-dot { display: none; } /* Disable custom cursor on mobile */
    * { cursor: auto !important; }
}
