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

body {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    font-family: 'Courier New', monospace;
    color: #e0e0e0;
    padding: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff, 0 0 60px #00ffff;
    color: #00ffff;
    letter-spacing: 2px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.deck-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.deck-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
    text-shadow: 0 0 10px #ff6b6b;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.deck-textarea {
    width: 100%;
    height: 400px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #333;
    border-radius: 8px;
    padding: 1rem;
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    resize: vertical;
    transition: all 0.3s ease;
}

.deck-textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.9);
}

.deck-textarea::placeholder {
    color: #666;
}

.compare-btn {
    display: block;
    margin: 3rem auto;
    padding: 1rem 3rem;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.compare-btn:hover {
    background: linear-gradient(45deg, #ff8e8e, #ffb3b3);
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
    transform: translateY(-2px);
}

.results {
    margin-top: 3rem;
}

.results.hidden {
    display: none;
}

.results-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #00ffff;
    text-shadow: 0 0 15px #00ffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.result-section {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.result-section:nth-child(1) {
    border-color: #4ade80;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
}

.result-section:nth-child(2) {
    border-color: #fbbf24;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.result-section:nth-child(3) {
    border-color: #60a5fa;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.2);
}

.result-section:nth-child(4) {
    border-color: #f87171;
    box-shadow: 0 0 20px rgba(248, 113, 113, 0.2);
}

.result-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.result-section:nth-child(1) h3 {
    color: #4ade80;
    text-shadow: 0 0 10px #4ade80;
}

.result-section:nth-child(2) h3 {
    color: #fbbf24;
    text-shadow: 0 0 10px #fbbf24;
}

.result-section:nth-child(3) h3 {
    color: #60a5fa;
    text-shadow: 0 0 10px #60a5fa;
}

.result-section:nth-child(4) h3 {
    color: #f87171;
    text-shadow: 0 0 10px #f87171;
}

.result-list {
    list-style: none;
    max-height: 400px;
    overflow-y: auto;
}

.result-list li {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    border-left: 3px solid transparent;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.result-section:nth-child(1) .result-list li {
    border-left-color: #4ade80;
}

.result-section:nth-child(2) .result-list li {
    border-left-color: #fbbf24;
}

.result-section:nth-child(3) .result-list li {
    border-left-color: #60a5fa;
}

.result-section:nth-child(4) .result-list li {
    border-left-color: #f87171;
}

.result-list li.empty {
    font-style: italic;
    color: #666;
    text-align: center;
}

.sideboard-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.sideboard-title {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Custom scrollbar */
.result-list::-webkit-scrollbar,
.deck-textarea::-webkit-scrollbar {
    width: 8px;
}

.result-list::-webkit-scrollbar-track,
.deck-textarea::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.result-list::-webkit-scrollbar-thumb,
.deck-textarea::-webkit-scrollbar-thumb {
    background: #00ffff;
    border-radius: 4px;
}

.result-list::-webkit-scrollbar-thumb:hover,
.deck-textarea::-webkit-scrollbar-thumb:hover {
    background: #ff6b6b;
}

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

    .main-title {
        font-size: 2rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }
}