/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Shapes */
body::before,
body::after {
    content: '';
    position: fixed;
    z-index: 0;
    pointer-events: none;
}

body::before {
    top: 10%;
    left: 5%;
    width: 450px;
    height: 450px;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.08), rgba(0, 255, 255, 0.15));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape1 20s ease-in-out infinite, rotate360 30s linear infinite;
    filter: blur(35px);
    box-shadow: 0 0 80px rgba(0, 255, 255, 0.2);
}

body::after {
    bottom: 10%;
    right: 5%;
    width: 550px;
    height: 550px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.05));
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    animation: morphShape2 25s ease-in-out infinite, rotate360Reverse 35s linear infinite;
    filter: blur(40px);
    box-shadow: 0 0 100px rgba(0, 255, 255, 0.25);
}

@keyframes morphShape1 {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: scale(1) translate(0, 0);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: scale(1.1) translate(20px, -20px);
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: scale(0.9) translate(-20px, 20px);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        transform: scale(1.05) translate(10px, 10px);
    }
}

@keyframes morphShape2 {
    0%, 100% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: scale(1) translate(0, 0);
    }
    33% {
        border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
        transform: scale(1.15) translate(-30px, -15px);
    }
    66% {
        border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
        transform: scale(0.95) translate(25px, 25px);
    }
}

@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate360Reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Additional Geometric Shapes */
.bg-shape {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.4));
}

.bg-shape-1 {
    top: 20%;
    right: 15%;
    width: 240px;
    height: 240px;
    background: transparent;
    border: 3px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    animation: float1 15s ease-in-out infinite, rotate360 20s linear infinite;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3), inset 0 0 30px rgba(0, 255, 255, 0.1);
}

.bg-shape-1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 170px;
    height: 170px;
    border: 3px solid rgba(0, 255, 255, 0.25);
    border-radius: 50%;
}

.bg-shape-1::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 120px;
    height: 120px;
    border: 2px solid rgba(0, 255, 255, 0.2);
}

.bg-shape-2 {
    top: 60%;
    left: 10%;
    width: 180px;
    height: 180px;
    background: transparent;
    border: 3px solid rgba(0, 255, 255, 0.28);
    transform: rotate(45deg);
    animation: float2 18s ease-in-out infinite, rotate360Reverse 25s linear infinite;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
}

.bg-shape-2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 120px;
    height: 120px;
    border: 2px solid rgba(0, 255, 255, 0.22);
}

.bg-shape-3 {
    bottom: 25%;
    right: 25%;
    width: 220px;
    height: 220px;
    background: transparent;
    animation: float3 20s ease-in-out infinite, rotate360 30s linear infinite;
}

.bg-shape-3::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(0, 255, 255, 0.25);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.35);
}

.bg-shape-4 {
    top: 45%;
    right: 8%;
    width: 150px;
    height: 150px;
    background: transparent;
    border: 3px solid rgba(0, 255, 255, 0.32);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: float4 16s ease-in-out infinite, rotate360 22s linear infinite;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
}

.bg-shape-5 {
    bottom: 15%;
    left: 20%;
    width: 190px;
    height: 190px;
    background: transparent;
    border: 3px solid rgba(0, 255, 255, 0.28);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation: float5 19s ease-in-out infinite, rotate360Reverse 28s linear infinite;
    box-shadow: 0 0 28px rgba(0, 255, 255, 0.32);
}

.bg-shape-6 {
    top: 35%;
    left: 5%;
    width: 170px;
    height: 170px;
    background: transparent;
    animation: float6 17s ease-in-out infinite, rotate360 24s linear infinite;
}

.bg-shape-6::before,
.bg-shape-6::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(0, 255, 255, 0.26);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
}

.bg-shape-6::after {
    transform: rotate(45deg);
    border-color: rgba(0, 255, 255, 0.22);
}

.bg-shape-7 {
    top: 70%;
    right: 35%;
    width: 130px;
    height: 130px;
    background: transparent;
    border: 3px solid rgba(0, 255, 255, 0.3);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: float7 21s ease-in-out infinite, rotate360Reverse 26s linear infinite;
    box-shadow: 0 0 28px rgba(0, 255, 255, 0.35);
}

.bg-shape-7::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75px;
    height: 75px;
    border: 2px solid rgba(0, 255, 255, 0.25);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.9); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(45deg) scale(1); }
    50% { transform: translate(-40px, -30px) rotate(90deg) scale(1.15); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-30px, 20px) scale(1.05); }
    50% { transform: translate(20px, -25px) scale(0.95); }
    75% { transform: translate(-15px, -20px) scale(1.1); }
}

