/* Register page v4 - polished cards with pill buttons */
.reg-page { padding: 40px 24px !important; }
.reg-container { max-width: 720px !important; }
.reg-container h1 { font-size: 24px !important; font-weight: 600 !important; margin-bottom: 28px !important; }
.reg-subtitle { display: none !important; }
.role-cards { gap: 16px !important; margin-bottom: 24px !important; }

.role-card {
    padding: 28px 24px !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 160px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    transition: all 0.3s ease !important;
}
.role-card:hover {
    border-color: rgba(255,255,255,0.25) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
}

/* Gradient overlay */
.role-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(18,18,22,0.95) 35%, rgba(18,18,22,0.4) 100%) !important;
    z-index: 0 !important;
    border-radius: 16px !important;
    transition: background 0.3s !important;
}
.role-card:hover::before {
    background: linear-gradient(to top, rgba(18,18,22,0.97) 35%, rgba(18,18,22,0.3) 100%) !important;
}

/* Light mode */
.light-mode .role-card { border-color: rgba(0,0,0,0.1) !important; }
.light-mode .role-card:hover { border-color: rgba(0,0,0,0.2) !important; box-shadow: 0 8px 32px rgba(0,0,0,0.1) !important; }
.light-mode .role-card::before {
    background: linear-gradient(to top, rgba(255,255,255,0.95) 35%, rgba(255,255,255,0.5) 100%) !important;
}
.light-mode .role-card:hover::before {
    background: linear-gradient(to top, rgba(255,255,255,0.97) 35%, rgba(255,255,255,0.4) 100%) !important;
}

/* Content z-index */
.role-card > * { position: relative !important; z-index: 1 !important; }

/* Icon */
.role-icon { margin-bottom: 12px !important; opacity: 0.7 !important; }
.role-icon svg { width: 24px !important; height: 24px !important; }
.role-card:hover .role-icon { opacity: 1 !important; }

/* Typography */
.role-card h2 { 
    font-size: 18px !important; 
    font-weight: 700 !important; 
    margin-bottom: 6px !important; 
    color: #fff !important; 
}
.role-card p { 
    font-size: 13.5px !important; 
    line-height: 1.5 !important; 
    margin-bottom: 16px !important; 
    color: rgba(255,255,255,0.65) !important;
}
.light-mode .role-card h2 { color: #1a1a1e !important; }
.light-mode .role-card p { color: rgba(0,0,0,0.55) !important; }

/* Pill CTA button */
.role-cta {
    display: inline-block !important;
    padding: 8px 18px !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.8) !important;
    transition: all 0.2s !important;
    background: transparent !important;
}
.role-card:hover .role-cta {
    border-color: rgba(255,255,255,0.6) !important;
    color: #fff !important;
}
.light-mode .role-cta {
    border-color: rgba(0,0,0,0.2) !important;
    color: rgba(0,0,0,0.6) !important;
}
.light-mode .role-card:hover .role-cta {
    border-color: rgba(0,0,0,0.4) !important;
    color: #1a1a1e !important;
}

/* Hide benefits list */
.role-benefits { display: none !important; }

/* Login link */
.reg-login { font-size: 15px !important; margin-top: 8px !important; }

/* Background images */
a.role-card[href*="zuhoerer"] { background-image: url(/img/zuhoerer_frau.webp) !important; }
a.role-card[href*="publisher"] { background-image: url(/img/publisher1.webp) !important; }
a.role-card[href*="speaker"] { background-image: url(/img/speaker1.webp) !important; }
a.role-card[href*="advertiser"],
a.role-card[href*="werbepartner"] { background-image: url(/img/advertiser.webp) !important; }

/* Social flow button cards */
button.role-card { background-image: none !important; }

/* Mobile */
@media (max-width: 500px) {
    .role-cards { grid-template-columns: 1fr !important; }
    .role-card { min-height: 130px !important; }
    .reg-container h1 { font-size: 20px !important; }
}
