/* mrrp.css */

/* Animowany gradient w tle */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #0f0f0f, #1c001c, #0f0f0f);
    background-size: 400% 400%;
    animation: gradientAnimation 20s ease infinite;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Stylizacja głównego kontenera */
.container {
    position: relative;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 16px;
    padding: 40px 60px;
    box-shadow: 0 10px 30px rgba(128, 0, 128, 0.4);
    text-align: center;
    overflow: hidden;
    animation: fadeInScale 1.2s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Dodatkowa animacja - pulsujący efekt poświaty wokół kontenera */
.container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(162, 0, 255, 0.3) 0%, transparent 70%);
    animation: pulseGlow 6s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Stylizacja tytułu */
.container h2 {
    margin: 0 0 30px;
    color: #fff;
    font-size: 2em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: 1px;
    animation: slideDown 1s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Usunięcie podkreślenia z linków */
a {
    text-decoration: none;
}

/* Stylizacja przycisku */
button {
    padding: 15px 30px;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(45deg, #550077, #a200ff);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Efekt powiększenia i cieniowania przy najechaniu */
button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(162, 0, 255, 0.7);
}

/* Efekt przy kliknięciu */
button:active {
    transform: scale(0.95);
}

/* Dodatkowy efekt "ripple" przy kliknięciu */
button::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

button:active::after {
    transform: translate(-50%, -50%) scale(20);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}
