/* CSS Completo - Detetive de Dados */

/* Variáveis CSS */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --primary-text: #ffffff;
    --secondary-text: #64ffda;
    --muted-text: #8892b0;
    --accent-color: #00ff88;
    --error-color: #ff6b6b;
    --warning-color: #ffa726;
    --success-color: #4caf50;
    --border-color: #233554;
    --border-radius: 8px;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --font-display: 'Orbitron', 'Arial Black', sans-serif;
    --shadow-glow: 0 0 20px rgba(100, 255, 218, 0.3);
}

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

body {
    font-family: var(--font-mono);
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    color: var(--primary-text);
    min-height: 100vh;
    line-height: 1.6;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-text);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Tela de Boas-vindas */
.welcome-screen {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.welcome-content {
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.welcome-header {
    margin-bottom: 3rem;
}

.welcome-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.welcome-header h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--secondary-text);
    margin: 0;
    text-shadow: var(--shadow-glow);
    letter-spacing: 2px;
}

.story-intro {
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid var(--secondary-text);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    text-align: left;
    backdrop-filter: blur(10px);
}

.story-intro h2 {
    font-family: var(--font-display);
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.story-intro p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.welcome-options {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.welcome-btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-mono);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    font-size: 1rem;
}

.welcome-btn.primary {
    background: linear-gradient(135deg, var(--secondary-text), var(--accent-color));
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.welcome-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.5);
}

.welcome-btn.secondary {
    background: transparent;
    color: var(--secondary-text);
    border: 2px solid var(--secondary-text);
}

.welcome-btn.secondary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.project-info {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: left;
    backdrop-filter: blur(5px);
}

.project-info h3 {
    color: var(--secondary-text);
    font-family: var(--font-display);
    margin-bottom: 1rem;
    text-align: center;
}

.project-info ul {
    list-style: none;
    padding: 0;
}

.project-info li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
}

/* Header do Jogo */
.game-header {
    background: rgba(26, 26, 46, 0.95);
    border-bottom: 2px solid var(--secondary-text);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.game-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--secondary-text);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.title-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--muted-text);
    font-weight: normal;
    margin-left: 1rem;
}

