/* Magic Learning Web App Styles */

/* Main section styling for try.html */
#main.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

#main.main .appstore-link {
    display: flex;
    justify-content: center;
}

/* Tablet Frame */
.tablet-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    /* padding: 40px 20px; */
}

.tablet-screen {
    position: relative;
    width: 525px;
    height: 700px;
    max-width: 90vw;
    max-height: 90vh;
    background: #111;
    border-radius: 32px;
    padding: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.tablet-screen::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #2a2a2a;
    border-radius: 50%;
    z-index: 1;
}

.tablet-screen .app-container {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    position: relative;
}

/* App Container */
.app-container {
    min-height: 100%;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Screen base styles */
.screen {
    width: 100%;
    height: 100%;
    min-height: 100%;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* Main Menu Screen */
.main-menu-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg, #4A90E2 0%, #FC9870 100%);
    color: white;
}

.main-menu-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -12px;
    margin-bottom: 20px;
}

.main-menu-title-magic {
    font-size: clamp(32px, 6vh, 36px);
    font-weight: 800;
    color: #FFD88F;
    line-height: 1;
}

.main-menu-title-learning {
    font-size: clamp(32px, 6vh, 36px);
    font-weight: 800;
    color: #8240A0;
    line-height: 1;
}

.main-menu-mascot {
    width: 18vh;
    max-width: 300px;
    margin: 20px 0;
}

.main-menu-mascot img {
    width: 100%;
    height: auto;
}

.main-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 60%;
    max-width: 400px;
}

.menu-button {
    padding: 10px 24px;
    border: none;
    border-radius: 28px;
    font-size: clamp(16px, 3.5vh, 24px);
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: transform 0.1s;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    /* border: 4px solid; */
    border-image: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%) 1;
}

.menu-button:active {
    transform: scale(0.9);
}

.main-menu-icon-buttons {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.icon-button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s;
}

.icon-button:active {
    transform: scale(0.9);
}

/* Learn Screen */
.learn-screen {
    background: linear-gradient(180deg, #4A90E2 0%, #FC9870 100%);
    color: white;
}

.learn-header {
    text-align: center;
    /* margin-bottom: 20px; */
}

.learn-title {
    font-size: clamp(24px, 4vh, 24px);
    font-weight: 800;
    margin: 10px;
    /* white-space: pre-line; */
}

.learn-numbers {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-width: 600px;
    margin: 0 auto 14px;
    width: 350px;
}

.learn-number-button {
    aspect-ratio: 1;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.4);
    color: white;
    font-size: clamp(16px, 3vw, 24px);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}

.learn-number-button:hover,
.learn-number-button.selected {
    background: #FF9800;
    border-color: #FFB84D;
}

.learn-table-container {
    max-width: 600px;
    width: 350px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 16px;
}

.learn-table-title {
    font-size: clamp(20px, 3vh, 28px);
    font-weight: 700;
    margin-bottom: 16px;
}

.learn-table-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.learn-table-item {
    font-size: clamp(16px, 2.8vh, 18px);
}

.practice-button-container {
    max-width: 600px;
    margin: 10px auto;
    display: flex;
    justify-content: center;
}

.practice-button {
    padding: 12px 24px;
    border: none;
    border-radius: 16px;
    background: #FF9800;
    color: white;
    font-size: clamp(16px, 2.8vh, 22px);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s;
}

.practice-button:active {
    transform: scale(0.95);
}

