body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 20px;
    background: #121212;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.1'/%3E%3C/svg%3E");
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

h1 {
    font-size: 5em;
    background: linear-gradient(to right, blue, green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideInFromTop 1s ease-out;
    transition: transform 0.3s ease;
    text-align: left;
}

h1:hover {
    transform: scale(1.05);
}

h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: slideInFromTop 1s ease-out;
    transition: all 0.3s ease;
    text-align: left;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

h3 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: slideInFromTop 1s ease-out;
    transition: all 0.3s ease;
    background: linear-gradient(
        135deg,
        rgba(0, 150, 255, 0.1),
        rgba(0, 150, 255, 0.1)
    );
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

h2:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.1)
    );
    color: #0096ff;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 150, 255, 0.4);
}

h3:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 150, 255, 0.2),
        rgba(0, 150, 255, 0.2)
    );
    color: #0096ff;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 150, 255, 0.3);
}

figcaption {
    text-align: center;
}

#toc {
    margin: 20px 0;
}

#toc ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#toc li {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

#toc li:hover {
    background: rgba(255, 255, 255, 0.2);
}

#toc a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

#toc a:hover {
    color: #0096ff;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

p {
    line-height: 1.6;
    animation: fadeIn 2s ease-in;
    transition: color 0.3s ease;
    word-wrap: break-word;
    width: 600px;
}

p:hover {
    color: #aaa;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

img {
    width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    animation: zoomIn 1.5s ease-out;
    /*margin: 20px auto;*/
    clear: both;
}

img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 150, 255, 0.5);
    filter: brightness(1.1);
}

.image-gallery {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
    width: 600px;
}

.image-gallery img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0;
}

.image-gallery figure {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 0;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

video {
    width: 600px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: slideInFromLeft 2s ease-out;
    margin: 20px auto;
    clear: both;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

video:hover {
    box-shadow: 0 8px 20px rgba(0, 150, 255, 0.5);
    transform: scale(1.02);
    filter: brightness(1.1);
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

nav#toc ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

nav#toc li {
    background: linear-gradient(
        135deg,
        rgba(0, 150, 255, 0.1),
        rgba(0, 150, 255, 0.1)
    );
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

nav#toc li:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 150, 255, 0.2),
        rgba(0, 150, 255, 0.2)
    );
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 150, 255, 0.3);
}

nav#toc a {
    text-decoration: none;
    color: white;
    padding: 12px 20px;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 8px;
}

nav#toc a:hover {
    color: #0096ff;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.5);
}

/* Team Member */
.image-item {
    width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 50%;
    transition: border-radius 0.6s ease;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Line Horizontal */
.gallery {
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}
