/* Import 8-bit styles from original */
@import url('styles.css');

/* ========================================
   STYLE SWITCHER BUTTON
   ======================================== */

.style-switcher {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 9999;
}

.style-switcher button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 3px solid #f39c12;
    color: #ecf0f1;
    padding: 10px 15px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.style-switcher button:hover {
    background: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.5);
}

.style-switcher .style-icon {
    font-size: 18px;
}

/* ========================================
   STYLE NOTIFICATION
   ======================================== */

.style-notification {
    position: fixed;
    top: 70px;
    right: 15px;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.style-notification.show {
    opacity: 1;
    transform: translateY(0);
}

body.style-zx .style-notification {
    background: #00FFFF;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 0;
    box-shadow: none;
}

/* Additional Game-Specific Styles */

.game-screen {
    display: none;
}

.game-screen.active {
    display: block;
}

/* Menu Screen */
.menu-container {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 4px solid #f39c12;
    border-radius: 8px;
    max-width: 600px;
    margin: 50px auto;
}

.game-title {
    font-size: 36px;
    color: #f39c12;
    text-shadow: 3px 3px #000, 5px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

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

.menu-subtitle {
    color: #ecf0f1;
    font-size: 16px;
    margin-bottom: 40px;
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.menu-btn {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 3px solid #3498db;
    color: #ecf0f1;
    padding: 15px 30px;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    text-shadow: 1px 1px #000;
}

.menu-btn:hover {
    background: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.5);
}

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

/* Character Creation */
.creation-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #f39c12;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 1px 1px #000;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    background: #1a1a2e;
    border: 2px solid #3498db;
    color: #ecf0f1;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    border-radius: 4px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

.info-panel {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    border: 3px solid #f39c12;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.info-panel h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 18px;
}

.info-panel p {
    color: #ecf0f1;
    margin-bottom: 8px;
    line-height: 1.5;
}

.start-btn {
    width: 100%;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border: 3px solid #f39c12;
    color: #fff;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    text-shadow: 2px 2px #000;
}

.start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(46, 204, 113, 0.5);
}

/* News Ticker */
.news-ticker {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: 2px solid #f39c12;
    border-radius: 4px;
    padding: 10px;
    margin: 15px 0;
    color: #fff;
    font-size: 14px;
    min-height: 40px;
    display: flex;
    align-items: center;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.news-ticker::before {
    content: '📰 ';
    margin-right: 8px;
}

/* Game Controls */
.game-controls {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.control-btn {
    flex: 1;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border: 2px solid #95a5a6;
    color: #ecf0f1;
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
}

.control-btn:hover {
    background: #95a5a6;
    transform: translateY(-2px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s;
}

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

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 4px solid #f39c12;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s;
}

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

.modal-header {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    padding: 20px;
    border-bottom: 3px solid #f39c12;
}

.modal-header h3 {
    color: #fff;
    font-size: 22px;
    margin: 0;
    text-shadow: 2px 2px #000;
}

.modal-body {
    padding: 20px;
    color: #ecf0f1;
    line-height: 1.6;
}

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

.modal-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: 3px solid #f39c12;
    color: #fff;
    padding: 12px 40px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    text-shadow: 1px 1px #000;
}

.modal-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.5);
}

.modal-btn.danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.modal-btn.success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

/* Choice Buttons in Modal */
.choice-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.choice-btn {
    flex: 1;
    min-width: 150px;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border: 2px solid #3498db;
    color: #ecf0f1;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
}

.choice-btn:hover {
    background: #3498db;
    transform: translateY(-2px);
}

/* Event Types */
.event-positive {
    border-left: 4px solid #2ecc71;
    padding-left: 15px;
}

.event-negative {
    border-left: 4px solid #e74c3c;
    padding-left: 15px;
}

.event-neutral {
    border-left: 4px solid #3498db;
    padding-left: 15px;
}

/* Stat Changes Display */
.stat-changes {
    background: #1a1a2e;
    border: 2px solid #34495e;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
}

.stat-change-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #2c3e50;
}

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

.stat-change-positive {
    color: #2ecc71;
    font-weight: bold;
}

.stat-change-negative {
    color: #e74c3c;
    font-weight: bold;
}

