@font-face {
            font-family: 'Midwinter';
            src: url('fonts/Midwinter.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Midwinter', 'Segoe UI', system-ui, sans-serif;
            background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0d1926 100%);
            color: #e0e6ed;
            min-height: 100vh;
            line-height: 1.6;
        }

        .nav {
            background: rgba(10, 22, 40, 0.95);
            padding: 1rem 2rem;
            border-bottom: 1px solid rgba(100, 180, 255, 0.2);
        }

        .nav-content {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav a {
            font-family: 'Midwinter', sans-serif;
            color: #64b4ff;
            text-decoration: none;
            transition: color 0.2s;
        }

        .nav a:hover {
            color: #9dd1ff;
        }

        .logo {
            font-family: 'Midwinter', sans-serif;
            font-weight: 700;
            font-size: 1.25rem;
            letter-spacing: 0.05em;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        main {
            max-width: 1400px;
            margin: 2rem auto;
            padding: 0 2rem;
        }

        .page-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .page-title {
            font-family: 'Midwinter', sans-serif;
            font-size: 2.5rem;
            color: #ff4444;
            margin-bottom: 0.5rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
            letter-spacing: 0.1em;
        }

        .page-subtitle {
            font-family: 'Midwinter', sans-serif;
            font-size: 1rem;
            color: #8ba4c4;
            letter-spacing: 0.15em;
        }

        /* General Masters Section */
        .general-section {
            background: rgba(40, 20, 20, 0.4);
            border: 3px solid rgba(255, 68, 68, 0.3);
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 3rem;
        }

        .general-header {
            display: flex;
            gap: 2rem;
            align-items: flex-start;
            margin-bottom: 2rem;
        }

        .surrender-image {
            flex-shrink: 0;
            width: 450px;
            image-rendering: pixelated;
            border: 3px solid rgba(255, 68, 68, 0.4);
            border-radius: 8px;
        }

        .general-info h2 {
            font-size: 2rem;
            color: #ff6666;
            margin-bottom: 1rem;
            letter-spacing: 0.05em;
        }

        .general-rank {
            font-family: 'Midwinter', sans-serif;
            color: #e87040;
            font-size: 0.9rem;
            letter-spacing: 0.2em;
            margin-bottom: 1.5rem;
        }

        .general-bio {
            font-family: 'Midwinter', sans-serif;
            background: rgba(20, 40, 70, 0.3);
            padding: 1.5rem;
            border-radius: 8px;
            border-left: 4px solid #ff4444;
            line-height: 1.8;
        }

        .general-bio p {
            margin-bottom: 1rem;
        }

        .general-bio p:last-child {
            margin-bottom: 0;
        }

        /* Lieutenant Sections */
        .lieutenants-section {
            margin-top: 3rem;
        }

        .rank-group {
            margin-bottom: 3rem;
        }

        .rank-title {
            font-family: 'Midwinter', sans-serif;
            font-size: 1.5rem;
            color: #64b4ff;
            margin-bottom: 1.5rem;
            text-align: center;
            letter-spacing: 0.1em;
            border-bottom: 2px solid rgba(100, 180, 255, 0.3);
            padding-bottom: 0.5rem;
        }

        .lieutenants-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 1.5rem;
            justify-items: center;
        }

        .lieutenant {
            text-align: center;
        }

        .lieutenant-portrait {
            width: 140px;
            height: 140px;
            image-rendering: pixelated;
            border: 3px solid rgba(255, 100, 100, 0.3);
            border-radius: 8px;
            margin-bottom: 0.75rem;
            transition: all 0.2s;
        }

        .lieutenant-portrait:hover {
            border-color: #ff6666;
            box-shadow: 0 0 20px rgba(255, 100, 100, 0.4);
            transform: scale(1.05);
        }

        .lieutenant-name {
            font-family: 'Midwinter', sans-serif;
            font-size: 0.65rem;
            color: #e0e6ed;
            letter-spacing: 0.05em;
        }

        .warning-box {
            font-family: 'Midwinter', sans-serif;
            background: rgba(232, 112, 64, 0.1);
            border: 2px solid rgba(232, 112, 64, 0.3);
            border-radius: 8px;
            padding: 1.5rem;
            margin-top: 3rem;
            text-align: center;
        }

        .warning-box h3 {
            color: #e87040;
            font-size: 1.2rem;
            margin-bottom: 0.75rem;
            letter-spacing: 0.1em;
        }

        .warning-box p {
            color: #8ba4c4;
            font-size: 0.9rem;
        }

        /* Strategy Section */
        .strategy-section {
            background: rgba(20, 40, 70, 0.4);
            border: 3px solid rgba(100, 180, 255, 0.3);
            border-radius: 12px;
            padding: 2rem;
            margin-bottom: 3rem;
        }

        .strategy-title {
            font-family: 'Midwinter', sans-serif;
            font-size: 1.5rem;
            color: #64b4ff;
            margin-bottom: 1.5rem;
            text-align: center;
            letter-spacing: 0.1em;
        }

        .strategy-intro {
            font-family: 'Midwinter', sans-serif;
            text-align: center;
            margin-bottom: 2rem;
            line-height: 1.8;
            color: #c0d0e8;
        }

        .strategy-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .strategy-card {
            font-family: 'Midwinter', sans-serif;
            background: rgba(10, 20, 40, 0.5);
            border: 2px solid rgba(100, 180, 255, 0.2);
            border-radius: 8px;
            padding: 1.25rem;
            display: flex;
            gap: 1rem;
            align-items: flex-start;
        }

        .strategy-card.enemy-goal {
            border-color: rgba(255, 68, 68, 0.4);
            background: rgba(40, 20, 20, 0.4);
        }

        .strategy-icon {
            width: 64px;
            height: 64px;
            flex-shrink: 0;
            object-fit: contain;
        }

        .strategy-info h4 {
            color: #64b4ff;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            letter-spacing: 0.05em;
        }

        .strategy-card.enemy-goal h4 {
            color: #ff6666;
        }

        .strategy-info p {
            font-size: 0.85rem;
            line-height: 1.5;
            color: #a0b8d8;
        }

        @media (max-width: 768px) {
            .general-header {
                flex-direction: column;
                align-items: center;
            }

            .surrender-image {
                width: 100%;
                max-width: 450px;
            }

            .lieutenants-grid {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            }
        }
    /* Mobile */
@media (max-width: 768px) { .content { padding: 1.5rem 1rem; } h1 { font-size: 0.7rem; } h2 { font-size: 0.5rem; } p { font-size: 0.8rem; } .enemy-grid { grid-template-columns: 1fr; } .enemy-card { padding: 1rem; } .enemy-portrait { width: 80px; height: 80px; } }
@media (max-width: 480px) { h1 { font-size: 0.6rem; } .enemy-name { font-size: 0.45rem; } }