/* ============================================================================
   WSPOLNY UKLAD STRON PORTALU

   ⚠️ TEN PLIK POWSTAL Z `tutorialSections.css` I NIE JEST SPRZATANIEM DO ODLOZENIA.

   Tamten arkusz nazywal sie „style sekcji samouczka", wazyl 124 kB, ladowal sie na KAZDEJ
   stronie serwisu i w 57 % skladal sie z regul BEZ prefiksu `.tutorial-`. Przy kasowaniu
   samouczka (2026-09-07) zmierzono wartosci wyliczone 161 nazw klas na 58 trasach: usuniecie
   calego arkusza zmienilo **132 pary (klasa, wlasciwosc)** — m.in. wszystkie pola formularzy
   Konta stawaly sie surowymi polami przegladarki, a karty trybow gry i awatarow gubily
   wyscielenie i wysrodkowanie.

   Zostalo wiec dokladnie to, czego ZWYKLE strony uzywaja; reguly opisujace makiety samouczka
   (`.tutorial-*`) i te, ktorych nie uzywa nikt, przepadly razem z nim.

   CO Z TYM DALEJ: to nadal jest arkusz GLOBALNY, czyli ten sam ksztalt, ktory przez rok
   po cichu przeciekal do cudzych stron. Docelowo kazda z tych regul powinna wrocic do
   arkusza ZAKRESOWEGO swojej strony (`X.razor.css`). Dopoki tak sie nie stanie, przy zmianie
   wygladu czegokolwiek sprawdzaj TUTAJ, zanim uznasz, ze reguly nie ma.
   Opis i metoda pomiaru: /srv/ANALIZA-SAMOUCZEK-UWOL.md sekcja 17.
   ============================================================================ */