/* Career Stats Display */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 3px solid #3498db;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.stat-card-value {
    font-size: 32px;
    color: #f39c12;
    font-weight: bold;
    margin-bottom: 5px;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-title {
        font-size: 24px;
    }
    
    .menu-btn {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .choice-buttons {
        flex-direction: column;
    }
    
    .choice-btn {
        min-width: 100%;
    }
}

/* Loading animation */
.loading {
    text-align: center;
    padding: 20px;
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Interactive Event Styling */
.interactive-event {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 3px solid #f39c12;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.event-minute {
    font-size: 24px;
    color: #f39c12;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px #000;
    animation: pulse 1.5s ease-in-out infinite;
}

.event-description {
    font-size: 18px;
    color: #ecf0f1;
    margin: 15px 0;
    line-height: 1.6;
}

.timer-display {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: 3px solid #f39c12;
    border-radius: 8px;
    padding: 15px;
    margin: 20px auto;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px #000;
    max-width: 300px;
    animation: timerPulse 1s ease-in-out infinite;
}

@keyframes timerPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(243, 156, 18, 0.8);
    }
}

#event-timer {
    font-size: 48px;
    color: #f39c12;
    display: inline-block;
    min-width: 60px;
}

.event-result {
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
}

.event-result h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.rating-change {
    font-size: 32px;
    font-weight: bold;
    margin-top: 10px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
}

.position-info {
    font-size: 16px;
    color: #f39c12;
    margin-top: 15px;
    padding: 10px;
    background: rgba(243, 156, 18, 0.2);
    border-radius: 6px;
}

.position-info strong {
    font-size: 20px;
    text-shadow: 1px 1px #000;
}

/* Enhanced choice buttons for interactive events */
.interactive-event .choice-btn {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    border: 3px solid #f39c12;
    font-size: 16px;
    padding: 15px 25px;
    margin: 5px;
    transition: all 0.2s;
}

.interactive-event .choice-btn:hover {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
}

.interactive-event .choice-btn:active {
    transform: translateY(0) scale(1);
}

/* Weekly News Styling */
.weekly-news-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 8px;
    padding: 10px;
}

.news-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: 3px solid #f39c12;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px #000;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
}

.news-item {
    display: flex;
    gap: 15px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 2px solid #3498db;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 12px;
    transition: all 0.3s;
    animation: slideInNews 0.5s ease-out backwards;
}

.news-item:nth-child(2) { animation-delay: 0.1s; }
.news-item:nth-child(3) { animation-delay: 0.2s; }
.news-item:nth-child(4) { animation-delay: 0.3s; }
.news-item:nth-child(5) { animation-delay: 0.4s; }
.news-item:nth-child(6) { animation-delay: 0.5s; }

