/**
 * ═══════════════════════════════════════════════════════════════════════════════════
 * PF_register - Das MEGA LUSTIGE Registrierungs-Styling 🎉
 * Version: 2.0.0 "Spaß Edition"
 * Autor: Franz PFuisi
 * Beschreibung: Grün-Blau Gradient Theme mit lustigen Animationen & Easter Eggs
 * PFWS 1.4.1.3.25 konform
 * Theme: GRÜN (#10b981) & BLAU (#3b82f6) - Fresh Registration
 * ═══════════════════════════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════════════════════════
   CSS Variables - Grün & Blau Theme
   ═══════════════════════════════════════════════════════════════════════════════════ */
:root {
    /* Grün Palette */
    --pf-reg-green: #10b981;
    --pf-reg-green-light: #34d399;
    --pf-reg-green-dark: #059669;
    
    /* Blau Palette */
    --pf-reg-blue: #3b82f6;
    --pf-reg-blue-light: #60a5fa;
    --pf-reg-blue-dark: #2563eb;
    
    /* Gradients */
    --pf-reg-gradient: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --pf-reg-gradient-reverse: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    --pf-reg-gradient-wave: linear-gradient(135deg, 
        #10b981 0%, #34d399 20%, #3b82f6 40%, 
        #60a5fa 60%, #10b981 80%, #3b82f6 100%);
    
    /* Neutral Colors */
    --pf-reg-bg: #0f172a;
    --pf-reg-card-bg: #1e293b;
    --pf-reg-border: #334155;
    --pf-reg-text: #f1f5f9;
    --pf-reg-text-muted: #94a3b8;
    
    /* Status Colors */
    --pf-reg-success: #10b981;
    --pf-reg-warning: #f59e0b;
    --pf-reg-error: #ef4444;
    
    /* Shadows */
    --pf-reg-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --pf-reg-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --pf-reg-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --pf-reg-shadow-glow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   Layout - HAM Pattern
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-register-layout-wrapper {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
    max-width: 860px;
    min-width: 0;
    min-height: min-content;
    margin: 0 auto;
}

.pf-register-layout-wrapper.pf-register-overlay,
.pf-register-layout-wrapper.pf-register-dashboard-shell {
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
    height: calc(100dvh - 4rem);
    min-height: calc(100svh - 4rem);
    max-height: none;
    justify-content: center;
    overflow: hidden;
    padding: 24px 12px;
    box-sizing: border-box;
    position: static;
}

.pf-register-layout-wrapper.pf-register-standalone {
    margin-top: 40px;
    margin-bottom: 40px;
}

.pf-register-topnav-spacer {
    height: 60px;
    flex-shrink: 0;
}

.pf-register-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
}

.pf-register-overlay .pf-register-box,
.pf-register-dashboard-shell .pf-register-box {
    max-height: 100%;
    overflow: hidden;
}

#pf-overlay-inner:has(.pf-register-layout-wrapper.pf-register-overlay) {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    justify-content: flex-start;
    overflow: hidden;
}

.pf-register-module {
    width: 100%;
    max-width: 900px;
    background: var(--pf-reg-card-bg);
    border-radius: 24px;
    box-shadow: var(--pf-reg-shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    animation: pf-reg-fade-in 0.6s ease;
}

.pf-register-overlay .pf-register-module,
.pf-register-dashboard-shell .pf-register-module {
    height: 100%;
    max-height: 100%;
    box-shadow: none;
}

@keyframes pf-reg-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   Header mit Gradient & Wave Animation
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-register-header {
    background: var(--pf-reg-gradient);
    background-size: 200% 200%;
    padding: 25px 40px;
    position: relative;
    z-index: 100;
    overflow: hidden;
    animation: pf-reg-gradient-wave 10s ease infinite;
    border: 0;
    flex-shrink: 0;
}

@keyframes pf-reg-gradient-wave {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.pf-register-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pf-reg-shimmer 6s ease-in-out infinite;
    pointer-events: none;
}

.pf-register-header.shimmer-off::before {
    animation: none;
    opacity: 0;
}

@keyframes pf-reg-shimmer {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.pf-register-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    min-width: 0;
}

/* Icon Wrapper */
.pf-register-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.pf-register-icon-wrapper:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.pf-register-icon {
    font-size: 24px;
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pf-register-icon-brand {
    opacity: 1;
    transform: scale(1);
}

.pf-register-icon-info {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.7);
}

.pf-register-icon-wrapper.is-info-active .pf-register-icon-brand {
    opacity: 0;
    transform: scale(0.72);
}

.pf-register-icon-wrapper.is-info-active .pf-register-icon-info {
    opacity: 1;
    transform: scale(1);
}

.pf-register-brand-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(41, 121, 255, 0.25));
}

