
/* Reset และ Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', sans-serif;
    background: radial-gradient(circle at top right, #f8fafc, #e2e8f0);
    min-height: 100vh;
    color: #1e293b;
}
/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #10b981;
}

#nav-login-btn {
    font-size: 14px;
    padding: 8px 20px;
}

.auth-container {
    max-width: 350px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.auth-container h2 {
    margin-bottom: 20px;
    font-weight: 600;
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4);
}

/* โมดอลเนื้อหา */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
}

/* ปุ่มปิด Modal */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

        .modal {
            background-color: rgba(0, 0, 0, 0.7);
            display: none; /* ซ่อนไว้ก่อน */
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            align-items: center;
            justify-content: center;
        }
        .modal-content {
            background-color: #fff;
            padding: 2rem;
            border-radius: 0.75rem;
            width: 90%;
            max-width: 450px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            position: relative;
        }
        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            position: absolute;
            top: 10px;
            right: 20px;
        }
        .close:hover, .close:focus {
            color: #333;
            text-decoration: none;
        }
        .form-group input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ccc;
            border-radius: 0.5rem;
            margin-bottom: 0.75rem;
        }
        .msg-box {
            position: fixed;
            top: 1rem;
            right: 1rem;
            z-index: 1000;
            opacity: 0;
            transform: translateY(-20px);
            transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
            min-width: 300px;
            padding: 1rem;
            border-radius: 0.5rem;
            color: white;
            font-weight: 600;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.form-group input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.switch-auth {
    margin-top: 15px;
    font-size: 14px;
}

.switch-auth a {
    color: #007BFF;
    cursor: pointer;
    text-decoration: none;
}

.switch-auth a:hover {
    text-decoration: underline;
}


/* Layout */
#app {
    min-height: 100vh;
    position: relative;
}

.screen {
    display: none;
    min-height: 100vh;
    padding: 20px;
}

.screen.active {
    display: block;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-primary2 {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #10b981;
    color: #10b981;
}

.btn-outline:hover {
    background: #10b981;
    color: white;
}

/* หน้าจอเริ่มต้น */
#start-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 80px; /* เพิ่ม padding สำหรับ navbar */
}

.hero-section {
    margin-bottom: 60px;
}

.game-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-subtitle {
    font-size: 1.5rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.game-description {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.8;
    max-width: 600px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    width: 100%;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #fbbf24;
}


/* Animation สำหรับตัวหนังสือลอยขึ้นลง */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-soft {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

#start-screen {
    background: radial-gradient(circle at top right, #f8fafc, #e2e8f0);
    color: #1e293b;
    padding-top: 100px;
}

.game-title {
    font-size: 4.5rem;
    animation: float 4s ease-in-out infinite;
    background: linear-gradient(to right, #4f46e5, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

/* ปรับปรุงปุ่มเริ่มเกมให้ดูน่าคลิก */
#start-btn {
    font-size: 1.25rem;
    padding: 16px 40px;
    border-radius: 50px; /* ทรงแคปซูลดูทันสมัยกว่า */
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse-soft 2s infinite;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    cursor: pointer;
}

/* ปรับแต่ง Card ของฟีเจอร์  */
.feature {
    background: #ffffff;
    border: 2px solid #f1f5f9;
    color: #334155;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: #6366f1;
    box-shadow: 0 20px 30px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.1));
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
    transform: rotate(15deg) scale(1.2);
}

/* หน้าจอโหมดฝึกหัด */
#practice-mode-screen {
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    color: white;
    padding-top: 80px; /* เพิ่ม padding สำหรับ navbar */
}

/* หน้าจอโหมดท้าทาย */
#challenge-mode-screen {
    background: linear-gradient(135deg, #fefefe 0%, #fffefe 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 80px; 
}

#challenge-mode-screen .header {
    margin-bottom: 20px;
}

#challenge-mode-screen h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#challenge-mode-screen #challenge-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

#challenge-mode-screen #challenge-content .btn {
    padding: 15px 30px;
    font-size: 1.2rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    margin-top: 60px;
    gap: 20px;
}

.header h2 {
    font-size: 2rem;
    font-weight: 600;
}

.player-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.worlds-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.world {
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    position: relative;
    background: #ffffff;
    border: 2px solid #10b981; /* เขียวธีม */
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
    transition: all 0.3s ease
}

.world:hover:not(.locked) {
    border-color: #10b981;
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.25);
}

.world.locked {
    border-color: #cbd5e1;
    box-shadow: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.world:not(.locked) .lock-icon {
    display: none;
}

.world-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.world h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #fbbf24;
}

.world p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress {
    background: linear-gradient(90deg, #10b981, #059669);
    height: 100%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.lock-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

/* หน้าจอเลือกด่าน */
#level-select {
    background: radial-gradient(circle at top right, #f8fafc, #e2e8f0);
    color: #1e293b;
}

.levels-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.level {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid #f1f5f9;
    position: relative;
}

.level:hover:not(.locked) {
    transform: translateY(-5px);
    border-color: #fcd34d;
    box-shadow: 0 10px 25px rgba(252, 211, 77, 0.2);
}

.level.locked {
    background: #f1f5f9;
    opacity: 0.7;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.level.completed {
    border-color: #34d399;
    background: #f0fdf4;
}

.level-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #d97706; 
}

.level h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #475569;
}

.level-stars {
    margin-top: 12px;
}

.star {
  color: #d1d5db;
  font-size: 20px;
}

.star.earned {
  color: #facc15; 
}

#game-screen {
    background: #f8fafc;
    color: #1f2937;
    padding: 0;
}

