:root {
    --primary-gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    --primary-hover: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    --text-heading: #ffffff;
    --text-body: #a1a1aa;
    --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
    --border-radius-card: 14px;
    --glass-border: rgba(255, 255, 255, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    position: relative;
    background-color: #07040d;
}

/* DYNAMICZNE TŁO SIATKOWE Z ANIMOWANYMI POŚWIATAMI */
body {
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(180deg, #0d0718 0%, #040208 100%);
    background-size: 20px 20px, 100% 100%;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
    animation: pulseGlow 7s ease-in-out infinite alternate;
}

.glow-1 {
    width: 260px; height: 260px;
    background: rgba(139, 92, 246, 0.3);
    top: -40px; left: -40px;
}

.glow-2 {
    width: 280px; height: 280px;
    background: rgba(6, 182, 212, 0.25);
    bottom: -40px; right: -40px;
    animation-delay: -3.5s;
}

.glow-3 {
    width: 220px; height: 220px;
    background: rgba(236, 72, 153, 0.2);
    top: 45%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -2s;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    100% { transform: scale(1.3) translate(15px, 20px); opacity: 0.9; }
}

/* KONTENER GŁÓWNY */
.landing-page {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    z-index: 2;
}

/* CENTRALNE OKNO Z TREŚCIĄ */
.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 350px;
    text-align: center;
    background: rgba(16, 12, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px 20px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(139, 92, 246, 0.2);
}

.hero-content h1 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.hero-content .description {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 24px;
}

/* PRZYCISKI */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-secondary:active {
    transform: scale(0.97);
}

/* KAFELKI */
.cards-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.card {
    position: absolute;
    background: #140f22;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-card);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.card-photo {
    position: relative;
    width: 100%;
    height: calc(100% - 36px);
    overflow: hidden;
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badges {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    gap: 3px;
}

.badge {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
}

.badge-star { background: #00d285; }
.badge-diamond { background: #06b6d4; }

.card-info {
    position: absolute;
    bottom: 6px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 5px 5px rgba(0,0,0,1);
}

.online-dot {
    width: 6px;
    height: 6px;
    background-color: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ff66;
}

.card-footer {
    height: 36px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #0f0b1a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.action-btn {
    background: none;
    border: none;
    font-size: 0.9rem;
    opacity: 0.8;
}

.desktop-only {
    display: none;
}

/* POZYCJE I ROZMIARY NA EKRANIE MOBILNYM */

/* Lewa strona */
.card-krystyna {
    width: 115px; height: 150px;
    top: 2%; left: -12px;
    transform: rotate(-6deg);
    z-index: 4;
}

.card-emilia {
    width: 125px; height: 160px;
    top: 36%; left: -30px;
    transform: rotate(5deg);
}

.card-zofia {
    width: 115px; height: 150px;
    bottom: 2%; left: -12px;
    transform: rotate(-6deg);
    z-index: 4;
}

/* Prawa strona */
.card-halina {
    width: 125px; height: 160px;
    top: 3%; right: -25px;
    transform: rotate(6deg);
    z-index: 4;
}

.card-ewa {
    width: 115px; height: 150px;
    top: 38%; right: -30px;
    transform: rotate(-5deg);
}

.card-danuta {
    width: 120px; height: 155px;
    bottom: 2%; right: -15px;
    transform: rotate(7deg);
}

/* USTAWIENIA DLA WIĘKSZYCH EKRANÓW */
@media (min-width: 768px) {
    .desktop-only {
        display: flex;
    }
    
    .hero-content {
        max-width: 440px;
        padding: 42px 32px;
    }
    
    .hero-content h1 { font-size: 2.2rem; }
    
    .card-krystyna { width: 145px; height: 185px; top: 4%; left: 3%; }
    .card-emilia { width: 170px; height: 215px; top: 35%; left: 14%; }
    .card-zofia { width: 150px; height: 195px; bottom: 4%; left: 3%; }
    .card-aleksandra { width: 130px; height: 165px; top: 6%; left: 17%; }
    .card-barbara { width: 135px; height: 170px; top: 40%; left: 2%; }
    .card-magda { width: 160px; height: 200px; bottom: 4%; left: 16%; }

    .card-halina { width: 170px; height: 215px; top: 6%; right: 3%; }
    .card-ewa { width: 155px; height: 200px; top: 40%; right: 2%; }
    .card-danuta { width: 145px; height: 185px; bottom: 4%; right: 3%; }
    .card-anna { width: 135px; height: 170px; top: 5%; right: 17%; }
    .card-beata { width: 135px; height: 170px; top: 38%; right: 15%; }
    .card-teresa { width: 140px; height: 175px; bottom: 4%; right: 16%; }
}