:root {
    --bg-color: #0a0a0a;
    --card-bg: #111111;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent: #ff3333;
    --accent-dim: #990000;
    --font-mono: 'Fira Code', monospace;
    --font-sans: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background Effects */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.5) 3px
    );
    pointer-events: none;
    z-index: 10;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, #000 120%);
    pointer-events: none;
    z-index: 11;
}

.container {
    max-width: 800px;
    width: 90%;
    z-index: 20;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 4rem;
}

h1 {
    font-family: var(--font-mono);
    font-size: 3rem;
    letter-spacing: -2px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00ffff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(13px, 9999px, 81px, 0); }
    5% { clip: rect(78px, 9999px, 94px, 0); }
    10% { clip: rect(8px, 9999px, 3px, 0); }
    15% { clip: rect(69px, 9999px, 15px, 0); }
    20% { clip: rect(2px, 9999px, 37px, 0); }
    25% { clip: rect(85px, 9999px, 97px, 0); }
    30% { clip: rect(48px, 9999px, 63px, 0); }
    35% { clip: rect(64px, 9999px, 86px, 0); }
    40% { clip: rect(19px, 9999px, 98px, 0); }
    45% { clip: rect(25px, 9999px, 13px, 0); }
    50% { clip: rect(77px, 9999px, 49px, 0); }
    55% { clip: rect(10px, 9999px, 2px, 0); }
    60% { clip: rect(82px, 9999px, 69px, 0); }
    65% { clip: rect(31px, 9999px, 88px, 0); }
    70% { clip: rect(44px, 9999px, 3px, 0); }
    75% { clip: rect(93px, 9999px, 20px, 0); }
    80% { clip: rect(56px, 9999px, 40px, 0); }
    85% { clip: rect(16px, 9999px, 7px, 0); }
    90% { clip: rect(39px, 9999px, 53px, 0); }
    95% { clip: rect(72px, 9999px, 24px, 0); }
    100% { clip: rect(9px, 9999px, 84px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    100% { clip: rect(25px, 9999px, 9px, 0); }
}

.role-container {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Sections */
section {
    margin-bottom: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid #333;
    padding: 2rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.card h2 {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    display: inline-block;
    width: 100%;
}

.card .icon {
    background: var(--accent);
    color: #000;
    padding: 0px 6px;
    font-size: 1rem;
    margin-right: 0.5rem;
    font-weight: bold;
}

.content {
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Grid & Buttons */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.cyber-btn {
    display: block;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 1rem;
    text-align: center;
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.cyber-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 15px var(--accent-dim);
}

.cyber-btn .btn-content {
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    .container { padding: 1rem; }
}