@keyframes float4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, 35px) scale(1.2); }
}

@keyframes float5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(35px, -25px) scale(0.9); }
    66% { transform: translate(-30px, 30px) scale(1.15); }
}

@keyframes float6 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-25px, 30px) scale(1.1); }
    50% { transform: translate(30px, -20px) scale(0.95); }
    75% { transform: translate(-15px, -25px) scale(1.05); }
}

@keyframes float7 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-35px, 40px) scale(1.15); }
}

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

/* Section styles */
section {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
}

/* Hero section */
.hero {
    position: relative;
    text-align: center;
    min-height: 100vh;
}

.hero-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.glitch {
    font-size: 2rem;
    font-weight: 300;
    position: relative;
    color: #fff;
    transition: text-shadow 0.3s ease;
}

.glitch:hover {
    text-shadow: 0 0 5px #0ff,
                 0 0 10px #0ff,
                 0 0 20px #0ff,
                 0 0 40px #0ff;
}

.name {
    font-size: 4rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #fff;
    transition: text-shadow 0.3s ease;
}

.name:hover {
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8),
                 0 0 20px rgba(0, 255, 255, 0.6),
                 0 0 30px rgba(0, 255, 255, 0.4);
}

.subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem;
    transition: text-shadow 0.3s ease;
}

.subtitle:hover {
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* About section */
.about {
    background: linear-gradient(180deg, #000 0%, #111 100%);
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.8;
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(0, 255, 255, 0.3);
}

.dev-journal-button {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.dev-journal-button:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

.dev-journal-button i {
    font-size: 0.8rem;
}

.skills {
    margin-top: 1rem;
}

.skills h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-tag:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(0, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .about-text {
        flex: 2;
    }
    
    .skills {
        flex: 1;
        margin-top: 0;
    }
}

/* Projects section */
.projects {
    background: linear-gradient(180deg, #111 0%, #000 100%);
    padding: 1rem 0;
    text-align: center;
}

.projects h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Tab Container */
.tab-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    
}

.tab-button {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}

.tab-button.active {
    background: rgba(0, 255, 255, 0.15);
    border-color: rgba(0, 255, 255, 0.5);
    color: #0ff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.tab-content {
    position: relative;
    overflow: hidden;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}

.projects-table-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.projects-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.projects-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.projects-table tr:last-child {
    border-bottom: none;
}

.projects-table tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

.projects-table td {
    padding: 1rem;
    text-align: left;
}

.projects-table td:first-child {
    font-weight: 600;
    color: #fff;
}

.projects-table td:last-child {
    text-align: right;
}

.projects-table a {
    color: #0ff;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    background: rgba(0, 255, 255, 0.05);
}

.projects-table a:hover {
    color: #fff;
    text-shadow: 0 0 5px #0ff;
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
}

.projects-table i {
    font-size: 0.8rem;
}

/* Contact section */
.contact {
    text-align: center;
    padding: 1rem 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #888;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .name {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .about p {
        font-size: 1rem;
    }
    
    .projects-table td {
        padding: 0.75rem;
    }
    
    /* Reduce background shapes on mobile */
    body::before,
    body::after {
        opacity: 0.5;
        filter: blur(50px);
    }
    
    .bg-shape {
        opacity: 0.4;
    }
    
    .bg-shape-4,
    .bg-shape-5,
    .bg-shape-6,
    .bg-shape-7 {
        display: none;
    }
} 

/* What's New Modal Styles */
.whats-new-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1001;
    background: rgba(0,255,255,0.15);
    color: #0ff;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0,255,255,0.18);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
    backdrop-filter: blur(2px);
}
.whats-new-btn:hover {
    background: rgba(0,255,255,0.35);
    color: #fff;
    box-shadow: 0 0 16px #0ff, 0 4px 24px rgba(0,255,255,0.25);
    transform: scale(1.08);
}

.whats-new-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.45);
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}
.whats-new-modal.active {
    display: flex;
    animation: fadeInBg 0.4s;
}
@keyframes fadeInBg {
    from { background: rgba(0,0,0,0); }
    to { background: rgba(0,0,0,0.45); }
}
.whats-new-modal-content {
    background: rgba(17, 25, 30, 0.28);
    border-radius: 18px;
    box-shadow: 0 0 32px #0ff, 0 0 10px #111;
    max-width: 400px;
    width: 90vw;
    max-height: 70vh;
    overflow-y: auto;
    position: relative;
    color: #fff;
    border: 1.5px solid rgba(0,255,255,0.10);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    animation: modalPopIn 0.5s cubic-bezier(.23,1.12,.32,1);
}
@keyframes modalPopIn {
    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.whats-new-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #0ff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    z-index: 10;
}
.whats-new-close:hover {
    color: #fff;
    transform: scale(1.2);
}
.whats-new-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-height: 40vh;
    overflow-y: auto;
}
.whats-new-item {
    background: rgba(0,255,255,0.10);
    border-left: 3px solid #0ff;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 1px 6px rgba(0,255,255,0.08);
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}
.whats-new-item:hover {
    background: rgba(0,255,255,0.18);
}

