/* Classic Debian Design */
:root {
    --debian-red: #D70A53;
    --debian-border: #D70A53;
    --bg-color: #FFFFFF;
    --page-bg: #F0F0F0;
    --text-color: #000000;
    --link-color: #0035C7;
    --header-bg: #D70A53;
}

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

body {
    font-family: sans-serif;
    background-color: var(--page-bg);
    color: var(--text-color);
    line-height: 1.4;
}

#app {
    min-height: 100vh;
}

/* Debian Header */
.debian-header {
    background: var(--header-bg);
    color: white;
    padding: 15px 20px;
    border-bottom: 3px solid #A00042;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.debian-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.debian-logo svg {
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
}

.debian-logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0;
    border: 2px solid white;
}

.lang-btn {
    padding: 5px 15px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.lang-btn:hover {
    background: rgba(255,255,255,0.2);
}

.lang-btn.active {
    background: white;
    color: var(--debian-red);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* Debian Box Style */
.debian-box {
    background: var(--bg-color);
    border: 2px solid var(--debian-border);
    margin-bottom: 20px;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.1);
}

.debian-box-header {
    background: var(--debian-red);
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    border-bottom: 2px solid #A00042;
}

.debian-box-content {
    padding: 20px;
}

/* Introduction */
.intro-box {
    background: #E8F4FF;
    border: 2px solid #0066CC;
    padding: 15px;
    margin-bottom: 20px;
}

.intro-box strong {
    color: #0066CC;
}

/* Games Table */
.games-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 2px solid var(--debian-border);
}

.games-table thead {
    background: var(--debian-red);
    color: white;
}

.games-table th {
    padding: 12px;
    text-align: left;
    font-weight: bold;
    border: 1px solid #A00042;
}

.games-table td {
    padding: 15px;
    border: 1px solid #CCCCCC;
    vertical-align: top;
}

.games-table tbody tr:nth-child(even) {
    background: #F9F9F9;
}

.games-table tbody tr:hover {
    background: #FFF0F5;
    cursor: pointer;
}

.game-name {
    font-weight: bold;
    color: var(--link-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.game-desc {
    color: #333;
    font-size: 0.95rem;
}

.game-tags {
    margin-top: 8px;
}

.tag {
    display: inline-block;
    background: #E0E0E0;
    border: 1px solid #999;
    padding: 2px 8px;
    margin-right: 5px;
    font-size: 0.85rem;
    color: #333;
}

/* Game Icon Cells */
.icon-cell {
    text-align: center;
    width: 80px;
}

.game-icon-svg {
    width: 48px;
    height: 48px;
    stroke: var(--debian-red);
    stroke-width: 2;
}

/* Buttons */
.btn {
    padding: 8px 16px;
    border: 2px solid #000;
    background: #E0E0E0;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    transition: all 0.1s;
}

.btn:hover {
    background: #D0D0D0;
}

.btn:active {
    box-shadow: 1px 1px 0 rgba(0,0,0,0.2);
    transform: translate(1px, 1px);
}

.btn-primary {
    background: var(--debian-red);
    color: white;
    border-color: #A00042;
}

.btn-primary:hover {
    background: #B00049;
}

.btn-success {
    background: #5CB85C;
    color: white;
    border-color: #4CAE4C;
}

.btn-success:hover {
    background: #4CAE4C;
}

/* Screen Management */
.screen {
    display: none;
}

.screen.active {
    display: block;
}

/* Debian Footer */
.debian-footer {
    background: #F0F0F0;
    border-top: 3px solid var(--debian-red);
    padding: 20px;
    margin-top: 40px;
    text-align: center;
    color: #666;
}

.debian-footer a {
    color: var(--link-color);
    text-decoration: none;
}

.debian-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .games-table {
        display: block;
        overflow-x: auto;
    }
    
    .debian-header-content {
        flex-direction: column;
        gap: 10px;
    }
}