.pf-register-title-wrapper {
    flex: 1;
    min-width: 0;
}

.pf-register-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    flex-wrap: wrap;
    margin-left: auto;
}

.pf-register-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pf-register-version {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Dashboard Button */
.pf-register-dashboard-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    text-decoration: none;
}

.pf-register-dashboard-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.pf-register-dashboard-btn-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(41, 121, 255, 0.25));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.pf-register-dashboard-btn:hover .pf-register-dashboard-btn-icon {
    transform: scale(1.08) rotate(-6deg);
    filter: drop-shadow(0 6px 14px rgba(120, 211, 255, 0.45));
}

.pf-register-dashboard-btn-label {
    line-height: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   Info Section (2-Column Layout wie LMS/CMS)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-register-info-section {
    padding: 30px 40px;
    background: linear-gradient(to bottom, rgba(16, 185, 129, 0.05), transparent);
    border-bottom: 1px solid var(--pf-reg-border);
    border-left: 3px solid var(--pf-reg-blue);
    border-right: 3px solid var(--pf-reg-green);
    overflow: hidden;
    max-height: 320px;
    opacity: 1;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease, border-width 0.25s ease;
}

.pf-register-info-section.hidden {
    max-height: 0;
    opacity: 0;
    padding: 0 40px;
    border-bottom-width: 0;
    border-left-width: 0;
    border-right-width: 0;
}

.pf-register-info-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

/* Left Side - Description */
.pf-register-info-left h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--pf-reg-text);
    background: var(--pf-reg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pf-register-info-left p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--pf-reg-text-muted);
}

/* Right Side - Grid */
.pf-register-info-right {
    display: flex;
    flex-direction: column;
}

.pf-register-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.pf-register-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 15px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 2px solid var(--pf-reg-border);
    transition: all 0.4s ease;
    opacity: 0.4;
    transform: scale(0.95);
}

.pf-register-info-item.active {
    opacity: 1;
    transform: scale(1);
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--pf-reg-green);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    animation: pf-reg-pulse-subtle 2s ease infinite;
}

@keyframes pf-reg-pulse-subtle {
    0%, 100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
    50% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.5); }
}

.pf-register-info-icon {
    font-size: 28px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.pf-register-info-item.active .pf-register-info-icon {
    filter: grayscale(0%);
}

.pf-register-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pf-register-info-text strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--pf-reg-text);
}

.pf-register-info-text span {
    font-size: 11px;
    color: var(--pf-reg-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   Body & Phases
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-register-body {
    padding: 40px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    scrollbar-gutter: stable;
    border-left: 3px solid var(--pf-reg-blue);
    border-right: 3px solid var(--pf-reg-green);
    scrollbar-width: thin;
    scrollbar-color: rgba(96, 165, 250, 0.85) rgba(15, 23, 42, 0.4);
    overscroll-behavior: contain;
}

.pf-register-body::-webkit-scrollbar {
    width: 10px;
}

.pf-register-body::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.45);
    border-radius: 999px;
}

.pf-register-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.95), rgba(16, 185, 129, 0.9));
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.35);
}

.pf-register-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(147, 197, 253, 0.95), rgba(52, 211, 153, 0.95));
}

.pf-register-lock-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    padding: 32px 12px;
    min-height: 100%;
}

.pf-register-lock-icon {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
}

.pf-register-lock-title {
    margin: 0;
    font-size: 30px;
    color: var(--pf-reg-text);
}

.pf-register-lock-text {
    max-width: 680px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--pf-reg-text-muted);
}

