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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

@media (min-aspect-ratio: 16/9) {
    #bgVideo {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    #bgVideo {
        width: auto;
        height: 100%;
    }
}

.logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.logo img {
    height: 34px;
    width: auto;
}

.content-overlay {
    position: relative;
    z-index: 1;
    color: white;
    padding: 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding-right: 5vw;
}

.main-content {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.main-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 50px;
}

.instruction {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.qr-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    color: white;
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 8px 0 20px 0;
    display: block;
}

.pc-website-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 5px 0;
    border-bottom: 1px solid white;
}

@keyframes breathingEffect {
    0%, 100% {
        background-color: rgba(0, 0, 0, 0.5);
    }
    50% {
        background-color: rgba(128, 128, 128, 0.7);
    }
}

.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 22px 38px;
    border-radius: 12px;
    z-index: 3;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.5em;
    text-align: center;
    min-width: 400px;
    pointer-events: none;
}

.toast.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.mute-toggle {
    position: fixed;
    bottom: 18vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 34px;
    padding: 13px 27px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 11px;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: breathingEffect 2s ease-in-out infinite;
}

.mute-toggle.sound-on {
    left: 30px;
    transform: translateX(0);
    padding: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    animation: none;
}

.mute-toggle.sound-on:hover {
    background: rgba(0, 0, 0, 0.4);
}

.mute-toggle.sound-on img {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.mute-toggle.sound-on #muteText {
    width: 0;
    opacity: 0;
    margin-left: -11px;
}

#muteText {
    color: white;
    font-size: 19px;
    font-weight: 500;
    white-space: nowrap;
    display: block;
    line-height: 1;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    opacity: 1;
    overflow: hidden;
}

.mute-toggle img {
    width: 27px;
    height: 27px;
    filter: invert(1);
    display: block;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-button {
    background: transparent;
    border: 2px solid #fff;
    border-radius: 15px;
    padding: 9px 18px;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 20px;
}

.contact-button:hover {
    background: transparent;
} 