.game-header {
    background: white;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.game-header h3 {
    font-size: 1.3rem;
    color: #1e3a8a;
}

.level-stats {
    display: flex;
    gap: 16px;
}

.game-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: calc(100vh - 80px);
    gap: 1px;
    background: #e5e7eb;
}

.task-panel, .code-panel, .preview-panel {
    background: white;
    display: flex;
    flex-direction: column;
}

.panel-header {
    padding: 16px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.panel-header h4 {
    font-size: 1.1rem;
    color: #374151;
}

.task-panel {
    padding: 20px;
    overflow-y: auto;
}

.task-panel h4 {
    color: #1e3a8a;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.task-panel p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.task-requirements {
    margin-bottom: 24px;
}

.task-requirements h5 {
    color: #059669;
    margin-bottom: 8px;
}

.task-requirements ul {
    list-style: none;
    padding-left: 0;
}

.task-requirements li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    border-left: 3px solid #e5e7eb;
    margin-bottom: 4px;
}

.task-requirements li:before {
    content: "○";
    position: absolute;
    left: -8px;
    color: #6b7280;
}

.task-requirements li.completed {
    border-left-color: #10b981;
    color: #059669;
}

.task-requirements li.completed:before {
    content: "✓";
    color: #10b981;
}

.task-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.code-panel {
    flex: 1;
    text-align: left;
}

#code-editor {
    flex: 1;
    text-align: left !important;
    font-family: monospace;
    white-space: pre;
    border: none;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
    outline: none;
    background: #1f2937;
    color: #f9fafb;
}

#code-editor {
    flex: 1;
    border: none;
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
    outline: none;
    background: #1f2937;
    color: #f9fafb;
}

.preview-panel {
    flex: 1;
}

#preview-frame {
    flex: 1;
    border: none;
    background: white;
}

/* หน้าจอผลลัพธ์ */
#result-screen {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.result-content {
    text-align: center;
    max-width: 500px;
}

.result-panel {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.result-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.result-panel p {
    font-size: 1.2rem;
    margin-bottom: 24px;
    opacity: 0.9;
}

.stars-earned {
    margin: 24px 0;
}

.stars-earned .star {
    font-size: 2rem;
    margin: 0 4px;
    animation: starPop 0.5s ease-in-out;
}

@keyframes starPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.rewards {
    margin: 24px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.reward {
    display: inline-block;
    margin: 4px 8px;
    padding: 4px 12px;
    background: rgba(251, 191, 36, 0.3);
    border-radius: 16px;
    font-weight: 500;
}

.result-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-title {
        font-size: 2.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .worlds-container {
        grid-template-columns: 1fr;
    }
    
    .game-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
        height: auto;
        min-height: calc(100vh - 80px);
    }
    
    .task-panel {
        order: 1;
    }
    
    .code-panel {
        order: 2;
        min-height: 300px;
    }
    
    .preview-panel {
        order: 3;
        min-height: 300px;
    }
    
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .game-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .screen {
        padding: 16px;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .world, .level {
        padding: 20px;
    }
    
    .result-panel {
        padding: 30px 20px;
    }
    
    .result-actions {
        flex-direction: column;
    }
}

/* Authentication Styles */
.auth-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.user-welcome {
    color: #fbbf24;
    font-weight: 500;
    margin-right: 8px;
}

#user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
}

.close:hover {
    color: #000;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #1e3a8a;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: #10b981;
}

.auth-form button {
    width: 100%;
    margin-bottom: 16px;
}

.auth-form p {
    text-align: center;
    color: #6b7280;
}

.auth-form a {
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
}

.auth-form a:hover {
    text-decoration: underline;
}

/* Leaderboard Styles */
#leaderboard-modal .modal-content {
    max-width: 500px;
}

#leaderboard-modal h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #1e3a8a;
}

.leaderboard-list {
    max-height: 400px;
    overflow-y: auto;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

.leaderboard-item .rank {
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 12px;
    min-width: 40px;
}

.leaderboard-item .username {
    flex: 1;
    font-weight: 500;
    color: #1f2937;
}

.leaderboard-item .stats {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: #6b7280;
}

.leaderboard-item .stars {
    color: #f59e0b;
}

.leaderboard-item .levels {
    color: #059669;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #6b7280;
}

/* Responsive adjustments for auth */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 20px;
    }
    
    .auth-container {
        justify-content: center;
        width: 100%;
    }
    
    #user-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .user-welcome {
        margin-right: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 15% auto;
        padding: 16px;
    }
    
    .leaderboard-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .leaderboard-item .stats {
        align-self: flex-end;
    }
}

.student-card-challenge body {
    background-color: #f0f2f5; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Arial', sans-serif; 
}

.student-card-challenge .card {
    background-color: #ffffff; 
    padding: 30px;
    border-radius: 15px; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    width: 320px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.student-card-challenge .card:hover {
    transform: translateY(-5px);
}

.student-card-challenge h2 {
    margin-bottom: 12px;
    color: #333;
    font-size: 1.8em;
}

.student-card-challenge p {
    margin: 8px 0;
    color: #555;
    font-size: 1.1em;
}


/* =====================================
   GLOBAL BACKGROUND THEME OVERRIDE
   (คุมโทนเดียวกับหน้าแรกทั้งเว็บ)
===================================== */

#practice-mode-screen,
#level-select,
#game-screen {
    background: transparent !important;
    color: #1e293b;
}
/* =====================================
   FORCE RESULT SCREEN TO USE GLOBAL THEME
===================================== */

#result-screen {
    background: radial-gradient(circle at top right, #f8fafc, #e2e8f0) !important;
    color: #1e293b !important;
}
#result-screen .result-panel {
    background: #ffffff;
    color: #1e293b;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