.mockup-nav-center .nav-item {
    color: #888;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s;
}
.mockup-nav-center .nav-item:hover,
.mockup-nav-center .nav-item.highlight-pulse {
    color: #FFD700;
}
.uwerta-points {
    padding: 5px 12px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    color: #FFD700;
    font-weight: bold;
    font-size: 0.85rem;
}
.form-header {
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.form-header h2 {
    color: #FFD700;
    margin: 0;
    font-size: 1.5rem;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    color: #888;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
    box-sizing: border-box;
}
.form-input:focus,
.form-input.highlight-pulse {
    border-color: #FFD700;
    outline: none;
}
.form-input.typing {
    border-color: #4CAF50;
}
.btn-register,
.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    border-radius: 8px;
    color: #1a1a2e;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}
.btn-register:hover,
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}
.success-message,
.welcome-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    border-radius: 10px;
    color: #4CAF50;
    margin-top: 20px;
    animation: fadeIn 0.5s ease;
}
.success-icon {
    font-size: 1.5rem;
}
.avatar-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}
.avatar-card:hover,
.avatar-card.highlight-pulse {
    border-color: #FFD700;
}
.avatar-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}
.avatar-card span {
    display: block;
    color: #fff;
    margin-bottom: 10px;
}
.slot-number {
    font-size: 0.7rem;
    color: #888;
}
.elixir-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #2d2d44;
    border-radius: 15px;
    padding: 25px;
    width: 300px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.3);
    z-index: 100;
}
.modal-header h4 {
    color: #FFD700;
    margin: 0 0 20px 0;
    text-align: center;
}
.elixir-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}
.elixir-item:hover {
    background: rgba(255, 215, 0, 0.1);
}
.elixir-item span:last-child {
    color: #fff;
}
.elixir-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}
.elixir-icon.hp {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
}
.elixir-icon.mana {
    background: linear-gradient(135deg, #4444ff, #0000cc);
    color: white;
}
.elixir-icon.speed {
    background: linear-gradient(135deg, #44ff44, #00cc00);
    color: white;
}
.burn-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 152, 0, 0.2);
    border: 1px solid #FF9800;
    border-radius: 8px;
    color: #FF9800;
    margin-top: 15px;
    font-size: 0.9rem;
}
.warning-icon {
    font-size: 1.5rem;
}
.storage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.storage-header h2 {
    color: #FFD700;
    margin: 0;
}
.search-bar input {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #fff;
    width: 200px;
}
.items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.item-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}
.item-card:hover,
.item-card.highlight-pulse {
    border-color: #FFD700;
}
.item-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
}
.item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.item-image.elixir {
    display: flex;
    align-items: center;
    justify-content: center;
}
.item-info {
    margin-bottom: 10px;
}
.item-name {
    display: block;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.open-chest-btn {
    padding: 6px 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    border-radius: 6px;
    color: #1a1a2e;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.8rem;
}
.modes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.mode-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}
.mode-card:hover,
.mode-card.highlight-pulse {
    border-color: #FFD700;
    transform: translateY(-5px);
}
.mode-icon {
    margin-bottom: 15px;
}
.mode-icon img {
    width: 60px;
    height: 60px;
}
.mode-card h3 {
    color: #fff;
    margin: 0 0 10px 0;
}
.mode-card p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}
.champion-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}
.champion-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
}
.champion-card.selected {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}
.champion-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}
.champion-card span {
    display: block;
    color: #fff;
}
.shop-header h2 {
    color: #FFD700;
    margin-bottom: 20px;
}
.category-btn {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s;
}
.category-btn:hover,
.category-btn.active {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
    color: #FFD700;
}
.shop-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.shop-item.premium {
    border-color: rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 0, 0, 0.3));
}
.shop-item .item-image {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
}
.shop-item .item-details {
    margin-bottom: 15px;
}
.shop-item .item-name {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 5px;
}
.shop-item .item-price {
    display: block;
    color: #FFD700;
    font-weight: bold;
    font-size: 1.1rem;
}
.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.label-icon {
    font-size: 1rem;
}
.label-text {
    font-weight: 500;
}
.form-card {
    background: linear-gradient(135deg, #2d2d44 0%, #1a1a2e 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    overflow: hidden;
    max-width: 450px;
    margin: 0 auto;
}
.form-title {
    color: #FFD700;
    font-size: 1.5rem;
    margin: 0;
}
.form-description {
    color: #888;
    margin: 10px 0 0 0;
    font-size: 0.95rem;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}
.checkbox-input {
    width: 18px;
    height: 18px;
    accent-color: #FFD700;
}
.checkbox-text {
    color: #888;
    font-size: 0.9rem;
}
.login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    border-radius: 8px;
    color: #1a1a2e;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}
.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}
.button-icon {
    font-size: 1.2rem;
}
.btn-text {
    font-weight: bold;
}
.mockup-navbar .navbar-skins-link,
.mockup-navbar .navbar-champions-link,
.mockup-navbar .navbar-avatars-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s;
    font-size: 0.9rem;
}
.mockup-navbar .navbar-skins-link:hover,
.mockup-navbar .navbar-champions-link:hover,
.mockup-navbar .navbar-avatars-link:hover,
.mockup-navbar .navbar-skins-link.highlight-pulse,
.mockup-navbar .navbar-champions-link.highlight-pulse,
.mockup-navbar .navbar-avatars-link.highlight-pulse {
    color: #FFD700;
}
.mockup-navbar .navbar-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.mockup-navbar .language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}
.mockup-navbar .language-selector:hover {
    background: rgba(255, 215, 0, 0.1);
}
.mockup-navbar .user-avatar-navbar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #FFD700;
    object-fit: cover;
}
.mockup-navbar .premium-badge-navbar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.2));
    border: 1px solid #FFD700;
    border-radius: 15px;
}
.mockup-navbar .premium-text {
    color: #FFD700;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.new-items-badge {
    padding: 2px 8px;
    background: #ff4444;
    border-radius: 10px;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: auto;
}
.storage-container {
    position: relative;
}
.storage-header {
    text-align: center;
    margin-bottom: 25px;
}
.storage-title {
    color: #FFD700;
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    letter-spacing: 3px;
}
.storage-subtitle {
    color: #888;
    margin: 10px 0 0 0;
    font-size: 0.95rem;
}
.search-container {
    margin-bottom: 25px;
}
.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    max-width: 400px;
    margin: 0 auto;
}
.search-icon {
    font-size: 1rem;
    opacity: 0.6;
}
.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}
.search-input::placeholder {
    color: #666;
}
.storage-item-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}
.storage-item-card:hover,
.storage-item-card.highlight-pulse {
    border-color: #FFD700;
    transform: translateY(-5px);
}
.storage-item-card.new-item {
    border-color: rgba(76, 175, 80, 0.5);
}
.storage-item-card.premium-item {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(0, 0, 0, 0.3));
    border-color: rgba(255, 215, 0, 0.3);
}
.new-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 40px;
    height: 40px;
    z-index: 2;
}
.item-image-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}
.item-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.item-image.skin-image {
    border-radius: 10px;
}
.item-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}
.premium-glow {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
}
.elixir-display.hp {
    background: linear-gradient(135deg, #ff4444, #cc0000);
}
.elixir-display.mana {
    background: linear-gradient(135deg, #4444ff, #0000cc);
}
.premium-crown {
    font-size: 2.5rem;
}
.storage-item-card .item-name {
    color: #fff;
    font-size: 0.95rem;
    margin: 0 0 8px 0;
    font-weight: 600;
}
.item-status.owned {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.5);
}
.elixir-bonus {
    color: #4CAF50;
    font-weight: bold;
    font-size: 0.9rem;
}
.skin-rarity {
    margin-bottom: 12px;
}
.rarity-badge.rare {
    background: linear-gradient(135deg, rgba(68, 68, 255, 0.3), rgba(138, 43, 226, 0.3));
    color: #8a2be2;
    border: 1px solid #8a2be2;
}
.action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: bold;
    transition: all 0.3s;
}
.btn-open {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
}
.btn-sell {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-sell:hover {
    background: rgba(255, 68, 68, 0.2);
    border-color: #ff4444;
    color: #ff4444;
}
.btn-icon {
    font-size: 0.9rem;
}
.btn-label {
    font-weight: 600;
}
.won-item-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(68, 68, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.won-item-name {
    display: block;
    color: #fff;
    font-weight: bold;
    margin-top: 10px;
}
.elixir-hint {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}
.type-label.hp {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}
.type-label.mana {
    background: rgba(68, 68, 255, 0.2);
    color: #4444ff;
}
.type-label.speed {
    background: rgba(68, 255, 68, 0.2);
    color: #44ff44;
}
.elixir-icon-circle.hp {
    background: linear-gradient(135deg, #ff4444, #cc0000);
}
.elixir-icon-circle.mana {
    background: linear-gradient(135deg, #4444ff, #0000cc);
}
.elixir-icon-circle.speed {
    background: linear-gradient(135deg, #44ff44, #00cc00);
}
.elixir-icon-circle.small {
    width: 30px;
    height: 30px;
    font-size: 0.7rem;
}
.elixir-range {
    color: #888;
    font-size: 0.75rem;
}
.elixir-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    background: #2d2d44;
    border-radius: 12px;
    padding: 15px;
    width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.3);
    z-index: 100;
    text-align: left;
}
.tooltip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.tooltip-title {
    display: flex;
    flex-direction: column;
}
.tooltip-title strong {
    color: #fff;
    font-size: 0.95rem;
}
.tooltip-range {
    color: #4CAF50;
    font-size: 0.8rem;
}
.tooltip-info p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0;
    color: #a0a0a0;
    font-size: 0.8rem;
    line-height: 1.4;
}
.info-icon, .target-icon, .warning-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
}
.tooltip-target {
    color: #4CAF50 !important;
}
.tooltip-warning {
    color: #FF9800 !important;
}
.tooltip-hint {
    color: #FFD700 !important;
    font-size: 0.75rem;
    text-align: center;
    margin-top: 10px !important;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.avatars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.active-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 15px;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}
.check-icon {
    font-size: 0.8rem;
}
.avatar-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.avatar-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 215, 0, 0.3);
}
.avatar-info h3 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1rem;
}
.set-active-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border: none;
    border-radius: 6px;
    color: #1a1a2e;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}
