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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(to bottom, #E3F2FD, #F8F9FA);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Screen Management */
.screen {
    display: none;
    min-height: 100vh;
    animation: fadeIn 0.3s ease-in;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header Bar */
.header-bar {
    background: linear-gradient(to right, #0F1B4C, #1565C0);
    height: 65px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 65px;
    padding: 0 20px;
}

.header-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

/* Timer Display */
.timer-display {
    color: white;
    font-size: 18px;
    font-weight: 600;
    background: rgba(0,0,0,0.2);
    padding: 8px 16px;
    border-radius: 16px;
    min-width: 80px;
    text-align: center;
}

/* Main Container */
.main-container {
    padding: 20px 30px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Segoe UI', Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    filter: brightness(1.05);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(to bottom, #D32F2F, #C62828);
    color: white;
}

.btn-secondary {
    background: white;
    color: #424242;
    border: 2px solid #E0E0E0;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
    background: #1E3A8A;
    color: white;
    border-radius: 16px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-icon {
    background: #0F1B4C;
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 21px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Welcome Screen */
#welcome-screen {
    background: linear-gradient(to bottom, #E3F2FD, #F8F9FA);
}

.welcome-content {
    background: white;
    border-radius: 20px;
    padding: 40px 60px;
    margin: 30px 80px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    position: relative;
}

/* Top accent bar */
.welcome-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(to right, #0F1B4C, #1E3A8A);
    border-radius: 20px 20px 0 0;
}

.welcome-icon {
    display: inline-block;
    font-size: 34px;
    background: #E3F2FD;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    margin: 20px auto 10px;
}

.welcome-title {
    font-size: 52px;
    color: #0F1B4C;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
}

.welcome-subtitle {
    font-size: 22px;
    color: #5C6BC0;
    margin-bottom: 20px;
    text-align: center;
}

.welcome-description {
    font-size: 15px;
    color: #424242;
    max-width: 100%;
    margin: 15px auto;
    line-height: 1.6;
    text-align: center;
}

.welcome-description:first-of-type {
    font-style: italic;
    color: #9E9E9E;
}

.current-settings {
    background: linear-gradient(135deg, #E8EAF6, #F3E5F5);
    border: 2px solid #7E57C2;
    border-radius: 12px;
    padding: 15px 25px;
    margin: 25px auto;
    max-width: 650px;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.settings-badge {
    background: white;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    color: #5E35B1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.settings-badge-icon {
    font-size: 14px;
}

.welcome-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 40px auto;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(224, 224, 224, 0.6);
}

.feature-card {
    background: #FAFAFA;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card.clickable {
    cursor: pointer;
    border: 2px solid transparent;
}

.feature-card.clickable:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-color: #1565C0;
    background: linear-gradient(135deg, #E3F2FD, #FFFFFF);
}

.feature-card.clickable:active {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.feature-action {
    display: block;
    margin-top: 15px;
    color: #1565C0;
    font-weight: 600;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card.clickable:hover .feature-action {
    opacity: 1;
}

.feature-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #0F1B4C;
    margin-bottom: 10px;
    font-size: 18px;
}

.feature-card p {
    color: #757575;
    font-size: 14px;
}

/* Question Screen */
#question-screen {
    background: linear-gradient(to bottom, #E8EAF6, #F5F5F5);
}

.question-layout {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: 20px;
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin: 15px 30px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.question-left {
    background: #FAFAFA;
    border-radius: 12px;
    padding: 20px;
}

.photo-container {
    position: relative;
}

.photo-container img {
    width: 100%;
    height: 410px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #BDBDBD;
    background: #C4C4C4;
    margin-bottom: 15px;
}
/* Progressive blur levels for image reveal */
.blur-level-3 { filter: blur(6px); transition: filter 0.3s ease; }
.blur-level-2 { filter: blur(4px); transition: filter 0.3s ease; }
.blur-level-1 { filter: blur(2px); transition: filter 0.3s ease; }
.blur-level-0 { filter: blur(0); transition: filter 0.3s ease; }

.photo-credit {
    display: none;
    margin-top: 6px;
    margin-bottom: 14px;
    font-size: 12px;
    color: #546E7A;
    text-align: right;
    line-height: 1.4;
}

.photo-credit a {
    color: #1E88E5;
    text-decoration: none;
    font-weight: 600;
}

.photo-credit a:hover {
    text-decoration: underline;
}

.zoom-btn {
    width: 130px;
    height: 42px;
    padding: 0;
}

.question-right {
    padding: 20px;
}

.question-title {
    color: #0F1B4C;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: bold;
}

.question-instruction {
    color: #616161;
    font-size: 16px;
    margin-bottom: 25px;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.answer-option {
    background: white;
    border: 3px solid #E0E0E0;
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.answer-option:hover {
    border-color: #1565C0;
    background: #E3F2FD;
    transform: scale(1.02);
}

.answer-option.selected {
    border-color: #0F1B4C;
    background: #E8EAF6;
}

.answer-option.correct {
    border-color: #4CAF50;
    background: #E8F5E9;
}

.answer-option.incorrect {
    border-color: #D32F2F;
    background: #FFEBEE;
}

.answer-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.answer-option label {
    cursor: pointer;
    flex: 1;
}

.question-info {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #E0E0E0;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 12px;
    color: #757575;
    font-weight: 600;
}

.info-value {
    font-size: 16px;
    color: #0F1B4C;
    font-weight: bold;
}

/* Hint Container */
.hint-container {
    margin: 20px 0;
    min-height: 40px;
}

.hint-message {
    background: #FFF3E0;
    border-left: 4px solid #FF9800;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.hint-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.action-buttons .btn {
    flex: 1;
}

/* Bonus Display */
.bonus-display {
    background: linear-gradient(135deg, #FFF9C4, #FFF59D);
    border: 2px solid #FFB300;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(255, 179, 0, 0.2);
}

.bonus-item {
    padding: 8px 0;
    color: #424242;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 179, 0, 0.2);
}

.bonus-item:last-of-type {
    border-bottom: 2px solid #FF9800;
    margin-bottom: 10px;
}

.bonus-total {
    font-size: 18px;
    font-weight: bold;
    color: #E65100;
    padding-top: 10px;
    text-align: center;
}

/* Progress Bar */
.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    margin: 0;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #E0E0E0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #4CAF50;
    transition: width 0.5s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 11px;
    color: #616161;
    font-weight: 600;
    white-space: nowrap;
}

/* Feedback Screens */
.feedback-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 20px 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.feedback-banner {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.feedback-banner.success {
    background: linear-gradient(to right, #4CAF50, #66BB6A);
    color: white;
}

.feedback-banner.error {
    background: linear-gradient(to right, #FF9800, #FFA726);
    color: white;
}

.feedback-icon {
    font-size: 64px;
    font-weight: bold;
}

.feedback-content {
    flex: 1;
}

.feedback-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.feedback-points {
    font-size: 32px;
    font-weight: bold;
}

.feedback-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.feedback-info {
    padding: 20px;
}

.feedback-info h3 {
    color: #0F1B4C;
    font-size: 28px;
    margin-bottom: 15px;
}

.feedback-info p {
    color: #616161;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.resources-section {
    margin: 30px 0;
}

.resources-section h4 {
    color: #0F1B4C;
    font-size: 20px;
    margin-bottom: 20px;
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.resource-card {
    background: #F5F5F5;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '🎓';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    opacity: 0.2;
}

.resource-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-left-width: 6px;
}

.resource-card h5 {
    color: #0F1B4C;
    font-size: 16px;
    margin-bottom: 8px;
}

.resource-card p {
    color: #616161;
    font-size: 14px;
    margin: 0;
}
.resource-link {
    display: inline-block;
    margin-top: 10px;
    color: #1565C0;
    font-weight: 600;
    text-decoration: none;
}
.resource-link:hover {
    text-decoration: underline;
}

.helpful-tips {
    background: #FFF3E0;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px solid #FF9800;
}

.helpful-tips h4 {
    color: #E65100;
    margin-bottom: 15px;
    font-size: 18px;
}

.helpful-tips ul {
    padding-left: 25px;
    color: #424242;
}

.helpful-tips li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Map Screen */
.map-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin: 20px 30px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.map-section {
    background: #E8F4EA;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #81C784;
}

.map-section h3 {
    color: #0F1B4C;
    font-size: 18px;
    margin-bottom: 15px;
}

.map-container {
    background: #FAFAF5;
    border-radius: 10px;
    padding: 20px;
    min-height: 400px;
    position: relative;
    border: 2px solid #90A4AE;
}

.campus-map {
    position: relative;
    width: 100%;
    height: 400px;
    background: #FAFAF5;
}

.campus-map .leaflet-container,
.campus-map-large .leaflet-container {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.campus-map .leaflet-control-attribution,
.campus-map-large .leaflet-control-attribution {
    font-size: 10px;
    color: #546E7A;
}

.campus-map-tooltip {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    color: #263238;
    font-weight: 600;
    font-size: 12px;
    padding: 4px 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.leaflet-interactive.campus-map-marker {
    stroke-linejoin: round;
    stroke-linecap: round;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.leaflet-interactive.campus-map-marker.highlight {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.campus-map-popup {
    font-family: 'Inter', sans-serif;
    color: #1E293B;
}

.campus-map-popup-header {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.campus-map-popup-header h4 {
    margin: 0;
    font-size: 16px;
}

.campus-map-popup-label {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 12px;
    border-radius: 6px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.campus-map-chip {
    background: #E3F2FD;
    color: #0F1B4C;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 11px;
    margin-right: 6px;
    display: inline-block;
}

.campus-map-popup-row {
    font-size: 13px;
    margin-bottom: 6px;
}

.campus-map-popup-list {
    margin: 6px 0 0;
    padding-left: 18px;
    font-size: 12px;
    color: #455A64;
}

.map-building {
    position: absolute;
    background: #D32F2F;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid #B71C1C;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-size: 14px;
}

.map-pin {
    position: absolute;
    font-size: 24px;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.map-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #D32F2F;
    font-weight: bold;
    font-size: 13px;
}

.map-info-section {
    padding: 20px;
}

.map-info-section h3 {
    color: #0F1B4C;
    font-size: 24px;
    margin-bottom: 20px;
}

.map-info-section h4 {
    color: #0F1B4C;
    font-size: 16px;
    margin: 20px 0 12px;
}

.info-card {
    background: #ECEFF1;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.info-card p {
    color: #424242;
    font-size: 14px;
    margin: 0;
}

.landmarks-list {
    background: #FFF9C4;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.landmark-item {
    padding: 8px 0;
    border-bottom: 1px solid #F0F0F0;
    color: #424242;
    font-size: 13px;
}

.landmark-item:last-child {
    border-bottom: none;
}

/* Score Screen */
.score-container {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin: 20px 50px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    text-align: center;
}

.score-header h2 {
    color: #0F1B4C;
    font-size: 42px;
    margin-bottom: 30px;
}

.final-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.score-label {
    font-size: 24px;
    color: #616161;
}

.score-value {
    font-size: 72px;
    font-weight: bold;
    color: #4CAF50;
}

.score-max {
    font-size: 36px;
    color: #9E9E9E;
}

.score-breakdown {
    margin: 40px 0;
}

.score-breakdown h3 {
    color: #0F1B4C;
    font-size: 24px;
    margin-bottom: 20px;
}

.score-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.score-table th {
    background: #5C6BC0;
    color: white;
    padding: 15px;
    text-align: left;
    font-size: 14px;
}

.score-table td {
    padding: 15px;
    border-bottom: 1px solid #E0E0E0;
    text-align: left;
    font-size: 14px;
}

.score-table tr:hover {
    background: #F5F5F5;
}

.score-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.stat-card {
    background: #E3F2FD;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-value {
    font-size: 48px;
    font-weight: bold;
    color: #1565C0;
}

.stat-label {
    font-size: 14px;
    color: #616161;
}

.score-message {
    background: #FFF3E0;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    font-size: 18px;
    color: #E65100;
    font-weight: 600;
}

.score-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Modal (Hint Screen) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 2px solid #E0E0E0;
}

.modal-header h2 {
    color: #0F1B4C;
    font-size: 24px;
}

.close-btn {
    font-size: 24px;
    padding: 8px 16px;
}

.modal-body {
    padding: 30px;
}

.hint-photo {
    margin-bottom: 30px;
}

.hint-photo img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
}

.hint-tips {
    background: #E3F2FD;
    padding: 25px;
    border-radius: 12px;
}

.hint-tips h3 {
    color: #0F1B4C;
    font-size: 18px;
    margin-bottom: 20px;
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 12px 0;
    color: #424242;
    font-size: 14px;
    line-height: 1.5;
    border-bottom: 1px solid #BBDEFB;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list strong {
    color: #2E7D32;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 2px solid #E0E0E0;
    text-align: center;
}

/* Options Screen */
.options-container {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin: 20px 50px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.options-container h2 {
    color: #0F1B4C;
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
}

.option-section {
    margin: 40px 0;
}

.option-section h3 {
    color: #0F1B4C;
    font-size: 20px;
    margin-bottom: 20px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: #FAFAFA;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.option-label:hover {
    background: #E3F2FD;
    border-color: #1565C0;
    transform: translateX(5px);
}

.option-label input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.option-label span {
    font-size: 15px;
    color: #424242;
}

.options-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

/* Tutorial Screen */
#tutorial-screen {
    background: linear-gradient(to bottom, #E8F5E9, #F5F5F5);
}

.tutorial-container {
    background: linear-gradient(to bottom, #FFFFFF, #F8F9FA);
    border-radius: 20px;
    padding: 50px;
    margin: 20px 40px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.tutorial-title {
    text-align: center;
    color: #0F1B4C;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
}

.tutorial-subtitle {
    text-align: center;
    color: #616161;
    font-size: 16px;
    margin-bottom: 30px;
}

.section-title {
    text-align: center;
    color: #0F1B4C;
    font-size: 22px;
    margin: 20px 0 30px;
    font-weight: bold;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.tutorial-card {
    padding: 30px;
    border-radius: 15px;
    border: 3px solid;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tutorial-card.blue {
    background: #E3F2FD;
    border-color: #1565C0;
}

.tutorial-card.green {
    background: #E8F5E9;
    border-color: #4CAF50;
}

.tutorial-card.orange {
    background: #FFF3E0;
    border-color: #FF9800;
}

.tutorial-card.purple {
    background: #F3E5F5;
    border-color: #7B1FA2;
}

.card-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.tutorial-card.blue .card-number {
    background: #1565C0;
}

.tutorial-card.green .card-number {
    background: #4CAF50;
}

.tutorial-card.orange .card-number {
    background: #FF9800;
}

.tutorial-card.purple .card-number {
    background: #7B1FA2;
}

.tutorial-card h3 {
    color: #0F1B4C;
    font-size: 20px;
    margin: 10px 0 12px;
    font-weight: bold;
}

.tutorial-card p {
    color: #424242;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.card-tip {
    font-style: italic;
    color: #616161 !important;
    font-size: 13px !important;
}

.scoring-banner {
    background: #FFFDE7;
    border: 2px solid #FFB300;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 25px 0;
    font-size: 14px;
    color: #424242;
}

.keyboard-shortcuts-banner {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    border: 2px solid #2196F3;
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    margin: 15px 0 25px;
    font-size: 14px;
    color: #0D47A1;
}

.shortcut-item {
    font-weight: 500;
    margin: 0 5px;
}

kbd {
    background: white;
    border: 2px solid #90CAF9;
    border-radius: 6px;
    padding: 3px 8px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: bold;
    color: #1565C0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: inline-block;
    min-width: 24px;
    text-align: center;
}

.score-item {
    font-weight: bold;
}

.score-item.green {
    color: #4CAF50;
}

.score-item.orange {
    color: #FF9800;
}

.score-item.red {
    color: #D32F2F;
}

.score-divider {
    color: #E0E0E0;
    font-size: 18px;
    margin: 0 8px;
}

.tutorial-footer {
    text-align: center;
    color: #757575;
    font-style: italic;
    font-size: 13px;
    margin-top: 10px;
}

.tutorial-actions {
    text-align: center;
    margin-top: 30px;
}

/* Campus Map Overview Screen */
.map-overview-container {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin: 20px 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.map-overview-container h2 {
    color: #0F1B4C;
    font-size: 32px;
    text-align: center;
    margin-bottom: 12px;
}

.map-overview-intro {
    text-align: center;
    color: #616161;
    font-size: 16px;
    margin-bottom: 40px;
}

.full-campus-map-container {
    background: #FAFAF5;
    border: 3px solid #90A4AE;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    min-height: 500px;
}

.campus-map-large {
    width: 100%;
    height: 500px;
}

.building-legend {
    background: #F5F5F5;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.building-legend h3 {
    color: #0F1B4C;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.legend-item {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    cursor: pointer;
}

.legend-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.legend-color {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.legend-info {
    flex: 1;
}

.legend-name {
    font-weight: 600;
    color: #0F1B4C;
    font-size: 14px;
    margin-bottom: 2px;
}

.legend-abbr {
    font-size: 12px;
    color: #757575;
}

.map-overview-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}
/* Achievements */
.achievement-badge {
    background: #FFFDE7;
    border: 2px solid #FFECB3;
    border-radius: 14px;
    padding: 16px;
}
.achievement-badge.unlocked {
    border-color: #FFD54F;
    background: linear-gradient(135deg, #FFF59D, #FFFDE7);
    box-shadow: 0 4px 12px rgba(255,213,79,0.25);
}
.achievement-badge h4 {
    margin-bottom: 6px;
    color: #5D4037;
    font-size: 16px;
}
.achievement-badge p {
    font-size: 13px;
    color: #616161;
}

/* Resources Screen */
.resources-container {
    background: white;
    border-radius: 20px;
    padding: 40px 50px;
    margin: 20px 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.resources-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #E0E0E0;
}

.resources-header h2 {
    color: #0F1B4C;
    font-size: 32px;
    margin-bottom: 15px;
}

.resources-intro {
    color: #616161;
    font-size: 16px;
    margin-bottom: 25px;
}
.resource-filters {
    margin-top: 20px;
    display: grid;
    gap: 12px;
}
.resource-search-input {
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
}
.resource-search-input:focus {
    border-color: #1565C0;
    box-shadow: 0 0 0 3px rgba(21,101,192,0.15);
}
.resource-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    background: #FAFAFA;
    border: 2px solid #E0E0E0;
    border-radius: 20px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.chip input { width: 16px; height: 16px; }
.chip span { font-size: 13px; color: #424242; }

.resources-stats {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-badge {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: #1565C0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.resources-content {
    margin-bottom: 40px;
}

.resource-category-section {
    margin-bottom: 50px;
}

.resource-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(to right, #0F1B4C, #1565C0);
    border-radius: 12px;
    margin-bottom: 25px;
}

.resource-category-header h3 {
    color: white;
    font-size: 22px;
    margin: 0;
}

.resource-count {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
}

.resources-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.resource-detail-card {
    background: #FAFAFA;
    border: 2px solid #E0E0E0;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #4CAF50, #2196F3);
}

.resource-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #1565C0;
}

.resource-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.resource-name {
    color: #0F1B4C;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.resource-description {
    color: #424242;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.resource-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.service-tag {
    background: #E3F2FD;
    color: #1565C0;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.service-tag.more {
    background: #FFF3E0;
    color: #E65100;
}

.resource-details {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

.resource-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #F0F0F0;
}

.resource-detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.detail-text {
    color: #616161;
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
}

.resources-actions {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Answer Reveal Screen */
.reveal-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 20px 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.reveal-header {
    text-align: center;
    margin-bottom: 35px;
}

.reveal-header h2 {
    color: #616161;
    font-size: 22px;
    margin-bottom: 12px;
}

.reveal-building {
    color: #D32F2F;
    font-size: 32px;
    font-weight: bold;
}

.reveal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-bottom: 30px;
}

.reveal-photo img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.reveal-info {
    background: #FFF3E0;
    padding: 25px;
    border-radius: 12px;
}

.reveal-info h4 {
    color: #E65100;
    font-size: 18px;
    margin-bottom: 12px;
}

.reveal-info p {
    color: #424242;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.reveal-info ul {
    padding-left: 25px;
    color: #424242;
}

.reveal-info li {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 14px;
}
/* Compare section */
.compare-section {
    margin: 20px 0 10px;
}
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 10px 0 10px;
}
.compare-card {
    background: #FAFAFA;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    padding: 16px;
}
.distance-card {
    background: #E3F2FD;
    border: 2px solid #90CAF9;
    color: #0D47A1;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .question-layout,
    .map-layout,
    .reveal-content {
        grid-template-columns: 1fr;
    }
    
    .tutorial-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .welcome-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .score-stats {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scoreIncrement {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.5);
        opacity: 1;
    }
    100% {
        transform: translateY(-60px) scale(1);
        opacity: 0;
    }
}

.score-animation {
    animation: scoreIncrement 0.8s ease-out;
}

/* ========== PERSONA & MAJOR DECK SCREENS ========== */

.persona-grid,
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.persona-card,
.major-deck-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #333;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.persona-card:hover,
.major-deck-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.persona-card.selected,
.major-deck-card.selected {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #1a2e1a 0%, #16213e 100%);
}

.persona-icon,
.deck-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    color: white;
}

.persona-name,
.deck-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.persona-description,
.deck-description {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.persona-stats,
.deck-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.persona-stats span,
.deck-stats span {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #ccc;
}

.persona-tips {
    color: #888;
    font-size: 0.85rem;
    padding-top: 12px;
    border-top: 1px solid #333;
}

.selected-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #4CAF50;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.persona-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* ========== LEARNING INSIGHTS ========== */

.learning-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin: 24px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 24px;
    border-radius: 16px;
}

.learning-stats-grid .stat-item {
    text-align: center;
}

.learning-stats-grid .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #4CAF50;
}

.learning-stats-grid .stat-label {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 4px;
}

.insights-section {
    margin: 32px 0;
}

.insights-section h3 {
    color: #fff;
    margin-bottom: 8px;
}

.section-subtitle {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.insight-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #333;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.insight-card.weak {
    border-color: #FF5722;
}

.insight-card.mastered {
    border-color: #4CAF50;
}

.insight-building {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.insight-name {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 8px;
}

.insight-stat {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
}

.insights-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.empty-message {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 24px;
}

/* ========== ENHANCED RESOURCE CARDS ========== */

.resource-card.enhanced {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.resource-location {
    font-size: 0.85rem;
    color: #4CAF50;
    margin-top: 8px;
    padding: 8px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
}

.resource-hours {
    font-size: 0.8rem;
    color: #888;
    margin-top: 4px;
}

/* Round Selector */
.round-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.option-description {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* Button variants */
.btn-danger {
    background: #D32F2F;
    color: white;
}

.btn-danger:hover {
    background: #B71C1C;
}

/* ========== STREET VIEW STYLES ========== */

/* Street View Modal */
.street-view-modal {
    max-width: 1200px;
    width: 95vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.street-view-body {
    display: flex;
    gap: 20px;
    flex: 1;
    min-height: 0;
    padding: 0;
}

.street-view-container {
    flex: 2;
    min-height: 400px;
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.street-view-iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    border-radius: 12px;
}

.street-view-info {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow-y: auto;
}

.street-view-info h3 {
    color: #4FC3F7;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.street-view-info p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.street-view-tips {
    background: rgba(76, 175, 80, 0.1);
    padding: 16px;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.street-view-tips h4 {
    color: #4CAF50;
    margin-bottom: 12px;
    font-size: 1rem;
}

.street-view-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.street-view-tips li {
    color: #ccc;
    font-size: 0.9rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.street-view-tips li:last-child {
    border-bottom: none;
}

.street-view-tips li strong {
    color: #4FC3F7;
}

.street-view-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Street View Explorer Grid */
.street-view-explorer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.street-view-building-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.street-view-building-card:hover {
    transform: translateY(-4px);
    border-color: #4FC3F7;
    box-shadow: 0 8px 32px rgba(79, 195, 247, 0.3);
}

.sv-card-image {
    height: 140px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.sv-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.street-view-building-card:hover .sv-card-overlay {
    opacity: 1;
}

.sv-card-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.sv-card-action {
    color: #4FC3F7;
    font-weight: 600;
    font-size: 0.95rem;
}

.sv-card-content {
    padding: 16px;
}

.sv-card-category {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sv-card-title {
    color: #4FC3F7;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 4px 0;
}

.sv-card-name {
    color: #ccc;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.3;
}

/* Street View Button in Map Screen */
#open-street-view {
    background: linear-gradient(135deg, #00796B 0%, #00695C 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

#open-street-view:hover {
    background: linear-gradient(135deg, #00897B 0%, #00796B 100%);
}

/* ========== WALKING ROUTE STYLES ========== */

/* Route summary stats */
.route-summary {
    display: flex;
    gap: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    margin-bottom: 16px;
}

.route-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-icon {
    font-size: 1.5rem;
}

.route-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4FC3F7;
}

/* Turn-by-turn steps */
.route-steps {
    margin-top: 16px;
}

.route-steps h5 {
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step-counter;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #ddd;
    position: relative;
    counter-increment: step-counter;
}

.steps-list li::before {
    content: counter(step-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
}

.step-distance {
    color: #888;
    font-size: 0.85rem;
    margin-left: auto;
}

/* Walking route line */
.walking-route {
    filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.3));
}

/* Fallback route note */
.route-note {
    padding: 10px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 8px;
    border-left: 3px solid #FF9800;
}

/* Map route styling via Leaflet */
.campus-map-route {
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* User location dot - static, no animation */
.campus-map-user-dot {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Pulsing ring effect - animates opacity only */
.campus-map-pulse-ring {
    animation: pulse-ring 2s ease-out infinite;
    pointer-events: none;
}

@keyframes pulse-ring {
    0% {
        opacity: 0.6;
        stroke-width: 2;
    }
    50% {
        opacity: 0.3;
        stroke-width: 3;
    }
    100% {
        opacity: 0.6;
        stroke-width: 2;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .persona-grid,
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .learning-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .persona-actions,
    .insights-actions {
        flex-direction: column;
    }
    
    .street-view-body {
        flex-direction: column;
    }
    
    .street-view-info {
        max-width: none;
    }
    
    .street-view-container {
        min-height: 300px;
    }
    
    .street-view-explorer-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .sv-card-image {
        height: 100px;
    }
}
