* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: 
                radial-gradient(ellipse at top left, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(ellipse at top right, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(ellipse at center right, rgba(200, 119, 255, 0.3) 0%, transparent 50%),
                radial-gradient(ellipse at center left, rgba(119, 198, 255, 0.3) 0%, transparent 50%),
                linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0a1a2a 100%);
            background-attachment: fixed;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
            overflow-y: auto;
        }

        /* Sterne und Weltraum Animationen */
        @keyframes twinkle {
            0% { 
                opacity: 0.3;
                transform: scale(1);
            }
            25% {
                opacity: 0.8;
                transform: scale(1.1);
            }
            50% { 
                opacity: 1;
                transform: scale(1.3);
            }
            75% {
                opacity: 0.6;
                transform: scale(1.05);
            }
            100% { 
                opacity: 0.4;
                transform: scale(1);
            }
        }

        @keyframes star-drift {
            0% {
                transform: translateX(0px) translateY(0px);
            }
            25% {
                transform: translateX(1px) translateY(-0.5px);
            }
            50% {
                transform: translateX(0.5px) translateY(1px);
            }
            75% {
                transform: translateX(-0.5px) translateY(0.5px);
            }
            100% {
                transform: translateX(0px) translateY(0px);
            }
        }

        @keyframes star-pulse {
            0%, 100% {
                filter: brightness(1) drop-shadow(0 0 2px rgba(255,255,255,0.3));
            }
            50% {
                filter: brightness(1.4) drop-shadow(0 0 4px rgba(255,255,255,0.6));
            }
        }



        /* Sternschnuppen Animation */
        @keyframes meteor-animate {
            0% {
                transform: rotate(315deg) translateX(0);
                opacity: 0;
            }
            5% {
                opacity: 1;
            }
            70% {
                opacity: 1;
            }
            100% {
                transform: rotate(315deg) translateX(-1000px);
                opacity: 0;
            }
        }





        /* Realistische Hintergrundsterne */
        body::before {
            content: '';
            position: fixed;
            width: 100%;
            height: 100%;
            background-image: 
                /* Helle Hauptsterne */
                radial-gradient(circle, rgba(255,255,255,1) 0.8px, rgba(255,255,255,0.3) 1.5px, transparent 2px),
                radial-gradient(circle, rgba(255,240,200,0.9) 0.6px, rgba(255,240,200,0.2) 1.2px, transparent 1.8px),
                radial-gradient(circle, rgba(200,220,255,0.8) 0.7px, rgba(200,220,255,0.2) 1.3px, transparent 2px),
                radial-gradient(circle, rgba(255,200,180,0.8) 0.6px, rgba(255,200,180,0.2) 1.2px, transparent 1.8px),
                
                /* Mittlere Sterne */
                radial-gradient(circle, rgba(255,255,255,0.7) 0.5px, transparent 1px),
                radial-gradient(circle, rgba(255,200,150,0.6) 0.4px, transparent 0.8px),
                radial-gradient(circle, rgba(150,200,255,0.6) 0.5px, transparent 1px),
                radial-gradient(circle, rgba(255,180,255,0.5) 0.4px, transparent 0.9px),
                radial-gradient(circle, rgba(200,255,200,0.6) 0.4px, transparent 0.8px),
                radial-gradient(circle, rgba(255,220,150,0.5) 0.5px, transparent 1px),
                
                /* Kleine schwache Sterne */
                radial-gradient(circle, rgba(255,255,255,0.4) 0.3px, transparent 0.6px),
                radial-gradient(circle, rgba(200,255,255,0.3) 0.2px, transparent 0.5px),
                radial-gradient(circle, rgba(255,255,200,0.4) 0.3px, transparent 0.6px),
                radial-gradient(circle, rgba(220,200,255,0.3) 0.2px, transparent 0.5px),
                radial-gradient(circle, rgba(255,200,200,0.3) 0.3px, transparent 0.6px),
                radial-gradient(circle, rgba(200,255,220,0.25) 0.2px, transparent 0.4px);
            
            background-size: 
                600px 450px, 700px 520px, 550px 400px, 650px 480px,
                300px 220px, 280px 210px, 320px 240px, 290px 220px, 310px 230px, 270px 200px,
                150px 110px, 140px 100px, 160px 120px, 130px 95px, 170px 125px, 120px 90px;
            
            background-position: 
                0 0, 150px 80px, 300px 40px, 450px 120px,
                40px 60px, 200px 150px, 120px 90px, 380px 140px, 250px 180px, 350px 70px,
                20px 30px, 130px 70px, 240px 110px, 160px 40px, 280px 80px, 90px 130px;
            
            animation: 
                twinkle 12s ease-in-out infinite,
                star-drift 45s linear infinite,
                star-pulse 8s ease-in-out infinite;
            top: 0;
            left: 0;
            z-index: 1;
        }



        /* Sternschnuppen */
        .shooting-stars {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
        }

        /* Sternschnuppen Styling */
        .meteor {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 4px;
            height: 4px;
            background: #fff;
            border-radius: 50%;
            box-shadow: 
                0 0 0 4px rgba(255,255,255,0.1),
                0 0 0 8px rgba(255,255,255,0.1),
                0 0 20px rgba(255,255,255,0.1);
            animation: meteor-animate 3s linear infinite;
            opacity: 0;
        }

        /* Mobile Anpassungen für Sternschnuppen */
        @media (max-width: 768px) {
            .meteor {
                width: 3px;
                height: 3px;
                box-shadow: 
                    0 0 0 3px rgba(255,255,255,0.1),
                    0 0 0 6px rgba(255,255,255,0.1),
                    0 0 15px rgba(255,255,255,0.1);
            }

            .meteor::before {
                width: 200px;
            }
        }

        @media (max-width: 480px) {
            .meteor {
                width: 2px;
                height: 2px;
                box-shadow: 
                    0 0 0 2px rgba(255,255,255,0.1),
                    0 0 0 4px rgba(255,255,255,0.1),
                    0 0 10px rgba(255,255,255,0.1);
            }

            .meteor::before {
                width: 150px;
            }
        }

        .meteor::before {
            content: '';
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 300px;
            height: 1px;
            background: linear-gradient(90deg, #fff, transparent);
        }

        /* Sternschnuppen Positionen */
        .meteor:nth-child(1) {
            top: 0;
            right: 0;
            left: initial;
            animation-delay: 2s;
            animation-duration: 2.5s;
        }

        .meteor:nth-child(2) {
            top: 0;
            right: 80px;
            left: initial;
            animation-delay: 3.5s;
            animation-duration: 4.5s;
        }

        .meteor:nth-child(3) {
            top: 80px;
            right: 0px;
            left: initial;
            animation-delay: 5s;
            animation-duration: 3.5s;
        }

        .meteor:nth-child(4) {
            top: 0;
            right: 180px;
            left: initial;
            animation-delay: 6.5s;
            animation-duration: 3s;
        }

        .meteor:nth-child(5) {
            top: 0;
            right: 400px;
            left: initial;
            animation-delay: 8s;
            animation-duration: 4s;
        }

        .meteor:nth-child(6) {
            top: 0;
            right: 600px;
            left: initial;
            animation-delay: 10s;
            animation-duration: 5s;
        }

        .meteor:nth-child(7) {
            top: 300px;
            right: 0px;
            left: initial;
            animation-delay: 12s;
            animation-duration: 3.5s;
        }

        .meteor:nth-child(8) {
            top: 0px;
            right: 700px;
            left: initial;
            animation-delay: 14s;
            animation-duration: 2.8s;
        }

        .meteor:nth-child(9) {
            top: 0px;
            right: 1000px;
            left: initial;
            animation-delay: 16s;
            animation-duration: 4.2s;
        }

        .meteor:nth-child(10) {
            top: 0px;
            right: 450px;
            left: initial;
            animation-delay: 18s;
            animation-duration: 5.5s;
        }

        .meteor:nth-child(11) {
            top: 200px;
            right: 200px;
            left: initial;
            animation-delay: 20s;
            animation-duration: 3.8s;
        }

        .meteor:nth-child(12) {
            top: 100px;
            right: 800px;
            left: initial;
            animation-delay: 22s;
            animation-duration: 4.5s;
        }

        /* Zusätzliche realistische Sterne */
        .extra-stars {
            position: fixed;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .extra-stars::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background-image: 
                /* Funkelnde Sterne mit Kreuzform */
                radial-gradient(circle, rgba(255,255,255,0.8) 0.3px, transparent 0.6px),
                radial-gradient(circle, rgba(255,240,180,0.7) 0.2px, transparent 0.5px),
                radial-gradient(circle, rgba(180,220,255,0.6) 0.3px, transparent 0.6px),
                radial-gradient(circle, rgba(255,200,255,0.5) 0.2px, transparent 0.4px),
                radial-gradient(circle, rgba(200,255,180,0.6) 0.25px, transparent 0.5px),
                radial-gradient(circle, rgba(255,180,200,0.5) 0.2px, transparent 0.4px),
                
                /* Sehr schwache Hintergrundsterne */
                radial-gradient(circle, rgba(255,255,255,0.2) 0.1px, transparent 0.3px),
                radial-gradient(circle, rgba(200,200,255,0.15) 0.1px, transparent 0.2px),
                radial-gradient(circle, rgba(255,220,200,0.18) 0.1px, transparent 0.25px),
                radial-gradient(circle, rgba(220,255,200,0.15) 0.08px, transparent 0.2px);
            
            background-size: 
                90px 70px, 110px 85px, 80px 60px, 120px 90px, 100px 75px, 85px 65px,
                50px 35px, 60px 45px, 55px 40px, 45px 35px;
            
            background-position: 
                25px 15px, 70px 55px, 115px 30px, 160px 75px, 205px 50px, 250px 85px,
                10px 25px, 35px 65px, 80px 45px, 125px 70px;
            
            animation: 
                twinkle 15s ease-in-out infinite,
                star-drift 60s linear infinite reverse;
        }

        .extra-stars::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background-image: 
                /* Entfernte schwache Sterne */
                radial-gradient(circle, rgba(255,255,255,0.3) 0.2px, transparent 0.4px),
                radial-gradient(circle, rgba(255,220,180,0.25) 0.15px, transparent 0.3px),
                radial-gradient(circle, rgba(180,200,255,0.2) 0.1px, transparent 0.25px),
                radial-gradient(circle, rgba(200,255,220,0.22) 0.12px, transparent 0.28px),
                radial-gradient(circle, rgba(255,200,220,0.18) 0.1px, transparent 0.24px),
                radial-gradient(circle, rgba(220,220,255,0.2) 0.11px, transparent 0.26px),
                
                /* Milchstraßen-ähnliche schwache Sterne */
                radial-gradient(circle, rgba(255,255,255,0.1) 0.1px, transparent 0.2px),
                radial-gradient(circle, rgba(200,220,255,0.08) 0.05px, transparent 0.15px),
                radial-gradient(circle, rgba(255,240,200,0.09) 0.06px, transparent 0.16px),
                radial-gradient(circle, rgba(220,255,240,0.07) 0.04px, transparent 0.14px),
                radial-gradient(circle, rgba(240,200,255,0.08) 0.05px, transparent 0.15px);
            
            background-size: 
                70px 55px, 85px 65px, 55px 40px, 75px 60px, 65px 50px, 80px 62px,
                35px 25px, 40px 30px, 38px 28px, 32px 24px, 42px 32px;
            
            background-position: 
                45px 35px, 95px 75px, 145px 20px, 195px 60px, 245px 40px, 295px 80px,
                15px 10px, 60px 45px, 110px 30px, 160px 55px, 210px 25px;
            
            animation: 
                twinkle 20s ease-in-out infinite,
                star-drift 80s linear infinite,
                star-pulse 12s ease-in-out infinite;
        }

        .container {
            background: 
                linear-gradient(135deg, 
                    rgba(255, 255, 255, 0.1) 0%,
                    rgba(255, 255, 255, 0.05) 100%);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 
                0 8px 32px 0 rgba(31, 38, 135, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.05);
            padding: 40px;
            width: 100%;
            max-width: 500px;
            text-align: center;
            position: relative;
            z-index: 2;
            color: #fff;
            overflow: hidden;
        }

        .container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, 
                transparent 0%,
                rgba(255, 255, 255, 0.4) 50%,
                transparent 100%);
        }

        h1 {
            background: linear-gradient(135deg, 
                rgba(255, 255, 255, 1) 0%,
                rgba(200, 220, 255, 0.9) 50%,
                rgba(255, 200, 255, 0.8) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 10px;
            font-size: 2.2em;
            font-weight: 700;
            text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
            filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
        }

        .brand-mark {
            width: 104px;
            height: 104px;
            margin: -10px auto 8px;
            filter: drop-shadow(0 10px 24px rgba(0, 174, 255, 0.35));
        }

        .brand-mark img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .subtitle {
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 30px;
            font-size: 1.1em;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
        }

        .password-display {
            background: 
                linear-gradient(135deg, 
                    rgba(255, 255, 255, 0.08) 0%,
                    rgba(255, 255, 255, 0.03) 100%);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 24px;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            box-shadow: 
                0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        .password-display::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, 
                transparent 0%,
                rgba(255, 255, 255, 0.3) 50%,
                transparent 100%);
        }

        .password-text {
            font-family: 'Courier New', monospace;
            font-size: 1.2em;
            font-weight: bold;
            word-break: break-all;
            color: #fff;
            min-height: 1.5em;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
        }

        .copy-btn {
            background: 
                linear-gradient(135deg, 
                    rgba(40, 167, 69, 0.25) 0%,
                    rgba(40, 167, 69, 0.15) 100%);
            color: white;
            border: 1px solid rgba(40, 167, 69, 0.3);
            border-radius: 12px;
            padding: 10px 18px;
            margin-top: 12px;
            cursor: pointer;
            font-size: 0.9em;
            font-weight: 500;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            gap: 8px;
            justify-content: center;
            box-shadow: 
                0 2px 8px rgba(40, 167, 69, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        .copy-btn:hover {
            background: 
                linear-gradient(135deg, 
                    rgba(40, 167, 69, 0.4) 0%,
                    rgba(40, 167, 69, 0.25) 100%);
            transform: translateY(-2px) scale(1.02);
            box-shadow: 
                0 4px 20px rgba(40, 167, 69, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            border-color: rgba(40, 167, 69, 0.5);
        }

        .copy-btn.copied {
            background: rgba(23, 162, 184, 0.4);
            border-color: rgba(23, 162, 184, 0.6);
        }

        ion-icon {
            font-size: 1.2em;
            vertical-align: middle;
        }

        .security-meter {
            margin-bottom: 30px;
        }

        .security-bar {
            height: 10px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            overflow: hidden;
            margin: 12px 0;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
        }

        .security-fill {
            height: 100%;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 6px;
            position: relative;
            overflow: hidden;
        }

        .security-fill::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%,
                rgba(255, 255, 255, 0.3) 50%,
                transparent 100%);
            animation: security-shine 2s ease-in-out infinite;
        }

        @keyframes security-shine {
            0% { left: -100%; }
            50% { left: 100%; }
            100% { left: 100%; }
        }

        .security-weak { 
            background: linear-gradient(90deg, #dc3545 0%, #ff6b6b 100%);
            box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
        }
        .security-medium { 
            background: linear-gradient(90deg, #ffc107 0%, #ffeb3b 100%);
            box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
        }
        .security-good { 
            background: linear-gradient(90deg, #28a745 0%, #4caf50 100%);
            box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
        }
        .security-strong { 
            background: linear-gradient(90deg, #17a2b8 0%, #00bcd4 100%);
            box-shadow: 0 0 10px rgba(23, 162, 184, 0.5);
        }

        .security-text {
            font-weight: bold;
            margin-top: 5px;
        }

        .options {
            text-align: left;
            margin-bottom: 30px;
        }

        .option-group {
            margin-bottom: 20px;
        }

        .option-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.95);
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
            letter-spacing: 0.5px;
        }

        .slider-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .slider {
            flex: 1;
            height: 6px;
            border-radius: 3px;
            background: #e9ecef;
            outline: none;
            -webkit-appearance: none;
        }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #667eea;
            cursor: pointer;
        }

        .slider::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #667eea;
            cursor: pointer;
            border: none;
        }

        .length-display {
            background: #667eea;
            color: white;
            padding: 5px 10px;
            border-radius: 6px;
            font-weight: bold;
            min-width: 35px;
        }

        .checkbox-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .checkbox-item {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .checkbox-item input[type="checkbox"] {
            width: 18px;
            height: 18px;
            appearance: none;
            -webkit-appearance: none;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 4px;
            cursor: pointer;
            display: inline-block;
            position: relative;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
        }

        .checkbox-item input[type="checkbox"]:checked {
            background: 
                linear-gradient(135deg, 
                    rgba(102, 126, 234, 0.9) 0%,
                    rgba(118, 75, 162, 0.8) 50%,
                    rgba(255, 119, 198, 0.7) 100%);
            border-color: rgba(102, 126, 234, 0.7);
            box-shadow: 0 0 10px rgba(102, 126, 234, 0.4);
        }

        .checkbox-item input[type="checkbox"]:checked::before {
            content: '✓';
            position: absolute;
            color: white;
            font-size: 12px;
            font-weight: bold;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }



        .checkbox-item label {
            margin: 0;
            cursor: pointer;
            font-weight: normal;
            color: rgba(255, 255, 255, 0.9);
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
        }

        .generate-btn {
            background: 
                linear-gradient(135deg, 
                    rgba(102, 126, 234, 0.5) 0%, 
                    rgba(118, 75, 162, 0.5) 50%,
                    rgba(255, 119, 198, 0.4) 100%);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.25);
            border-radius: 16px;
            padding: 16px 32px;
            font-size: 1.1em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            width: 100%;
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 6px 24px rgba(102, 126, 234, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .generate-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent 0%,
                rgba(255, 255, 255, 0.2) 50%,
                transparent 100%);
            transition: left 0.6s ease;
        }

        .generate-btn:hover::before {
            left: 100%;
        }

        .generate-btn:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 
                0 8px 32px rgba(102, 126, 234, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            background: 
                linear-gradient(135deg, 
                    rgba(102, 126, 234, 0.7) 0%, 
                    rgba(118, 75, 162, 0.7) 50%,
                    rgba(255, 119, 198, 0.6) 100%);
            border-color: rgba(255, 255, 255, 0.4);
        }

        .generate-btn:active {
            transform: translateY(-1px) scale(1.01);
            transition: all 0.1s ease;
        }

        .generate-btn ion-icon {
            font-size: 1.3em;
        }

        .tips {
            background: 
                linear-gradient(135deg, 
                    rgba(231, 243, 255, 0.08) 0%,
                    rgba(231, 243, 255, 0.03) 100%);
            border: 1px solid rgba(184, 218, 255, 0.15);
            border-radius: 16px;
            padding: 20px;
            margin-top: 24px;
            text-align: left;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            position: relative;
            overflow: hidden;
            box-shadow: 
                0 4px 16px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        .tips::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, 
                transparent 0%,
                rgba(184, 218, 255, 0.4) 50%,
                transparent 100%);
        }

        .tips h3 {
            color: #fff;
            margin-bottom: 10px;
            font-size: 1.1em;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .tips ul {
            color: rgba(255, 255, 255, 0.9);
            padding-left: 20px;
        }

        .tips li {
            margin-bottom: 5px;
        }

        /* Mobile Optimierungen */
        @media (max-width: 768px) {
            body {
                min-height: 100vh;
                min-height: 100dvh; /* Dynamic Viewport Height für mobile Browser */
                align-items: flex-start;
                padding: 15px;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch; /* Smooth scrolling auf iOS */
            }

            .container {
                padding: 20px;
                margin: 15px auto;
                max-width: calc(100vw - 30px);
                border-radius: 20px;
                width: 100%;
                box-sizing: border-box;
            }

            h1 {
                font-size: 1.9em;
                margin-bottom: 8px;
            }

            .subtitle {
                font-size: 1em;
                margin-bottom: 25px;
            }

            .password-display {
                padding: 20px;
                margin-bottom: 20px;
                border-radius: 14px;
            }

            .password-text {
                font-size: 1.1em;
                word-break: break-all;
                line-height: 1.4;
            }

            .copy-btn {
                padding: 12px 20px;
                font-size: 0.95em;
                margin-top: 15px;
            }

            .checkbox-group {
                grid-template-columns: 1fr;
                gap: 12px;
            }

            .checkbox-item {
                padding: 12px 8px;
            }

            .generate-btn {
                padding: 18px 32px;
                font-size: 1.05em;
                border-radius: 14px;
            }

            .tips {
                padding: 18px;
                margin-top: 20px;
                border-radius: 14px;
            }

            .tips h3 {
                font-size: 1.05em;
            }

            .tips li {
                margin-bottom: 8px;
                font-size: 0.95em;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 10px;
                min-height: 100vh;
                min-height: 100dvh;
                align-items: flex-start;
                justify-content: flex-start;
            }

            .container {
                padding: 18px;
                margin: 10px auto;
                border-radius: 18px;
                width: calc(100vw - 20px);
                max-width: none;
            }

            h1 {
                font-size: 1.7em;
                margin-bottom: 6px;
            }

            .subtitle {
                font-size: 0.95em;
                margin-bottom: 20px;
            }

            .password-display {
                padding: 18px;
                margin-bottom: 18px;
            }

            .password-text {
                font-size: 1em;
                min-height: 1.2em;
            }

            .copy-btn {
                padding: 10px 16px;
                font-size: 0.9em;
                width: 100%;
                margin-top: 12px;
            }

            .security-meter {
                margin-bottom: 25px;
            }

            .security-bar {
                height: 8px;
                margin: 10px 0;
            }

            .security-text {
                font-size: 0.9em;
            }

            .option-group {
                margin-bottom: 18px;
            }

            .option-group label {
                font-size: 0.95em;
                margin-bottom: 6px;
            }

            .slider-container {
                gap: 8px;
            }

            .length-display {
                padding: 4px 8px;
                font-size: 0.9em;
                min-width: 30px;
            }

            .checkbox-group {
                gap: 10px;
            }

            .checkbox-item {
                padding: 10px 6px;
                gap: 10px;
            }

            .checkbox-item input[type="checkbox"] {
                width: 16px;
                height: 16px;
            }

            .checkbox-item label {
                font-size: 0.9em;
            }

            .generate-btn {
                padding: 16px 28px;
                font-size: 1em;
                gap: 10px;
            }

            .tips {
                padding: 16px;
                margin-top: 18px;
            }

            .tips h3 {
                font-size: 1em;
                margin-bottom: 8px;
            }

            .tips ul {
                padding-left: 16px;
            }

            .tips li {
                font-size: 0.9em;
                margin-bottom: 6px;
                line-height: 1.4;
            }
        }

        @media (max-width: 360px) {
            body {
                padding: 8px;
            }

            .container {
                padding: 15px;
                margin: 8px auto;
                width: calc(100vw - 16px);
            }

            h1 {
                font-size: 1.5em;
            }

            .brand-mark {
                width: 76px;
                height: 76px;
                margin-top: -4px;
            }

            .password-text {
                font-size: 0.95em;
            }

            .copy-btn {
                padding: 8px 12px;
                font-size: 0.85em;
            }

            .generate-btn {
                padding: 14px 24px;
                font-size: 0.95em;
            }

            .checkbox-item label {
                font-size: 0.85em;
            }

            .tips li {
                font-size: 0.85em;
            }
        }

        /* Landscape Modus für Handys */
        @media (max-height: 500px) and (orientation: landscape) {
            body {
                align-items: flex-start;
                padding: 10px;
                min-height: 100vh;
                min-height: 100dvh;
            }

            .container {
                padding: 15px;
                margin: 10px auto;
                width: calc(100vw - 20px);
                max-width: 600px;
            }

            h1 {
                font-size: 1.6em;
                margin-bottom: 5px;
            }

            .subtitle {
                margin-bottom: 15px;
            }

            .password-display {
                padding: 15px;
                margin-bottom: 15px;
            }

            .security-meter {
                margin-bottom: 20px;
            }

            .option-group {
                margin-bottom: 15px;
            }

            .tips {
                padding: 15px;
                margin-top: 15px;
            }

            .tips h3 {
                margin-bottom: 6px;
            }

            .tips li {
                margin-bottom: 4px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                scroll-behavior: auto !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* Version 2: quieter visual system aligned with the new logo */
        body {
            background:
                radial-gradient(circle at 18% 12%, rgba(0, 137, 255, 0.18), transparent 38%),
                radial-gradient(circle at 85% 82%, rgba(31, 255, 193, 0.12), transparent 34%),
                linear-gradient(145deg, #07111f 0%, #0a1a30 52%, #071522 100%);
        }

        .meteor:nth-child(n+9) {
            display: none;
        }

        .meteor {
            width: 3px;
            height: 3px;
            border-radius: 50%;
            background: #ffffff;
            opacity: 0;
            box-shadow:
                0 0 4px 1px rgba(255, 255, 255, 0.95),
                0 0 12px 3px rgba(75, 211, 255, 0.7),
                0 0 24px 6px rgba(37, 139, 255, 0.25);
            animation-name: meteor-animate;
            animation-timing-function: linear;
            animation-iteration-count: infinite;
        }

        .meteor::before {
            left: 1px;
            width: clamp(160px, 24vw, 340px);
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(90deg,
                rgba(255, 255, 255, 0.95) 0%,
                rgba(92, 222, 255, 0.7) 12%,
                rgba(53, 132, 255, 0.26) 48%,
                transparent 100%);
            filter: blur(0.25px);
        }

        .meteor::after {
            content: '';
            position: absolute;
            inset: -5px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255,255,255,0.85), rgba(70,205,255,0.25) 38%, transparent 70%);
        }

        @keyframes meteor-animate {
            0%, 7% {
                transform: rotate(315deg) translateX(0) scale(0.7);
                opacity: 0;
            }
            9% {
                opacity: 1;
            }
            72% {
                opacity: 0.95;
            }
            100% {
                transform: rotate(315deg) translateX(-1250px) scale(0.9);
                opacity: 0;
            }
        }

        .meteor:nth-child(1) { top: 3%; right: 8%; animation-delay: -1s; animation-duration: 5.8s; }
        .meteor:nth-child(2) { top: 0; right: 34%; animation-delay: 2.2s; animation-duration: 6.8s; }
        .meteor:nth-child(3) { top: 18%; right: 0; animation-delay: 5.4s; animation-duration: 5.2s; }
        .meteor:nth-child(4) { top: 0; right: 62%; animation-delay: 8.7s; animation-duration: 7.4s; }
        .meteor:nth-child(5) { top: 32%; right: 1%; animation-delay: 12.1s; animation-duration: 6.1s; }
        .meteor:nth-child(6) { top: 1%; right: 82%; animation-delay: 15.8s; animation-duration: 5.5s; }
        .meteor:nth-child(7) { top: 10%; right: 20%; animation-delay: 19.4s; animation-duration: 7.1s; }
        .meteor:nth-child(8) { top: 25%; right: 3%; animation-delay: 23.3s; animation-duration: 5.9s; }

        @media (max-width: 600px) {
            .meteor::before {
                width: 170px;
            }

            .meteor:nth-child(n+7) {
                display: none;
            }
        }

        .container {
            max-width: 540px;
            border-color: rgba(74, 210, 255, 0.2);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.1);
        }

        .icon {
            width: 1.2em;
            height: 1.2em;
            display: inline-block;
            flex: 0 0 auto;
            vertical-align: -0.2em;
            color: currentColor;
            overflow: visible;
        }

        .svg-sprite {
            position: absolute;
            width: 0;
            height: 0;
            overflow: hidden;
        }

        .generator-notice {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: -8px 0 22px;
            padding: 12px 14px;
            border: 1px solid rgba(255, 190, 70, 0.4);
            border-radius: 12px;
            background: rgba(74, 43, 5, 0.72);
            color: #fff2cf;
            font-size: 0.92em;
            text-align: left;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        }

        .background-planet {
            position: fixed;
            z-index: 1;
            top: 8vh;
            left: max(-230px, -10vw);
            width: clamp(440px, 47vw, 760px);
            aspect-ratio: 1;
            pointer-events: none;
            background: url('securepass-planet.png') center / contain no-repeat;
            opacity: 0.32;
            filter: saturate(0.9) drop-shadow(0 0 55px rgba(17, 151, 255, 0.18));
            animation: planet-float 18s ease-in-out infinite alternate;
        }

        @keyframes planet-float {
            from { transform: translate3d(0, 0, 0) rotate(-2deg); }
            to { transform: translate3d(18px, -14px, 0) rotate(1deg); }
        }

        @media (max-width: 700px) {
            .background-planet {
                top: 18vh;
                left: -250px;
                width: 520px;
                opacity: 0.2;
            }
        }

        .mode-switch {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6px;
            padding: 5px;
            margin-bottom: 22px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 14px;
            background: rgba(3, 13, 28, 0.48);
        }

        .mode-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 11px 14px;
            border: 0;
            border-radius: 10px;
            background: transparent;
            color: rgba(255, 255, 255, 0.7);
            font: inherit;
            font-weight: 650;
            cursor: pointer;
        }

        .mode-btn:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.06);
        }

        .mode-btn.active {
            color: #fff;
            background: linear-gradient(135deg, rgba(0, 136, 255, 0.55), rgba(21, 214, 188, 0.34));
            box-shadow: 0 6px 18px rgba(0, 119, 255, 0.2);
        }

        .mode-btn:focus-visible,
        button:focus-visible,
        input:focus-visible,
        select:focus-visible {
            outline: 3px solid rgba(75, 225, 255, 0.75);
            outline-offset: 3px;
        }

        .entropy-text {
            margin-top: 4px;
            color: rgba(169, 226, 255, 0.82);
            font-size: 0.86em;
        }

        .checkbox-item-wide {
            grid-column: 1 / -1;
        }

        .select-control {
            width: 100%;
            min-height: 44px;
            padding: 9px 44px 9px 13px;
            border: 1px solid rgba(105, 205, 240, 0.24);
            border-radius: 12px;
            background-color: #10233b;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath d='m5 7.5 5 5 5-5' fill='none' stroke='%235fe3df' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 13px center;
            background-size: 20px;
            color: #fff;
            font: inherit;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
        }

        .select-control:hover {
            border-color: rgba(255, 255, 255, 0.22);
            background-color: #132c49;
        }

        .select-control:focus {
            border-color: rgba(255, 255, 255, 0.22);
            box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
        }

        .select-control:focus-visible {
            outline: none;
        }

        .select-control option {
            background: #10233b;
            color: #ffffff;
        }

        [hidden] {
            display: none !important;
        }

        .generate-btn {
            background: linear-gradient(135deg, rgba(0, 126, 255, 0.72), rgba(17, 206, 181, 0.55));
        }

        .generate-btn:hover {
            background: linear-gradient(135deg, rgba(0, 145, 255, 0.88), rgba(20, 224, 193, 0.72));
        }

        /* Modern checkbox cards matching the blue/cyan V2 theme */
        .checkbox-group { gap: 10px; }

        .checkbox-item {
            min-height: 46px;
            padding: 10px 12px;
            border: 1px solid rgba(119, 190, 225, 0.16);
            border-radius: 12px;
            background: rgba(7, 25, 45, 0.54);
            transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
        }

        .checkbox-item:hover {
            border-color: rgba(76, 211, 255, 0.34);
            background: rgba(10, 39, 65, 0.68);
            transform: translateY(-1px);
        }

        .checkbox-item:has(input:checked) {
            border-color: rgba(39, 223, 205, 0.44);
            background: linear-gradient(135deg, rgba(0, 126, 205, 0.2), rgba(23, 199, 176, 0.12));
            box-shadow: inset 0 0 0 1px rgba(61, 224, 211, 0.08), 0 6px 18px rgba(0, 105, 160, 0.12);
        }

        .checkbox-item input[type="checkbox"] {
            width: 21px;
            height: 21px;
            flex: 0 0 21px;
            border: 1.5px solid rgba(170, 220, 242, 0.48);
            border-radius: 7px;
            background: rgba(2, 15, 29, 0.72);
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
            transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
        }

        .checkbox-item input[type="checkbox"]:checked {
            border-color: #41ead4;
            background: linear-gradient(145deg, #078cdf, #20d7bd);
            box-shadow: 0 0 0 3px rgba(32, 215, 189, 0.12), 0 0 15px rgba(32, 215, 189, 0.24);
        }

        .checkbox-item input[type="checkbox"]:checked::before { content: none; }

        .checkbox-item input[type="checkbox"]::after {
            content: '';
            position: absolute;
            left: 6px;
            top: 2px;
            width: 6px;
            height: 11px;
            border: solid #ffffff;
            border-width: 0 2px 2px 0;
            opacity: 0;
            transform: rotate(45deg) scale(0.75);
            transition: opacity 0.15s ease, transform 0.15s ease;
        }

        .checkbox-item input[type="checkbox"]:checked::after {
            opacity: 1;
            transform: rotate(45deg) scale(1);
        }

        .checkbox-item label {
            color: rgba(235, 248, 255, 0.92);
            line-height: 1.3;
        }
