@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@500;700&display=swap');

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

body {
    background-color: hsl(0, 0%, 100%);
    font-family: 'Geist Mono', monospace;
    font-weight: 500;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    min-height: 100vh;
}

/* Static Background Image Layer */
#bg-image-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('assets/images/bg_01.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    filter: blur(6px);
    
}

/* Animated Glitch Container */
#glitch-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    filter: blur(6px);
    pointer-events: none;
}

.glitch-layer {
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.1s ease;
    will-change: transform, opacity;
}

.hidden {
    display: none !important;
}

/* Start Screen Styles */
.start-banner {
    background-color: #ffffff90;
    padding: 60px 80px;
    text-align: center;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* Buttons */
.btn {
    font-family: 'Geist Mono', monospace;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    background-color: rgba(255, 255, 255, 0.85);
    color: #000;
    padding: 18px 50px;
    font-size: 24px;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.btn:active {
    background-color: #ddd;
    transform: scale(0.98);
}

.btn--outline {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.85);
    padding: 10px 20px;
    font-size: 18px;
    letter-spacing: 0;
    text-transform: none;
}

.btn--outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn--outline:active {
    background-color: rgba(255, 255, 255, 0.3);
    transform: none;
}

.btn--outline.active {
    background-color: rgba(255, 255, 255, 0.85);
    color: #000;
}

.btn--lg {
    padding: 18px 60px;
    font-size: 32px;
}

/* Language Toggle */
.language-toggle {
    position: absolute;
    top: 30px;
    right: 40px;
    display: flex;
    gap: 10px;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 30px;
    left: 40px;
    right: 40px;
    height: 44px;
    z-index: 100;
    display: flex;
    align-items: center;
}

.progress-bar__track {
    flex: 1;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.progress-bar__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    min-width: 80px;
    background-color: rgba(255, 255, 255, 0.85);
    transition: width 0.9s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.progress-bar__indicator {
    padding-right: 20px;
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.start-title {
    font-size: 32px;
    color: #000000;
    text-transform: uppercase;
    margin: 0 0 40px 0;
    letter-spacing: 1px;
    line-height: 1.4;
}

.intro-textbox {
    background-color: #ffffff90;
    border-radius: 0px;
    padding: 40px;
    max-width: 800px;
    margin-bottom: 40px;
    box-shadow: 0 0 40px 10px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.intro-textbox p {
    color: rgb(0, 0, 0);
    font-size: 20px;
    line-height: 1.4;
    text-align: left;
    margin-bottom: 20px;
}

.intro-textbox p:last-child {
    margin-bottom: 0;
}


/* Scenario Screens Styles */
.scenario-container {
    width: 100%;
    padding: 220px 40px 40px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 10;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    align-items: start;
}

.scenario-box {
    background-color: #ffffff90;
    border-radius: 00px;
    padding: 40px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    user-select: none;
    box-shadow: 0 0 40px 10px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.scenario-box:active {
    background-color: #666;
    transform: scale(0.98);
}

.scenario-box p {
    color: rgb(0, 0, 0);
    font-size: 20px;
    line-height: 1.4;
}


/* Finish Screen Styles */
.finish-content {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding: 40px;
}

.finish-box {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 60px;
    margin-bottom: 40px;
}

.finish-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.finish-left {
    text-align: left;
}

.finish-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 200px;
}

.qr-code {
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.qr-code img {
    width: 100% !important;
    height: 100% !important;
}

.qr-code canvas {
    width: 100% !important;
    height: 100% !important;
}

.finish-title {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 40px;
}

.practices-container {
    margin-bottom: 50px;
}

.practice-paragraph {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 30px;
}

.qr-instruction {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-top: 15px;
    width: 200px;
}


.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}


