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

body {
    min-height: 100vh;
    color: white;
    overflow: hidden;
    user-select: none;
    background: #000;
}

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

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

.content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
}

.title-container {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.title {
    font-family: 'DotGothic16', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    letter-spacing: 12px;
    text-transform: lowercase;
    color: rgba(255, 255, 255, 0.9);
    display: inline-block;
    padding: 10px;
    will-change: transform, text-shadow;
    transform: translate3d(0, 0, 0);
    white-space: nowrap;
    transition: text-shadow 0.3s ease;
}

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                     0 0 20px rgba(255, 255, 255, 0.5),
                     0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.9),
                     0 0 25px rgba(255, 255, 255, 0.6),
                     0 0 35px rgba(255, 255, 255, 0.4);
    }
    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                     0 0 20px rgba(255, 255, 255, 0.5),
                     0 0 30px rgba(255, 255, 255, 0.3);
    }
}

.title:hover {
    animation: glowPulse 2s ease-in-out infinite;
}

.info-container {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ca-container {
    font-family: 'Montserrat', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    max-width: 500px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.ca-label {
    font-size: 16px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.ca-copy-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

#ca-input {
    font-family: 'Montserrat', sans-serif;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    color: white;
    border-radius: 5px;
    width: 300px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

#ca-input:hover {
    background: rgba(255, 255, 255, 0.1);
}

.copy-button {
    font-family: 'Montserrat', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.copy-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

#copy-message {
    font-family: 'Montserrat', sans-serif;
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.gallery-container {
    position: relative;
    width: 100%;
}

.gallery-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.15),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    z-index: -1;
}

.gallery {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.gallery.active {
    cursor: grabbing;
}

.gallery-track {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.gallery-track img {
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }
    
    .gallery-track img {
        height: 150px;
    }
}