.agency-badge {
    background: linear-gradient(135deg, var(--secondary-text), var(--accent-color));
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Layout Principal do Jogo */
.game-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.game-main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Painel de Briefing */
.briefing-panel {
    background: rgba(26, 26, 46, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.panel-header h2 {
    font-family: var(--font-display);
    color: var(--secondary-text);
    font-size: 1.3rem;
}

.case-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.case-number {
    font-family: var(--font-mono);
    color: var(--secondary-text);
    font-weight: bold;
    font-size: 0.9rem;
}

.case-status {
    background: var(--warning-color);
    color: var(--bg-primary);
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
}

.case-status.completed {
    background: var(--success-color);
}

.case-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.case-description {
    line-height: 1.7;
    margin-bottom: 2rem;
}

.story-intro {
    background: rgba(100, 255, 218, 0.1);
    border-left: 4px solid var(--secondary-text);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.story-intro p {
    margin-bottom: 1rem;
}

.story-intro em {
    color: var(--secondary-text);
    font-style: italic;
}

/* Explicação SQL */
.sql-explanation {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.explanation-header {
    color: var(--secondary-text);
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.explanation-content ul {
    list-style: none;
    padding: 0;
}

.explanation-content li {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
}

.explanation-content li::before {
    content: "▶";
    color: var(--secondary-text);
    position: absolute;
    left: 0;
}

.explanation-content code {
    background: rgba(100, 255, 218, 0.2);
    color: var(--secondary-text);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
}

/* Sistema de Dicas */
.hint-section {
    background: rgba(255, 167, 38, 0.1);
    border: 1px solid var(--warning-color);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.hint-header {
    padding: 1rem;
}

.hint-toggle-btn {
    background: transparent;
    color: var(--warning-color);
    border: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    padding: 0.5rem;
    border-radius: 4px;
}

.hint-toggle-btn:hover {
    background: rgba(255, 167, 38, 0.2);
}

.hint-toggle-btn.expanded {
    color: var(--accent-color);
}

.hint-content {
    padding: 0 1rem 1rem;
    color: var(--muted-text);
    font-style: italic;
    animation: slideDown 0.3s ease-out;
}

/* Navegação entre Casos */
.case-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: space-between;
}

.nav-case-btn {
    flex: 1;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.2), rgba(100, 255, 218, 0.1));
    color: var(--secondary-text);
    border: 1px solid var(--secondary-text);
    border-radius: var(--border-radius);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-case-btn:hover:not(.disabled) {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.3), rgba(100, 255, 218, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

.nav-case-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(136, 146, 176, 0.1);
    color: var(--muted-text);
    border-color: var(--muted-text);
}

/* Painel Terminal */
.terminal-panel {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.terminal-header {
    background: var(--bg-secondary);
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-btn.close { background: #ff5f56; }
.control-btn.minimize { background: #ffbd2e; }
.control-btn.maximize { background: #27ca3f; }

.terminal-title {
    color: var(--secondary-text);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.terminal-content {
    padding: 1.5rem;
}

/* Construtor de Consulta */
.query-builder {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.builder-title {
    color: var(--secondary-text);
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.builder-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.sql-btn {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    color: var(--primary-text);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: var(--border-radius);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sql-btn:hover {
    background: linear-gradient(135deg, var(--secondary-text), var(--accent-color));
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

.sql-btn.clear-btn {
    background: linear-gradient(135deg, var(--error-color), #ff5252);
    color: white;
}

.sql-btn.clear-btn:hover {
    background: linear-gradient(135deg, #ff5252, #f44336);
}

/* Input SQL */
.sql-input-section {
    margin-bottom: 1.5rem;
}

.input-label {
    color: var(--secondary-text);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.input-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.prompt {
    color: var(--secondary-text);
    font-family: var(--font-mono);
    font-weight: bold;
}

.sql-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--primary-text);
    font-family: var(--font-mono);
    font-size: 1rem;
    outline: none;
}

.sql-input::placeholder {
    color: var(--muted-text);
}

.execute-btn {
    background: linear-gradient(135deg, var(--secondary-text), var(--accent-color));
    color: var(--bg-primary);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-mono);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.execute-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.4);
}

/* Seção de Resultados */
.results-section {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.results-header {
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.results-header span:first-child {
    color: var(--secondary-text);
    font-family: var(--font-display);
    font-size: 1rem;
}

.results-count {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.results-content {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.no-results {
    color: var(--muted-text);
    text-align: center;
    font-style: italic;
    padding: 2rem;
}

/* Tabela de Resultados */
.results-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.results-table th {
    background: var(--bg-secondary);
    color: var(--secondary-text);
    padding: 0.8rem;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    font-weight: bold;
}

.results-table td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary-text);
}

.results-table tr:hover {
    background: rgba(100, 255, 218, 0.1);
}

/* Barra de Progresso */
.progress-container {
    background: rgba(26, 26, 46, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 1rem 2rem;
    backdrop-filter: blur(10px);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.progress-info span:first-child {
    color: var(--secondary-text);
    font-family: var(--font-display);
    font-size: 1rem;
}

.progress-text {
    color: var(--muted-text);
    font-size: 0.9rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(136, 146, 176, 0.2);
    border-radius: 4px;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-text), var(--accent-color));
    transition: width 0.5s ease;
    border-radius: 4px;
}

/* Notificação de Conquista */
.achievement-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--secondary-text), var(--accent-color));
    color: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.5);
    transform: translateX(400px);
    transition: transform 0.5s ease;
    z-index: 1000;
    max-width: 300px;
}

.achievement-notification.show {
    transform: translateX(0);
}

.achievement-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.achievement-icon {
    font-size: 2rem;
}

.achievement-title {
    font-family: var(--font-display);
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.achievement-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Mensagens de Feedback */
.success-message {
    background: rgba(76, 175, 80, 0.2);
    color: var(--success-color);
    border: 1px solid var(--success-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    animation: slideInDown 0.5s ease-out;
}

.error-message {
    background: rgba(255, 107, 107, 0.2);
    color: var(--error-color);
    border: 1px solid var(--error-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    animation: slideInDown 0.5s ease-out;
}

/* Páginas de Conteúdo */
.content-page {
    min-height: 100vh;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--secondary-text);
    margin-bottom: 1rem;
    text-shadow: var(--shadow-glow);
}

.page-header p {
    color: var(--muted-text);
    font-size: 1.1rem;
}

.back-btn {
    display: inline-block;
    background: transparent;
    color: var(--secondary-text);
    border: 1px solid var(--secondary-text);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-mono);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.back-btn:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

/* Seções de Conteúdo */
.content-section {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.content-section h2 {
    color: var(--secondary-text);
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.content-section h3 {
    color: var(--secondary-text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.content-section ul, .content-section ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Cards de Comando SQL */
.command-card {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.command-card:hover {
    border-color: var(--secondary-text);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.command-card h4 {
    color: var(--secondary-text);
    font-family: var(--font-display);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.command-syntax {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
    font-family: var(--font-mono);
    color: var(--secondary-text);
    overflow-x: auto;
}

.command-example {
    background: rgba(100, 255, 218, 0.1);
    border-left: 4px solid var(--secondary-text);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 4px 4px 0;
}

/* Página de Erro */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.error-icon {
    font-size: 5rem;
    color: var(--error-color);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.error-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--error-color);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.2rem;
    color: var(--muted-text);
    margin-bottom: 2rem;
    max-width: 600px;
}

.error-log {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--error-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    max-width: 800px;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    overflow-x: auto;
}

.error-log h3 {
    color: var(--error-color);
    margin-bottom: 1rem;
}

.error-details {
    color: var(--muted-text);
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Quiz e Avaliação */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
}

.question-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.question-number {
    color: var(--secondary-text);
    font-family: var(--font-display);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.question-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.option-item {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-item:hover {
    border-color: var(--secondary-text);
    background: rgba(100, 255, 218, 0.1);
}

.option-item.selected {
    border-color: var(--secondary-text);
    background: rgba(100, 255, 218, 0.2);
}

.option-item.correct {
    border-color: var(--success-color);
    background: rgba(76, 175, 80, 0.2);
}

.option-item.incorrect {
    border-color: var(--error-color);
    background: rgba(255, 107, 107, 0.2);
}

/* Formulário de Avaliação */
.evaluation-form {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    color: var(--secondary-text);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    color: var(--primary-text);
    font-family: var(--font-mono);
    font-size: 1rem;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--secondary-text);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.star {
    font-size: 2rem;
    color: var(--muted-text);
    cursor: pointer;
    transition: color 0.3s ease;
}

.star:hover, .star.active {
    color: var(--warning-color);
}

.submit-btn {
    background: linear-gradient(135deg, var(--secondary-text), var(--accent-color));
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.4);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.8; 
    }
}

/* Responsividade */
@media (max-width: 1024px) {
    .game-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .welcome-header h1 {
        font-size: 2.5rem;
    }
    
    .game-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .welcome-content {
        padding: 1rem;
    }
    
    .welcome-header h1 {
        font-size: 2rem;
    }
    
    .welcome-options {
        flex-direction: column;
    }
    
    .welcome-btn {
        width: 100%;
    }
    
    .game-main {
        padding: 1rem;
    }
    
    .case-navigation {
        flex-direction: column;
    }
    
    .builder-buttons {
        justify-content: center;
    }
    
    .input-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .execute-btn {
        width: 100%;
    }
    
    .achievement-notification {
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .welcome-icon {
        font-size: 3rem;
    }
    
    .welcome-header h1 {
        font-size: 1.5rem;
    }
    
    .story-intro {
        padding: 1.5rem;
    }
    
    .game-header {
        padding: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .briefing-panel, .terminal-panel {
        padding: 1rem;
    }
    
    .results-table {
        font-size: 0.8rem;
    }
    
    .results-table th, .results-table td {
        padding: 0.5rem;
    }
}

