/* ================= BUTTONS ================= */

.menu-toggle,
.nav-button,
.button-primary,
.button-secondary,
.dc-button-modern,
.button-f,
#powrotBtn,
.kup-teraz,
.ip-box,
.footer-socials a {
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-list a:hover,
.nav-list a:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-button,
.button-primary,
.button-secondary,
.dc-button-modern,
.button-f {
    min-height: 3.5rem;
    padding: 0.95rem 1.35rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-weight: 800;
}

.nav-button,
.button-primary,
.button-f {
    background: linear-gradient(135deg, rgba(136, 247, 161, 0.96), rgba(114, 184, 255, 0.96));
    color: #03111d;
    box-shadow: 0 10px 24px rgba(61, 218, 118, 0.24);
}

.button-primary:hover,
.button-f:hover,
.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(114, 184, 255, 0.32);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dc-button-modern {
    background: rgba(88, 101, 242, 0.14);
    border: 1px solid rgba(88, 101, 242, 0.24);
    color: #dbe0ff;
}

.kup-teraz {
    width: 100%;
    margin-top: 0.95rem;
    min-height: 3.4rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-weight: 800;
}

#powrotBtn {
    margin-top: 0.8rem;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.ip-box {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.dc-button-modern:hover,
.kup-teraz:hover,
#powrotBtn:hover,
.ip-box:hover,
.footer-socials a:hover,
.footer-socials a:focus-visible {
    transform: translateY(-2px);
}

.dc-button-modern:hover {
    background: rgba(88, 101, 242, 0.22);
    box-shadow: 0 12px 26px rgba(88, 101, 242, 0.18);
}

.kup-teraz:hover {
    background: linear-gradient(135deg, rgba(136, 247, 161, 0.16), rgba(114, 184, 255, 0.16));
    border-color: rgba(136, 247, 161, 0.26);
}

/* ================= BADGES ================= */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(136, 247, 161, 0.08);
    border: 1px solid rgba(136, 247, 161, 0.2);
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 14px currentColor;
}

.oferta-badge {
    align-self: flex-start;
    padding: 0.42rem 0.68rem;
    border-radius: 999px;
    background: rgba(136, 247, 161, 0.12);
    border: 1px solid rgba(136, 247, 161, 0.24);
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.oferta-badge-blue {
    background: rgba(114, 184, 255, 0.12);
    border-color: rgba(114, 184, 255, 0.24);
    color: var(--blue);
}

.oferta-badge-gold {
    background: rgba(255, 216, 107, 0.12);
    border-color: rgba(255, 216, 107, 0.24);
    color: var(--yellow);
}

.oferta-badge-purple {
    background: rgba(176, 124, 255, 0.12);
    border-color: rgba(176, 124, 255, 0.24);
    color: var(--purple);
}

.oferta-badge-green {
    background: rgba(61, 218, 118, 0.12);
    border-color: rgba(61, 218, 118, 0.24);
    color: var(--green-strong);
}

/* ================= CARDS ================= */

.oferta-media {
    min-height: 10.5rem;
    margin-top: 1rem;
    border-radius: 1.2rem;
    position: relative;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.oferta-placeholder span {
    font-family: "Oxanium", sans-serif;
    font-size: clamp(1.9rem, 8vw, 2.8rem);
    letter-spacing: 0.08em;
    text-shadow: 0 0 18px rgba(114, 184, 255, 0.3);
}

.oferta-img {
    width: min(100%, 200px);
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.32));
}

.rank-media {
    min-height: 12rem;
    padding: 1rem;
    background:
        radial-gradient(circle at 50% 38%, rgba(114, 184, 255, 0.16), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.rank-media::before {
    content: "";
    position: absolute;
    width: 8.5rem;
    height: 8.5rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(136, 247, 161, 0.18), rgba(114, 184, 255, 0.08) 58%, transparent 74%);
    filter: blur(4px);
    opacity: 0.9;
}

.rank-img {
    position: relative;
    z-index: 1;
    width: min(100%, 184px);
    height: 164px;
    object-fit: contain;
    object-position: center;
    filter:
        drop-shadow(0 0 16px rgba(114, 184, 255, 0.14))
        drop-shadow(0 16px 28px rgba(0, 0, 0, 0.34));
}

.oferta h3 {
    margin-top: 1rem;
    font-family: "Oxanium", sans-serif;
    font-size: 1.7rem;
}

.oferta-features {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.45rem;
}

.oferta-features p {
    color: #e4ebf7;
    line-height: 1.55;
}

.oferta-price {
    margin-top: auto;
    padding-top: 1.2rem;
    font-size: 2rem;
}

.discord-card {
    padding: 1.25rem;
    border-radius: var(--radius-xl);
    display: grid;
    gap: 1rem;
}

.discord-visual {
    min-height: 18rem;
    border-radius: calc(var(--radius-xl) - 8px);
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top, rgba(88, 101, 242, 0.16), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dc-guy {
    width: min(240px, 100%);
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.dc-guy + .main-dc-icon {
    display: none;
}

.discord-visual.no-art {
    min-height: 18rem;
}

.main-dc-icon {
    font-size: 5rem;
    color: #d8ddff;
    filter: drop-shadow(0 0 22px rgba(88, 101, 242, 0.45));
}

.footer-socials a {
    width: 2.8rem;
    height: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ================= FORMS ================= */

#zakupForm input {
    width: 100%;
    min-height: 3.5rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

#zakupForm input::placeholder {
    color: rgba(154, 169, 196, 0.8);
}

.input-label {
    font-size: 0.92rem;
    color: var(--muted);
}

.payment-note {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}

#checkout-button[disabled] {
    cursor: wait;
    opacity: 0.72;
}

/* ================= PRELOADER UI ================= */

#preloader {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top, rgba(114, 184, 255, 0.2), transparent 34%),
        linear-gradient(180deg, #07111e 0%, #030813 100%);
    transition: opacity 420ms ease, visibility 420ms ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    width: min(25rem, calc(100vw - 2rem));
    padding: 2rem;
    border-radius: 2rem;
    text-align: center;
    background: rgba(8, 14, 25, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.loader-brand {
    min-height: 5.5rem;
    display: grid;
    place-items: center;
    gap: 0.65rem;
}

.loader-logo {
    max-width: 5.25rem;
    max-height: 5.25rem;
    object-fit: contain;
    filter:
        drop-shadow(0 0 14px rgba(245, 247, 251, 0.2))
        drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
}

.loader-logo + .loader-fallback {
    display: none;
}

.loader-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 10rem;
    min-height: 3.2rem;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: "Oxanium", sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
}

.loader-kicker {
    margin-top: 0.7rem;
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.loader-text {
    margin-top: 0.7rem;
    font-family: "Oxanium", sans-serif;
    font-size: clamp(1.5rem, 6vw, 2.1rem);
}

.progress-container {
    height: 0.35rem;
    margin-top: 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.progress-bar {
    width: 35%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #88f7a1, #72b8ff);
    animation: loading-bar 1.4s linear infinite;
}

/* ================= TOAST ================= */

.toast {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 60;
    min-width: min(22rem, calc(100vw - 2rem));
    max-width: 32rem;
    padding: 0.95rem 1.15rem;
    border-radius: 1rem;
    background: rgba(8, 14, 25, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    color: var(--text);
    text-align: center;
    transform: translate(-50%, 120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.toast.error {
    border-color: rgba(255, 143, 143, 0.3);
    color: #ffe1e1;
}

/* ================= EFFECTS / ANIMATIONS ================= */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes loading-bar {
    0% {
        transform: translateX(-110%);
    }
    100% {
        transform: translateX(320%);
    }
}