/* Practice Screen */
.phone-multiplication-screen,
.multiple-choice-multiplication-screen {
    background: linear-gradient(180deg, #4A90E2 0%, #9B59B6 100%);
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
}

/* Practice Title - Phone Screen */
.phone-multiplication-screen .practice-title {
    position: absolute;
    top: 48px;
    left: 38%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: -12px;
}

.phone-multiplication-screen .practice-title-magic {
    font-size: clamp(24px, 5vh, 32px);
    font-weight: 800;
    color: #FFD88F;
    line-height: 1;
}

.phone-multiplication-screen .practice-title-math {
    font-size: clamp(24px, 5vh, 32px);
    font-weight: 800;
    color: #8240A0;
    line-height: 1;
}

/* Practice Title - Multiple Choice Screen */
.multiple-choice-multiplication-screen .practice-title {
    position: absolute;
    top: 74px;
    left: 36%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: -12px;
}

.multiple-choice-multiplication-screen .practice-title-magic {
    font-size: clamp(20px, 4vh, 28px);
    font-weight: 800;
    color: #FFD88F;
    line-height: 1;
}

.multiple-choice-multiplication-screen .practice-title-math {
    font-size: clamp(20px, 4vh, 28px);
    font-weight: 800;
    color: #8240A0;
    line-height: 1;
}

/* Mascot Owl - Phone Screen */
.phone-multiplication-screen .mascot-owl {
    position: absolute;
    top: 18px;
    right: 25%;
    width: 10vh;
    max-width: 180px;
    cursor: pointer;
    transition: transform 0.3s;
}

.phone-multiplication-screen .mascot-owl img {
    width: 100%;
    height: auto;
}

.phone-multiplication-screen .mascot-owl-happy {
    transform: scale(1.2);
}

/* Mascot Owl - Multiple Choice Screen */
.multiple-choice-multiplication-screen .mascot-owl {
    position: absolute;
    top: 20px;
    right: 24%;
    width: 14vh;
    max-width: 170px;
    cursor: pointer;
    transition: transform 0.3s;
}

.multiple-choice-multiplication-screen .mascot-owl img {
    width: 100%;
    height: auto;
}

.multiple-choice-multiplication-screen .mascot-owl-happy {
    transform: scale(1.15);
}

/* Question Card */
.question-card {
    width: 55%;
    max-width: 500px;
    /* min-height: 50vh; */
    background: linear-gradient(180deg, #fff2ba 0%, #6cc4e5 100%);
    /* border: 4px solid; */
    border-image: linear-gradient(180deg, #fffbe7 0%, #82d7ed 100%) 1;
    border-radius: 42px;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 90px;
    box-sizing: border-box;
}

.multiple-choice-card {
    min-height: 40vh;
    margin-top: 136px;
    width: 65%;
}

.question-problem {
    font-size: clamp(32px, 6vh, 40px);
    font-weight: 800;
    color: #3f7697;
    text-align: center;
}

.question-answer {
    width: 60%;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #2b8ccc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(24px, 4vh, 24px);
    font-weight: 700;
    color: #2b8ccc;
    padding: 10px;
}

.question-answer.answer-empty {
    color: rgba(43, 140, 204, 0.5);
}

/* Check Button */
.check-button {
    width: 50%;
    min-height: 40px;
    border: none;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(39, 174, 96, 0.9) 0%, rgba(39, 174, 96, 0.8) 100%);
    /* border: 4px solid; */
    border-image: linear-gradient(180deg, rgba(39, 174, 96, 0.3) 0%, rgba(39, 174, 96, 0.1) 100%) 1;
    color: white;
    font-size: clamp(18px, 2.2vh, 28px);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s;
}

.check-button:not(.disabled):active {
    transform: scale(0.9);
}

.check-button.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Number Pad */
.number-pad {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 80%;
    max-width: 280px;
}

.number-pad-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.number-button {
    flex: 1;
    aspect-ratio: 1;
    min-width: 40px;
    min-height: 40px;
    /* border: 4px solid; */
    /* border-image: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%) 1; */
    border-radius: 12px;
    border-width: 0;
    font-size: clamp(20px, 5vh, 28px);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.1s;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.number-button:active {
    transform: scale(0.9);
}

/* Multiple Choice Grid */
.multiple-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 90%;
    max-width: 400px;
    margin-top: 20px;
}

.multiple-choice-option {
    aspect-ratio: 1;
    min-height: 60px;
    /* border: 4px solid; */
    /* border-image: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%) 1; */
    border-radius: 32px;
    border-width: 0;
    font-size: clamp(32px, 6vh, 42px);
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.1s;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.multiple-choice-option:not(.disabled):active {
    transform: scale(0.9);
}

.multiple-choice-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Speech Bubble */
/* Speech Bubble - Phone Screen */
.phone-multiplication-screen .speech-bubble {
    position: absolute;
    top: 2vh;
    left: 30%;
    width: 30%;
    min-height: 12vh;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Speech Bubble - Multiple Choice Screen */
.multiple-choice-multiplication-screen .speech-bubble {
    position: absolute;
    top: 6vh;
    left: 22%;
    width: 32%;
    min-height: 12vh;
    padding: 12px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Speech Bubble Content Styles - Phone Screen */
.phone-multiplication-screen .speech-bubble-success {
    background: #E8F5E8;
    border: 2px solid rgba(39, 174, 96, 0.3);
    color: #27AE60;
    font-size: clamp(16px, 3vh, 16px);
    font-weight: 700;
}

.phone-multiplication-screen .speech-bubble-hint {
    background: #F2F2FF;
    border: 2px solid rgba(74, 144, 226, 0.3);
}

.phone-multiplication-screen .speech-bubble-before,
.phone-multiplication-screen .speech-bubble-after {
    font-size: clamp(14px, 2.5vh, 14px);
    font-weight: 700;
    color: #2b8ccc;
    text-align: center;
}

.phone-multiplication-screen .speech-bubble-number {
    font-size: clamp(32px, 5vh, 32px);
    font-weight: 800;
    color: #4A90E2;
    text-align: center;
}

.phone-multiplication-screen .speech-bubble-encouragement {
    background: #FFF5CC;
    border: 2px solid rgba(243, 156, 18, 0.3);
    color: #F39C12;
    font-size: clamp(16px, 3vh, 24px);
    font-weight: 700;
}

/* Speech Bubble Content Styles - Multiple Choice Screen */
.multiple-choice-multiplication-screen .speech-bubble-success {
    background: #E8F5E8;
    border: 2px solid rgba(39, 174, 96, 0.3);
    color: #27AE60;
    font-size: clamp(14px, 2.5vh, 20px);
    font-weight: 700;
}

.multiple-choice-multiplication-screen .speech-bubble-hint {
    background: #F2F2FF;
    border: 2px solid rgba(74, 144, 226, 0.3);
}

.multiple-choice-multiplication-screen .speech-bubble-before,
.multiple-choice-multiplication-screen .speech-bubble-after {
    font-size: clamp(12px, 2vh, 16px);
    font-weight: 700;
    color: #2b8ccc;
    text-align: center;
}

.multiple-choice-multiplication-screen .speech-bubble-number {
    font-size: clamp(28px, 4vh, 36px);
    font-weight: 800;
    color: #4A90E2;
    text-align: center;
}

.multiple-choice-multiplication-screen .speech-bubble-encouragement {
    background: #FFF5CC;
    border: 2px solid rgba(243, 156, 18, 0.3);
    color: #F39C12;
    font-size: clamp(14px, 2.5vh, 20px);
    font-weight: 700;
}

/* Session Progress Circles */
.session-progress-circles {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.session-progress-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #2d6c9e 0%, #8444A9 100%);
    border-radius: 22px;
}

.session-progress-circles-container {
    display: flex;
    gap: 8px;
    padding: 8px;
    position: relative;
    z-index: 1;
}

.session-progress-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid;
    transition: all 0.3s;
}

.circle-empty {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
}

.circle-correct {
    background: rgba(39, 174, 96, 1);
    border-color: rgba(39, 174, 96, 0.3);
}

.circle-incorrect {
    background: rgba(232, 76, 61, 1);
    border-color: rgba(232, 76, 61, 0.3);
}

/* Progress Section */
.progress-section {
    width: 85%;
    max-width: 600px;
    margin: 0px auto;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 32px;
    background: linear-gradient(90deg, #2d6c9e 0%, #48b578 100%);
    border-radius: 16px;
    overflow: hidden;
    padding: 3px;
    box-sizing: border-box;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF8C42 0%, #FFB84D 50%, #4CAF50 100%);
    border-radius: 16px;
    transition: width 0.5s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: clamp(14px, 2.4vh, 14px);
    font-weight: 700;
    text-align: center;
    z-index: 1;
}

/* Close Button */
.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 100;
}

/* Back Button */
.back-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    border: none;
    border-radius: 16px;
    background: #27AE60;
    color: white;
    font-size: clamp(16px, 2.8vh, 22px);
    font-weight: 700;
    cursor: pointer;
}

/* Congratulations Screen */
.congratulations-screen {
    background: linear-gradient(180deg, #4A90E2 0%, #FC9870 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 20px;
}

.congratulations-title {
    font-size: clamp(32px, 5.5vh, 40px);
    font-weight: 800;
    text-align: center;
    margin: 10px;
}

.congratulations-celebration {
    font-size: clamp(48px, 8vh, 64px);
    text-align: center;
}

.congratulations-stats-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 25px;
    max-width: 85%;
    min-width: 75%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.congratulations-session-complete {
    font-size: clamp(18px, 2.8vh, 22px);
    font-weight: 700;
    color: #4A90E2;
    text-align: center;
    margin-bottom: 15px;
}

.congratulations-stats-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.congratulations-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: clamp(14px, 2.2vh, 18px);
    color: #4d4d4d;
}

.stat-value {
    font-size: clamp(16px, 2.5vh, 20px);
    font-weight: 700;
    color: #4A90E2;
}

.congratulations-overall-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: clamp(16px, 2.5vh, 20px);
}

.congratulations-overall-title {
    font-size: clamp(16px, 2.5vh, 20px);
    font-weight: 700;
}

.continue-button {
    padding: 14px 28px;
    border: none;
    border-radius: 28px;
    background: #27AE60;
    color: white;
    font-size: clamp(18px, 3vh, 24px);
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}

/* Stats Screen */
.stats-screen {
    background: linear-gradient(180deg, #4A90E2 0%, #9B59B6 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 20px;
}

.stats-header {
    font-size: clamp(24px, 4vh, 32px);
    font-weight: 800;
    text-align: center;
    margin: 0;
}

.stats-progress-card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    width: 85%;
    max-width: 600px;
    text-align: center;
}

.stats-progress-value {
    font-size: clamp(48px, 12vh, 72px);
    font-weight: 800;
    margin-bottom: 10px;
}

.stats-progress-label {
    font-size: clamp(14px, 2.5vh, 18px);
    font-weight: 700;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 85%;
    max-width: 600px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.stat-card-icon {
    font-size: clamp(24px, 4vh, 32px);
}

.stat-card-value {
    font-size: clamp(20px, 3.5vh, 28px);
    font-weight: 800;
}

.stat-card-title {
    font-size: clamp(12px, 2vh, 16px);
    opacity: 0.8;
}

.stats-achievement-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 16px;
    width: 85%;
    max-width: 600px;
    text-align: center;
    font-size: clamp(14px, 2.5vh, 18px);
    font-weight: 700;
    line-height: 1.5;
}

/* Help Screen */
.help-screen {
    background: linear-gradient(180deg, #4A90E2 0%, #9B59B6 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.help-header {
    font-size: clamp(24px, 4vh, 32px);
    font-weight: 800;
    text-align: center;
    margin: 0;
}

.help-instructions {
    max-width: 900px;
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-right: 10px;
}

/* Custom Scrollbar Styling for Help Screen */
/* Webkit browsers (Chrome, Safari, Edge) */
.help-instructions::-webkit-scrollbar {
    width: 12px;
}

.help-instructions::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 10px 0;
}

.help-instructions::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.help-instructions::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.help-instructions::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%);
}