@keyframes slideInNews {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.news-item:hover {
    transform: translateX(5px);
    border-color: #f39c12;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.news-item.player-news {
    border-left: 4px solid #2ecc71;
}

.news-item.club-news {
    border-left: 4px solid #3498db;
}

.news-item.league-news {
    border-left: 4px solid #9b59b6;
}

.news-item.media-news {
    border-left: 4px solid #f39c12;
}

.news-item.transfer-news {
    border-left: 4px solid #e74c3c;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.news-item.transfer-news:hover {
    border-color: #e74c3c;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
}

.news-item.transfer-news .news-title {
    color: #e74c3c;
}

.news-icon {
    font-size: 32px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 16px;
    font-weight: bold;
    color: #f39c12;
    text-shadow: 1px 1px #000;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.news-text {
    font-size: 14px;
    color: #ecf0f1;
    line-height: 1.5;
}

/* News type indicators */
.weekly-news-container::after {
    content: '';
    display: block;
    clear: both;
}

/* Live Scoreboard */
.live-scoreboard {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    border: 3px solid #f39c12;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.score-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.team-score {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 100px;
}

.team-name-small {
    font-size: 12px;
    color: #ecf0f1;
    text-transform: uppercase;
}

.score-number {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    text-shadow: 3px 3px #000;
}

.score-separator {
    font-size: 32px;
    color: #fff;
    font-weight: bold;
}

.match-time {
    font-size: 16px;
    color: #f39c12;
    font-weight: bold;
    text-shadow: 1px 1px #000;
}

/* Final Scoreboard */
.final-scoreboard {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 4px solid #f39c12;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.match-result-text {
    font-size: 24px;
    font-weight: bold;
    color: #f39c12;
    text-shadow: 2px 2px #000;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
}

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

.final-team {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.final-team-name {
    font-size: 16px;
    color: #ecf0f1;
    text-transform: uppercase;
    font-weight: bold;
}

.final-score {
    font-size: 64px;
    font-weight: bold;
    color: #ecf0f1;
    text-shadow: 3px 3px #000;
}

.final-score.winning-score {
    color: #2ecc71;
}

.final-separator {
    font-size: 48px;
    color: #95a5a6;
    font-weight: bold;
}

/* Commentary Box */
.commentary-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 3px solid #3498db;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.commentary-line {
    color: #ecf0f1;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 4px;
    animation: fadeInCommentary 0.5s ease-out;
}

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

.commentary-minute {
    color: #f39c12;
    font-weight: bold;
    margin-right: 8px;
}

.commentary-line.final-whistle {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: 2px solid #f39c12;
    font-weight: bold;
    color: #fff;
    margin-top: 10px;
    animation: pulse 1.5s ease-in-out infinite;
}

.commentary-line.final-whistle .commentary-minute {
    color: #fff;
}

/* Responsive adjustments for scoreboards */
@media (max-width: 768px) {
    .score-number {
        font-size: 36px;
    }

    .final-score {
        font-size: 48px;
    }

    .team-name-small,
    .final-team-name {
        font-size: 11px;
    }
}

/* ========================================
   ZX SPECTRUM MODE STYLES
   Authentic 1980s text-based aesthetic
   ======================================== */

body.style-zx {
    background: #000000 !important;
}

/* ZX Spectrum - Style switcher button */
body.style-zx .style-switcher button {
    background: #000000;
    border: 2px solid #00FFFF;
    color: #00FFFF;
    border-radius: 0;
    box-shadow: none;
}

body.style-zx .style-switcher button:hover {
    background: #00FFFF;
    color: #000000;
    transform: none;
    box-shadow: none;
}

/* ZX Spectrum - Container */
body.style-zx .container {
    background: #000000;
}

/* ZX Spectrum - Menu Screen */
body.style-zx .menu-container {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
    box-shadow: none;
}

body.style-zx .game-title {
    color: #00FFFF;
    text-shadow: none;
    animation: none;
}

body.style-zx .menu-subtitle {
    color: #00FFFF;
}

body.style-zx .menu-btn {
    background: #000000;
    border: 2px solid #00FFFF;
    color: #00FFFF;
    border-radius: 0;
    text-shadow: none;
    transition: none;
}

body.style-zx .menu-btn:hover {
    background: #00FFFF;
    color: #000000;
    transform: none;
    box-shadow: none;
}

/* ZX Spectrum - 8-bit Screen */
body.style-zx .bit8-screen {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
    box-shadow: none;
}

body.style-zx .bit8-header {
    background: #000000;
    border-bottom: 2px solid #00FFFF;
}

body.style-zx .bit8-header h2 {
    color: #00FFFF;
    text-shadow: none;
}

body.style-zx .bit8-header .season-info {
    color: #00FFFF;
}

body.style-zx .pixel-border {
    display: none;
}

/* ZX Spectrum - Player Card */
body.style-zx .player-card {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
}

body.style-zx .player-card h3,
body.style-zx .player-card .info-row {
    color: #00FFFF;
    text-shadow: none;
}

body.style-zx .pixel-player {
    background: #00FFFF;
    border-radius: 0;
}

/* ZX Spectrum - Stats Panel */
body.style-zx .stats-panel {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
}

body.style-zx .stat-bar .stat-label,
body.style-zx .stat-bar .stat-value {
    color: #00FFFF;
}

body.style-zx .bar-container {
    background: #000000;
    border: 1px solid #00FFFF;
    border-radius: 0;
}

body.style-zx .bar-fill {
    background: #00FFFF !important;
    border-radius: 0;
}

/* ZX Spectrum - Info Box */
body.style-zx .info-box {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
}

body.style-zx .info-box .info-item {
    color: #00FFFF;
}

/* ZX Spectrum - News Ticker */
body.style-zx .news-ticker {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
    color: #00FFFF;
    animation: none;
}

body.style-zx .news-ticker::before {
    content: '> ';
}

/* ZX Spectrum - Actions Menu */
body.style-zx .actions-menu {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
}

body.style-zx .actions-menu .menu-title {
    color: #00FFFF;
    border-bottom: 1px solid #00FFFF;
}

body.style-zx .action-item,
body.style-zx .menu-item {
    background: #000000;
    border: 1px solid #00FFFF;
    color: #00FFFF;
    border-radius: 0;
    transition: none;
}

body.style-zx .action-item:hover,
body.style-zx .menu-item:hover {
    background: #00FFFF;
    color: #000000;
    transform: none;
    box-shadow: none;
}

/* ZX Spectrum - Control Buttons */
body.style-zx .control-btn {
    background: #000000;
    border: 2px solid #00FFFF;
    color: #00FFFF;
    border-radius: 0;
    transition: none;
}

body.style-zx .control-btn:hover {
    background: #00FFFF;
    color: #000000;
    transform: none;
}

/* ZX Spectrum - Modal */
body.style-zx .modal {
    background: rgba(0, 0, 0, 0.95);
}

body.style-zx .modal-content {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
    box-shadow: none;
    animation: none;
}

body.style-zx .modal-header {
    background: #000000;
    border-bottom: 2px solid #00FFFF;
}

body.style-zx .modal-header h3 {
    color: #00FFFF;
    text-shadow: none;
}

body.style-zx .modal-body {
    color: #00FFFF;
}

body.style-zx .modal-footer {
    border-top: 2px solid #00FFFF;
}

body.style-zx .modal-btn {
    background: #000000;
    border: 2px solid #00FFFF;
    color: #00FFFF;
    border-radius: 0;
    text-shadow: none;
    transition: none;
}

body.style-zx .modal-btn:hover {
    background: #00FFFF;
    color: #000000;
    transform: none;
    box-shadow: none;
}

body.style-zx .modal-btn.danger {
    border-color: #FF0000;
    color: #FF0000;
}

body.style-zx .modal-btn.danger:hover {
    background: #FF0000;
    color: #000000;
}

body.style-zx .modal-btn.success {
    border-color: #00FF00;
    color: #00FF00;
}

body.style-zx .modal-btn.success:hover {
    background: #00FF00;
    color: #000000;
}

/* ZX Spectrum - Choice Buttons */
body.style-zx .choice-btn {
    background: #000000;
    border: 2px solid #00FFFF;
    color: #00FFFF;
    border-radius: 0;
    transition: none;
}

body.style-zx .choice-btn:hover {
    background: #00FFFF;
    color: #000000;
    transform: none;
}

/* ZX Spectrum - Form Elements */
body.style-zx .form-group label {
    color: #00FFFF;
    text-shadow: none;
}

body.style-zx .form-group input,
body.style-zx .form-group select {
    background: #000000;
    border: 2px solid #00FFFF;
    color: #00FFFF;
    border-radius: 0;
}

body.style-zx .form-group input:focus,
body.style-zx .form-group select:focus {
    border-color: #FFFF00;
    box-shadow: none;
}

body.style-zx .form-group input::placeholder {
    color: #008888;
}

/* ZX Spectrum - Info Panel */
body.style-zx .info-panel {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
}

body.style-zx .info-panel h3,
body.style-zx .info-panel p {
    color: #00FFFF;
}

/* ZX Spectrum - Start Button */
body.style-zx .start-btn {
    background: #000000;
    border: 2px solid #00FF00;
    color: #00FF00;
    border-radius: 0;
    text-shadow: none;
    transition: none;
}

body.style-zx .start-btn:hover {
    background: #00FF00;
    color: #000000;
    transform: none;
    box-shadow: none;
}

/* ZX Spectrum - Stats Grid */
body.style-zx .stat-card {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
}

body.style-zx .stat-card-value {
    color: #00FFFF;
}

body.style-zx .stat-card-label {
    color: #00FFFF;
}

/* ZX Spectrum - Event Styling */
body.style-zx .event-positive {
    border-left-color: #00FF00;
}

body.style-zx .event-negative {
    border-left-color: #FF0000;
}

body.style-zx .event-neutral {
    border-left-color: #00FFFF;
}

/* ZX Spectrum - Stat Changes */
body.style-zx .stat-changes {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
}

body.style-zx .stat-change-item {
    border-bottom-color: #00FFFF;
    color: #00FFFF;
}

body.style-zx .stat-change-positive {
    color: #00FF00;
}

body.style-zx .stat-change-negative {
    color: #FF0000;
}

/* ZX Spectrum - Interactive Events */
body.style-zx .interactive-event {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
}

body.style-zx .event-minute {
    color: #FFFF00;
    text-shadow: none;
    animation: none;
}

body.style-zx .event-description {
    color: #00FFFF;
}

body.style-zx .timer-display {
    background: #000000;
    border: 2px solid #FF0000;
    border-radius: 0;
    color: #FF0000;
    text-shadow: none;
    animation: none;
}

body.style-zx #event-timer {
    color: #FF0000;
}

