* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A855F7 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Modern glassy section colors */
.section.about {
    background: linear-gradient(135deg, #475569 0%, #64748B 100%);
    color: #F8FAFC;
}

.section.about h2 {
    color: #F8FAFC;
}

.section.presentations h2 {
    color: #ffffff;
}

.section.skills {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    color: #F8FAFC;
}

.section.skills h2,
.section.reading h2 {
    color: #F8FAFC;
}

.section.experience {
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
    color: #ffffff;
}

.section.presentations {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.section.presentations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/lsg_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
}

.section.presentations::after {
    content: '';
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 300px;
    height: 150px;
    background-image: url('assets/images/lsg_logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.section.presentations .container {
    position: relative;
    z-index: 1;
}

.section.reading {
    background: linear-gradient(135deg, #475569 0%, #64748B 100%);
    color: #F1F5F9;
}

.section.contact {
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    color: #F8FAFC;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: inherit;
    transition: all 0.3s ease;
}

.nav-profile-pic {
    width: 0;
    height: 0;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: all 0.4s ease;
    overflow: hidden;
    vertical-align: middle;
}

.nav-profile-pic.visible {
    width: 40px;
    height: 40px;
    opacity: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    position: relative;
    font-weight: 400;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 500;
}

nav.scrolled .nav-links a.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.linkedin-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin-left: 0.5rem !important;
}

.linkedin-link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: none !important;
}

.linkedin-link svg {
    width: 16px;
    height: 16px;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
    z-index: 2;
}

.hero-image {
    flex-shrink: 0;
}

.hero-profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-content {
    z-index: 2;
    max-width: 600px;
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero .description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.4s forwards;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-primary {
    background: #ffffff;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #667eea;
}

/* Form loading states */
.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
}

.form-feedback.success {
    background: rgba(34, 197, 94, 0.2);
    color: #ffffff;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ffffff;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Animated Node Graph Background */
.node-graph {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: nodeFloat 8s ease-in-out infinite;
}

.node::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: nodePulse 3s ease-in-out infinite;
}

.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%);
    transform-origin: left center;
    animation: connectionPulse 4s ease-in-out infinite;
}


/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Industry Expertise */
.industry-expertise {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 15px;
}

.industry-expertise h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.expertise-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-3px);
}

.expertise-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Presentations Section */
.presentation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.presentation-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.presentation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

.presentation-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.presentation-header h4 {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.presentation-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.presentation-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.topic-tag {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #ffffff;
}

.philosophy-quotes {
    margin: 1rem 0;
}

.philosophy-quotes blockquote {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    padding: 1rem;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    margin: 1rem 0;
    font-style: italic;
    border-radius: 5px;
}

.presentation-details ul {
    list-style: none;
    padding-left: 0;
}

.presentation-details ul li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.presentation-details ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 4rem !important;
    margin-bottom: 1rem;
}

.skill-icon .material-icons {
    font-size: inherit !important;
}

/* Experience Section */
.company-section {
    position: relative;
    padding: 6rem 0;
    margin: 2rem 0;
    border-radius: 15px;
    overflow: visible;
}

.company-zenimax {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    position: relative;
}

