:root {
    --bg-color: #050505;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;

    --accent-red: #ff3333;
    --accent-orange: #ff6b00;
    --accent-pink: #ff00ff;
    --accent-purple: #8a2be2;

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    /* Usuwa niebieski flash przy kliknięciu na mobilkach */
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Efekty Tła (Glow po bokach) */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: float 10s infinite ease-in-out alternate;
}

.glow-1 {
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
}

.glow-2 {
    bottom: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.15;
    }

    100% {
        transform: translateY(30px) scale(1.1);
        opacity: 0.25;
    }
}

/* Główny Kontener */
.container {
    width: 100%;
    max-width: 600px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* Nagłówek i Zdjęcie Profilowe */
.profile-header {
    text-align: center;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-image-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    position: relative;
    border: 3px solid transparent;
    background: linear-gradient(var(--bg-color), var(--bg-color)) padding-box,
        linear-gradient(45deg, var(--accent-pink), var(--accent-purple)) border-box;
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.4);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 0, 255, 0.7);
    animation: avatarPulse 2s infinite;
    z-index: 1;
}

@keyframes avatarPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 0, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 255, 0);
    }
}

.profile-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(to right, #ffffff, var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.profile-bio {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Kontener z Linkami */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Podstawowy Przycisk (Glassmorphism) */
.link-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    border-radius: 999px;
    /* Zaokrąglony kształt "pigułki" */
    text-decoration: none;
    color: var(--text-main);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Duży Przycisk (Płatności) - mocniej wyeksponowany */
.hero-button {
    padding: 22px 24px;
    margin-bottom: 8px;
}

.hero-button .button-title {
    font-size: 1.15rem;
}

.hero-button .button-icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
}

.link-button:hover {
    transform: translateY(-3px) scale(1.02);
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

.link-button:active {
    transform: scale(0.98);
}

/* Ikony w Przyciskach */
.button-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    margin-right: 15px;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Tekst Wewnątrz Przycisku */
.button-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.button-title {
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.button-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 3px;
    font-weight: 400;
}

/* --- STYLE SPECJALNE PRZYCISKÓW --- */

/* Przycisk Subskrypcji Karta (Ognisty Glow) */
.premium-button.glow-effect {
    background: linear-gradient(135deg, rgba(40, 5, 5, 0.9), rgba(80, 10, 0, 0.9));
    border: 1px solid rgba(255, 69, 0, 0.6);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.4), inset 0 0 10px rgba(255, 69, 0, 0.2);
    animation: hellfirePulse 1.5s infinite alternate;
}

.premium-button.glow-effect:hover {
    box-shadow: 0 0 40px rgba(255, 30, 0, 0.8), inset 0 0 20px rgba(255, 69, 0, 0.5);
    border-color: rgba(255, 50, 0, 1);
    background: linear-gradient(135deg, rgba(60, 5, 5, 0.9), rgba(120, 20, 0, 0.9));
}

.premium-button.glow-effect .button-icon {
    color: #ffaa00;
    text-shadow: 0 0 15px #ff4500, 0 0 30px #ff0000;
    background: rgba(255, 69, 0, 0.2);
}

/* Przycisk Płatności Jednorazowej (Diamentowy/Zimny Glow) */
.premium-button.one-time-glow {
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.9), rgba(10, 10, 40, 0.9));
    border: 1px solid rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2), inset 0 0 10px rgba(0, 255, 255, 0.1);
}

.premium-button.one-time-glow:hover {
    box-shadow: 0 0 35px rgba(0, 255, 255, 0.5), inset 0 0 20px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.8);
}

.premium-button.one-time-glow .button-icon {
    color: #00ffff;
    text-shadow: 0 0 15px #00ffff;
    background: rgba(0, 255, 255, 0.15);
}

/* Prywatny Telegram (Neon Róż) */
.private-button {
    border-color: rgba(255, 0, 255, 0.3);
}

.private-button .button-icon {
    color: var(--accent-pink);
    text-shadow: 0 0 10px var(--accent-pink);
    background: rgba(255, 0, 255, 0.1);
}

.private-button:hover {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    border-color: var(--accent-pink);
}

/* --- LOADER --- */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-in-out;
}

