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

body {
    font-family: 'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1e1e1e;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 1000;
    padding: 1.8rem 0;
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.navbar:hover {
    background-color: rgba(0, 0, 0, 0.65);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 5px;
    position: relative;
    letter-spacing: 0.03em;
}

.nav-links a:hover {
    color: #ff0000;
    background-color: rgba(255, 0, 0, 0.1);
}

.nav-links a.active {
    color: #ff0000;
    background-color: rgba(255, 0, 0, 0.15);
}

.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

@keyframes slideshow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.4; }
}

.home-content {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
}

.profile-section {
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.bio-section {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-image-wrapper {
    margin: 0 auto 2rem;
    position: relative;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #6a120095;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: rgba(255, 0, 0, 0.8);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.5);
}

.username {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.user-info p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.timezone, .join-date {
    padding: 0.5rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: inline-block;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-content {
    min-height: 100vh;
    padding: 140px 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #7a0000;
    text-shadow:
        0 0 8px rgba(255, 0, 0, 0.3),
        0 0 20px rgba(255, 0, 0, 0.2),
        0 0 40px rgba(255, 0, 0, 0.1),
        0 0 60px rgba(255, 0, 0, 0.05);
}

.page-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 1.35rem;
        padding: 0.4rem 0.8rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .username {
        font-size: 2rem;
    }

    .user-info p {
        font-size: 1rem;
    }

    .page-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .username {
        font-size: 1.5rem;
    }
}

/* ── Experiences Section ── */
.experiences-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.experiences-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    letter-spacing: 0.05em;
}

.experiences-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-left: 3px solid #ff0000;
    border-radius: 8px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.experience-item:hover {
    background-color: rgba(255, 0, 0, 0.07);
    border-color: rgba(255, 0, 0, 0.5);
    border-left-color: #ff0000;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.experience-role {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
}

.experience-date {
    font-size: 0.9rem;
    color: rgba(255, 0, 0, 0.85);
    font-weight: 500;
    white-space: nowrap;
}

.experience-place {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    font-style: italic;
}

.experience-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.experience-bullets li {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.6;
}

.experience-bullets li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #ff0000;
}

@media (max-width: 600px) {
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Content Creation Page ── */
.content-creation-page {
    min-height: 100vh;
    padding: 130px 2rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.cc-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cc-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow:
        0 0 8px rgba(255, 0, 0, 0.3),
        0 0 30px rgba(255, 0, 0, 0.15);
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.cc-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.cc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    width: 100%;
}

.cc-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 0, 0, 0.18);
    border-left: 3px solid #ff0000;
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 0, 0, 0.45);
    border-left-color: #ff0000;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.12);
}

.cc-video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    overflow: hidden;
}

.cc-video-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.cc-card-body {
    padding: 1.2rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.cc-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    flex-wrap: wrap;
}

.cc-role {
    color: #ff2222;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.cc-dot {
    color: rgba(255, 255, 255, 0.25);
}

.cc-date {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.cc-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
}

.cc-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .cc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cc-grid {
        grid-template-columns: 1fr;
    }

    .cc-title {
        font-size: 2rem;
    }
}

/* ── Development Page ── */
.dev-page {
    min-height: 100vh;
    padding: 130px 2rem 4rem;
    max-width: 860px;
    margin: 0 auto;
}

.dev-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.dev-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow:
        0 0 8px rgba(255, 0, 0, 0.3),
        0 0 30px rgba(255, 0, 0, 0.15);
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.dev-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.dev-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.dev-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 0, 0, 0.18);
    border-left: 3px solid #ff0000;
    border-radius: 8px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.dev-card:has(.dev-card-header[aria-expanded="true"]) {
    border-color: rgba(255, 0, 0, 0.45);
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.1);
}

.dev-card-header {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff;
    padding: 1.4rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    transition: background-color 0.2s ease;
}

.dev-card-header:hover {
    background-color: rgba(255, 0, 0, 0.05);
}

.dev-card-summary {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    min-width: 0;
}

.dev-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dev-role {
    color: #ff2222;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.dev-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    font-weight: 400;
}

.dev-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.dev-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    font-weight: 300;
}

.dev-chevron {
    font-size: 1.6rem;
    color: rgba(255, 0, 0, 0.7);
    transition: transform 0.35s ease;
    flex-shrink: 0;
    line-height: 1;
    user-select: none;
}

.dev-card-header[aria-expanded="true"] .dev-chevron {
    transform: rotate(180deg);
}

/* Collapsible body */
.dev-card-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.dev-card-body > .dev-carousel {
    overflow: hidden;
}

.dev-card-body.open {
    grid-template-rows: 1fr;
}

/* Carousel */
.dev-carousel {
    position: relative;
    background: #111;
    border-top: 1px solid rgba(255, 0, 0, 0.15);
}

.dev-carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.dev-carousel-track img {
    flex-shrink: 0;
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    display: block;
    background: #0d0d0d;
}

.dev-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    z-index: 2;
}

.dev-carousel-btn:hover {
    background: rgba(255, 0, 0, 0.25);
    border-color: rgba(255, 0, 0, 0.7);
}

.dev-carousel-prev { left: 0.75rem; }
.dev-carousel-next { right: 0.75rem; }

.dev-carousel-btn:disabled {
    opacity: 0.25;
    cursor: default;
}

.dev-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem 0;
    background: rgba(0,0,0,0.2);
}

.dev-carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.dev-carousel-dot.active {
    background: #ff2222;
    transform: scale(1.25);
}

/* ── SPA Page System ── */
.page {
    display: none;
    width: 100%;
}

.page.active {
    display: block;
    width: 100%;
    animation: pageFadeIn 0.35s ease forwards;
}

@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Fade In On Load ── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ── Staff Page ── */
.staff-page {
    min-height: 100vh;
    padding: 130px 2rem 4rem;
    max-width: 860px;
    margin: 0 auto;
}

.staff-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.staff-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow:
        0 0 8px rgba(255, 0, 0, 0.3),
        0 0 30px rgba(255, 0, 0, 0.15);
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.staff-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.staff-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.staff-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 0, 0, 0.25);
    border-left: 3px solid #ff0000;
    border-radius: 8px;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.6rem 1.8rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    width: 100%;
}

.staff-card:hover {
    border-color: rgba(255, 0, 0, 0.45);
    border-left-color: #ff0000;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
}

.staff-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    min-width: 0;
}

.staff-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.staff-role {
    color: #ff2222;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.staff-date {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    font-weight: 400;
}

.staff-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.staff-bio {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    font-weight: 300;
    margin-top: 0.1rem;
}

.staff-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s ease;
    width: fit-content;
}

.staff-link:hover {
    color: #ff2222;
}

.staff-card-logo {
    flex-shrink: 0;
    flex-grow: 0;
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    max-width: 90px;
    max-height: 90px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-card-logo img {
    width: 90px;
    height: 90px;
    max-width: 90px;
    max-height: 90px;
    object-fit: cover;
    display: block;
}

@media (max-width: 540px) {
    .staff-card {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .staff-card-logo {
        width: 64px;
        height: 64px;
        min-width: 64px;
        min-height: 64px;
        max-width: 64px;
        max-height: 64px;
    }
    .staff-card-logo img {
        width: 64px;
        height: 64px;
        max-width: 64px;
        max-height: 64px;
    }
}
