/* Styling Configurations & Themes */
:root {
    --bg-dark: #0a0a16;
    --neon-blue: #00f0ff;
    --neon-purple: #bd00ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #f0f0f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hides default mouse to support custom aura tracker */
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Background Canvas Layout */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Fluid Glowing Mouse Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-blue);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 15px var(--neon-blue);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Glassmorphism Core Architecture */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 240, 255, 0.1);
}

/* Dynamic Glass Navbar Layout */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background: rgba(10, 10, 22, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 15px 35px;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--neon-blue);
    font-weight: 800;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-shadow: 0 0 10px var(--neon-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 8px var(--neon-blue);
}

/* Hero Profiler Style Layout */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px 20px;
}

.hero-container {
    width: 100%;
    max-width: 850px;
}

.main-profile-card {
    padding: 45px;
    transform-style: preserve-3d;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 35px;
}

.avatar-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-purple);
    z-index: 2;
    position: relative;
}

.pulse-ring {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(189, 0, 255, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    70% { box-shadow: 0 0 0 20px rgba(189, 0, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(189, 0, 255, 0); }
}

.neon-text {
    color: var(--neon-blue);
    text-shadow: 0 0 15px var(--neon-blue);
}

.cursor-blink {
    animation: blink 0.8s infinite;
    color: var(--neon-purple);
}

@keyframes blink { 50% { opacity: 0; } }

.card-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
    margin: 30px 0;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
}

.hobbies-tags {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hobbies-tags span {
    background: rgba(0, 240, 255, 0.1);
    color: var(--neon-blue);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

/* Interactive Grid Config Layout */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.skill-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.skill-icon.HTML { color: #e34c26; }
.skill-icon.JS { color: #f7df1e; }
.skill-icon.NET { color: #512bd4; }

.skill-bar {
    background: rgba(255,255,255,0.1);
    height: 6px;
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
}

.progress {
    background: linear-gradient(to right, var(--neon-blue), var(--neon-purple));
    height: 100%;
    border-radius: 10px;
}

/* Future Goals Section Layout */
.goals-container {
    display: flex;
    gap: 30px;
}
.goal-card { flex: 1; }
.goal-card h3 { margin-bottom: 15px; color: var(--neon-blue); display: flex; align-items: center; gap: 10px; }

/* Interactive Terminal Form Layout Matrix */
.contact-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.contact-form-card, .terminal-card {
    flex: 1;
}

/* Dynamic Floating Input Styling Layout */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus, .input-group textarea:focus,
.input-group input:not(:placeholder-shown), .input-group textarea:not(:placeholder-shown) {
    border-color: var(--neon-blue);
}

.input-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    transition: 0.3s ease all;
    pointer-events: none;
}

.input-group textarea ~ label {
    top: 20px;
}

.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 8px;
    font-size: 0.8rem;
    color: var(--neon-blue);
    background: var(--bg-dark);
    padding: 0 5px;
}

.neon-btn {
    background: transparent;
    border: 1px solid var(--neon-purple);
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(189, 0, 255, 0.2);
}

.neon-btn:hover {
    background: var(--neon-purple);
    box-shadow: 0 0 20px rgba(189, 0, 255, 0.6);
    text-shadow: 0 0 5px #fff;
}

/* Dev Profile Terminal Windows Setup Layout */
.terminal-card {
    background: #05050e;
    border: 1px solid #1e1e38;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.terminal-header {
    background: #0f0f23;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #1e1e38;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.terminal-title { font-family: monospace; font-size: 0.85rem; color: #888; margin-left: 10px; }

.terminal-body {
    padding: 25px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    flex-grow: 1;
}

.t-purple { color: var(--neon-purple); }
.t-cyan { color: var(--neon-blue); }

.terminal-links {
    list-style: none;
    margin: 15px 0 15px 20px;
}

.terminal-links a {
    color: #00ff66;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
    transition: transform 0.2s;
}

.terminal-links a:hover {
    transform: translateX(5px);
}

footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: #666;
}

/* Responsive Adaptive Viewports Media Queries */
@media (max-width: 850px) {
    * { cursor: auto; }
    .custom-cursor { display: none; }
    .profile-header { flex-direction: column; text-align: center; }
    .contact-wrapper, .goals-container { flex-direction: column; }
    .nav-links { display: none; } /* Simplicity for mobile viewports */
    .section { padding: 50px 20px; }
}