.pf-register-lock-alert {
    width: min(100%, 680px);
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.22);
    color: var(--pf-reg-text);
    font-weight: 600;
}

.pf-register-lock-alert-error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(248, 113, 113, 0.3);
    color: #fecaca;
}

.pf-register-lock-steps {
    width: min(100%, 760px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pf-register-lock-step {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--pf-reg-border);
}

.pf-register-lock-step strong {
    font-size: 15px;
    color: var(--pf-reg-text);
}

.pf-register-lock-step span {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pf-reg-text-muted);
}

.pf-register-phase {
    display: none;
    animation: pf-reg-phase-slide-in 0.5s ease;
}

.pf-register-phase.active {
    display: block;
}

@keyframes pf-reg-phase-slide-in {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pf-register-phase-header {
    text-align: center;
    margin-bottom: 40px;
}

.pf-register-phase-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: var(--pf-reg-text);
}

.pf-register-phase-header p {
    margin: 0;
    font-size: 16px;
    color: var(--pf-reg-text-muted);
}

.pf-register-phase-header.surprise h2 {
    color: var(--pf-reg-green-light);
    animation: pf-reg-bounce 0.6s ease;
}

@keyframes pf-reg-bounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-5px); }
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   Progress Bar
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-register-progress-wrapper {
    margin-bottom: 40px;
    position: relative;
}

.pf-register-progress-bar {
    height: 8px;
    --pf-register-progress: 0%;
    background: var(--pf-reg-border);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.pf-register-progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--pf-register-progress);
    background: var(--pf-reg-gradient);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.pf-register-progress-text {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: var(--pf-reg-text-muted);
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   Form Inputs
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-register-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.pf-register-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pf-register-input-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--pf-reg-text);
}

.pf-register-input-group input {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--pf-reg-border);
    border-radius: 12px;
    color: var(--pf-reg-text);
    font-size: 16px;
    transition: all 0.3s ease;
}

.pf-register-input-group input:focus {
    outline: none;
    border-color: var(--pf-reg-green);
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.pf-register-input-group input.error {
    border-color: var(--pf-reg-error);
    animation: pf-reg-shake 0.5s ease;
}

@keyframes pf-reg-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.pf-register-input-hint {
    font-size: 12px;
    color: var(--pf-reg-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   Geburtsdatum-Roulette (Das Herzstück!) 🎂
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-register-birthday-roulette {
    background: rgba(16, 185, 129, 0.05);
    border: 2px solid var(--pf-reg-green);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    text-align: center;
}

.pf-register-birthday-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--pf-reg-text);
    margin-bottom: 20px;
}

.pf-register-birthday-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.pf-register-birthday-btn {
    width: 60px;
    height: 60px;
    background: var(--pf-reg-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--pf-reg-shadow-md);
}

.pf-register-birthday-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--pf-reg-shadow-glow);
}

.pf-register-birthday-btn:active {
    transform: scale(0.95);
}

.pf-register-birthday-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--pf-reg-green-light);
    min-width: 280px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px solid var(--pf-reg-border);
    transition: all 0.3s ease;
}

.pf-register-birthday-value.highlight {
    animation: pf-reg-pulse 0.5s ease;
    border-color: var(--pf-reg-green);
}

@keyframes pf-reg-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pf-register-birthday-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.pf-register-age-display {
    font-size: 24px;
    color: var(--pf-reg-text);
}

.pf-register-age-display strong {
    color: var(--pf-reg-green-light);
}

.pf-register-age-hint {
    font-size: 14px;
    color: var(--pf-reg-text-muted);
}

.pf-register-age-hint.error {
    color: var(--pf-reg-error);
    font-weight: 600;
    animation: pf-reg-shake 0.5s ease;
}

/* Birthday Stats */
.pf-register-birthday-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--pf-reg-border);
}

.pf-register-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-register-stat-icon {
    font-size: 20px;
}

.pf-register-stat-label {
    font-size: 14px;
    color: var(--pf-reg-text-muted);
}

