body {
    background: #fff;
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-text {
    font-size: 2rem;
    color: #222;
    text-align: center;
}

.main-menu, .donate-page {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('main_bg.jpg') center center/cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    overflow: auto;
}
.main-menu::before, .donate-page::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, rgba(10,15,20,0.82) 0%, rgba(30,40,50,0.62) 100%);
    z-index: 1;
    pointer-events: none;
}
.main-menu > *, .donate-page > * {
    position: relative;
    z-index: 2;
}
.start-btn, .donate-btn {
    font-size: 2.1rem;
    min-width: 320px;
    height: 64px;
    padding: 0 2.5rem;
    margin-bottom: 2.2rem;
    background: rgba(30,40,30,0.92);
    color: #7ed957;
    border: 2.5px solid #7ed957;
    border-radius: 32px;
    cursor: pointer;
    font-family: 'Noto Serif', serif;
    font-weight: 900;
    letter-spacing: 0.14em;
    box-shadow: 0 4px 24px #000a, 0 0 32px #7ed95722, inset 0 2px 12px #7ed95722;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s, transform 0.15s;
    outline: none;
    display: block;
    text-align: center;
}
.start-btn:hover, .donate-btn:hover {
    background: #7ed957;
    color: #232b1a;
    border: 2.5px solid #232b1a;
    box-shadow: 0 0 32px #7ed95766, 0 2px 8px #000a, inset 0 2px 12px #232b1a22;
    transform: scale(1.06);
}
.donate-page {
    background: url('main_bg.jpg') center center/cover no-repeat;
}
.donate-page::before {
    background: linear-gradient(120deg, rgba(10,15,20,0.88) 0%, rgba(30,40,50,0.72) 100%);
}
.donate-page .donate-message, .donate-page .donate-options, .donate-page .back-btn {
    z-index: 2;
}
.donate-page .donate-message {
    background: rgba(30,40,30,0.92);
    color: #e6c15a;
    box-shadow: 0 2px 12px #000a;
}
.donate-page .donate-card {
    background: rgba(255,255,255,0.92);
    color: #232b1a;
}
.donate-page .donate-card:hover {
    background: #fffbe6;
    color: #222;
}

.game-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 3rem;
    color: #7ed957;
    letter-spacing: 0.22em;
    text-align: center;
    text-shadow: 0 0 32px #7ed957, 0 2px 8px #000a, 0 1px 0 #232b1a;
    background: rgba(20, 30, 20, 0.72);
    border-radius: 18px;
    padding: 0.7em 2.5em;
    display: inline-block;
    box-shadow: 0 2px 16px #000a;
}

.donate-page h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #222;
}

.donate-option {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #333;
}

.donate-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
}

.back-btn {
    font-size: 2.1rem;
    min-width: 320px;
    height: 64px;
    padding: 0 2.5rem;
    margin-top: 2.2rem;
    background: rgba(30,40,30,0.92);
    color: #7ed957;
    border: 2.5px solid #7ed957;
    border-radius: 32px;
    cursor: pointer;
    font-family: 'Noto Serif', serif;
    font-weight: 900;
    letter-spacing: 0.14em;
    box-shadow: 0 4px 24px #000a, 0 0 32px #7ed95722, inset 0 2px 12px #7ed95722;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s, transform 0.15s;
    outline: none;
    display: block;
    text-align: center;
}
.back-btn:hover {
    background: #7ed957;
    color: #232b1a;
    border: 2.5px solid #232b1a;
    box-shadow: 0 0 32px #7ed95766, 0 2px 8px #000a, inset 0 2px 12px #232b1a22;
    transform: scale(1.06);
}

.sudoku-room {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: url('room1_bg.jpg') center center/cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}
.sudoku-room::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 20, 10, 0.65); /* dark overlay for readability */
    z-index: 1;
}
.sudoku-room > * {
    position: relative;
    z-index: 2;
}

#sudoku-board {
    display: grid;
    grid-template-columns: repeat(9, 48px);
    grid-template-rows: repeat(9, 48px);
    gap: 0;
    margin-bottom: 2rem;
    background: rgba(222, 184, 135, 0.85); /* bamboo color */
    padding: 10px;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    border: 6px solid #bfa76a;
}