.whats-new-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}
.whats-new-socials a {
    color: #0ff;
    font-size: 2.1rem;
    transition: color 0.2s, text-shadow 0.3s, transform 0.2s;
    text-shadow: 0 0 8px rgba(0,255,255,0.4), 0 0 2px #0ff;
    border-radius: 50%;
    padding: 0.2em;
    background: rgba(0,255,255,0.05);
}
.whats-new-socials a:hover {
    color: #fff;
    background: rgba(0,255,255,0.18);
    text-shadow: 0 0 18px #0ff, 0 0 8px #fff;
    transform: scale(1.18) rotate(-6deg);
}

.glitch-art-section {
    margin-top: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.glitch-art-section h3 {
    color: #0ff;
    margin-bottom: 0.7rem;
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #0ff, 0 0 2px #fff;
    font-weight: 700;
}
#glitch-art-canvas {
    background: #111;
    border-radius: 12px;
    box-shadow: 0 0 18px #0ff, 0 0 2px #fff, 0 0 32px #0ff44;
    margin-bottom: 0.7rem;
    border: 2px solid #0ff;
    width: 220px;
    height: 80px;
    animation: flickerGlow 2.2s infinite alternate;
}
@keyframes flickerGlow {
    0% { box-shadow: 0 0 18px #0ff, 0 0 2px #fff, 0 0 32px #0ff44; }
    50% { box-shadow: 0 0 28px #0ff, 0 0 8px #fff, 0 0 40px #0ff88; }
    100% { box-shadow: 0 0 18px #0ff, 0 0 2px #fff, 0 0 32px #0ff44; }
}
#glitch-art-btn {
    background: rgba(0,255,255,0.13);
    color: #0ff;
    border: none;
    border-radius: 6px;
    padding: 0.5em 1.4em;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.2rem;
    box-shadow: 0 0 8px #0ff44, 0 0 2px #fff;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
    letter-spacing: 1px;
}
#glitch-art-btn:hover {
    background: rgba(0,255,255,0.25);
    color: #fff;
    box-shadow: 0 0 18px #0ff, 0 0 8px #fff;
    transform: scale(1.07) rotate(-2deg);
}

.doughnut-section {
    margin-top: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.doughnut-section h3 {
    color: #0ff;
    margin-bottom: 0.7rem;
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #0ff, 0 0 2px #fff;
    font-weight: 700;
}
#doughnut-canvas {
    background: #111;
    border-radius: 12px;
    background: rgba(17, 17, 25, 0.7);
    width: 220px;
    height: 120px;
    animation: flickerGlow 2.2s infinite alternate;
    display: block;
}
@media (max-width: 600px) {
    .whats-new-modal-content {
        padding: 0.7em 0.2em 0.7em 0.2em;
        max-width: 99vw;
        font-size: 0.97em;
    }
    .whats-new-btn {
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .whats-new-socials a {
        font-size: 1.4rem;
        padding: 0.15em;
    }
    .whats-new-socials {
        gap: 1rem;
    }
    #glitch-art-canvas {
        width: 98vw;
        max-width: 220px;
        height: 60px;
    }
    .glitch-art-section h3 {
        font-size: 1.05rem;
    }
    #glitch-art-btn {
        font-size: 0.95rem;
        padding: 0.4em 1em;
    }
    #doughnut-canvas {
        width: 98vw;
        max-width: 220px;
        height: 80px;
    }
    .doughnut-section h3 {
        font-size: 1.05rem;
    }
} 

