/* Concert Promotion & Booking Simulator - Belmont University */
/* Color Palette: Belmont Blue (#003087), Gold (#FDB827), White, Charcoal */

:root {
    --belmont-blue: #003087;
    --belmont-gold: #FDB827;
    --belmont-navy: #001f5c;
    --belmont-light-blue: #4A90E2;
    --success-green: #28a745;
    --warning-yellow: #ffc107;
    --danger-red: #dc3545;
    --charcoal: #2c3e50;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e9ecef 100%);
    color: var(--charcoal);
    line-height: 1.6;
}

/* Header */
.game-header {
    background: linear-gradient(135deg, var(--belmont-blue) 0%, var(--belmont-navy) 100%);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

.university-branding h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.university-branding h1 i {
    color: var(--belmont-gold);
    margin-right: 0.5rem;
}

.dept-name {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

.course-info {
    text-align: right;
}

.course-info h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--belmont-gold);
}

.course-info p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reset-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--belmont-gold);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(253, 184, 39, 0.1);
}

.reset-link:hover {
    background: var(--belmont-gold);
    color: var(--belmont-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 184, 39, 0.4);
}

.reset-link i {
    font-size: 1rem;
}

/* Game Container */
.game-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    min-height: calc(100vh - 200px);
}

/* Screens */
.screen {
    display: none;
    animation: fadeIn 0.5s ease;
}

.screen.active {
    display: block;
}

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

/* Welcome Screen */
.welcome-content {
    text-align: center;
}

.game-title {
    font-size: 2.5rem;
    color: var(--belmont-blue);
    margin-bottom: 2rem;
    font-weight: 800;
}

.welcome-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.welcome-card h2 {
    color: var(--belmont-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--charcoal);
}

.learning-objectives {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--belmont-gold);
}