.sudoku-cell {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #e6d3a3 80%, #bfa76a 100%);
    border: 2px solid #bfa76a;
    box-sizing: border-box;
    border-radius: 10px;
    margin: 1px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Thicker borders for 3x3 boxes */
.sudoku-cell:nth-child(3n+1) {
    border-left-width: 5px;
}
.sudoku-cell:nth-child(n+19):nth-child(-n+27),
.sudoku-cell:nth-child(n+46):nth-child(-n+54),
.sudoku-cell:nth-child(n+73):nth-child(-n+81) {
    border-bottom-width: 5px;
}

.sudoku-fixed {
    font-weight: bold;
    color: #3e2c0a;
    text-shadow: 0 1px 0 #fff8e1;
    font-family: 'Noto Serif', serif;
}

.sudoku-input {
    width: 100%;
    height: 100%;
    color: #3e7d2c;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-size: 1.5rem;
    background: transparent;
    outline: none;
    box-sizing: border-box;
    font-family: 'Noto Serif', serif;
}
.sudoku-input:focus {
    background: rgba(186, 217, 145, 0.25);
    border: 2px solid #7a9c4b;
}

.hint-btn, .next-room-btn {
    font-size: 1.1rem;
    padding: 0.7rem 2.5rem;
    background: linear-gradient(90deg, #e6d3a3 80%, #bfa76a 100%);
    color: #3e2c0a;
    border: 2px solid #bfa76a;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 1rem;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s, color 0.2s;
}
.hint-btn:hover, .next-room-btn:hover {
    background: #bfa76a;
    color: #fff;
}

.hint-box {
    font-size: 1.1rem;
    color: #3e2c0a;
    background: rgba(255, 248, 225, 0.95);
    border: 2px solid #bfa76a;
    border-radius: 10px;
    padding: 0.7rem 1.5rem;
    margin-top: 0.5rem;
    text-align: center;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.sudoku-room h2 {
    color: #fff8e1;
    text-shadow: 0 2px 8px #3e2c0a;
    font-family: 'Noto Serif', serif;
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

/* Room Two lock puzzle styles */
.next-room {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100vw;
    height: 100vh;
    background: url('room2_bg.jpg') center center/cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}
.next-room::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 15, 20, 0.08); /* almost transparent overlay */
    z-index: 1;
    pointer-events: none;
}
.next-room > * {
    position: relative;
    z-index: 2;
}
.next-room h2 {
    color: #7ed957;
    text-shadow: 0 6px 32px #000, 0 2px 0 #23272b;
    font-family: 'Noto Serif', serif;
    font-size: 2.5rem;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}
.lock-puzzle-container {
    background: rgba(40, 44, 54, 0.55);
    border-radius: 22px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.45);
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 440px;
    margin-bottom: 2rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
}
.lock-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.2rem;
}
.lock-svg {
    display: none;
}
.lock-body {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    gap: 1.2rem;
    box-shadow: none;
    margin-top: 0;
}
.lock-digit {
    width: 48px;
    height: 56px;
    font-size: 2.2rem;
    text-align: center;
    border: 2.5px solid #7ed957;
    border-radius: 12px;
    background: rgba(30,40,30,0.85);
    color: #7ed957;
    font-family: 'Noto Serif', serif;
    margin: 0 2px;
    outline: none;
    box-shadow: 0 2px 8px #0006;
    transition: border 0.2s, box-shadow 0.2s;
    letter-spacing: 0.1em;
}
.lock-digit:focus {
    border: 2.5px solid #fff;
    background: #23272b;
    box-shadow: 0 0 8px #7ed95799, 0 2px 8px #0008;
}
.lock-submit-btn, .lock-next-room-btn {
    font-size: 1.1rem;
    padding: 0.7rem 2.5rem;
    background: #23272b;
    color: #7ed957;
    border: 2px solid #7ed957;
    border-radius: 12px;
    cursor: pointer;
    margin: 1.2rem 0 1.2rem 0;
    font-family: 'Noto Serif', serif;
    box-shadow: none;
    transition: background 0.2s, color 0.2s, border 0.2s;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.lock-submit-btn:hover, .lock-next-room-btn:hover {
    background: #7ed957;
    color: #23272b;
    border: 2px solid #23272b;
}
.lock-success-msg {
    color: #7ed957;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
    font-family: 'Noto Serif', serif;
    text-shadow: 0 2px 8px #000a;
}
.lock-clues {
    margin-top: 1.2rem;
    font-family: 'Noto Serif', serif;
    color: #e0e0e0;
    font-size: 1.08rem;
    width: 100%;
    text-shadow: 0 2px 8px #000a;
}
.lock-clue {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
}
.lock-numbers {
    display: inline-block;
    background: #23272b;
    color: #7ed957;
    font-family: 'Noto Serif', serif;
    font-size: 1.1rem;
    padding: 0.18em 0.6em;
    border-radius: 6px;
    margin-right: 0.7em;
    letter-spacing: 0.15em;
    box-shadow: 0 1px 4px #0006;
}
.lock-submit-btn.shake-red, .lock-next-room-btn.shake-red {
    animation: shakeRed 0.4s;
    background: #d32f2f !important;
    color: #fff !important;
    border: 2px solid #d32f2f !important;
}
@keyframes shakeRed {
    0% { transform: translateX(0); }
    20% { transform: translateX(18px); }
    40% { transform: translateX(-18px); }
    60% { transform: translateX(12px); }
    80% { transform: translateX(-12px); }
    100% { transform: translateX(0); }
}

.memory-room {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: url('room03_bg.jpg') center center/cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}
.memory-room::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, rgba(10,15,20,0.82) 0%, rgba(30,40,50,0.62) 100%);
    z-index: 1;
    pointer-events: none;
}
.memory-room > * {
    position: relative;
    z-index: 2;
}
.memory-room h2 {
    color: #7ed957;
    text-shadow: 0 6px 32px #000, 0 2px 0 #23272b;
    font-family: 'Noto Serif', serif;
    font-size: 3.2rem;
    margin-top: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.16em;
    font-weight: 900;
    text-align: center;
}
.memory-start-btn {
    margin-bottom: 1.2rem;
}
.memory-board {
    display: grid;
    grid-template-columns: repeat(6, 64px);
    grid-template-rows: repeat(4, 88px);
    gap: 18px;
    background: rgba(20, 30, 20, 0.55);
    border-radius: 18px;
    padding: 32px 24px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.65);
    margin-bottom: 0.8rem;
    justify-content: center;
}
.memory-status {
    color: #fff;
    font-size: 1.5rem;
    font-family: 'Noto Serif', serif;
    margin-bottom: 1.1rem;
    margin-top: 0.5rem;
    text-shadow: 0 2px 8px #000a, 0 0 4px #7ed95799;
    min-height: 2.2rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.memory-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 1.5rem;
}
.memory-hint-btn {
    position: absolute;
    top: 32px;
    right: 40px;
    z-index: 10;
    font-size: 1.1rem;
    min-width: 44px;
    height: 44px;
    width: 44px;
    background: #232b1a;
    color: #7ed957;
    border: 2.5px solid #7ed957;
    border-radius: 50%;
    cursor: pointer;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 2px 16px #7ed95733, 0 2px 12px #000a;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s, transform 0.15s;
    font-weight: 900;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 0;
    outline: none;
}
.memory-hint-btn:hover {
    background: #7ed957;
    color: #232b1a;
    border: 2.5px solid #232b1a;
    box-shadow: 0 0 32px #7ed95766, 0 2px 8px #000a;
    transform: scale(1.07);
}
.memory-hint-tooltip {
    visibility: hidden;
    opacity: 0;
    width: 90px;
    background: #232b1a;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 6px 0;
    position: absolute;
    z-index: 20;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 8px #000a;
    transition: opacity 0.2s;
    pointer-events: none;
}
.memory-hint-btn:hover .memory-hint-tooltip {
    visibility: visible;
    opacity: 1;
}
.memory-start-btn {
    font-size: 1.4rem;
    min-width: 180px;
    height: 56px;
    background: #181f1a;
    color: #7ed957;
    border: 2.5px solid #7ed957;
    border-radius: 16px;
    cursor: pointer;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 2px 12px #000a;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
    font-weight: 900;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
}
.memory-start-btn:hover {
    background: #7ed957;
    color: #181f1a;
    border: 2.5px solid #181f1a;
    box-shadow: 0 0 24px #7ed95799, 0 2px 8px #000a;
}
.memory-card {
    width: 64px;
    height: 88px;
    background: #181f1a;
    border: 2.5px solid #7ed957;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #7ed957;
    font-family: 'Noto Serif', serif;
    cursor: pointer;
    box-shadow: 0 2px 8px #000a;
    position: relative;
    transition: transform 0.2s, background 0.2s, color 0.2s, border 0.2s;
    user-select: none;
}
.memory-card.face-down {
    background: #181f1a;
    color: transparent;
    border: 2.5px solid #444;
}
.memory-card.matched {
    background: #7ed957;
    color: #181f1a;
    border: 2.5px solid #7ed957;
    cursor: default;
    box-shadow: 0 0 16px #7ed95799;
}
.memory-card.selected {
    background: #fff;
    color: #23272b;
    border: 2.5px solid #fff;
    transform: scale(1.08);
}
.room-four {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: url('room04_bg.jpg') center center/cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}
.room-four::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, rgba(10,30,30,0.72) 0%, rgba(20,40,40,0.62) 100%);
    z-index: 1;
    pointer-events: none;
}
.room-four > * {
    position: relative;
    z-index: 2;
}
.room-four h2 {
    color: #e6c15a;
    text-shadow: 0 6px 32px #000, 0 2px 0 #23272b;
    font-family: 'Noto Serif', serif;
    font-size: 3.2rem;
    margin-top: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.16em;
    font-weight: 900;
    text-align: center;
}
.room-four-content {
    background: rgba(40, 36, 24, 0.72);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.55);
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 420px;
    margin-bottom: 2rem;
}
.room-four-btn {
    font-size: 1.3rem;
    min-width: 180px;
    padding: 1rem 0;
    background: #3a2f1a;
    color: #e6c15a;
    border: 2.5px solid #e6c15a;
    border-radius: 16px;
    cursor: pointer;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 2px 12px #000a;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
    font-weight: 900;
    letter-spacing: 0.08em;
    display: block;
    margin: 1.2rem auto 0 auto;
    text-align: center;
}
.room-four-btn:hover {
    background: #e6c15a;
    color: #3a2f1a;
    border: 2.5px solid #3a2f1a;
    box-shadow: 0 0 24px #e6c15a99, 0 2px 8px #000a;
}
.a1z26-phrase {
    color: #fff;
    font-size: 2rem;
    font-family: 'Noto Serif', serif;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 8px #000a, 0 0 4px #7ed95799;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.a1z26-cipher {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.2rem;
}
.a1z26-numbers {
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    margin-bottom: 0.7rem;
}
.a1z26-numbers span {
    color: #7ed957;
    font-size: 1.6rem;
    font-family: 'Noto Serif', serif;
    font-weight: 700;
    text-shadow: 0 2px 8px #000a;
    min-width: 32px;
    text-align: center;
}
.a1z26-inputs {
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
}
.a1z26-input {
    width: 32px;
    height: 48px;
    font-size: 2rem;
    text-align: center;
    border: 2.5px solid #7ed957;
    border-radius: 10px;
    background: #181f1a;
    color: #7ed957;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 2px 8px #000a;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    font-weight: 700;
}
.a1z26-input:focus {
    border: 2.5px solid #fff;
    background: #23272b;
    box-shadow: 0 0 8px #7ed95799, 0 2px 8px #0008;
}
.a1z26-next-room-btn {
    font-size: 1.4rem;
    min-width: 180px;
    padding: 1rem 0;
    background: #181f1a;
    color: #7ed957;
    border: 2.5px solid #7ed957;
    border-radius: 16px;
    cursor: pointer;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 2px 12px #000a;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
    font-weight: 900;
    letter-spacing: 0.08em;
    display: block;
    margin: 0 auto;
    text-align: center;
}
.a1z26-next-room-btn:hover {
    background: #7ed957;
    color: #181f1a;
    border: 2.5px solid #181f1a;
    box-shadow: 0 0 24px #7ed95799, 0 2px 8px #000a;
}