.ai-chatbot-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    height: 100%;
}
.ai-chat-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #0ff;
    background: rgba(0,255,255,0.10);
    border-radius: 50%;
    box-shadow: 0 0 12px #0ff44, 0 0 2px #fff;
    width: 48px;
    height: 48px;
    margin-bottom: 0.5em;
    margin-top: -1.2em;
    z-index: 2;
    border: 2px solid #0ff;
    position: relative;
    animation: avatarPopIn 0.7s cubic-bezier(.23,1.12,.32,1);
}
@keyframes avatarPopIn {
    0% { transform: scale(0.7) translateY(-20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.ai-chat-messages {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 420px;
    max-width: 100%;
    overflow-y: auto;
    background: linear-gradient(120deg, rgba(0,0,0,0.92) 60%, rgba(0,255,255,0.07) 100%);
    border-radius: 18px;
    box-shadow: none;
    padding: 1.1em 1em 0.7em 1em;
    margin-bottom: 0.7em;
    font-size: 1rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    transition: background 0.3s;
    scrollbar-width: thin;
    scrollbar-color: #0ff #222;
}
.ai-chat-messages::-webkit-scrollbar {
    width: 7px;
    background: #181b1f;
    border-radius: 8px;
}
.ai-chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(120deg, #0ff 0%, #222 100%);
    border-radius: 8px;
    box-shadow: 0 0 8px #0ff88;
}
.ai-chat-messages::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(120deg, #fff 0%, #0ff 100%);
}
.ai-chat-message {
    margin-bottom: 0.2em;
    line-height: 1.5;
    word-break: break-word;
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    animation: chatMsgIn 0.4s cubic-bezier(.23,1.12,.32,1) forwards;
}
@keyframes chatMsgIn {
    0% { opacity: 0; transform: translateY(16px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.ai-chat-message.user {
    align-self: flex-end;
    background: rgba(255,255,255,0.13);
    color: #0ff;
    border-radius: 16px 22px 6px 22px;
    padding: 0.5em 1em;
    box-shadow: none;
    max-width: 80%;
    font-weight: 500;
}
.ai-chat-message.bot {
    align-self: flex-start;
    background: rgba(0,255,255,0.13);
    color: #fff;
    border-radius: 22px 16px 22px 6px;
    padding: 0.5em 1em;
    box-shadow: none;
    max-width: 80%;
    font-weight: 400;
}
.ai-chat-form {
    display: flex;
    width: 100%;
    gap: 0.5em;
    align-items: center;
    margin-top: 0.1em;
}
.ai-chat-input {
    flex: 1;
    background: rgba(0,255,255,0.10);
    border: 1.5px solid #0ff;
    border-radius: 8px;
    color: #fff;
    padding: 0.6em 1em;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s, background 0.2s;
    box-shadow: 0 0 6px #0ff22;
}
.ai-chat-input:focus {
    border: 2px solid #fff;
    background: rgba(0,255,255,0.18);
}
.ai-chat-send {
    background: rgba(0,255,255,0.13);
    color: #0ff;
    border: none;
    border-radius: 6px;
    padding: 0.5em 1.1em;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-chat-send:hover {
    background: rgba(0,255,255,0.22);
    color: #fff;
    transform: scale(1.08);
}
.ai-chat-clear {
    background: rgba(0,255,255,0.10);
    color: #0ff;
    border: none;
    border-radius: 8px;
    padding: 0.6em 0.9em;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 0 6px #0ff22;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
    margin-left: 0.1em;
}
.ai-chat-clear:hover {
    background: #0ff;
    color: #111;
    box-shadow: 0 0 14px #0ff, 0 0 8px #fff;
    transform: scale(1.07);
}
@media (max-width: 600px) {
    .ai-chatbot-section {
        max-width: 100vw;
        height: 100%;
    }
    .ai-chat-messages {
        width: 100%;
        max-width: 100vw;
        min-height: 200px;
        max-height: 320px;
        height: 100%;
        font-size: 0.95rem;
        padding: 0.7em 0.5em;
    }
    .ai-chat-input, .ai-chat-send, .ai-chat-clear {
        font-size: 0.95rem;
        padding: 0.5em 0.7em;
    }
    .ai-chat-avatar {
        font-size: 1.5rem;
        width: 36px;
        height: 36px;
    }
} 

.ai-typing {
    display: inline-block;
    letter-spacing: 2px;
}
.ai-typing span {
    display: inline-block;
    font-size: 1.2em;
    opacity: 0.5;
    animation: typingBlink 1.2s infinite;
}
.ai-typing span:nth-child(2) {
    animation-delay: 0.2s;
}
.ai-typing span:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes typingBlink {
    0%, 80%, 100% { opacity: 0.5; }
    40% { opacity: 1; }
} 

.project-timeline-section {
    width: 100%;
    max-width: 420px;
    margin: 0 auto 1.5em auto;
    padding: 0 0.5em;
}
.timeline-title {
    color: #0ff;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2em;
    letter-spacing: 1px;
}
.project-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1.2em;
    position: relative;
    border-left: 2px solid rgba(0,255,255,0.18);
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #0ff #222;
}
.project-timeline::-webkit-scrollbar {
    width: 7px;
    background: #181b1f;
    border-radius: 8px;
}
.project-timeline::-webkit-scrollbar-thumb {
    background: linear-gradient(120deg, #0ff 0%, #222 100%);
    border-radius: 8px;
    box-shadow: 0 0 8px #0ff88;
}
.project-timeline::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(120deg, #fff 0%, #0ff 100%);
}
.project-timeline li {
    position: relative;
    margin-bottom: 1.7em;
    min-height: 2.5em;
}
.timeline-dot {
    position: absolute;
    left: -1.25em;
    top: 0.2em;
    width: 0.9em;
    height: 0.9em;
    background: #0ff;
    border-radius: 50%;
    box-shadow: 0 0 3px #0ff44;
    border: 2px solid #111;
    z-index: 1;
}
.timeline-date {
    font-size: 0.95em;
    color: #0ff;
    font-weight: 600;
    margin-bottom: 0.2em;
    display: block;
    letter-spacing: 0.5px;
}
.timeline-content {
    background: rgba(0,255,255,0.06);
    border-radius: 8px;
    padding: 0.7em 1em;
    margin-left: 0.5em;
    color: #fff;
    box-shadow: 0 1px 6px rgba(0,255,255,0.04);
    font-size: 1.05em;
}
.timeline-content strong {
    color: #0ff;
    font-weight: 700;
    font-size: 1.08em;
}
.timeline-filter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7em;
    margin-bottom: 1.2em;
    flex-wrap: wrap;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.timeline-filter label {
    color: #0ff;
    font-weight: 600;
    margin-right: 0.5em;
    letter-spacing: 0.5px;
    font-size: 1.05em;
}
.timeline-filter-select {
    background: #181b1f;
    color: #0ff;
    border: 1.5px solid #222;
    border-radius: 6px;
    padding: 0.45em 2.1em 0.45em 0.9em;
    font-size: 1.08em;
    font-weight: 600;
    outline: none;
    transition: border 0.2s, background 0.2s;
    margin-right: 0.2em;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%230ff" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.7em center;
    background-size: 1.1em;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,255,255,0.04);
}
.timeline-filter-select:focus {
    border: 2px solid #0ff;
    background: #222b2f;
}
.timeline-filter-reset {
    background: rgba(0,255,255,0.13);
    color: #0ff;
    border: none;
    border-radius: 6px;
    padding: 0.35em 1.1em;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    margin-left: 0.2em;
}
.timeline-filter-reset:hover {
    background: #0ff;
    color: #111;
    transform: scale(1.05);
}
.timeline-logo {
    text-align: center;
    margin-bottom: 1.2em;
}
.timeline-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 2px 8px #0ff44;
    object-fit: cover;
    display: inline-block;
}
.project-timeline a {
    color: #0ff;
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
}
.project-timeline a:visited {
    color: #0ff;
}
.project-timeline a:hover {
    color: #fff;
    text-decoration: underline;
    text-shadow: 0 0 6px #0ff99;
}
@media (max-width: 600px) {
    .project-timeline-section {
        max-width: 98vw;
        padding: 0 0.2em;
    }
    .timeline-content {
        font-size: 0.98em;
        padding: 0.6em 0.5em;
        word-break: break-word;
    }
    .timeline-title {
        font-size: 1.05rem;
    }
    .project-timeline {
        max-height: 180px;
    }
    .timeline-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4em;
        margin-bottom: 0.7em;
        padding: 0.5em 0.5em 0.5em 0.5em;
    }
    .timeline-filter-select, .timeline-filter-reset {
        font-size: 0.97em;
        padding: 0.3em 0.7em;
    }
    .timeline-logo {
        margin-bottom: 0.7em;
    }
    .lotr-quote {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding-left: 0.2em !important;
        padding-right: 0.2em !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        font-size: 0.98em;
        text-align: center;
        overflow-wrap: break-word;
    }
    .lotr-runes {
        font-size: 1em;
        word-break: break-all;
        text-align: center;
    }
} 

.whats-new-emoji {
    font-size: 1.5em;
    line-height: 1;
    vertical-align: middle;
    color: #0ff;
    text-shadow: 0 0 8px #0ff99, 0 0 2px #fff;
    display: inline-block;
    transition: color 0.2s, text-shadow 0.2s;
} 

.lotr-quote {
    margin: 2em auto 1.2em auto;
    padding: 1.1em 1.5em 1em 1.5em;
    max-width: 370px;
    background: linear-gradient(120deg, #23200d 80%, #3a2e13 100%);
    color: #f6e7b2;
    font-family: 'Georgia', 'Garamond', serif;
    font-size: 1.08em;
    border-left: 4px solid #d4af37;
    border-right: 4px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(212,175,55,0.08);
    text-shadow: 0 1px 0 #3a2e13;
    position: relative;
    letter-spacing: 0.01em;
    background-image: url('https://www.transparenttextures.com/patterns/old-mathematics.png');
    background-blend-mode: multiply;
    border-top: 2px solid #d4af37;
    border-bottom: 2px solid #d4af37;
}
.lotr-quote:before {
    content: "\201C";
    color: #d4af37;
    font-size: 2.2em;
    position: absolute;
    left: 0.3em;
    top: 0.1em;
    opacity: 0.7;
    font-family: serif;
}
.lotr-attrib {
    display: block;
    margin-top: 0.7em;
    color: #d4af37;
    font-size: 0.98em;
    font-style: italic;
    text-align: right;
    letter-spacing: 0.02em;
}
.lotr-runes {
    display: block;
    text-align: center;
    color: #d4af37;
    font-size: 1.2em;
    font-family: 'Noto Sans Runic', 'Segoe UI Symbol', 'Arial Unicode MS', serif;
    margin-top: 0.5em;
    letter-spacing: 0.15em;
    opacity: 0.85;
} 

/* Subtle Links */
.subtle-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.subtle-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #0ff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 255, 255, 0.05) 100%);
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.subtle-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 25px;
}

.subtle-link:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(0, 255, 255, 0.1) 100%);
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.subtle-link:hover::before {
    opacity: 1;
}

.subtle-link i {
    font-size: 1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.subtle-link span {
    font-weight: 600;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .subtle-links {
        gap: 1rem;
    }
    
    .subtle-link {
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
    }
} 

/* On My Mind Section */
.on-my-mind {
    padding: 4rem 2rem;
    background: linear-gradient(180deg, #000 0%, #111 100%);
    position: relative;
    overflow: hidden;
}

.on-my-mind::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 165, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.on-my-mind h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.mind-content-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    position: relative;
    z-index: 2;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 255, 0.6) transparent;
}

.mind-content-scroll::-webkit-scrollbar {
    height: 6px;
}

.mind-content-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 0 1rem;
}

.mind-content-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.8), rgba(0, 255, 255, 0.4));
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.mind-content-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(0, 255, 255, 1), rgba(0, 255, 255, 0.6));
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.mind-content-scroll::-webkit-scrollbar-corner {
    background: transparent;
}

