/* Cyberpunk Theme CSS */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&display=swap');

:root {
    --primary-color: #0ff;
    --secondary-color: #f0f;
    --tertiary-color: #ff0;
    --background-color: #000;
    --terminal-color: #0c0c0c;
    --text-color: #fff;
    --glitch-color-1: #0ff;
    --glitch-color-2: #f0f;
    --header-height: 60px;
    --terminal-header-height: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Share Tech Mono', monospace;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Noise and Overlay Effects */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,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');
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Terminal Container */
.terminal {
    position: relative;
    width: 95%;
    max-width: 1400px;
    height: 95vh;
    margin: 2.5vh auto;
    background-color: var(--terminal-color);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 
                0 0 40px rgba(0, 255, 255, 0.2), 
                inset 0 0 10px rgba(0, 255, 255, 0.1);
    overflow: hidden;
    z-index: 3;
}

.terminal-header {
    display: flex;
    align-items: center;
    height: var(--terminal-header-height);
    background-color: #111;
    padding: 0 10px;
    border-bottom: 1px solid var(--primary-color);
}

.terminal-buttons {
    display: flex;
    gap: 5px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #555;
}

.terminal-button:nth-child(1) {
    background-color: #ff5f56;
}

.terminal-button:nth-child(2) {
    background-color: #ffbd2e;
}

.terminal-button:nth-child(3) {
    background-color: #27c93f;
}

.terminal-title {
    flex-grow: 1;
    text-align: center;
    font-size: 14px;
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.terminal-content {
    height: calc(100% - var(--terminal-header-height));
    overflow-y: auto;
    padding: 20px;
    position: relative;
}

/* Boot Sequence */
.boot-sequence {
    font-family: 'Share Tech Mono', monospace;
    color: var(--primary-color);
    font-size: 14px;
    line-height: 1.4;
}

.boot-text {
    margin-bottom: 10px;
}

/* Main Content */
.main-content {
    height: 100%;
    overflow-y: auto;
}

/* Header and Navigation */
header {
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--primary-color);
    padding: 15px 0;
    margin-bottom: 30px;
    z-index: 10;
}

.glitch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: var(--glitch-color-1);
    z-index: -1;
    animation: glitch-animation 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.glitch::after {
    color: var(--glitch-color-2);
    z-index: -2;
    animation: glitch-animation 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.nav-link.active {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

/* Sections */
.section {
    display: none;
    padding: 20px;
    margin-bottom: 40px;
}

.section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-shadow: 0 0 5px var(--primary-color);
    position: relative;
    display: inline-block;
}

.cyber-glitch {
    position: relative;
}

.cyber-glitch::before,
.cyber-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.cyber-glitch::before {
    color: var(--glitch-color-1);
    z-index: -1;
    animation: glitch-animation 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.cyber-glitch::after {
    color: var(--glitch-color-2);
    z-index: -2;
    animation: glitch-animation 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
}

.cyber-glitch-2 {
    position: relative;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 5px var(--primary-color);
}

.cyber-glitch-2::before,
.cyber-glitch-2::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--terminal-color);
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
}

.cyber-glitch-2::before {
    left: 3px;
    text-shadow: -2px 0 var(--glitch-color-1);
    animation: cyber-glitch-2-anim-1 2s infinite linear alternate-reverse;
}

.cyber-glitch-2::after {
    left: -3px;
    text-shadow: -2px 0 var(--glitch-color-2);
    animation: cyber-glitch-2-anim-2 3s infinite linear alternate-reverse;
}

/* Home Section */
.welcome-message {
    text-align: center;
    margin: 50px auto;
    max-width: 800px;
}

.typing-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 20px 0;
    height: 1.5em;
    overflow: hidden;
}

