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

body {
    overflow-x: hidden;
    overflow-y: auto;
    background: #0a0a0f;
    font-family: 'Helvetica', sans-serif;
    scroll-behavior: smooth;
}

#app {
    width: 100vw;
    height: 100vh;
    position: relative;
}

/* Hero Section - Animation Container */
#hero-section {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

#logo {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: auto;
    opacity: 1;
    z-index: 5;
    pointer-events: none;
}

/* Decorative Line between Logo and Projects */
#decorative-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 70px;
    background: rgba(255, 255, 255, 1);
    z-index: 4;
    pointer-events: none;
    transition: transform 0.3s ease-out;
}

#displacement-wrapper {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: none;
    font-family: 'Helvetica', sans-serif;
}

#displacement-progress {
    width: 5.4ch;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

#displacement-progress-fill {
    width: 0%;
    height: 100%;
    background: #ffffff;
    transition: width 0.2s ease-out;
}

#displacement-counter {
    color: #ffffff;
    font-size: 18px;
    min-width: 5.4ch;
    text-align: center;
    pointer-events: none;
    font-family: 'Helvetica', sans-serif;
}

#inner-explosion-circle {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transform: scale(1);
    z-index: 4;
}

/* Sections Container */
#sections-container {
    width: 100%;
    background: #0a0a0f;
}

/* Content Section */
.content-section {
    width: 100%;
    min-height: 100vh;
    background: #0a0a0f;
    padding: 80px 20px;
    position: relative;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 60px;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.projects-feed {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.project-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-item:nth-child(even) {
    direction: rtl;
}

.project-item:nth-child(even) .project-content {
    direction: ltr;
}

.project-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease;
}

.project-image:hover {
    transform: scale(1.02);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.project-image:hover img {
    opacity: 1;
}

/* Project overlay and link */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.project-link svg {
    transition: transform 0.3s ease;
}

.project-link:hover svg {
    transform: translateX(2px) translateY(-2px);
}

.project-content {
    padding: 20px;
}

/* Project number removed - using drag & drop ordering in admin */

.project-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.3;
}

.project-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tag {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.project-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Social Media Section */
.social-media-section {
    width: 100%;
    min-height: 30vh;
    background: #0a0a0f;
    padding: 120px 40px;
    position: relative;
}

.social-media-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.social-media-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 60px;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.social-icon-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Text Section */
.text-section {
    width: 100%;
    background: #0a0a0f;
    padding: 100px 20px;
    position: relative;
}

.text-section-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.text-section-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 10px 0;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    color: #ffffff;
    font-size: 30px;
    font-weight: 400;
    margin: 0;
    text-align: center;
    letter-spacing: 0.02em;
}

.text-section-content {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Responsive Design */
@media (max-width: 968px) {
    .project-item,
    .project-item:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 30px;
    }

    .section-title,
    .social-media-title,
    .text-section-title {
        font-size: 36px;
    }

    .project-title {
        font-size: 28px;
    }

    .content-section,
    .social-media-section {
        padding: 60px 20px;
    }

    .projects-feed {
        gap: 60px;
    }

    .social-icons {
        gap: 25px;
    }
}

@media (max-width: 640px) {
    .section-title,
    .social-media-title,
    .text-section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .project-title {
        font-size: 24px;
    }

    .project-description {
        font-size: 14px;
    }

    .content-section,
    .social-media-section,
    .text-section {
        padding: 40px 16px;
    }

    .text-section-content {
        font-size: 16px;
    }

    .profile-header {
        gap: 12px;
        padding: 8px 0;
        margin-bottom: 12px;
    }

    .profile-avatar {
        width: 40px;
        height: 40px;
    }

    .profile-name {
        font-size: 20px;
    }

    .social-icon-link {
        width: 45px;
        height: 45px;
    }

    .social-icon-link svg {
        width: 22px;
        height: 22px;
    }

    .social-icons {
        gap: 20px;
    }
}

/* Video Section - Background Video Style */
.video-section {
    width: 100%;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.video-section-container {
    width: 100%;
    height: 100%;
    min-height: 80vh;
    position: relative;
}

/* Video Background Wrapper */
.video-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.8;
}

/* 45-degree black diagonal stripe overlay - 1px width, denser spacing */
.video-overlay-stripes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 6px,
        rgba(0, 0, 0, 1) 6px,
        rgba(0, 0, 0, 1) 7px
    );
}

/* Content Overlay */
.video-content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
    background: rgba(10, 10, 15, 0.3);
}

.video-section-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 30px;
    opacity: 1;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Responsive Video Section */
@media (max-width: 968px) {
    .video-section-title {
        font-size: 36px;
    }

    .video-content-overlay {
        padding: 60px 20px;
    }

    .video-description {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .video-section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .video-content-overlay {
        padding: 40px 16px;
    }

    .video-description {
        font-size: 14px;
    }
}

/* Background Music Player */
#music-player {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    padding: 12px 16px;
    background: rgba(10, 10, 15, 0.8);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

#music-player:hover {
    background: rgba(10, 10, 15, 0.9);
}

.music-title-wrapper {
    max-width: none;
    overflow: hidden;
    position: relative;
    transition: max-width 0.3s ease;
}

.music-title-wrapper.is-scrolling {
    max-width: 120px;
}

#music-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 9px;
    font-family: 'Helvetica', sans-serif;
    letter-spacing: 0.05em;
    white-space: nowrap;
    display: inline-block;
    transform: translateX(0);
    padding-left: 0;
    transition: padding-left 0.3s ease;
}

#music-title.is-scrolling {
    animation: scroll-text-right 8s linear infinite;
    padding-left: 40px;
}

#music-title::before {
    content: none;
}

#music-title.is-scrolling::before {
    content: attr(data-text);
    position: absolute;
    left: -100%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 9px;
    font-family: 'Helvetica', sans-serif;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

@keyframes scroll-text-right {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.music-control-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.music-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.music-control-btn:active {
    transform: scale(0.95);
}

/* Responsive Music Player */
@media (max-width: 640px) {
    #music-player {
        top: 12px;
        left: 12px;
        padding: 8px 12px;
        gap: 8px;
    }

    .music-title-wrapper.is-scrolling {
        max-width: 80px;
    }

    #music-title {
        font-size: 8px;
    }

    .music-control-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
}

/* Partner Section - Horizontal Scrolling Logos */
.partner-section {
    width: 100%;
    background: #0a0a0f;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.partner-section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.partner-section-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 60px;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.partner-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partner-scroll-track {
    display: flex;
    gap: 60px;
    animation: scroll-partners 30s linear infinite;
    width: max-content;
}

/* Pause animation on hover */
.partner-scroll-container:hover .partner-scroll-track {
    animation-play-state: paused;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo-item {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.partner-logo-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.partner-logo-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.partner-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-logo-item:hover img {
    opacity: 1;
}

/* Responsive Partner Section */
@media (max-width: 968px) {
    .partner-section {
        padding: 60px 20px;
    }

    .partner-section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .partner-scroll-track {
        gap: 40px;
    }

    .partner-logo-item {
        width: 150px;
        height: 100px;
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .partner-section {
        padding: 40px 16px;
    }

    .partner-section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .partner-scroll-track {
        gap: 30px;
    }

    .partner-logo-item {
        width: 120px;
        height: 80px;
        padding: 16px;
    }
}
