/* ==========================================
   BAZA DLA PODSTRONY
   ========================================== */
body {
    background-color: #050505;
    color: white;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding-top: 100px; 
}

.kako-support {
    min-height: 90vh;
    margin-top: 1.8vw;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
}

.kako-support__container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* ==========================================
   HEADER WSPARCIA
   ========================================== */
.kako-support__header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kako-badge {
    background-color: #121212;
    border: 1px solid #2C2C2C;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #808080;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.kako-badge i { color: #E60000; }

.kako-support__title {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

@keyframes neonPulse {
    0%, 100% { text-shadow: 0 0 10px rgba(230, 0, 0, 0.2); }
    50% { text-shadow: 0 0 30px rgba(230, 0, 0, 0.6), 0 0 10px rgba(230, 0, 0, 0.8); }
}

.text-red { 
    color: #E60000;
    display: inline-block;
    animation: neonPulse 3s infinite alternate;
}

.kako-support__desc {
    color: #808080;
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.support-main-btn {
    padding: 20px 40px;
    font-size: 1.2rem;
    border-radius: 12px;
    background-color: #E60000;
    color: white;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(230, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.support-main-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
    transform: rotate(25deg);
    transition: all 0.6s ease;
}

.support-main-btn:hover {
    background-color: #FF1A1A;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(230, 0, 0, 0.5);
}

.support-main-btn:hover::after {
    left: 150%;
}

.btn-icon-large { font-size: 1.5rem; }

/* ==========================================
   GRID ZESPOŁU
   ========================================== */
.kako-team {
    border-top: 1px solid #2C2C2C;
    padding-top: 4rem;
}

.kako-team__heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.kako-team__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.kako-team-card {
    background-color: #121212;
    border: 1px solid #2C2C2C;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kako-team-card:hover {
    border-color: #E60000;
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(230, 0, 0, 0.15);
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1E1E1E;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.kako-team-card:hover .team-avatar {
    border-color: #E60000;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 20px rgba(230, 0, 0, 0.3);
}

.team-name {
    font-size: 1.3rem;
    margin: 0 0 0.2rem 0;
    color: white;
}

.team-role {
    font-size: 0.85rem;
    color: #808080;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes shakeIcon {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

.team-discord-tag {
    background-color: #1E1E1E;
    border: 1px solid #2C2C2C;
    padding: 10px 20px;
    border-radius: 10px;
    color: #cccccc;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}

.team-discord-tag i {
    transition: color 0.3s ease;
}

.team-discord-tag:hover {
    background-color: #2C2C2C;
    color: white;
    border-color: #404040;
}

.team-discord-tag:hover i {
    color: #E60000;
    animation: shakeIcon 0.3s ease-in-out forwards;
}
/* ==========================================
   NOWA SEKCJA: FORMULARZ KONTAKTOWY (MINIMAL STYLE)
   ========================================== */
.kako-contact {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
}

.contact-card {
    background-color: #0d0d0d; /* Bardzo ciemny odcień szarości */
    border: 1px solid #222;
    border-radius: 24px;
    /* ZMNIEJSZONO PADDING I MAX-WIDTH */
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 650px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); /* Trochę lżejszy cień */
    position: relative;
    overflow: hidden;
    /* Usunięto transition dla transform */
    transition: border-color 0.3s ease;
}

.contact-card:hover {
    /* USUNIĘTO animację skakania (transform: translateY) */
    border-color: #333;
}

/* USUNIĘTO CZERWONY GLOW NA GÓRZE (.contact-card::before) */

.contact-header {
    text-align: center;
    margin-bottom: 2rem; /* Trochę mniejszy odstęp */
}

.contact-heading {
    font-size: 2rem; /* Trochę mniejsza czcionka */
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: white;
    letter-spacing: -0.5px;
}

.contact-sub {
    color: #888;
    font-size: 0.95rem;
}

/* Formularz */
.kako-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem; /* Mniejsze odstępy między polami */
}

.form-group label {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
    margin-left: 5px;
}

.input-wrapper {
    position: relative;
    background-color: #050505;
    border-radius: 12px; /* Trochę mniejsze zaokrąglenie */
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

/* Efekt focusu na inputach - tylko zmiana koloru ramki i ikonki */
.input-wrapper:focus-within {
    border-color: #E60000;
    /* Usunięto mocny glow */
    background-color: #0a0a0a;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 1rem;
    transition: color 0.3s ease;
    pointer-events: none;
}

.input-wrapper.top-align i {
    top: 20px; /* Dla textarea */
}

/* Ikonka zmienia kolor na czerwony przy aktywnym polu */
.input-wrapper:focus-within i {
    color: #E60000;
}

.kako-form input, 
.kako-form textarea, 
.kako-form select {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 14px 14px 14px 45px; /* Mniejszy padding */
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
}

.kako-form select {
    appearance: none;
    cursor: pointer;
    color: #ccc;
}

/* STYLE DLA PASKA WYBORU (SELECT) */
.kako-form select option {
    background-color: #121212;
    color: white;
    padding: 10px;
}

/* PRÓBA NADPISANIA NIEBIESKIEGO SYSTEMOWEGO PODŚWIETLENIA NA CZERWONY
   Uwaga: Może nie działać w każdej przeglądarce ze względu na ograniczenia systemowe. */
.kako-form select:focus option:checked,
.kako-form select option:checked,
.kako-form select option:hover {
    box-shadow: 0 0 10px 100px #E60000 inset !important;
    background-color: #E60000 !important;
    color: white !important;
    -webkit-text-fill-color: white !important; 
}


.kako-form textarea {
    resize: vertical;
    min-height: 120px; /* Trochę mniejsze textarea */
    line-height: 1.5;
}

/* Przycisk wysyłania */
.form-submit-btn {
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #E60000 0%, #900000 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.form-submit-btn:hover {
    /* Zmniejszono efekt unoszenia */
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 0, 0, 0.3);
    filter: brightness(1.2);
}

.form-submit-btn:active {
    transform: translateY(0);
}
/* ==========================================
   TIPPLY DONATION
   ========================================== */
.kako-donation {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.donation-card {
    background: linear-gradient(145deg, #121212 0%, #0a0a0a 100%);
    border: 1px solid #2C2C2C;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.donation-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(230, 0, 0, 0.1);
    border: 1px solid rgba(230, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.8rem;
    color: #E60000;
}

.drop-icon {
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.donation-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: white;
}

.donation-desc {
    color: #aaaaaa;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.donation-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, #ff4757, #E60000);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 16px 35px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(230, 0, 0, 0.4);
}

.donation-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(230, 0, 0, 0.6);
    filter: brightness(1.1);
}

/* Animacje wjazdu */
.fade-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   POWIADOMIENIE (TOAST)
   ========================================== */
.kako-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #121212;
    border: 1px solid #00E676;
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.kako-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.kako-toast i {
    color: #00E676;
    font-size: 1.2rem;
}

/* ==========================================
   CUSTOM DROPDOWN (ZAMIAST SYSTEMOWEGO SELECTA)
   ========================================== */

/* Ukrywamy stary select, jeśli gdzieś został */
.kako-form select {
    display: none; 
}

.custom-dropdown {
    position: relative;
    width: 100%;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

/* To co widzisz przed kliknięciem */
.dropdown-selected {
    padding: 14px 14px 14px 45px; /* Padding pasujący do innych inputów */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.dropdown-selected .arrow {
    font-size: 0.8rem;
    color: #666;
    transition: transform 0.3s ease;
    margin-right: 5px;
}

/* Obracanie strzałki jak otwarte */
.custom-dropdown.open .dropdown-selected .arrow {
    transform: rotate(180deg);
    color: #E60000;
}

/* Lista opcji */
.dropdown-options {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;
    background-color: #0d0d0d;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.custom-dropdown.open .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Pojedyncza opcja */
.dropdown-item {
    padding: 12px 20px;
    color: #ccc;
    transition: all 0.2s ease;
}

/* --- TO JEST TO CZERWONE PODŚWIETLENIE --- */
.dropdown-item:hover {
    background-color: #E60000;
    color: white;
    padding-left: 25px; /* Lekki ruch w prawo przy najechaniu */
}

/* Opcja aktualnie wybrana (jeśli chcesz wyróżnić) */
.dropdown-item.active {
    color: white;
    font-weight: 600;
}