.learning-objectives h3 {
    color: var(--belmont-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.learning-objectives ul {
    list-style: none;
    padding-left: 0;
}

.learning-objectives li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.learning-objectives li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.scenario-overview {
    margin: 2rem 0;
}

.scenario-overview h3 {
    color: var(--belmont-blue);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.scenario-preview {
    background: white;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.scenario-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--belmont-blue);
}

.scenario-preview i {
    font-size: 2.5rem;
    color: var(--belmont-gold);
    margin-bottom: 0.5rem;
}

.scenario-preview h4 {
    color: var(--belmont-blue);
    margin: 0.5rem 0;
}

.scenario-preview p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.difficulty {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.difficulty.easy {
    background: #d4edda;
    color: #155724;
}

.difficulty.medium {
    background: #fff3cd;
    color: #856404;
}

.difficulty.hard {
    background: #f8d7da;
    color: #721c24;
}

.difficulty.expert {
    background: #d6d8db;
    color: #383d41;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--belmont-blue);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--belmont-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,48,135,0.3);
}

.btn-secondary {
    background: var(--medium-gray);
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #5a6268;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    margin-top: 2rem;
}

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

/* Scenario Selection */
.scenario-selection-content h2 {
    color: var(--belmont-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.player-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--belmont-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--belmont-blue);
}

/* Scenario Cards */
.scenarios-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.scenario-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.scenario-card:not(.locked):hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.scenario-card.locked {
    opacity: 0.6;
}

.scenario-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.scenario-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--belmont-blue), var(--belmont-light-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.scenario-title-block {
    flex: 1;
}

.scenario-title-block h3 {
    color: var(--belmont-blue);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.difficulty-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty-badge.easy { background: #d4edda; color: #155724; }
.difficulty-badge.medium { background: #fff3cd; color: #856404; }
.difficulty-badge.hard { background: #f8d7da; color: #721c24; }
.difficulty-badge.expert { background: #d6d8db; color: #383d41; }

.scenario-status i {
    font-size: 1.5rem;
    color: var(--medium-gray);
}

.scenario-details {
    margin-bottom: 1.5rem;
}

.scenario-details p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.scenario-details strong {
    color: var(--belmont-blue);
}

.scenario-description {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    font-style: italic;
}

/* Story Content */
.scenario-header-bar {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.scenario-number {
    background: var(--belmont-gold);
    color: var(--charcoal);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 1rem;
}

.game-stats-mini {
    display: flex;
    gap: 1.5rem;
    font-weight: 600;
}

.game-stats-mini span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.game-stats-mini i {
    color: var(--belmont-gold);
}

.story-content {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    min-height: 400px;
}

.story-node {
    animation: fadeIn 0.5s ease;
}

/* Scenario Intro Styling */
.scenario-intro h3 {
    color: var(--belmont-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.scenario-briefing {
    margin-top: 2rem;
}

.briefing-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.briefing-section h4 {
    color: var(--belmont-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.briefing-section h4 i {
    color: var(--belmont-gold);
}

.briefing-section ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.briefing-section li {
    margin: 0.5rem 0;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert i {
    font-size: 1.3rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.alert-info {
    background: #d1ecf1;
    border-left: 4px solid #0c5460;
    color: #0c5460;
}

.alert-warning {
    background: #fff3cd;
    border-left: 4px solid #856404;
    color: #856404;
}

.alert-success {
    background: #d4edda;
    border-left: 4px solid #155724;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-left: 4px solid #721c24;
    color: #721c24;
}

/* Dialogue */
.phone-call {
    background: white;
    border: 2px solid var(--belmont-blue);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.call-header {
    background: var(--belmont-blue);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dialogue {
    margin-top: 1rem;
}

.dialogue p {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    line-height: 1.6;
}

.dialogue .you {
    background: #e3f2fd;
    border-left: 4px solid var(--belmont-blue);
}

.dialogue .agent,
.dialogue .manager,
.dialogue .venue,
.dialogue .artist,
.dialogue .taylor-team {
    background: var(--light-gray);
    border-left: 4px solid var(--medium-gray);
}

/* Choices */
.story-content .choices {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.choice-button {
    background: white;
    border: 2px solid var(--belmont-blue);
    padding: 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--charcoal);
    font-weight: 500;
}

.choice-button:hover {
    background: var(--belmont-blue);
    color: white;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0,48,135,0.2);
}

/* Tables */
.settlement-table, .history-table, .calc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.settlement-table tr, .history-table tr, .calc-table tr {
    border-bottom: 1px solid #dee2e6;
}

.settlement-table td, .settlement-table th,
.history-table td, .history-table th,
.calc-table td, .calc-table th {
    padding: 0.75rem;
    text-align: left;
}

.settlement-table th, .history-table th, .calc-table th {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--belmont-blue);
}

.settlement-table td:last-child, .calc-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.settlement-table .total-row, .calc-table .total-row {
    background: var(--light-gray);
    font-weight: 700;
    font-size: 1.1rem;
}

.settlement-table .total-row.success, .calc-table .total-row.profit {
    background: #d4edda;
    color: #155724;
}

.settlement-table .total-row.loss, .calc-table .total-row.loss {
    background: #f8d7da;
    color: #721c24;
}

.settlement-table .subtotal-row, .calc-table .subtotal-row {
    background: var(--light-gray);
    font-weight: 600;
}

.settlement-box, .calc-result-box {
    background: white;
    border: 2px solid var(--belmont-blue);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.settlement-box h4, .calc-result-box h5 {
    color: var(--belmont-blue);
    margin-bottom: 1rem;
}

/* Calculator */
.calculator-modal {
    max-width: 900px;
}

.calculator-container {
    padding: 1rem;
}

.calculator-description {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.9rem;
}

.input-group input, .input-group select {
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--belmont-blue);
}

.calc-results {
    margin-top: 2rem;
}

.calc-insights {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.calc-insights h6 {
    color: var(--belmont-blue);
    margin-bottom: 0.5rem;
}

.calc-insights ul {
    list-style: none;
    padding-left: 0;
}

.calc-insights li {
    padding: 0.25rem 0;
}

.calculator-section {
    margin: 2rem 0;
    text-align: center;
}

.calculator-section .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

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

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    background: var(--belmont-blue);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s;
}

.close-modal:hover {
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

/* Results Screen */
.results-content {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.results-header h2 {
    color: var(--belmont-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.results-icon {
    font-size: 5rem;
    margin: 2rem 0;
}

.results-icon.success {
    color: var(--success-green);
}

.results-icon.failure {
    color: var(--danger-red);
}

.results-details {
    text-align: left;
    margin: 2rem 0;
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.lesson-learned {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--belmont-gold);
    text-align: left;
}

.lesson-learned h4 {
    color: var(--belmont-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.game-footer {
    background: var(--charcoal);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.game-footer p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

/* Tour Calculator Specific Styles */
.tour-calculator .tour-deal-structure {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.tour-calculator .tour-deal-structure h5 {
    color: var(--belmont-blue);
    margin-bottom: 1rem;
}

.tour-calculator .tour-deal-structure label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tour-calculator .tour-deal-structure select,
.tour-calculator .tour-deal-structure input {
    width: 100%;
    max-width: 300px;
    margin-top: 0.5rem;
}

.tour-calculator .tour-cities {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.city-calc-row {
    background: white;
    border: 2px solid var(--belmont-blue);
    border-radius: 12px;
    padding: 1.5rem;
}

.city-calc-row h5 {
    color: var(--belmont-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.city-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.city-inputs label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--charcoal);
}

.city-inputs input {
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
}

.city-inputs input:focus {
    outline: none;
    border-color: var(--belmont-blue);
}

/* Comparison Calculator Styles */
.venue-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.venue-option {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
}

.venue-option h5 {
    color: var(--belmont-blue);
    margin-bottom: 1rem;
}

.venue-option label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.venue-option input {
    width: 100%;
    margin-top: 0.5rem;
}

.comparison-results {
    margin-top: 2rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.comparison-column {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
}

.comparison-column h6 {
    color: var(--belmont-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.comparison-winner {
    background: #d1ecf1;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--belmont-blue);
    margin-top: 2rem;
}

.comparison-winner h6 {
    color: var(--belmont-blue);
    margin-bottom: 1rem;
}

/* Decision History Styles */
.decision-history {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid var(--belmont-blue);
    border-radius: 16px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,48,135,0.1);
}

.decision-history-header {
    background: var(--belmont-blue);
    color: white;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    user-select: none;
}

.decision-history-header:hover {
    background: #00256b;
}

.decision-history-header i:first-child {
    font-size: 1.2rem;
}

.decision-history-header span {
    flex: 1;
}

.decision-history-header .toggle-icon {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.decision-history-header.expanded .toggle-icon {
    transform: rotate(180deg);
}

.decision-history-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.decision-history-content.expanded {
    max-height: 800px;
    padding: 1.5rem;
    overflow-y: auto;
}

.decision-timeline {
    position: relative;
    padding-left: 2rem;
}

.decision-timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--belmont-blue) 0%, var(--belmont-gold) 100%);
    border-radius: 3px;
}

.decision-item {
    position: relative;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.decision-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,48,135,0.15);
}

.decision-item:last-child {
    margin-bottom: 0;
}

.decision-number {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--belmont-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 6px rgba(0,48,135,0.3);
    position: relative;
    z-index: 1;
}

.decision-details {
    flex: 1;
}

.decision-title {
    color: var(--belmont-blue);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.decision-choice {
    color: var(--charcoal);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Negotiation Summary Styles */
.negotiation-summary {
    background: white;
    border: 3px solid var(--belmont-gold);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 6px 20px rgba(253,184,39,0.2);
}

.negotiation-summary h3 {
    color: var(--belmont-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.negotiation-summary h3 i {
    color: var(--belmont-gold);
}

.summary-section {
    margin-bottom: 2rem;
}

.summary-section:last-child {
    margin-bottom: 0;
}

.summary-section h4 {
    color: var(--belmont-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.summary-metric {
    background: var(--light-gray);
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.summary-metric:hover {
    border-color: var(--belmont-blue);
    transform: translateY(-2px);
}

.summary-metric-label {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.summary-metric-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--belmont-blue);
}

.summary-metric-value.positive {
    color: var(--success-green);
}

.summary-metric-value.negative {
    color: var(--danger-red);
}

.summary-timeline {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
}

.summary-decision {
    padding: 1rem;
    margin-bottom: 1rem;
    background: white;
    border-left: 4px solid var(--belmont-blue);
    border-radius: 8px;
}

.summary-decision:last-child {
    margin-bottom: 0;
}

.summary-decision.turning-point {
    border-left-color: var(--belmont-gold);
    box-shadow: 0 2px 8px rgba(253,184,39,0.2);
}

.summary-decision-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.summary-decision-step {
    font-weight: bold;
    color: var(--belmont-blue);
    font-size: 0.9rem;
}

.summary-decision-title {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.summary-decision-choice {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.clickable-decision {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.clickable-decision:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,48,135,0.2);
    background: #f8f9fa;
}

.clickable-decision .replay-icon {
    color: var(--belmont-blue);
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: 0.9rem;
}

.clickable-decision:hover .replay-icon {
    opacity: 1;
}

.clickable-decision::after {
    content: 'Click to replay';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--belmont-blue);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.clickable-decision:hover::after {
    opacity: 0.7;
}

/* Replay Modal */
.replay-modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.replay-modal-body {
    padding: 0;
}

.replay-header {
    background: linear-gradient(135deg, var(--belmont-blue) 0%, #00256b 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 8px 8px 0 0;
    margin: -2rem -2rem 2rem -2rem;
}

.replay-header h4 {
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.replay-node-title {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.replay-content {
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.replay-choice-made {
    background: #e7f3ff;
    border: 2px solid var(--belmont-blue);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem;
}

.replay-choice-made h5 {
    color: var(--belmont-blue);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.choice-highlight {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--charcoal);
    margin: 0;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2rem 2rem 2rem;
    border-top: 1px solid var(--light-gray);
    margin-top: 2rem;
}

.turning-point-badge {
    background: var(--belmont-gold);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.summary-comparison {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--belmont-blue);
    margin: 1rem 0;
}

.summary-comparison h5 {
    color: var(--belmont-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.summary-comparison p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.summary-comparison strong {
    color: var(--belmont-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .course-info {
        text-align: center;
    }
    
    .game-title {
        font-size: 1.8rem;
    }
    
    .welcome-card {
        padding: 2rem;
    }
    
    .scenario-grid {
        grid-template-columns: 1fr;
    }
    
    .player-stats {
        grid-template-columns: 1fr;
    }
    
    .story-content {
        padding: 1.5rem;
    }
    
    .scenario-header {
        flex-direction: column;
        text-align: center;
    }
    
    .city-inputs {
        grid-template-columns: 1fr;
    }
    
    .venue-comparison {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .decision-history-content.expanded {
        max-height: 600px;
    }
    
    .decision-timeline {
        padding-left: 1.5rem;
    }
    
    .decision-item {
        flex-direction: row;
        padding: 0.75rem;
    }
    
    .decision-number {
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
    }
    
    .decision-title {
        font-size: 0.9rem;
    }
    
    .decision-choice {
        font-size: 0.85rem;
    }
    
    .negotiation-summary {
        padding: 1.5rem;
    }
    
    .negotiation-summary h3 {
        font-size: 1.4rem;
    }
    
    .summary-metrics {
        grid-template-columns: 1fr;
    }
    
    .summary-metric-value {
        font-size: 1.5rem;
    }
}