.intro-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    color: var(--text-color);
    margin: 30px 0;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-left: 3px solid var(--primary-color);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.cyber-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.cyber-button:hover {
    background-color: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

.cyber-button:hover::before {
    left: 100%;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 200px;
    height: 200px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder i {
    font-size: 100px;
    color: var(--primary-color);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    animation: scan 2s linear infinite;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.data-block {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-left: 3px solid var(--primary-color);
}

.data-block h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Share Tech Mono', monospace;
}

.skill-bars {
    margin-top: 10px;
}

.skill {
    margin-bottom: 10px;
}

.skill-name {
    display: block;
    margin-bottom: 5px;
}

.skill-bar {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
    position: relative;
}

.skill-level::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: skill-shine 2s infinite linear;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-date {
    width: 100px;
    text-align: center;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.timeline-date .year {
    font-weight: bold;
}

.timeline-date .to {
    font-size: 0.7rem;
    opacity: 0.8;
}

.timeline-content {
    flex-grow: 1;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-left: 3px solid var(--primary-color);
    margin-left: 20px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: 'Orbitron', sans-serif;
}

.timeline-content h4 {
    color: var(--tertiary-color);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    padding: 5px 10px;
    background-color: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 0.8rem;
    border-radius: 3px;
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.award-card {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.award-icon {
    font-size: 2rem;
    color: var(--tertiary-color);
    margin-bottom: 15px;
    text-align: center;
}

.award-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
}

.award-date {
    color: var(--tertiary-color);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.blog-card-header {
    margin-bottom: 15px;
}

.blog-date {
    color: var(--tertiary-color);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 5px;
}

.blog-title {
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
}

.blog-content {
    flex-grow: 1;
    margin-bottom: 15px;
}

.blog-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    text-shadow: 0 0 5px var(--primary-color);
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.blog-tag {
    padding: 3px 8px;
    background-color: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 0.7rem;
    border-radius: 3px;
}

/* CTF Section */
.ctf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.ctf-card {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.ctf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
}

.ctf-card-header {
    margin-bottom: 15px;
}

.ctf-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.ctf-event, .ctf-category, .ctf-points {
    font-size: 0.8rem;
    padding: 2px 8px;
}

.ctf-event {
    color: var(--tertiary-color);
    border: 1px solid var(--tertiary-color);
}

.ctf-category {
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.ctf-points {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.ctf-title {
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
}

.ctf-content {
    flex-grow: 1;
    margin-bottom: 15px;
}

.ctf-footer {
    margin-top: auto;
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
}

/* Footer */
footer {
    margin-top: 50px;
    padding: 20px;
    border-top: 1px solid var(--primary-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info {
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glitch-animation {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-3px, 3px);
    }
    40% {
        transform: translate(-3px, -3px);
    }
    60% {
        transform: translate(3px, 3px);
    }
    80% {
        transform: translate(3px, -3px);
    }
    100% {
        transform: translate(0);
    }
}

@keyframes cyber-glitch-2-anim-1 {
    0% {
        clip: rect(44px, 9999px, 56px, 0);
    }
    5% {
        clip: rect(11px, 9999px, 37px, 0);
    }
    10% {
        clip: rect(67px, 9999px, 98px, 0);
    }
    15% {
        clip: rect(85px, 9999px, 92px, 0);
    }
    20% {
        clip: rect(28px, 9999px, 16px, 0);
    }
    25% {
        clip: rect(60px, 9999px, 57px, 0);
    }
    30% {
        clip: rect(98px, 9999px, 4px, 0);
    }
    35% {
        clip: rect(11px, 9999px, 44px, 0);
    }
    40% {
        clip: rect(66px, 9999px, 5px, 0);
    }
    45% {
        clip: rect(10px, 9999px, 54px, 0);
    }
    50% {
        clip: rect(33px, 9999px, 71px, 0);
    }
    55% {
        clip: rect(86px, 9999px, 99px, 0);
    }
    60% {
        clip: rect(40px, 9999px, 31px, 0);
    }
    65% {
        clip: rect(46px, 9999px, 75px, 0);
    }
    70% {
        clip: rect(3px, 9999px, 13px, 0);
    }
    75% {
        clip: rect(24px, 9999px, 94px, 0);
    }
    80% {
        clip: rect(61px, 9999px, 26px, 0);
    }
    85% {
        clip: rect(84px, 9999px, 63px, 0);
    }
    90% {
        clip: rect(44px, 9999px, 81px, 0);
    }
    95% {
        clip: rect(67px, 9999px, 34px, 0);
    }
    100% {
        clip: rect(9px, 9999px, 16px, 0);
    }
}

@keyframes cyber-glitch-2-anim-2 {
    0% {
        clip: rect(17px, 9999px, 41px, 0);
    }
    5% {
        clip: rect(5px, 9999px, 51px, 0);
    }
    10% {
        clip: rect(28px, 9999px, 35px, 0);
    }
    15% {
        clip: rect(42px, 9999px, 8px, 0);
    }
    20% {
        clip: rect(65px, 9999px, 91px, 0);
    }
    25% {
        clip: rect(95px, 9999px, 37px, 0);
    }
    30% {
        clip: rect(47px, 9999px, 12px, 0);
    }
    35% {
        clip: rect(94px, 9999px, 21px, 0);
    }
    40% {
        clip: rect(21px, 9999px, 88px, 0);
    }
    45% {
        clip: rect(24px, 9999px, 53px, 0);
    }
    50% {
        clip: rect(82px, 9999px, 33px, 0);
    }
    55% {
        clip: rect(31px, 9999px, 56px, 0);
    }
    60% {
        clip: rect(69px, 9999px, 43px, 0);
    }
    65% {
        clip: rect(6px, 9999px, 13px, 0);
    }
    70% {
        clip: rect(57px, 9999px, 62px, 0);
    }
    75% {
        clip: rect(80px, 9999px, 28px, 0);
    }
    80% {
        clip: rect(21px, 9999px, 60px, 0);
    }
    85% {
        clip: rect(89px, 9999px, 74px, 0);
    }
    90% {
        clip: rect(56px, 9999px, 78px, 0);
    }
    95% {
        clip: rect(44px, 9999px, 51px, 0);
    }
    100% {
        clip: rect(99px, 9999px, 11px, 0);
    }
}

@keyframes scan {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

@keyframes skill-shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .glitch-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-date {
        width: auto;
        margin-bottom: 10px;
        align-self: flex-start;
    }
    
    .timeline-content {
        margin-left: 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .terminal {
        width: 98%;
        margin: 1vh auto;
        height: 98vh;
    }
    
    .section {
        padding: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .awards-grid, .blog-grid, .ctf-grid {
        grid-template-columns: 1fr;
    }
}