.pf-register-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--pf-reg-green-light);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   Surprise Box (Phase 3)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-register-surprise-box {
    display: flex;
    gap: 30px;
    padding: 40px;
    background: rgba(59, 130, 246, 0.05);
    border: 2px dashed var(--pf-reg-blue);
    border-radius: 16px;
    margin-bottom: 30px;
    animation: pf-reg-fade-in 0.6s ease;
}

.pf-register-surprise-icon {
    font-size: 80px;
    animation: pf-reg-rotate 3s ease infinite;
}

@keyframes pf-reg-rotate {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.pf-register-surprise-text h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: var(--pf-reg-blue-light);
}

.pf-register-surprise-text p {
    margin: 8px 0;
    font-size: 16px;
    color: var(--pf-reg-text-muted);
}

.pf-register-surprise-text strong {
    color: var(--pf-reg-blue-light);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   Info Hint (subtle Easter Egg)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-register-easter-egg {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid var(--pf-reg-border);
    border-radius: 12px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.pf-register-easter-egg:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--pf-reg-blue);
}

.pf-register-easter-icon {
    font-size: 24px;
    opacity: 0.7;
}

.pf-register-easter-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pf-register-easter-text strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--pf-reg-text);
}

.pf-register-easter-text span {
    font-size: 12px;
    color: var(--pf-reg-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-register-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pf-register-btn.primary {
    background: var(--pf-reg-gradient);
    color: white;
    box-shadow: var(--pf-reg-shadow-md);
}

.pf-register-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--pf-reg-shadow-glow);
}

.pf-register-btn.primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pf-register-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--pf-reg-border);
    color: var(--pf-reg-text);
}

.pf-register-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--pf-reg-green);
}

.pf-register-btn-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   Success Message
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-register-success {
    display: none;
    text-align: center;
    padding: 60px 40px;
    animation: pf-reg-fade-in 0.6s ease;
}

.pf-register-success.active {
    display: block;
}

.pf-register-success-icon {
    font-size: 100px;
    margin-bottom: 20px;
    animation: pf-reg-bounce 1s ease;
}

.pf-register-success h2 {
    margin: 0 0 20px 0;
    font-size: 36px;
    color: var(--pf-reg-green-light);
}

.pf-register-success p {
    margin: 10px 0;
    font-size: 18px;
    color: var(--pf-reg-text-muted);
}

.pf-register-success strong {
    color: var(--pf-reg-text);
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   Footer mit Shimmer (wie Header)
   ═══════════════════════════════════════════════════════════════════════════════════ */
.pf-register-footer {
    padding: 12px 26px;
    background: var(--pf-reg-gradient-reverse);
    background-size: 200% 200%;
    border: 0;
    position: relative;
    z-index: 90;
    overflow: hidden;
    animation: pf-reg-gradient-wave-reverse 8s ease infinite;
    flex-shrink: 0;
}

@keyframes pf-reg-gradient-wave-reverse {
    0%, 100% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
}

.pf-register-footer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pf-reg-shimmer-reverse 8s ease-in-out infinite;
    pointer-events: none;
}

.pf-register-footer.shimmer-off::before {
    animation: none;
    opacity: 0;
}

@keyframes pf-reg-shimmer-reverse {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1.2); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
}

.pf-register-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.pf-register-footer-column {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
}

.pf-register-footer-left {
    justify-content: flex-start;
}

.pf-register-footer-center {
    justify-content: center;
    flex: 1.8 1 0;
}

.pf-register-footer-right {
    justify-content: flex-end;
}

.pf-register-footer-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-align: center;
    line-height: 1.25;
}