.set-active-btn:hover,
.set-active-btn.highlight-pulse {
    transform: scale(1.05);
}
.slots-section {
    margin-bottom: 15px;
}
.slots-label {
    display: block;
    color: #888;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.slots-row {
    display: flex;
    gap: 8px;
}
.slot {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px dashed rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.slot.empty {
    cursor: pointer;
}
.slot.empty:hover,
.slot.suggested-slot {
    border-color: #FFD700;
    border-style: solid;
    background: rgba(255, 215, 0, 0.1);
}
.slot.filled {
    border-style: solid;
    border-color: rgba(255, 68, 68, 0.5);
    background: rgba(255, 68, 68, 0.1);
}
.empty-slot-icon {
    color: #555;
    font-size: 1.2rem;
}
.slot-number {
    color: #666;
    font-size: 0.65rem;
}
.slot-value {
    color: #4CAF50;
    font-size: 0.7rem;
    font-weight: bold;
}
.slot-type {
    color: #888;
    font-size: 0.6rem;
}
.bonuses-label {
    display: block;
    color: #888;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.bonuses-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.bonus.hp {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}
.no-bonuses {
    padding-top: 10px;
    text-align: center;
}
.no-bonuses span {
    color: #666;
    font-size: 0.8rem;
    font-style: italic;
}
.drag-tutorial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 50;
}
.drag-ghost {
    position: absolute;
    top: 30%;
    left: 40%;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: dragMove 2s infinite ease-in-out;
}
.hand-cursor {
    font-size: 1.5rem;
}
.warning-content p {
    color: #a0a0a0;
    text-align: center;
    margin: 0 0 15px 0;
    font-size: 0.9rem;
}
.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}
.detail-icon {
    font-size: 1rem;
}
.detail-item span:last-child {
    color: #a0a0a0;
    font-size: 0.85rem;
}
.detail-item strong {
    color: #fff;
}
.btn-cancel {
    flex: 1;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-cancel:hover {
    border-color: #ff4444;
    color: #ff4444;
}
.btn-confirm {
    flex: 1;
    padding: 10px;
    background: linear-gradient(135deg, #FF9800, #F57C00);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-confirm:hover {
    transform: scale(1.02);
}
.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}
.info-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}
.game-modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.game-mode-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.game-mode-card:hover:not(.locked),
.game-mode-card.highlight-pulse {
    border-color: #FFD700;
    transform: translateY(-5px);
}
.game-mode-card.locked {
    opacity: 0.5;
    cursor: not-allowed;
}
.mode-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
}
.mode-badge.popular {
    background: rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}
