:root {
    --bg-color: #f0f2f5;
    --card-bg: #ffffff;
    --text-main: #1c1e21;
    --primary-grad: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --safe-grad: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    --scam-grad: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    /* New Global Awareness Colors */
    --whatsapp-grad: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.game-container {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    max-width: 550px;
    width: 95%;
    border: 1px solid #ddd;
}

/* --- Headings --- */
header .main-title h1 {
    margin: 0;
    font-size: 32px;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle { margin: 0 0 15px 0; color: #666; font-weight: 600; font-size: 16px; }

/* --- Status & Progress --- */
.status-bar { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 8px; font-size: 18px; }
.progress-container { background: #eee; height: 12px; border-radius: 6px; margin-bottom: 25px; }
#progress-bar { background: var(--primary-grad); width: 0%; height: 100%; border-radius: 6px; transition: 0.5s ease; }

/* --- Scenario Card --- */
#scenario-box { 
    background: #fdfdfd; 
    padding: 25px; 
    border-radius: 18px; 
    border: 2px solid #f0f0f0; 
    margin-bottom: 25px; 
    position: relative;
}

.scenario-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
#sender-name { font-size: 16px; color: #888; margin: 0; }
.badge { background: #eee; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: bold; }
#message-content { font-size: 22px; line-height: 1.4; color: #333; }

/* --- Main Buttons --- */
.controls { display: flex; gap: 15px; }
.action-btn { 
    flex: 1; padding: 20px; border-radius: 15px; border: none; cursor: pointer; 
    color: white; font-weight: 800; font-size: 18px; transition: 0.2s; 
}
.safe-gradient { background: var(--safe-grad); }
.scam-gradient { background: var(--scam-grad); }
.action-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* --- Feedback Panel --- */
#feedback-panel h3 { margin: 0 0 10px 0; color: #2c3e50; }
.primary-btn { 
    width: 100%; padding: 18px; border-radius: 12px; background: var(--primary-grad); 
    color: white; border: none; font-weight: bold; font-size: 18px; cursor: pointer; 
}

/* --- Awareness & Share Button (NEW) --- */
.awareness-section {
    background: #f0fff4;
    padding: 20px;
    border-radius: 18px;
    border: 2px dashed #25d366;
    margin: 25px 0;
    text-align: center;
}

.awareness-section h3 {
    margin-top: 0;
    color: #276749;
    font-size: 18px;
}

.share-btn {
    background: var(--whatsapp-grad);
    color: white;
    width: 100%;
    padding: 18px;
    border-radius: 50px; /* Modern Pill Shape */
    border: none;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3);
    animation: pulse-glow 2s infinite; /* Attention grabber */
}

.share-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 20px rgba(37, 211, 102, 0.4);
    filter: brightness(1.1);
}

.share-btn:active {
    transform: translateY(1px);
}

/* --- Leaderboard --- */
.leaderboard-header h3 { border-bottom: 2px solid #eee; padding-bottom: 10px; margin-top: 20px; }
#leaderboard-list { list-style: none; padding: 0; }
#leaderboard-list li { 
    background: #f9f9f9; 
    padding: 15px; 
    margin: 8px 0; 
    border-radius: 10px; 
    display: flex; 
    justify-content: space-between; 
    font-weight: bold; 
}

/* --- Utilities & Animations --- */
.hidden { display: none !important; }

.shake { animation: shake 0.4s; }
@keyframes shake { 
    0%, 100% {transform: translateX(0);} 
    25% {transform: translateX(-8px);} 
    75% {transform: translateX(8px);} 
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
/* Accessibility Boost */
#message-content {
    font-size: 24px; /* Slightly larger for easier reading */
    font-weight: 500;
}

.action-btn {
    padding: 25px; /* Bigger tap target */
    font-size: 20px;
    letter-spacing: 0.5px;
}

#feedback-text {
    font-size: 18px;
    line-height: 1.6;
    color: #4a5568;
}/* --- Dark Mode Variables --- */
body.dark-theme {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-main: #e0e0e0;
    --primary-grad: linear-gradient(135deg, #8e9eef 0%, #a18cd1 100%);
}

/* Adjustments for elements in Dark Mode */
body.dark-theme #scenario-box {
    background: #252525;
    border-color: #333;
}

body.dark-theme #message-content {
    color: #ffffff;
}

body.dark-theme .badge {
    background: #333;
    color: #ccc;
}

body.dark-theme .intro-box p, 
body.dark-theme #feedback-text {
    color: #b0b0b0;
}

body.dark-theme footer p {
    color: #666;
}

/* --- Theme Toggle Button Styling --- */
.theme-toggle {
    background: none;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

body.dark-theme .theme-toggle {
    border-color: #555;
    background: #333;
}