.mind-content {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
    min-width: max-content;
}

.mind-item {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.08) 0%, rgba(0, 255, 255, 0.03) 50%, rgba(0, 0, 0, 0.1) 100%);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    min-width: 350px;
    max-width: 400px;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 20px rgba(0, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mind-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.1) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(0, 255, 255, 0.05) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mind-item:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(0, 255, 255, 0.08) 50%, rgba(0, 0, 0, 0.15) 100%);
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 255, 255, 0.25),
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mind-item:hover::before {
    opacity: 1;
}

.mind-item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #0ff;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.mind-item-header i {
    font-size: 1rem;
    opacity: 0.8;
}

.mind-item-content {
    position: relative;
    z-index: 2;
}

.mind-item-content iframe {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.mind-article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mind-article-preview {
    padding: 1rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.mind-article-preview:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-2px);
}

.mind-article-preview h4 {
    color: #0ff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.mind-article-preview p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.mind-article-source {
    color: #ffa500;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Mobile Responsive for On My Mind */
@media (max-width: 768px) {
    .on-my-mind {
        padding: 3rem 1rem;
    }
    
    .on-my-mind h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .mind-content {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .mind-item {
        min-width: 280px;
        max-width: 320px;
        padding: 1rem;
    }
    
    .mind-item-content iframe {
        height: 180px;
    }
} 
