 @import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
 /* Basis-Typo skaliert mit Viewport */
 @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@600&display=swap");
/* ROBOT.GIF from Giphy - https://giphy.com/gifs/robot-cinema-4d-eyedesyn-3o7abtn7DuREEpsyWY */



   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: #000;
            color: #0f0;
            font-family:"Courier New", Courier, monospace;
            padding: 20px;
            line-height: 1.4;
        }

        .container {
            max-width: 900px;
            margin: 0 auto;
            border: 3px solid #0f0;
            background: #000;
        }

        .header {
            background: #0f0;
            color: #000;
            padding: 5px;
            text-align: center;
            font-weight: bold;
        }

        .title-section {
            text-align: center;
            padding: 20px;
            border-bottom: 2px solid #0f0;
        }

        .subtitle {
            margin: 10px 0;
            font-size: 12px;
        }

        .main-title {
            font-size: 48px;
            letter-spacing: 8px;
            margin: 20px 0;
            text-shadow: 0 0 10px #0f0;
        }

        .separator {
            text-align: center;
            padding: 10px;
            font-size: 12px;
        }
        a {
          color: #0f0;

        }
        a:hover {
          background:#0f0 ;
          color: #000;
        }

        .actions {
            display: flex;
            justify-content: space-between;
            padding: 10px;
            background: #0a0a0a;
            border-bottom: 2px solid #0f0;
            font-size: 12px;
        }

        .action {
            cursor: pointer;
            padding: 5px;
        }

        .action:hover {
            background: #0f0;
            color: #000;
        }

        .character-header {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 20px;
            padding: 15px;
            border-bottom: 2px solid #0f0;
        }

        .stat-group {
            text-align: center;
        }

        .stat-label {
            font-size: 11px;
            margin-bottom: 5px;
        }

        .stat-value {
            font-size: 24px;
            font-weight: bold;
        }

        .main-content {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 2px;
            background: #0f0;
        }

        .section {
            background: #000;
            padding: 15px;
        }

        .section-title {
            color: #0f0;
            font-weight: bold;
            margin-bottom: 10px;
            font-size: 11px;
        }

        .ability-list, .info-list {
            list-style: none;
        }

        .ability-item {
            margin: 8px 0;
            display: flex;
            justify-content: space-between;
        }

        .info-section {
            margin: 10px 0;
        }

        .info-title {
            color: #0f0;
            font-weight: bold;
            font-size: 11px;
            margin-bottom: 5px;
        }

        .info-text {
            font-size: 11px;
            line-height: 1.5;
        }

        .snake-container {
            text-align: center;
        }

        .snake-controls {
            font-size: 11px;
            margin-bottom: 10px;
        }

        .snake-score {
            margin-bottom: 5px;
        }

        #snakeCanvas {
            border: 2px solid #0f0;
            background: #000;
            display: block;
            margin: 10px auto;
            image-rendering: pixelated;
        }

        .game-btn {
            background: #000;
            border: 2px solid #0f0;
            color: #0f0;
            padding: 5px 15px;
            cursor: pointer;
            font-family: 'Courier New', monospace;
            font-size: 12px;
            margin: 5px;
        }

        .game-btn:hover {
            background: #0f0;
            color: #000;
        }

        .game-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        #gameOver {
            color: #f00;
            font-weight: bold;
            margin-top: 10px;
        }

        .content-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 2px;
            background: #0f0;
            margin-top: 2px;
        }

        .bottom-section {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2px;
            background: #0f0;
            margin-top: 2px;
        }

        .inventory {
            background: #000;
            padding: 15px;
        }

        .inventory-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .blink {
            animation: blink 0.5s infinite;
        }

        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }

        input[type="text"], input[type="number"] {
            background: #000;
            border: 1px solid #0f0;
            color: #0f0;
            padding: 3px;
            font-family: 'Courier New', monospace;
            font-size: 12px;
        }

        input[type="text"]:focus, input[type="number"]:focus {
            outline: none;
            box-shadow: 0 0 5px #0f0;
        }
