* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
    border: 1px solid #333333;
}

h1 {
    text-align: center;
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 2.5em;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.subtitle {
    text-align: center;
    color: #cccccc;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.path-selection {
    background: linear-gradient(135deg, #1e1e1e, #333333);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #444444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.path-selection h2 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.path-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.path-option {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #444444;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.path-option:hover {
    border-color: #ffd700;
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.path-option.selected {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #3a3a1a, #2a2a0a);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.path-option h3 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.2em;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.path-cost {
    font-size: 1.4em;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(255, 107, 53, 0.3);
}

.path-rewards {
    font-size: 0.9em;
    color: #cccccc;
    line-height: 1.4;
}

.input-section {
    background: linear-gradient(135deg, #1e1e1e, #333333);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #444444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.input-section h2 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.input-item {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #444444;
    transition: all 0.3s ease;
}

.input-item:hover {
    border-color: #666666;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.05);
}

.input-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #cccccc;
}

.summoning {
    border-left: 4px solid #8a2be2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.1);
}
.dungeon {
    border-left: 4px solid #ff6347;
    box-shadow: 0 0 15px rgba(255, 99, 71, 0.1);
}
.progress {
    border-left: 4px solid #32cd32;
    box-shadow: 0 0 15px rgba(50, 205, 50, 0.1);
}

input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #555555;
    border-radius: 5px;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

input[type="number"]:focus {
    outline: none;
    border-color: #ffd700;
    background: #222222;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.results-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.result-card {
    background: linear-gradient(135deg, #1e1e1e, #333333);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #444444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.result-card h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.3em;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #333333;
}

.stat-label {
    color: #cccccc;
}

.stat-value {
    color: #ffffff;
    font-weight: bold;
}

.energy-highlight {
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.1),
        rgba(255, 215, 0, 0.05)
    );
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
}

.completion-status {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.1em;
}

.can-complete {
    background: linear-gradient(
        135deg,
        rgba(40, 167, 69, 0.2),
        rgba(40, 167, 69, 0.1)
    );
    border: 1px solid #28a745;
    color: #4caf50;
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.2);
}

.cannot-complete {
    background: linear-gradient(
        135deg,
        rgba(220, 53, 69, 0.2),
        rgba(220, 53, 69, 0.1)
    );
    border: 1px solid #dc3545;
    color: #ff6b6b;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.2);
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: #666666;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 2em;
    }

    .path-options {
        grid-template-columns: 1fr;
    }
}