.mode-badge.locked-badge {
    background: rgba(255, 68, 68, 0.3);
    color: #ff4444;
}
.game-mode-card h3 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}
.game-mode-card p {
    color: #888;
    margin: 0;
    font-size: 0.85rem;
}
.lock-icon {
    font-size: 1rem;
}
.match-info {
    margin-bottom: 25px;
}
.champion-search-input {
    padding: 12px 25px;
    width: 100%;
    max-width: 350px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #fff;
    font-size: 0.95rem;
    text-align: center;
}
.champion-search-input:focus {
    outline: none;
    border-color: #FFD700;
}
.champion-search-input::placeholder {
    color: #666;
}
.champions-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.champion-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 10px;
    object-fit: cover;
}
.skins-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}
.skin-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    width: 140px;
    position: relative;
}
.skin-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
}
.skin-card.selected {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}
.skin-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    margin-bottom: 10px;
    object-fit: cover;
}
.skin-card .skin-name {
    display: block;
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 5px;
}
.skin-rarity-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
}
.skin-rarity-badge.common {
    background: rgba(136, 136, 136, 0.3);
    color: #888;
}
.skin-rarity-badge.rare {
    background: rgba(68, 68, 255, 0.3);
    color: #4444ff;
}
.skin-rarity-badge.epic {
    background: rgba(138, 43, 226, 0.3);
    color: #8a2be2;
}
.btn-back {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: #888;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-back:hover {
    border-color: #FFD700;
    color: #FFD700;
}
.match-started-epic-container {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    border-radius: 20px;
}
.match-started-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}
.champions-vs-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}
.champion-avatar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.champion-avatar-container.blue-side .match-avatar {
    border-color: #4444ff;
    box-shadow: 0 0 20px rgba(68, 68, 255, 0.5);
}
.champion-avatar-container.red-side .match-avatar {
    border-color: #ff4444;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}
.match-started-epic-container .team-label {
    padding: 3px 15px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}
.blue-team {
    background: rgba(68, 68, 255, 0.3);
    color: #4444ff;
}
.red-team {
    background: rgba(255, 68, 68, 0.3);
    color: #ff4444;
}
.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}
.vs-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}
.vs-text {
    color: #1a1a2e;
    font-size: 1.5rem;
    font-weight: 900;
}
.match-info-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.detail-box .detail-label {
    color: #888;
    font-size: 0.75rem;
    text-transform: uppercase;
}
.detail-box .detail-value {
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
}
.launch-game-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 50px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
}
.launch-game-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.6);
}
@media(max-width: 1024px){
    .avatars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .game-modes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px){
    .avatars-grid {
        grid-template-columns: 1fr;
    }
    .game-modes-grid {
        grid-template-columns: 1fr;
    }
    .champions-vs-display {
        flex-direction: column;
    }
}

.avatars-grid.two-avatars {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}
.type-label.magic {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.3), rgba(156, 39, 176, 0.1));
    color: #9c27b0;
}
.type-label.luck {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(76, 175, 80, 0.1));
    color: #4CAF50;
}
.storage-item-card .new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    z-index: 5;
}
.storage-item-card .item-image.elixir-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.storage-item-card .item-image.avatar-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
}
.won-item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}
.item-glow.mana-glow {
    background: radial-gradient(circle, rgba(33, 150, 243, 0.4) 0%, transparent 70%);
}

/* Animacje wolane przez powyzsze reguly. */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes dragMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(100px, 50px); }
}