.room-five {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: url('end_bg.jpg') center center/cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}
.room-five h2 {
    color: #e6c15a;
    text-shadow: 0 6px 32px #000, 0 2px 0 #23272b;
    font-family: 'Noto Serif', serif;
    font-size: 3.2rem;
    margin-top: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.16em;
    font-weight: 900;
    text-align: center;
}
.room-five-content {
    background: rgba(40, 36, 24, 0.72);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.55);
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 420px;
    margin-bottom: 2rem;
}
.room-five-btn {
    font-size: 1.3rem;
    min-width: 180px;
    padding: 1rem 0;
    background: #3a2f1a;
    color: #e6c15a;
    border: 2.5px solid #e6c15a;
    border-radius: 16px;
    cursor: pointer;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 2px 12px #000a;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
    font-weight: 900;
    letter-spacing: 0.08em;
    display: block;
    margin: 1.2rem auto 0 auto;
    text-align: center;
}
.room-five-btn:hover {
    background: #e6c15a;
    color: #3a2f1a;
    border: 2.5px solid #3a2f1a;
    box-shadow: 0 0 24px #e6c15a99, 0 2px 8px #000a;
}
.room-five-question {
    color: #e6c15a;
    font-size: 2rem;
    font-family: 'Noto Serif', serif;
    margin-bottom: 2.2rem;
    text-shadow: 0 2px 8px #000a, 0 0 4px #e6c15a99;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.04em;
}
.room-five-answer {
    width: 320px;
    height: 54px;
    font-size: 1.5rem;
    text-align: center;
    border: 2.5px solid #e6c15a;
    border-radius: 12px;
    background: #181f1a;
    color: #e6c15a;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 2px 8px #000a;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    font-weight: 700;
    margin-bottom: 2rem;
}
.room-five-answer:focus {
    border: 2.5px solid #fff;
    background: #23272b;
    box-shadow: 0 0 8px #e6c15a99, 0 2px 8px #0008;
}
.room-five-end-btn {
    font-size: 1.4rem;
    min-width: 180px;
    padding: 1rem 0;
    background: #3a2f1a;
    color: #e6c15a;
    border: 2.5px solid #e6c15a;
    border-radius: 16px;
    cursor: pointer;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 2px 12px #000a;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
    font-weight: 900;
    letter-spacing: 0.08em;
    display: block;
    margin: 0 auto;
    text-align: center;
}
.room-five-end-btn:hover {
    background: #e6c15a;
    color: #3a2f1a;
    border: 2.5px solid #3a2f1a;
    box-shadow: 0 0 24px #e6c15a99, 0 2px 8px #000a;
}
.end-room {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: url('end_sunny.jpg') center center/cover no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}
.end-banner {
    color: #e6c15a;
    text-shadow: 0 8px 40px #000, 0 2px 0 #23272b;
    font-family: 'Noto Serif', serif;
    font-size: 4.5rem;
    margin-top: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.18em;
    font-weight: 900;
    text-align: center;
}
.end-message {
    color: #333;
    font-size: 1.5rem;
    font-family: 'Noto Serif', serif;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    border: 1.5px solid #e6c15a;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 2.2rem 2.5rem 2.2rem 2.5rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-align: center;
    font-weight: 600;
    text-shadow: none;
}
.end-btn {
    font-size: 1.3rem;
    min-width: 180px;
    padding: 1rem 0;
    background: #ffe082;
    color: #3a2f1a;
    border: 2.5px solid #ffe082;
    border-radius: 16px;
    cursor: pointer;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 2px 12px #0003;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
    font-weight: 900;
    letter-spacing: 0.08em;
    display: block;
    margin: 1.2rem auto 0 auto;
    text-align: center;
}
.end-btn:hover {
    background: #fffbe6;
    color: #bfa76a;
    border: 2.5px solid #bfa76a;
    box-shadow: 0 0 24px #ffe08299, 0 2px 8px #0003;
}