.loader-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 69, 0, 0.2);
    border-top: 4px solid #ff4500;
    border-radius: 50%;
    animation: spin 1s linear infinite, hellfirePulse 1.5s infinite alternate;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    color: #ffaa00;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px #ff4500;
    animation: textPulse 1.5s infinite alternate;
}

@keyframes textPulse {
    0% {
        opacity: 0.7;
        transform: scale(0.98);
    }

    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* --- KONTAKT (PRYWATNY TELEGRAM) Z PAZUREM --- */
.contact-button {
    background: linear-gradient(135deg, rgba(20, 10, 30, 0.9), rgba(40, 10, 60, 0.9));
    border: 1px solid rgba(255, 0, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
    margin-top: 10px;
    padding: 18px 24px;
}

.contact-button:hover {
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.6), inset 0 0 15px rgba(255, 0, 255, 0.3);
    border-color: rgba(255, 0, 255, 1);
    background: linear-gradient(135deg, rgba(30, 15, 45, 0.9), rgba(60, 15, 90, 0.9));
}

.contact-button .button-icon {
    color: #ff00ff;
    text-shadow: 0 0 15px #ff00ff;
    background: rgba(255, 0, 255, 0.15);
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
}

.pulse-slow {
    animation: slowPulse 4s infinite;
}

@keyframes slowPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.01);
    }

    100% {
        transform: scale(1);
    }
}

/* --- KOLORY IKON SOCIAL MEDIA --- */
.instagram i {
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tiktok i {
    color: #fff;
    text-shadow: 1px 1px 0 #00f2fe, -1px -1px 0 #fe0979;
}

.telegram i {
    color: #0088cc;
}

/* Animacje Ogniste */
.pulse {
    animation: subtlePulse 3s infinite;
}

@keyframes subtlePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes hellfirePulse {
    0% {
        box-shadow: 0 0 15px rgba(255, 69, 0, 0.3), inset 0 0 10px rgba(255, 69, 0, 0.2);
        border-color: rgba(255, 69, 0, 0.5);
    }

    100% {
        box-shadow: 0 0 30px rgba(255, 0, 0, 0.6), inset 0 0 20px rgba(255, 69, 0, 0.4);
        border-color: rgba(255, 0, 0, 0.8);
    }
}

/* Embers / particle effects (gorące jak z piekła) */
.embers-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ember {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    background: #ff4500;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff0000, 0 0 20px #ffaa00;
    opacity: 0;
    animation: floatUp linear infinite;
}

.ember:nth-child(1) {
    left: 10%;
    animation-duration: 5s;
    animation-delay: 0s;
}

.ember:nth-child(2) {
    left: 25%;
    animation-duration: 7s;
    animation-delay: 2s;
    width: 6px;
    height: 6px;
}

.ember:nth-child(3) {
    left: 40%;
    animation-duration: 4s;
    animation-delay: 1s;
}

.ember:nth-child(4) {
    left: 55%;
    animation-duration: 8s;
    animation-delay: 3s;
    width: 5px;
    height: 5px;
    background: #ffaa00;
}

.ember:nth-child(5) {
    left: 70%;
    animation-duration: 6s;
    animation-delay: 0.5s;
}

.ember:nth-child(6) {
    left: 85%;
    animation-duration: 5.5s;
    animation-delay: 2.5s;
    width: 3px;
    height: 3px;
}

.ember:nth-child(7) {
    left: 15%;
    animation-duration: 4.5s;
    animation-delay: 4s;
    background: #ffaa00;
}

.ember:nth-child(8) {
    left: 45%;
    animation-duration: 6.5s;
    animation-delay: 1.5s;
    width: 7px;
    height: 7px;
}

.ember:nth-child(9) {
    left: 65%;
    animation-duration: 5.2s;
    animation-delay: 0.8s;
}

.ember:nth-child(10) {
    left: 90%;
    animation-duration: 7.2s;
    animation-delay: 3.5s;
    width: 4px;
    height: 4px;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100vh) scale(0.5);
        opacity: 0;
    }
}

/* Stopka */
.footer {
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* RWD - mniejsze ekrany */
@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }

    .profile-name {
        font-size: 1.75rem;
    }

    .button-title {
        font-size: 0.95rem;
    }

    .button-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}