.company-zenimax::after {
    content: '';
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 300px;
    height: 150px;
    background-image: url('assets/images/zenimax-logo.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.company-section .timeline {
    position: relative;
    z-index: 1;
}

.company-section .container {
    overflow: visible;
}

.company-title {
    text-align: center;
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.timeline-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    padding: 2rem 0;
}

.timeline-wrapper::-webkit-scrollbar {
    height: 8px;
}

.timeline-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.timeline-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.timeline-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.timeline {
    display: flex;
    position: relative;
}

.timeline-item {
    position: relative;
    width: 25%;
    min-width: 400px;
    height: 800px;
    color: #fff;
    overflow: hidden;
    transition: width 0.5s ease, min-width 0.5s ease;
    cursor: pointer;
    flex-shrink: 1;
}

.timeline-item:before,
.timeline-item:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.timeline-item:after {
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.timeline-item:before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 60%);
    z-index: 2;
    opacity: 0;
    transform: translateY(50%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.active {
    width: 60% !important;
    min-width: 600px !important;
    flex-grow: 1;
    z-index: 10;
}

.timeline-item.active::after {
    opacity: 0;
}

.timeline-item.active::before {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease, transform 1s ease 0.25s;
}

.timeline-item.active .timeline-text {
    opacity: 1 !important;
    transform: translateY(-50%) !important;
    transition: all 0.75s ease 0.5s;
}

.timeline-item.active .tl-bg {
    filter: grayscale(0);
}

.timeline-item.active .tl-year {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-text {
    position: absolute;
    z-index: 3;
    text-align: center;
    left: 2rem;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 15px;
    transition: opacity 0.75s ease 0.5s, transform 0.75s ease 0.5s;
}

.timeline-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-text h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.timeline-text p {
    font-size: 1rem;
    line-height: 1.6;
}

.tl-year {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 3;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    padding: 0.75rem 1rem;
    pointer-events: none;
    max-width: 90%;
}

.tl-year p {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

.tl-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
    transition: filter 0.5s ease;
    filter: grayscale(100%);
    pointer-events: none;
    z-index: 0;
}

.timeline-item-text-only .timeline-text {
    left: 3rem;
    right: 3rem;
}

.timeline-item-dual-bg .tl-bg-left {
    width: 50%;
    left: 0;
    right: auto;
}

.timeline-item-dual-bg .tl-bg-right {
    width: 50%;
    left: 50%;
    right: 0;
}

.timeline-item-games-only {
    min-width: 200px;
}

.timeline-item-games-only .timeline-games {
    width: auto;
}

.timeline-item-text-only .tl-bg {
    background-color: rgba(0, 0, 0, 0.2);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.timeline-item-games-only .timeline-text {
    display: none;
}

/* Timeline Game Covers */
.timeline-games {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.game-cover-small {
    position: relative;
    width: 150px;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.game-cover-small:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.game-cover-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.game-cover-small:hover img {
    transform: scale(1.1);
}

.game-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    padding: 0.75rem 0.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.game-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.game-year {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    color: #ffffff;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    color: #F8FAFC;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #F8FAFC;
}

.footer-section p {
    margin-bottom: 0.8rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(248, 250, 252, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
}

.footer-links a:hover {
    color: #F8FAFC;
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(248, 250, 252, 0.1);
    opacity: 0.7;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Fix mobile navigation overlap */
.section {
    scroll-margin-top: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        scroll-margin-top: 70px;
    }
    .hero-layout {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .hero-profile-pic {
        width: 150px;
        height: 150px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    /* Experience Section Mobile Adjustments */
    .timeline-wrapper {
        padding: 1rem 0;
    }

    .timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline-item {
        width: 100% !important;
        min-width: 100% !important;
        height: auto !important;
        min-height: 400px;
        cursor: default;
    }

    .timeline-item.active {
        width: 100% !important;
        min-width: 100% !important;
    }

    .timeline-item::after {
        opacity: 0.3 !important;
    }

    .timeline-item::before {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .timeline-text {
        opacity: 1 !important;
        transform: translateY(-50%) !important;
        left: 1rem;
        right: 1rem;
        padding: 1.5rem;
        position: static;
        transform: none !important;
        margin: 1rem;
    }

    .timeline-item-text-only .timeline-text {
        left: 1rem;
        right: 1rem;
    }

    .timeline-text h3 {
        font-size: 1.2rem;
    }

    .timeline-text h4 {
        font-size: 1rem;
    }

    .timeline-text p {
        font-size: 0.95rem;
    }

    .tl-year {
        display: none;
    }

    .tl-bg {
        filter: grayscale(30%) !important;
        opacity: 0.4;
    }

    .company-title {
        font-size: 1.5rem;
    }

    .company-section {
        padding: 3rem 0;
        margin: 1rem 0;
    }

    .company-zenimax::after {
        width: 150px;
        height: 75px;
        bottom: 1rem;
        right: 1rem;
        opacity: 0.1;
    }

    .nav-links {
        display: none;
    }

    /* Show only essential nav items on very small screens */
    @media (max-width: 480px) {
        .nav-links {
            gap: 1rem;
        }

        .nav-links a {
            padding: 0.3rem 0.6rem;
            font-size: 0.9rem;
        }
    }

    /* Mobile profile picture adjustments */
    .nav-profile-pic.visible {
        width: 35px;
        height: 35px;
    }

    .logo {
        font-size: 1.3rem;
        gap: 0.5rem;
    }

    /* Fix grid layouts on mobile */
    .presentation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expertise-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.75rem;
    }

    /* Ensure sections don't overflow */
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Timeline game covers mobile adjustments */
    .game-cover-small {
        width: 120px;
    }

    .game-cover-small img {
        height: 170px;
    }

    .game-title {
        font-size: 0.85rem;
    }

    .game-year {
        font-size: 0.7rem;
    }

    /* Presentations section mobile adjustments */
    .section.presentations::after {
        width: 150px;
        height: 75px;
        bottom: 1rem;
        right: 1rem;
        opacity: 0.1;
    }

    /* Form adjustments */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Node graph mobile optimizations */
    .node {
        width: 3px;
        height: 3px;
    }

    .node::before {
        width: 6px;
        height: 6px;
    }

    .connection-line {
        opacity: 0.6;
    }

    /* Footer mobile adjustments */
    .footer {
        padding: 50px 0 30px;
    }

    .footer-content {
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nodeFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes nodePulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@keyframes connectionPulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.5;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
    color: #F59E0B;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    font-weight: 300;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
    animation: bounce 2s infinite, pulse 3s infinite;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-arrow {
    border-color: #F59E0B;
    background: rgba(245, 158, 11, 0.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Currently Reading Section */
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-color: rgba(255, 255, 255, 0.3);
}

.article-header {
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    line-height: 1.4;
}

.article-author {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.article-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.article-category {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 500;
}

.article-status {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.article-status.reading::before {
    content: '';
    margin-right: 0;
}

.article-status.completed::before {
    content: '';
    margin-right: 0;
}

.loading-message {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem;
}

.error-message {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 15px;
}

.external-link-icon::after {
    content: '↗';
    margin-left: 0.5rem;
    opacity: 0.7;
}

/* Search and Filter Controls */
.reading-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: none;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    color: #ffffff;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-color: rgba(255, 255, 255, 0.4);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.clear-search {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: none;
}

.clear-search.visible {
    display: block;
}

.clear-search:hover {
    color: rgba(255, 255, 255, 0.9);
}

.filter-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-select,
.status-select {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: none;
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    color: #ffffff;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: 'expand_more';
    font-family: 'Material Icons';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    font-size: 1.2rem;
}

.category-select:focus,
.status-select:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border-color: rgba(255, 255, 255, 0.4);
}

.category-select option,
.status-select option {
    background: #333;
    color: #fff;
}

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .reading-controls {
        margin-bottom: 1.5rem;
    }

    .filter-container {
        flex-direction: column;
    }

    .category-select,
    .status-select {
        min-width: unset;
    }

    .select-wrapper {
        width: 100%;
    }

    .results-info {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}