/* ═══════════════════════════════════════════════════════════════════════════════════
   Responsive Design
   ═══════════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .pf-register-layout-wrapper.pf-register-overlay,
    .pf-register-layout-wrapper.pf-register-dashboard-shell {
        min-width: 0;
        max-width: 100%;
        height: calc(100dvh - 4rem);
        min-height: calc(100svh - 4rem);
        justify-content: flex-start;
        padding: 8px 12px 12px;
    }
    
    .pf-register-module {
        border-radius: 16px;
    }
    
    .pf-register-header {
        padding: 12px 14px;
    }

    .pf-register-header-content {
        align-items: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    .pf-register-icon-wrapper {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .pf-register-header-actions {
        justify-content: flex-end;
        gap: 8px;
    }

    .pf-register-brand-icon {
        width: 22px;
        height: 22px;
    }

    .pf-register-dashboard-btn-label {
        white-space: nowrap;
    }
    
    .pf-register-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .pf-register-version {
        margin-top: 6px;
        font-size: 0.86rem;
    }
    
    .pf-register-info-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pf-register-info-section {
        padding: 20px 24px;
    }

    .pf-register-info-section.hidden {
        padding: 0 24px;
    }
    
    .pf-register-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .pf-register-body {
        padding: 14px;
    }

    .pf-register-lock-steps {
        grid-template-columns: 1fr;
    }

    .pf-register-lock-title {
        font-size: 1.7rem;
    }

    .pf-register-lock-text {
        font-size: 0.95rem;
    }
    
    .pf-register-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pf-register-birthday-roulette {
        padding: 24px;
    }
    
    .pf-register-birthday-value {
        font-size: 36px;
        min-width: 200px;
    }
    
    .pf-register-birthday-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .pf-register-surprise-box {
        flex-direction: column;
        padding: 24px;
        text-align: center;
    }
    
    .pf-register-btn-row {
        flex-direction: column;
    }
    
    .pf-register-footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .pf-register-footer-column {
        width: 100%;
        justify-content: center;
    }

    .pf-register-footer-center {
        flex: 1 1 auto;
    }
}

@media (max-width: 480px) {
    .pf-register-layout-wrapper.pf-register-overlay,
    .pf-register-layout-wrapper.pf-register-dashboard-shell {
        height: calc(100dvh - 1rem);
        min-height: calc(100svh - 1rem);
        justify-content: flex-start;
        padding: 2px 6px 6px;
    }

    .pf-register-topnav-spacer {
        height: 50px;
    }

    .pf-register-module {
        border-radius: 12px;
    }

    .pf-register-header {
        padding: 7px 10px;
    }

    .pf-register-header-content {
        gap: 8px;
    }

    .pf-register-icon-wrapper {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .pf-register-icon {
        font-size: 20px;
    }

    .pf-register-brand-icon {
        width: 20px;
        height: 20px;
    }

    .pf-register-title {
        font-size: 1.05rem;
    }

    .pf-register-version {
        margin-top: 2px;
        font-size: 0.84rem;
    }

    .pf-register-header-actions {
        width: auto;
        justify-content: flex-end;
    }

    .pf-register-dashboard-btn {
        min-width: 38px;
        width: 38px;
        height: 34px;
        border-radius: 9px;
        padding: 0;
        gap: 0;
    }

    .pf-register-dashboard-btn-label {
        display: none;
    }

    .pf-register-dashboard-btn-icon {
        width: 18px;
        height: 18px;
    }

    .pf-register-body,
    .pf-register-info-section,
    .pf-register-footer {
        padding-left: 8px;
        padding-right: 8px;
    }

    .pf-register-body,
    .pf-register-info-section {
        border-left-width: 2px;
        border-right-width: 2px;
    }

    .pf-register-footer {
        padding-top: 10px;
        padding-bottom: 10px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .pf-register-footer-text {
        white-space: normal;
    }

    .pf-register-lock-state {
        justify-content: flex-start;
        gap: 18px;
        min-height: 0;
        padding-top: 18px;
        padding-left: 0;
        padding-right: 0;
    }

    .pf-register-lock-icon {
        width: 72px;
        height: 72px;
        font-size: 34px;
        border-radius: 20px;
    }

    .pf-register-lock-title {
        font-size: 24px;
    }

    .pf-register-lock-text {
        font-size: 0.84rem;
        line-height: 1.55;
    }

    .pf-register-lock-alert,
    .pf-register-lock-step {
        width: 100%;
    }

    .pf-register-lock-step {
        padding: 16px;
    }
    
    .pf-register-birthday-display {
        gap: 10px;
    }
    
    .pf-register-birthday-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .pf-register-birthday-value {
        font-size: 28px;
        min-width: 160px;
        padding: 15px;
    }

    .pf-register-info-section.hidden {
        padding: 0 8px;
    }
}
