/* 로컬 폰트 정의 */
@font-face {
    font-family: 'Bangers';
    src: url('fonts/Bangers-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Permanent Marker';
    src: url('fonts/PermanentMarker-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nanum Pen Script';
    src: url('fonts/NanumPenScript-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans KR';
    src: url('fonts/NotoSansKR-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans KR';
    src: url('fonts/NotoSansKR-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

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

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans KR', 'Pretendard', 'Roboto', Arial, sans-serif;
    background: url('background.png') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    min-width: 100vw;
    width: 100vw;
    height: 100vh;
    color: #222;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}
body::before {
    content: '';
    position: fixed;
    z-index: 0;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
}
.page, .container {
    position: relative;
    z-index: 1;
}

.page {
    display: none;
    min-height: 100vh;
    padding: 20px;
    animation: fadeIn 0.5s ease-in-out;
    background: none;
    backdrop-filter: none;
}

.page.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 800px;
    min-height: 600px;
    max-width: 95vw;
    max-height: 95vh;
    padding: 64px 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    position: relative;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.game-title, .question-header, .question-content, .options {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.game-title h1 {
    font-size: 5rem;
    margin-bottom: 40px;
}
.subtitle {
    font-size: 2.5rem;
    margin-bottom: 24px;
}
.tagline {
    font-size: 1.8rem;
    margin-bottom: 36px;
}

.options {
    margin-bottom: 40px;
}

.start-button, .next-button, .restart-button {
    width: 200px;
    height: 85px;
    font-size: 2.4rem;
    border-radius: 45px;
    margin: 0 auto;
    display: block;
    font-weight: 800;
    letter-spacing: 1px;
}

/* 문제 텍스트도 가운데 정렬 */
.question-header h2, .question-content, .scenario, .question-text {
    text-align: center;
}

/* 시작 페이지 스타일 */
.oliveyoung-logo {
    margin-bottom: 18px;
    font-family: 'Noto Sans KR', 'Pretendard', Arial, sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    color: #6AA84F;
    letter-spacing: 1px;
}

.olive, .young {
    display: inline;
    font-size: 2.1rem;
    color: #6AA84F;
    font-family: inherit;
    margin: 0;
    text-shadow: none;
}

.game-title h1 {
    font-size: 4.5rem;
    font-family: 'Bangers', 'Noto Sans KR', sans-serif;
    font-weight: 800;
    color: #B6E048;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 #2B3990, 4px 4px 0 #FF7A00;
    background: linear-gradient(90deg, #B6E048 60%, #2B3990 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 2.7rem;
    color: #FF7A00;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: 'Permanent Marker', 'Noto Sans KR', sans-serif;
    text-shadow: 1px 1px 0 #fff, 2px 2px 0 #2B3990;
}

.tagline {
    font-size: 2.3rem;
    color: #2B3990;
    font-weight: 500;
    font-family: 'Nanum Pen Script', 'Permanent Marker', cursive;
    text-shadow: 1px 1px 0 #B6E048, 2px 2px 0 #fff;
}

.start-button {
    display: block;
    width: 260px;
    height: 80px;
    margin: 0 auto;
    background: #B6E048;
    color: #222;
    border: none;
    border-radius: 40px;
    font-size: 2rem;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 2px 8px rgba(182,224,72,0.08);
    letter-spacing: 1px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    z-index: 10;
}

.start-button:hover,
.start-button:active {
    background: #6AA84F;
}

/* 문제 페이지 스타일 */
.question-header h2 {
    font-size: 2.3rem;
    color: #222;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.4;
    text-shadow: none;
    font-family: inherit;
}

.question-content {
    margin-bottom: 32px;
}

.scenario {
    font-size: 1.5rem;
    color: #444;
    margin-bottom: 16px;
    line-height: 1.6;
    padding: 16px;
    background: #f4f8e8;
    border-radius: 12px;
    border-left: 4px solid #B6E048;
    box-shadow: none;
    font-family: inherit;
}

.question-text {
    font-size: 2rem;
    color: #6AA84F;
    font-weight: 600;
    text-shadow: none;
    font-family: inherit;
}

.options {
    margin-bottom: 32px;
}

.option {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 12px;
    background: #f8fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: border 0.2s, background 0.2s;
    min-height: 48px;
    touch-action: manipulation;
    font-family: inherit;
    font-size: 1rem;
    color: #222;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.option:hover,
.option:active {
    border-color: #B6E048;
    background: #f4f8e8;
}

.option.selected {
    border-color: #B6E048;
    background: #e9f5c7;
    color: #222;
}

.option.correct {
    border-color: #6AA84F;
    background: #e9f5c7;
    color: #222;
    animation: correctPulse 0.6s ease;
}

.option.incorrect {
    border-color: #FF7A00;
    background: #fff0e0;
    color: #222;
    animation: incorrectShake 0.6s ease;
}

.option-icon {
    font-size: 1.2rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.option-text {
    font-size: 1.5rem;
    color: inherit;
    line-height: 1.5;
    flex: 1;
    font-family: inherit;
}

/* 버튼 스타일 */
.next-button,
.restart-button {
    position: absolute;
    bottom: 12px;
    right: 24px;
    padding: 12px 24px;
    background: #B6E048;
    color: #222;
    border: none;
    border-radius: 24px;
    font-size: 2rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(182,224,72,0.08);
    text-shadow: none;
}

.next-button:hover,
.next-button:active,
.restart-button:hover,
.restart-button:active {
    background: #6AA84F;
}

.restart-button {
    background: #6AA84F;
    color: #fff;
}

.restart-button:hover,
.restart-button:active {
    background: #B6E048;
    color: #222;
}

/* 팝업 스타일 */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 34, 34, 0.25);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 72px;
    border-radius: 24px;
    text-align: center;
    max-width: 700px;
    width: 98%;
    box-shadow: 0 12px 48px rgba(0,0,0,0.15);
    animation: popupSlide 0.3s ease;
    border: 2.5px solid #B6E048;
    border-bottom: 4px solid #FF7A00;
    border-right: 4px solid #2B3990;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.popup-icon {
    font-size: 5rem;
    margin-bottom: 32px;
    color: #FF7A00;
    text-shadow: 2px 2px 0 #2B3990, 4px 4px 0 #B6E048;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Android Emoji', 'EmojiSymbols', 'EmojiOne Mozilla', 'Twemoji Mozilla', 'Segoe UI Symbol', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: iconPulse 2s ease-in-out infinite;
}

.popup-icon.correct {
    color: #6AA84F;
    text-shadow: 2px 2px 0 #B6E048, 4px 4px 0 #2B3990;
}

.popup-icon.incorrect {
    color: #FF7A00;
    text-shadow: 2px 2px 0 #FF5722, 4px 4px 0 #2B3990;
}

.popup-message {
    font-size: 2.2rem;
    color: #2B3990;
    font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.5;
    text-shadow: 1px 1px 0 #B6E048, 2px 2px 0 #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* 정답/오답 아이콘 스타일 */
.popup-message .result-icon {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    text-align: center;
    line-height: 2.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 8px;
    vertical-align: middle;
    animation: iconBounce 0.6s ease;
}

.popup-message .result-icon.correct {
    background: linear-gradient(135deg, #B6E048, #6AA84F);
    color: #fff;
    box-shadow: 0 4px 12px rgba(182, 224, 72, 0.4);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.popup-message .result-icon.incorrect {
    background: linear-gradient(135deg, #FF7A00, #FF5722);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.4);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* 강조 텍스트 스타일 */
.popup-message .highlight {
    color: #FF7A00;
    font-weight: 800;
    text-shadow: 1px 1px 0 #fff, 2px 2px 0 #B6E048;
}

.popup-message .success-text {
    color: #6AA84F;
    font-weight: 800;
    text-shadow: 1px 1px 0 #fff, 2px 2px 0 #B6E048;
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes correctPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes incorrectShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

@keyframes iconBounce {
    0% {
        transform: scale(0.3) rotate(-10deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 반응형 디자인 */
@media (max-width: 900px) {
    .container {
        width: 98vw;
        min-height: 60vh;
        padding: 32px 4vw;
    }
    .game-title h1 {
        font-size: 2.3rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
    .tagline {
        font-size: 1rem;
    }
    .start-button, .next-button, .restart-button {
        width: 180px;
        height: 64px;
        font-size: 1.5rem;
    }
    .popup-content {
        padding: 40px 8px;
        max-width: 98vw;
    }
    .popup-icon {
        font-size: 3rem;
        margin-bottom: 18px;
        font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Android Emoji', 'EmojiSymbols', 'EmojiOne Mozilla', 'Twemoji Mozilla', 'Segoe UI Symbol', Arial, sans-serif;
    }
    .popup-message {
        font-size: 1.2rem;
        font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', Arial, sans-serif;
    }
    .popup-message .result-icon {
        width: 2rem;
        height: 2rem;
        line-height: 2rem;
        font-size: 1.2rem;
        margin: 0 6px;
    }
}

@media (max-width: 600px) {
    .container {
        width: 100vw;
        min-height: 50vh;
        padding: 12px 2vw;
    }
    .game-title h1 {
        font-size: 1.3rem;
    }
    .subtitle {
        font-size: 1rem;
    }
    .tagline {
        font-size: 0.85rem;
    }
    .start-button, .next-button, .restart-button {
        width: 120px;
        height: 44px;
        font-size: 1.1rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .option {
        min-height: 44px;
        padding: 12px;
    }
    .start-button,
    .next-button,
    .restart-button {
        min-height: 44px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .start-button:active,
    .next-button:active,
    .restart-button:active {
        transform: scale(0.95);
    }
}

/* OX 퀴즈 전용 스타일 */

/* OX 퀴즈 문제 페이지 컨테이너 (시작 페이지 제외) - bug-hunters 스타일 + 1.7배 확대 */
.ox-quiz .page:not(#start-page) .container {
    width: 1360px;
    min-height: 1020px;
    max-width: 98vw;
    max-height: 98vh;
    padding: 108px 68px;
    background: #fff;
    border-radius: 34px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.10);
    position: relative;
    border: 2px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1500px) {
    .ox-quiz .page:not(#start-page) .container {
        width: 98vw;
        min-height: 80vh;
        padding: 5vw 2vw;
    }
}
@media (max-width: 900px) {
    .ox-quiz .page:not(#start-page) .container {
        width: 100vw;
        min-height: 100vw;
        padding: 2vw 1vw;
        border-radius: 18px;
    }
}

/* OX 옵션 컨테이너 */
.ox-options {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin: 60px 0;
    width: 100%;
    max-width: 800px;
}

/* OX 옵션 스타일 */
.ox-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 60px;
    background: rgba(255,255,255,0.95);
    border: 4px solid #B6E048;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s ease;
    min-height: 380px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    box-shadow: 0 8px 32px rgba(182,224,72,0.3);
    backdrop-filter: blur(10px);
}

.ox-option::before {
    display: none !important;
}

.ox-option:hover {
    border-color: #FF7A00;
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(255,122,0,0.4);
}

.ox-option:active {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 36px rgba(255,122,0,0.3);
}

.ox-option.selected {
    border-color: #B6E048;
    background: rgba(233,245,199,0.95);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(182,224,72,0.4);
}

.ox-option.correct {
    border-color: #6AA84F;
    background: rgba(233,245,199,0.95);
    animation: correctPulse 0.8s ease;
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(106,168,79,0.4);
}

.ox-option.incorrect {
    border-color: #FF7A00;
    background: rgba(255,240,224,0.95);
    animation: incorrectShake 0.8s ease;
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(255,122,0,0.4);
}

/* OX 텍스트 스타일 */
.ox-text {
    font-size: 16rem;
    font-weight: 900;
    color: #2B3990;
    font-family: 'Bangers', 'Permanent Marker', 'Noto Sans KR', sans-serif;
    text-shadow: 4px 4px 0 #B6E048, 8px 8px 0 #FF7A00;
    margin-bottom: 36px;
    line-height: 1;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
}

.ox-option.correct .ox-text {
    color: #6AA84F;
    text-shadow: 4px 4px 0 #e9f5c7, 8px 8px 0 #2B3990;
}

.ox-option.incorrect .ox-text {
    color: #FF7A00;
    text-shadow: 4px 4px 0 #fff0e0, 8px 8px 0 #2B3990;
}

/* OX 라벨 스타일 */
.ox-label {
    display: none !important;
}

/* OX 퀴즈 문제 헤더 스타일 */
.ox-quiz .question-header h2 {
    font-size: 5.2rem;
    font-family: 'Bangers', 'Noto Sans KR', sans-serif;
    font-weight: 900;
    line-height: 1.13;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    text-align: left;
    color: #2B3990;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-shadow: 2px 2px 0 #B6E048, 0 8px 24px rgba(43,57,144,0.10);
    display: flex;
    align-items: center;
    gap: 18px;
    word-break: keep-all;
    max-width: 100%;
    padding-top: 12px;
    padding-bottom: 18px;
    border-bottom: 8px solid #B6E048;
    width: fit-content;
    box-sizing: border-box;
}
.ox-quiz .question-header h2 .emoji {
    font-size: 3.6rem;
    margin-right: 18px;
    filter: drop-shadow(1px 1px 0 #B6E048) drop-shadow(2px 2px 0 #FF7A00);
}

/* 시나리오(설명) */
.ox-quiz .scenario {
    background: #f4f8e8;
    color: #444;
    font-size: 1.15rem;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 18px;
    margin-top: 0;
    font-family: 'Noto Sans KR', sans-serif;
    border: none;
    box-shadow: none;
    text-align: left;
}

/* 질문(어떤 게 진짜 버그일까요?) */
.ox-quiz .question-text {
    font-size: 1.7rem;
    color: #6AA84F;
    font-weight: 800;
    text-align: center;
    margin-bottom: 32px;
    margin-top: 0;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    font-family: 'Noto Sans KR', sans-serif;
    letter-spacing: -1px;
}

/* 문제 영역 여백 조정 */
.ox-quiz .container {
    padding-top: 48px;
    padding-bottom: 48px;
}

.ox-quiz .question-content {
    margin-bottom: 0;
}

/* OX 퀴즈 반응형 디자인 */
@media (max-width: 1500px) {
    .ox-options {
        gap: 60px;
        margin: 60px 0;
    }
    
    .ox-option {
        padding: 60px 30px;
        min-height: 220px;
    }
    
    .ox-text {
        font-size: 9rem;
        margin-bottom: 18px;
    }
    
    .ox-label {
        font-size: 1.8rem;
    }
    
    .ox-quiz .question-text {
        font-size: 2.2rem;
        padding: 20px 30px;
    }
    
    .ox-quiz .question-header h2 {
        font-size: 3.2rem;
        padding-top: 6px;
        padding-bottom: 10px;
    }
    .ox-quiz .question-header h2 .emoji {
        font-size: 2.2rem;
        margin-right: 8px;
    }
}

@media (max-width: 900px) {
    .ox-options {
        gap: 40px;
        margin: 40px 0;
    }
    
    .ox-option {
        padding: 30px 10px;
        min-height: 120px;
    }
    
    .ox-text {
        font-size: 5rem;
        margin-bottom: 10px;
    }
    
    .ox-label {
        font-size: 1.5rem;
    }
    
    .ox-quiz .question-text {
        font-size: 2.2rem;
        padding: 20px 30px;
    }
    
    .ox-quiz .question-header h2 {
        font-size: 1.7rem;
        padding-top: 2px;
        padding-bottom: 4px;
    }
    .ox-quiz .question-header h2 .emoji {
        font-size: 1.1rem;
        margin-right: 4px;
    }
}

/* OX 퀴즈 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
    .ox-option {
        min-height: 250px;
    }
    
    .ox-option:hover {
        transform: none;
        box-shadow: 0 8px 32px rgba(182,224,72,0.3);
    }
    
    .ox-option:active {
        transform: scale(0.98);
        box-shadow: 0 4px 16px rgba(182,224,72,0.2);
    }
    
    .ox-option.selected:hover,
    .ox-option.correct:hover,
    .ox-option.incorrect:hover {
        transform: translateY(-8px);
    }
}

/* OX 퀴즈 다음/처음으로 버튼을 OX 버튼처럼 */
.ox-quiz .next-button, .ox-quiz .restart-button {
    width: 160px;
    height: 64px;
    font-size: 1.6rem;
    border-radius: 20px;
    background: #fff;
    color: #2B3990;
    border: 3px solid #B6E048;
    font-family: 'Bangers', 'Noto Sans KR', sans-serif;
    font-weight: 900;
    box-shadow: 0 4px 16px rgba(182,224,72,0.18);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s;
    position: absolute;
    right: 32px;
    bottom: 32px;
    outline: none;
    border-bottom: 4px solid #6AA84F;
    border-right: 4px solid #FF7A00;
    letter-spacing: 1px;
    z-index: 10;
}
.ox-quiz .next-button:hover, .ox-quiz .restart-button:hover,
.ox-quiz .next-button:active, .ox-quiz .restart-button:active {
    background: #f4f8e8;
    color: #FF7A00;
    border-color: #FF7A00;
    box-shadow: 0 8px 24px rgba(255,122,0,0.18);
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .ox-quiz .next-button, .ox-quiz .restart-button {
        width: 120px;
        height: 48px;
        font-size: 1.1rem;
        right: 16px;
        bottom: 16px;
        border-radius: 14px;
    }
}

/* OX 퀴즈 문제 타이틀(문제 1. …) 더 크고 가시성 있게, width 제한 */
.ox-quiz .question-header {
    max-width: 900px;
    margin: 0 auto 28px auto;
    width: 100%;
}
.ox-quiz .question-header h2 {
    font-size: 2.8rem;
    color: #222;
    font-weight: 900;
    text-align: left;
    margin-bottom: 0;
    font-family: 'Bangers', 'Noto Sans KR', sans-serif;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 14px;
    line-height: 1.2;
    word-break: keep-all;
    max-width: 100%;
}
.ox-quiz .question-header h2 .emoji {
    font-size: 2.3rem;
    margin-right: 8px;
}

/* OX 퀴즈에서 질문 문구 숨김 */
.ox-quiz .question-text {
    display: none !important;
} 