/* Reset */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; background: linear-gradient(135deg, #192a3d, #3A4F66); color: #fff; display: flex; justify-content: center; align-items: flex-start; min-height: 100vh; padding: 15px; flex-direction: column; } .title-gold { color: #ffcc66; } .container { width: 100%; display: flex; flex-wrap: wrap; gap: 15px; margin: 0 auto; } .card { width: 100%; max-width: 300px; padding: 20px; border-radius: 15px; background: linear-gradient(145deg, #23232f, #2e2e3e); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); } .header h1 { font-size: 20px; text-align: center; color: #e0e0e0; margin-bottom: 18px; letter-spacing: 1px; } .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; } button { padding: 7px 14px; font-size: 13px; border: none; border-radius: 8px; cursor: pointer; background-color: #ffcc66; color: #333; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; font-weight: bold; } button:hover { background-color: #1559ed; transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } .gold-group { display: flex; flex-direction: column; gap: 12px; } .gold-skill { display: flex; align-items: center; gap: 10px; } .gold-skill label { font-size: 14px; width: 60px; } .gold-skill select { flex-grow: 1; padding: 7px; font-size: 14px; border: none; border-radius: 10px; background: #33334d; color: #fff; text-align: center; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4); } .result { margin-top: 18px; font-size: 16px; color: #e0e0e0; } .result span { font-weight: bold; font-size: 16px; } .gold-option { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; } .gold-option label { font-size: 14px; font-weight: bold; color: #e0e0e0; } .gold-option input { padding: 7px; font-size: 14px; border: none; border-radius: 10px; background: #33334d; color: #fff; text-align: center; text-indent: 15px; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4); width: 80px; } .section-header h2 { font-size: 16px; color: #666; text-align: center; /* Wyśrodkowanie */ } .gold-group-header { display: grid; grid-template-columns: 1fr 2fr 2fr; /* Wyśrodkowanie w układzie 3 kolumn */ align-items: center; margin-bottom: 10px; padding: 0 10px; } .gold-group-header { display: grid; grid-template-columns: 1fr 1fr 1fr; /* Trzy równe kolumny */ align-items: center; margin-bottom: 10px; padding: 0 10px; } .header-empty { grid-column: 1; /* Pierwsza kolumna pusta */ } .header-now, .header-after { text-align: center; font-size: 14px; font-weight: bold; color: #fff; } .header-now { grid-column: 2; /* Środkowa kolumna */ text-indent: -44px; } .header-after { grid-column: 3; /* Trzecia kolumna */ text-indent: -5px; } /* Dropdown menu */ .dropdown { position: relative; display: inline-block; cursor: pointer; } .dropdown-title { font-size: 20px; color: #ffcc66; font-weight: bold; } .dropdown-menu { display: none; /* Menu jest domyślnie ukryte */ position: absolute; background-color: #33334d; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); list-style: none; padding: 10px; border-radius: 10px; z-index: 1; width: 250px; } .dropdown-menu li { padding: 8px 12px; color: #fff; cursor: pointer; font-size: 14px; transition: background 0.3s; } .dropdown-menu li:hover { background-color: #44445d; } /* Kolory dla różnych typów dowódców */ .legendary { color: #ffcc66; /* Złoty - już używany */ } .epic { color: #a377d1; /* Fioletowy */ } .elite { color: #5da7ff; /* Błękitny */ } .advanced { color: #88cc88; /* Zielony */ } /* Kolory dla przycisku Reset */ .btn-legendary { background-color: #ffcc66; /* Złoty */ color: #333; /* Ciemny tekst dla kontrastu */ } .btn-legendary:hover { background-color: #e6b844; /* Lekko ciemniejszy złoty */ color: #222; /* Minimalnie ciemniejszy tekst */ } .btn-epic { background-color: #a377d1; /* Fioletowy */ color: #fff; /* Jasny tekst */ } .btn-epic:hover { background-color: #8f60c3; /* Ciemniejszy fioletowy */ color: #e0e0e0; /* Subtelny jaśniejszy tekst */ } .btn-elite { background-color: #5da7ff; /* Błękitny */ color: #fff; /* Jasny tekst */ } .btn-elite:hover { background-color: #4895e8; /* Ciemniejszy błękit */ color: #d8f1ff; /* Lekko jaśniejszy błękitny tekst */ } .btn-advanced { background-color: #88cc88; /* Zielony */ color: #fff; /* Jasny tekst */ } .btn-advanced:hover { background-color: #6fbf6f; /* Ciemniejszy zielony */ color: #dfffdf; /* Lekko jaśniejszy tekst */ } /* Kolory dla liczby w Total Heads Needed */ .text-legendary { color: #ffcc66; /* Złoty */ } .text-epic { color: #a377d1; /* Fioletowy */ } .text-elite { color: #5da7ff; /* Błękitny */ } .text-advanced { color: #88cc88; /* Zielony */ } .result p { justify-content: center; align-items: center; gap: 5px; /* Odstęp między tekstem a liczbą */ font-size: 16px; /* Ogólny rozmiar czcionki */ } .text-legendary { color: #ffcc66; /* Złoty */ } .text-epic { color: #a377d1; /* Fioletowy */ } .text-elite { color: #5da7ff; /* Niebieski */ } .text-advanced { color: #88cc88; /* Zielony */ }