/* Firefox */
.help-instructions {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.4) rgba(255, 255, 255, 0.1);
}

.help-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.help-section-title {
    font-size: clamp(18px, 2.8vh, 24px);
    font-weight: 800;
    margin-bottom: 8px;
}

.help-instruction-item {
    display: flex;
    gap: 15px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

.help-instruction-icon {
    font-size: clamp(24px, 4vh, 32px);
    width: 50px;
    flex-shrink: 0;
}

.help-instruction-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.help-instruction-title {
    font-size: clamp(14px, 2.5vh, 18px);
    font-weight: 700;
}

.help-instruction-description {
    font-size: clamp(14px, 2.5vh, 18px);
    opacity: 0.9;
    line-height: 1.5;
}

/* Confirmation Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.confirmation-modal {
    background: white;
    border-radius: 24px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.confirmation-modal h2 {
    font-size: 24px;
    font-weight: 700;
    color: #254053;
    margin: 0 0 16px;
}

.confirmation-modal p {
    font-size: 16px;
    color: #516b7a;
    margin: 0 0 24px;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-button {
    padding: 12px 24px;
    border: none;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s;
}

.modal-button-cancel {
    background: transparent;
    color: #254053;
    border: 2px solid rgba(37, 64, 83, 0.25);
}

.modal-button-confirm {
    background: #4cc577;
    color: white;
}

.modal-button:active {
    transform: scale(0.95);
}

/* Responsive Design */
/* @media (max-width: 900px) {
    .tablet-screen {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        padding: 0;
    }
    
    .tablet-screen::before {
        display: none;
    }
    
    .tablet-screen .app-container {
        border-radius: 0;
    }
    
    .tablet-frame {
        padding: 0;
        min-height: 100vh;
    }
}

@media (max-width: 720px) {
    .question-card {
        width: 90%;
        min-height: 60vh;
        padding: 30px 20px;
    }
    
    .multiple-choice-card {
        min-height: 35vh;
    }
    
    .main-menu-buttons {
        width: 80%;
    }
    
    .learn-numbers {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .question-card {
        width: 95%;
        padding: 20px 15px;
    }
    
    .learn-numbers {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .number-button {
        min-width: 50px;
        min-height: 50px;
    }
    
    .multiple-choice-option {
        min-height: 100px;
    }
} */

