/* Base styles */
:root {
    --primary-color: #0a192f;
    --secondary-color: #64ffda;
    --text-color: #8892b0;
    --highlight-color: #64ffda;
    --hover-color: #57d9bb;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'JetBrains Mono', monospace;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Name styling and animation */
.name {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    animation: namePulse 3s ease-in-out infinite;
    border: none;
    background: transparent;
}

@keyframes namePulse {
    0% {
        text-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
        color: var(--secondary-color);
    }
    50% {
        text-shadow: 0 0 25px rgba(100, 255, 218, 0.5);
        color: #9effed;
    }
    100% {
        text-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
        color: var(--secondary-color);
    }
}

/* Circuit pattern grid container */
.circuit-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    z-index: -1;
    overflow: hidden;
}

.circuit-pattern {
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

/* Rest of the existing styles... */
.skill-card ul {
    list-style: none;
    padding-left: 1.5em;
}

.skill-card ul li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.skill-card ul li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: -1.5em;
    animation: bulletPulse 2s infinite;
}

@keyframes bulletPulse {
    0% { opacity: 0.5; text-shadow: 0 0 2px var(--secondary-color); }
    50% { opacity: 1; text-shadow: 0 0 8px var(--secondary-color); }
    100% { opacity: 0.5; text-shadow: 0 0 2px var(--secondary-color); }
}

/* Navigation buttons */
.contact-links {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-links a {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(100, 255, 218, 0.1);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.contact-links a:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 255, 218, 0.2);
}

/* Sections */
.summary-section,
.evaluation-section,
.skills-section {
    margin: 3rem 0;
    padding: 2.5rem 2rem;
    position: relative;
    z-index: 2;
    background: rgba(10, 25, 47, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.evaluation-section {
    border-color: rgba(100, 255, 218, 0.38);
}

.section-kicker {
    margin: 0 0 0.35rem;
    color: var(--secondary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.evaluation-section h2 {
    margin-top: 0;
    color: #e6f1ff;
}

.evaluation-lead {
    max-width: 900px;
    color: #c5d0e3;
    font-size: 1.02rem;
}

.evaluation-principles {
    margin: 1.25rem 0 0;
    padding-left: 1.4rem;
}

.evaluation-principles li {
    margin: 0.65rem 0;
    padding-left: 0.25rem;
}

.evaluation-principles li::marker {
    color: var(--secondary-color);
}

.evaluation-proof-link {
    display: inline-block;
    margin-top: 0.85rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(100, 255, 218, 0.45);
}

.evaluation-proof-link:hover,
.evaluation-proof-link:focus-visible {
    color: #9effed;
    border-bottom-color: #9effed;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .content {
        margin: 1.5rem auto;
        padding: 0 1.2rem;
    }

    .summary-section,
    .evaluation-section,
    .skills-section {
        margin: 1.5rem 0;
        padding: 1.8rem 1.2rem;
        border-radius: 10px;
    }

    .contact-links {
        gap: 0.8rem;
        margin: 1.5rem 0;
    }
    
    .contact-links a {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        width: calc(50% - 0.8rem);
        text-align: center;
        box-sizing: border-box;
    }

    .name {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .circuit-background {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(6, 1fr);
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .content {
        padding: 0 1rem;
        margin: 1.2rem auto;
    }

    .summary-section,
    .evaluation-section,
    .skills-section {
        padding: 1.5rem 1rem;
        margin: 1.2rem 0;
        border-radius: 8px;
    }

    .contact-links a {
        width: 100%;
        padding: 0.8rem 1rem;
    }

    .name {
        font-size: 1.8rem;
    }

    .circuit-background {
        opacity: 0.8;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .content {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
