/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: crosshair; /* Adds to the tactical feel */
}

body {
    background-color: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace; /* Terminal font */
    line-height: 1.6;
    overflow-x: hidden;
}

/* Spotlight Effect */
#spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    background: radial-gradient(circle at var(--x) var(--y), transparent 5%, rgba(0,0,0,0.95) 40%);
    z-index: 10;
}

/* Layout */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1; /* Keeps content below the spotlight shadow but visible */
}

/* Headers */
h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

h2 {
    color: #00ff41; /* Hacker Green */
    margin-top: 40px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Glitch Effect for Name */
.glitch {
    position: relative;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 30px, 0); }
    20% { clip: rect(80px, 9999px, 100px, 0); }
    100% { clip: rect(40px, 9999px, 60px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(50px, 9999px, 70px, 0); }
    20% { clip: rect(20px, 9999px, 30px, 0); }
    100% { clip: rect(90px, 9999px, 10px, 0); }
}

/* Cards & Sections */
.card {
    background: #111;
    border: 1px solid #333;
    padding: 20px;
    border-left: 3px solid #00ff41;
}

.tag {
    display: inline-block;
    background: #1a1a1a;
    color: #00ff41;
    padding: 5px 10px;
    margin: 5px;
    border: 1px solid #00ff41;
    font-size: 0.9rem;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 10px;
    color: #0a0a0a;
    background: #00ff41;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #fff;
    box-shadow: 0 0 10px #fff;
}