:root {
    /* Fioletowa paleta "Iskra" */
    --bg-color: #121212;
    --surface-color: #1E1E1E;
    --primary-color: #9B59B6;
    --primary-variant-color: #8E44AD;
    --gradient: linear-gradient(45deg, #8E44AD, #E74C3C);
    --text-color: #F5F5F5;
    --text-secondary-color: #A0A0A0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    text-align: center;
    overflow-x: hidden;
    padding-top: 80px; 
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

header {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .container { display: flex; align-items: center; justify-content: space-between; }
.logo-link { text-decoration: none; }
.logo span { font-size: 1.8rem; font-weight: 800; color: var(--text-color); }
.auth-buttons { display: flex; align-items: center; gap: 1rem; }

.register-btn, .login-btn, .profile-cta-btn {
    padding: 0.7rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-block;
}

.register-btn { background: var(--gradient); color: #fff; }
.login-btn { background-color: transparent; color: var(--text-color); border-color: rgba(255, 255, 255, 0.5); }

.register-btn:hover, .profile-cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.4);
}
.login-btn:hover { background-color: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    background-size: cover;
    background-position: center center;
    background-image: url('../img/hero-background.jpg');
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 0.7) 50%, rgba(18, 18, 18, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.5rem; text-shadow: 0 2px 20px rgba(0,0,0,0.8); }
.hero .highlight-text {
    font-size: 1.3rem; 
    font-weight: 600; 
    color: var(--text-color);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0,0,0,0.7);
}
.hero .main-cta { padding: 1.2rem 3rem; font-size: 1.2rem; animation: pulse 2.5s infinite; text-transform: uppercase; letter-spacing: 1px; }

.trust-indicators { margin-top: 2.5rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.trust-indicators a { text-decoration: none; }
.trust-indicators span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-secondary-color);
    transition: all 0.3s ease;
    display: block;
}
.trust-indicators span:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border-color: var(--primary-color);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(155, 89, 182, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(155, 89, 182, 0); }
    100% { box-shadow: 0 0 0 0 rgba(155, 89, 182, 0); }
}

.profiles-section { padding: 5rem 1rem; background-color: var(--surface-color); }
.profiles-section h2 { font-size: 2.8rem; margin-bottom: 3rem; font-weight: 700; }
.profiles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }

.profile-card { 
    background: rgba(35, 35, 35, 0.5); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 15px; 
    padding: 1.5rem; 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.profile-card:hover { transform: translateY(-12px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); border-color: var(--primary-color); }
.profile-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 3px solid rgba(255,255,255,0.2); transition: border-color 0.3s; }
.profile-card:hover img { border-color: var(--primary-color); }
.profile-card .name { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.25rem; }
.profile-card .status { font-size: 0.9rem; color: #2ECC71; font-weight: 600; margin-bottom: 1.5rem; }
.profile-card .status.last-active { color: #ffa500; }

.profile-cta-btn {
    background: var(--gradient);
    color: #fff;
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.urgency-section { padding: 4rem 1rem; background: var(--gradient); text-align: center; }
.urgency-section h2 { font-size: 2.5rem; margin-bottom: 0.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
#countdown-timer { font-size: 3rem; font-weight: 700; margin: 1rem 0; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.urgency-section .register-btn { background: #fff; color: #121212; }
.urgency-section .register-btn:hover { box-shadow: 0 8px 25px rgba(255,255,255, 0.3); }

.testimonial-slider { padding: 5rem 0; overflow-x: hidden; position: relative; background-color: var(--bg-color); }
.testimonial-slider h2 { font-size: 2.8rem; margin-bottom: 3rem; text-align: center; }
.slider-container { display: flex; width: calc(2 * 4 * 350px); animation: scroll 30s linear infinite; }
.slide { flex-shrink: 0; width: 350px; background: var(--surface-color); margin: 0 1rem; padding: 2rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); font-style: italic; color: var(--text-secondary-color); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-4 * 350px - 4 * 2rem)); } }
.slider-container:hover { animation-play-state: paused; }

#live-activity-feed { position: fixed; bottom: 20px; left: 20px; background: var(--surface-color); color: var(--text-color); padding: 1rem; border-radius: 10px; z-index: 1001; box-shadow: 0 5px 15px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; font-size: 0.9rem; }
#live-activity-feed.show { opacity: 1; transform: translateY(0); }

footer { padding: 3rem 1rem; text-align: center; color: var(--text-secondary-color); }

@media (max-width: 768px) {
    body {
        padding-top: 65px; 
    }
    
    header {
        padding: 0.75rem 1rem;
    }
    .logo span {
        font-size: 1.3rem;
    }
    
    /* POPRAWKA: Zmieniony rozmiar przycisku w nagłówku na mobilce */
    .auth-buttons .register-btn {
        padding: 0.5rem 1rem; /* Mniejszy padding */
        font-size: 0.75rem;   /* Mniejsza czcionka */
    }
    .auth-buttons .login-btn {
        display: none;
    }
    
    .hero {
        min-height: calc(100vh - 65px);
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero h1 { 
        font-size: 2.5rem; 
    }
    .hero .highlight-text { 
        font-size: 1.1rem; 
    }
    
    .trust-indicators { 
        flex-direction: column; 
        gap: 1rem;
        align-items: center; 
        width: 100%;
    }
    .trust-indicators a {
        display: block;
        width: 90%;
        max-width: 350px;
    }
    .trust-indicators span { 
        width: 100%;
    }

    .profiles-section, .testimonial-slider, .urgency-section {
        padding: 4rem 1rem;
    }
    .profiles-section h2, .urgency-section h2, .testimonial-slider h2 { 
        font-size: 2.2rem; 
    }
    
    .slider-container {
        animation: none;
        width: auto;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 1rem 1rem 1rem;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .slider-container::-webkit-scrollbar { display: none; }
    .slide {
        scroll-snap-align: center;
        width: 85%;
    }
}