body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
}

header {
    background-color: #333;
    padding: 20px;
    text-align: center;
}

#instructions {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin: 10px 0 20px;
}

header h1 {
    margin-bottom: 10px;
}

.progress-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

progress {
    width: 300px;
    height: 17px;
    -webkit-appearance: none;
    appearance: none;
    background-color: #555;
    border-radius: 20px;
    overflow: hidden;

}

progress::-webkit-progress-value {
    background-color: #ffcc00;
    border-radius: 5px;
    background-image: linear-gradient(
        45deg,
        rgba(255,255,255,0.3) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0.3) 75%,
        transparent 75%,
        transparent
    );
    background-size: 40px 40px;
    animation: progress-stripes 1s linear infinite;
}

progress::-moz-progress-bar {
    background-color: #ffcc00;
    border-radius: 5px;
    background-image: linear-gradient(
        45deg,
        rgba(255,255,255,0.3) 25%,
        transparent 25%,
        transparent 50%,
         rgba(255,255,255,0.3) 50%,
         rgba(255,255,255,0.3) 75%,
        transparent 75%,
        transparent
    );
    background-size: 40px 40px;
    animation: progress-stripes 1s linear infinite;
}
  

.inventory-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.ore-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 10px;
}

.ore-input img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

.ore-input label {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.ore-input input[type="number"] {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance: textfield;
    width: 70px;
    text-align: center;
    border-radius: 4px;
    border: 1px solid #555;
    background-color: #222;
    color: #fff;
    padding: 5px;
    outline: none;
}

.ore-input input[type="number"]::-webkit-inner-spin-button,
.ore-input input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

main {
    padding: 20px;
}

.stations-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.station-card {
    background-color: #444;
    border: 2px solid #555;
    border-radius: 8px;
    padding: 15px;
    width: 320px;
    text-align: center;
    position: relative;
}

.station-card img {
    width: 100px;
    height: 100px;
}

.station-slider {
    width: 100%;
    margin-top: 10px;
}

.toggle-requirements {
    background-color: #ffcc00;
    color: #222;
    font-size: 1em;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.5s ease-in-out;
    font-weight: bold;
}

.toggle-requirements:hover {
    background-color: #e6b800;
    transform: scale(1.03);
}

.requirements-container {
    background-color: #333;
    border: 1px solid #555;
    border-radius: 4px;
    margin-top: 10px;
    padding: 10px;
    text-align: left;
}

#complete-game-requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5px;
}

.req-section {
    margin-bottom: 10px;
}

.req-section h3 {
    margin: 0 0 5px;
    font-size: 1em;
}

.req-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 3px;
    background-color: #222;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 3px 5px;
}

.req-item img {
    width: 25px;
    height: 25px;
}

.grand-requirements-section {
    margin-top: 40px;
    background-color: #444;
    border: 2px solid #555;
    border-radius: 8px;
    padding: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hidden {
    display: none;
}

#toggle-inventory {
    background-color: #ffcc00;
    color: #222;
    font-size: 1em;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-weight: bold;
    display: block;
    margin: 20px auto;
}

#toggle-inventory:hover {
    background-color: #e6b800;
    transform: scale(1.05);
}

#credits {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.2em;
    margin-top: 40px;
}

.credit-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.credit-links a,
.credit-links span {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.credit-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

#home-btn {
  position: fixed;
  top: 24px;
  left: 24px;
  background: #181c20;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: background 0.2s;
  text-decoration: none;
}
#home-btn:hover {
  background: #232b36;
}
#home-btn svg {
  display: block;
}

