:root {
    --dark: #050507;
    --accent: #00f2ff;
    --text-muted: #94a3b8;
    --card-border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--dark);
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.background-visual {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, #111827 0%, #050507 100%);
    z-index: -1;
}

.top-brand {
    padding: 60px 20px 20px 20px;
    text-align: center;
    z-index: 10;
}

.top-brand h1 {
    font-weight: 200;
    letter-spacing: 15px;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    background: linear-gradient(to bottom, #ffffff 0%, #64748b 100%);
    
    /* Standardowa właściwość */
    background-clip: text;
    /* Wsparcie dla Chrome/Safari/Edge */
    -webkit-background-clip: text;
    
    /* Kolor wypełnienia - przezroczysty, by pokazać gradient pod spodem */
    -webkit-text-fill-color: transparent;
    color: transparent; /* Dodatkowy fallback */
}


.top-brand p {
    font-size: 0.75rem;
    letter-spacing: 6px;
    color: var(--accent);
    text-transform: uppercase;
    margin-top: 10px;
    opacity: 0.8;
}

/* Container */
.selection-container {
    display: flex;
    flex: 1;
    width: 100%;
    gap: 0;
    padding: 20px;
}

.card {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding: 50px;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    border: 1px solid var(--card-border);
    margin: 0 5px;
    border-radius: 20px;
}

.card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

/* Colors */
.no1:hover { border-bottom: 4px solid #4231ff; }
.no2:hover { border-bottom: 4px solid #e73b3b; }
.no3:hover { border-bottom: 4px solid #66edff; }

/* Interactions */
.card:hover {
    flex: 2.5;
    background: rgba(255, 255, 255, 0.03);
}

.card-content {
    position: relative;
    z-index: 5;
    transform: translateY(120px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
}

.card:hover .card-content {
    transform: translateY(0);
    opacity: 1;
}

.badge {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 10px;
}

.card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 400px;
    line-height: 1.6;
}

/* Language Buttons */
.lang-box {
    display: flex;
    gap: 15px;
}

.btn {
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.4s;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.btn:hover {
    background: white;
    color: black;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Background numbers */
.domain-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 900;
    opacity: 0.02;
    z-index: 0;
    transition: 0.8s;
}

.card:hover .domain-indicator {
    opacity: 0.05;
    transform: translate(-50%, -60%);
}

/* Current Domain Marker */
.card.active-domain::before {
    content: "CURRENT PLATFORM";
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 0.6rem;
    letter-spacing: 3px;
    background: var(--accent);
    color: black;
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: 800;
    z-index: 10;
}

/* Shine effect */
.card::after {
    content: "";
    position: absolute;
    top: 0; left: -150%;
    width: 100%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    z-index: 2;
}

.card:hover::after {
    animation: shine 1.2s ease-out;
}

@keyframes shine {
    100% { left: 150%; }
}

/* Footer */
.minimal-footer {
    padding: 30px;
    text-align: center;
    font-size: 0.7rem;
    color: #4b5563;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1024px) {
    .selection-container { flex-direction: column; overflow-y: auto; }
    .card { flex: none; min-height: 400px; margin: 10px 0; }
    .card:hover { flex: none; }
    .card-content { transform: translateY(0); opacity: 1; }
    body { overflow-y: auto; }
    .domain-indicator { font-size: 8rem; }
}