body.style-zx .interactive-event .choice-btn {
    background: #000000;
    border: 2px solid #00FF00;
    color: #00FF00;
}

body.style-zx .interactive-event .choice-btn:hover {
    background: #00FF00;
    color: #000000;
    transform: none;
    box-shadow: none;
}

/* ZX Spectrum - News Items */
body.style-zx .weekly-news-container {
    background: #000000;
    border-radius: 0;
}

body.style-zx .news-header {
    background: #000000;
    border: 2px solid #FF0000;
    border-radius: 0;
    color: #FF0000;
    animation: none;
}

body.style-zx .news-item {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
    animation: none;
}

body.style-zx .news-item:hover {
    transform: none;
    box-shadow: none;
    border-color: #FFFF00;
}

body.style-zx .news-item.player-news { border-left-color: #00FF00; }
body.style-zx .news-item.club-news { border-left-color: #00FFFF; }
body.style-zx .news-item.league-news { border-left-color: #FF00FF; }
body.style-zx .news-item.media-news { border-left-color: #FFFF00; }
body.style-zx .news-item.transfer-news { border-left-color: #FF0000; }

body.style-zx .news-title {
    color: #FFFF00;
    text-shadow: none;
}

body.style-zx .news-text {
    color: #00FFFF;
}

/* ZX Spectrum - Scoreboards */
body.style-zx .live-scoreboard {
    background: #000000;
    border: 2px solid #00FF00;
    border-radius: 0;
}

body.style-zx .score-number,
body.style-zx .team-name-small,
body.style-zx .score-separator {
    color: #00FF00;
    text-shadow: none;
}

body.style-zx .match-time {
    color: #FFFF00;
    text-shadow: none;
}

body.style-zx .final-scoreboard {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
}

body.style-zx .match-result-text {
    color: #FFFF00;
    text-shadow: none;
    animation: none;
}

body.style-zx .final-team-name,
body.style-zx .final-score,
body.style-zx .final-separator {
    color: #00FFFF;
    text-shadow: none;
}

body.style-zx .final-score.winning-score {
    color: #00FF00;
}

/* ZX Spectrum - Commentary */
body.style-zx .commentary-box {
    background: #000000;
    border: 2px solid #00FFFF;
    border-radius: 0;
}

body.style-zx .commentary-line {
    color: #00FFFF;
    background: transparent;
    border-radius: 0;
    animation: none;
}

body.style-zx .commentary-minute {
    color: #FFFF00;
}

body.style-zx .commentary-line.final-whistle {
    background: #000000;
    border: 2px solid #FF0000;
    color: #FF0000;
    animation: none;
}

body.style-zx .commentary-line.final-whistle .commentary-minute {
    color: #FFFF00;
}

/* ZX Spectrum - Disable all animations */
body.style-zx *,
body.style-zx *::before,
body.style-zx *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
}

/* ZX Spectrum - Rating Display */
body.style-zx .rating-change {
    background: #000000;
    border-radius: 0;
}

body.style-zx .position-info {
    color: #FFFF00;
    background: transparent;
    border-radius: 0;
}

/* ZX Spectrum - Responsive */
@media (max-width: 768px) {
    body.style-zx .style-switcher {
        top: 10px;
        right: 10px;
    }

    body.style-zx .style-switcher button {
        padding: 8px 12px;
        font-size: 12px;
    }
}
