:root {
    --gold: #D4AF37;
    --rose-gold: #B76E79;
    --dark: #0a0508;
    --pink-neon: #ff3399;
    --gold-neon: #ffcc00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    color: #fff;
    overflow-x: hidden;
}

body {
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 5, 8, 0.4) 0%, rgba(10, 5, 8, 0.85) 100%);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
}

.header {
    margin-bottom: 4rem;
    animation: fadeInDown 1s ease-out;
}

.main-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--gold), var(--pink-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 51, 153, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.choice-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.card-content {
    position: relative;
    z-index: 2;
    background: rgba(10, 5, 8, 0.6);
    border-radius: 22px;
    padding: 3rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background 0.3s ease;
}

.icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.choice-card h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.choice-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.btn {
    margin-top: auto;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

/* Hover effects */
.choice-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.choice-card:hover .icon {
    transform: scale(1.15) rotate(5deg);
}

#card-randki:hover .card-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--gold), var(--rose-gold));
    opacity: 1;
    z-index: 1;
}

#card-kamerki:hover .card-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--pink-neon), #9900ff);
    opacity: 1;
    z-index: 1;
}

.card-glow {
    opacity: 0;
    transition: opacity 0.4s ease;
}

#card-randki:hover .card-content {
    background: rgba(10, 5, 8, 0.85);
}

#card-kamerki:hover .card-content {
    background: rgba(10, 5, 8, 0.85);
}

#card-randki:hover .btn {
    background: var(--gold);
    color: var(--dark);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    border-color: var(--gold);
}

#card-kamerki:hover .btn {
    background: var(--pink-neon);
    color: #fff;
    box-shadow: 0 0 25px rgba(255, 51, 153, 0.6);
    border-color: var(--pink-neon);
}

/* Click animation class */
.clicked {
    transform: scale(0.92) !important;
    opacity: 0.8;
}

.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Mobile */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.8rem;
    }
    .cards-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .choice-card {
        max-width: 100%;
    }
    .container {
        padding: 1.5rem;
    }
    .header {
        margin-bottom: 2rem;
    }
}