.lock-hint-btn, .memory-hint-btn, .a1z26-hint-btn, .room-five-hint-btn {
    font-size: 1.1rem;
    padding: 0.6rem 2.2rem;
    background: #23272b;
    color: #7ed957;
    border: 2px solid #7ed957;
    border-radius: 12px;
    cursor: pointer;
    margin: 1.2rem 0 0.5rem 0;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: background 0.2s, color 0.2s;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: block;
}
.lock-hint-btn:hover, .memory-hint-btn:hover, .a1z26-hint-btn:hover, .room-five-hint-btn:hover {
    background: #7ed957;
    color: #23272b;
}
.lock-hint-box, .memory-hint-box, .a1z26-hint-box, .room-five-hint-box {
    font-size: 1.1rem;
    color: #fff;
    background: rgba(40, 44, 54, 0.92);
    border: 2px solid #7ed957;
    border-radius: 10px;
    padding: 0.7rem 1.5rem;
    margin-top: 0.5rem;
    text-align: center;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.memory-hint-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 15, 20, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.memory-hint-modal-content {
    background: #23272b;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.65);
    padding: 2.2rem 2.5rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 320px;
    max-width: 90vw;
    position: relative;
    animation: fadeIn 0.2s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.memory-hint-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #7ed957;
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    z-index: 1;
    line-height: 1;
}
.memory-hint-close:hover {
    color: #fff;
    transform: scale(1.2) rotate(90deg);
}
.memory-hint-box {
    font-size: 1.2rem;
    color: #fff;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0.7rem 1.5rem;
    margin-top: 0.5rem;
    text-align: center;
    font-family: 'Noto Serif', serif;
    box-shadow: none;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.memory-room {
    position: relative;
}

.home-btn {
    position: absolute;
    top: 28px;
    left: 32px;
    z-index: 1002;
    width: 44px;
    height: 44px;
    background: #232b1a;
    color: #7ed957;
    border: 2.5px solid #7ed957;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 16px #7ed95733, 0 2px 12px #000a;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s, transform 0.15s;
    outline: none;
}
.home-btn:hover {
    background: #7ed957;
    color: #232b1a;
    border: 2.5px solid #232b1a;
    box-shadow: 0 0 32px #7ed95766, 0 2px 8px #000a;
    transform: scale(1.07);
}

.donate-message {
    font-size: 1.2rem;
    color: #333;
    background: rgba(255,255,255,0.92);
    border-radius: 12px;
    padding: 1.1rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 2px 12px #0001;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.donate-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.donate-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f8f8;
    border: 2px solid #e6c15a;
    border-radius: 14px;
    padding: 1rem 2rem;
    font-size: 1.08rem;
    color: #222;
    font-family: 'Noto Serif', serif;
    box-shadow: 0 2px 12px #0001;
    transition: box-shadow 0.2s, border 0.2s, background 0.2s, color 0.2s, transform 0.15s;
    min-width: 260px;
    cursor: pointer;
    text-decoration: none;
}
.donate-card:hover {
    box-shadow: 0 4px 24px #e6c15a55, 0 2px 8px #0002;
    border: 2px solid #7ed957;
    background: #fffbe6;
    color: #222;
    transform: scale(1.04);
}
.donate-paypal {
    background: #eaf6ff;
    border: 2px solid #0070ba;
    color: #0070ba;
    font-weight: 700;
}
.donate-paypal:hover {
    background: #d0eaff;
    border: 2px solid #003087;
    color: #003087;
}
.donate-icon {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 4px #0001;
    object-fit: contain;
}

.continue-btn {
    font-size: 2.1rem;
    min-width: 320px;
    height: 64px;
    padding: 0 2.5rem;
    margin-bottom: 2.2rem;
    background: rgba(30,40,30,0.92);
    color: #7ed957;
    border: 2.5px solid #7ed957;
    border-radius: 32px;
    cursor: pointer;
    font-family: 'Noto Serif', serif;
    font-weight: 900;
    letter-spacing: 0.14em;
    box-shadow: 0 4px 24px #000a, 0 0 32px #7ed95722, inset 0 2px 12px #7ed95722;
    transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s, transform 0.15s;
    outline: none;
    display: block;
    text-align: center;
}
.continue-btn:hover {
    background: #7ed957;
    color: #232b1a;
    border: 2.5px solid #232b1a;
    box-shadow: 0 0 32px #7ed95766, 0 2px 8px #000a, inset 0 2px 12px #232b1a22;
    transform: scale(1.06);
} 