@import url('../../fonts/edc-fonts.css');
        
        :root {
            --primary: #00ffaa;
            --secondary: #00d4ff;
            --accent-mint: #c4f0de;
        }

        body {
            font-family: 'Outfit', sans-serif;
            background-color: #050505;
            color: #ffffff;
            margin: 0;
            overflow-x: hidden;
        }

        #energy-canvas {
            position: fixed;
            top: 0; left: 0; width: 100vw; height: 100vh;
            z-index: -1;
            opacity: 0.5;
        }

        .glass-card {
            background: rgba(196, 240, 222, 0.05);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(196, 240, 222, 0.1);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .bulb-container:hover .glass-card {
            transform: translateY(-10px);
            background: var(--accent-mint);
            border: 1px solid var(--accent-mint);
            box-shadow: 0 20px 40px rgba(196, 240, 222, 0.3);
            color: #05282a;
        }

        .text-gradient {
            background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .bulb {
            width: 100px;
            height: 140px;
            position: relative;
            margin: 0 auto;
            transform-style: preserve-3d;
        }

        .bulb-glass {
            width: 80%;
            height: 65%;
            background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
            border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
            position: absolute;
            top: 0; left: 50%;
            transform: translateX(-50%);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.5s ease;
            z-index: 2;
        }

        .bulb-container:hover .bulb-glass {
            background: radial-gradient(circle at 30% 25%, #ffffff 0%, #ffeb3b 60%, #ffd600 100%);
            box-shadow: 0 0 50px rgba(255, 235, 59, 0.6);
            border-color: #ffffff;
        }

        .bulb-base {
            width: 42%;
            height: 35%;
            background: linear-gradient(to bottom, #757575, #424242, #212121);
            position: absolute;
            bottom: 0; left: 50%;
            transform: translateX(-50%);
            border-radius: 4px 4px 8px 8px;
            z-index: 3;
        }

        .bulb-filament {
            width: 40%; height: 50%;
            position: absolute;
            top: 20%; left: 50%;
            transform: translateX(-50%);
            opacity: 0.2;
            transition: all 0.5s ease;
            z-index: 1;
        }

        .bulb-container:hover .bulb-filament {
            opacity: 1;
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0; top: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
        }

        .modal-content {
            background: rgba(15, 15, 15, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.1);
            margin: 5vh auto;
            padding: 40px;
            border-radius: 32px;
            width: 90%;
            max-width: 900px;
            max-height: 85vh;
            overflow-y: auto;
            color: #ffffff;
        }

        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%;
            height: 0;
            overflow: hidden;
            border-radius: 20px;
            background: #000;
            margin: 20px 0;
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            border: 0;
        }

        [data-theme="wcag-aaa"] { background: #000 !important; }
        [data-theme="wcag-aaa"] .glass-card { background: #000 !important; border: 2px solid #fff !important; color: #fff !important; }
        [data-theme="wcag-aaa"] .text-gradient { -webkit-text-fill-color: #ffff00 !important; }
        
        .logo-link {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .logo-img {
            height: 48px;
            width: auto;
            display: block;
            filter: brightness(0) invert(1); 
            transition: transform 0.2s ease, filter 0.2s ease;
        }

        .logo-link:hover .logo-img {
            transform: scale(1.05);
        }

        @media (max-width: 480px) {
            .logo-img {
                height: 32px;
            }
        }

        /* ====== ŽÁROVKA „ZHLÉDNUTO" – rozsvícení doběla → červená → prasknutí ====== */
        /* Stav se drží jen v paměti stránky (po refreshi/nové návštěvě je zase výchozí). */

        /* Konečný (klidový) stav prasklé žárovky – sem animace dospěje */
        .bulb-container.seen .bulb-glass {
            background: radial-gradient(circle at 30% 25%, rgba(90,25,25,0.55) 0%, rgba(12,6,6,0.72) 100%);
            border-color: rgba(255,120,120,0.18);
            box-shadow: inset 0 0 14px rgba(0,0,0,0.85);
            animation: bulbBurn 1.4s cubic-bezier(0.5, 0, 0.3, 1) forwards;
        }

        /* Po zhlédnutí už hover žárovku znovu „nerozsvítí" */
        .bulb-container.seen:hover .bulb-glass {
            background: radial-gradient(circle at 30% 25%, rgba(90,25,25,0.55) 0%, rgba(12,6,6,0.72) 100%);
            border-color: rgba(255,120,120,0.18);
            box-shadow: inset 0 0 14px rgba(0,0,0,0.85);
        }
        .bulb-container.seen:hover .bulb-filament { opacity: 0.12; }
        .bulb-container.seen .bulb-filament { opacity: 0.12; }
        .bulb-container.seen .glass-card { opacity: 0.82; }

        /* Praskliny ve skle (objeví se v okamžiku prasknutí) */
        .bulb-container.seen .bulb-glass::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg stroke='rgba(255,255,255,0.55)' stroke-width='1.6' fill='none' stroke-linecap='round'%3E%3Cpath d='M50 30 L45 52 L53 68 L49 84'/%3E%3Cpath d='M45 52 L30 56'/%3E%3Cpath d='M53 68 L70 72'/%3E%3Cpath d='M50 40 L66 50'/%3E%3Cpath d='M49 84 L40 92'/%3E%3C/g%3E%3C/svg%3E");
            background-size: 100% 100%;
            background-repeat: no-repeat;
            opacity: 0;
            animation: crackShow 0.5s ease-out 0.55s forwards;
            pointer-events: none;
            z-index: 4;
        }

        /* Záblesk/prasknutí – světelný kruh, který vyletí ven */
        .bulb-container.seen .bulb::before {
            content: "";
            position: absolute;
            top: 32%; left: 50%;
            width: 10px; height: 10px;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,90,90,0.55) 45%, rgba(255,0,0,0) 70%);
            opacity: 0;
            z-index: 6;
            pointer-events: none;
            animation: bulbBurst 1.4s ease-out forwards;
        }

        @keyframes bulbBurn {
            0%   { transform: translateX(-50%) scale(1);    box-shadow: none; border-color: rgba(255,255,255,0.1);
                   background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%); }
            18%  { transform: translateX(-50%) scale(1.08);  border-color: #ffffff;
                   background: radial-gradient(circle at 30% 25%, #ffffff 0%, #ffffff 85%);
                   box-shadow: 0 0 60px 12px #ffffff, 0 0 110px 26px rgba(255,255,255,0.8); }
            42%  { transform: translateX(-50%) scale(1.12);  border-color: #ff1744;
                   background: radial-gradient(circle at 30% 25%, #ff6b6b 0%, #d50000 85%);
                   box-shadow: 0 0 70px 16px rgba(255,23,68,0.85); }
            54%  { transform: translateX(-50%) scale(1.2);   border-color: #ff1744;
                   background: radial-gradient(circle at 30% 25%, #ff1744 0%, #b71c1c 85%);
                   box-shadow: 0 0 95px 24px rgba(255,23,68,0.95); }
            60%  { transform: translateX(-50%) scale(0.9);   box-shadow: 0 0 20px 4px rgba(255,23,68,0.4); }
            100% { transform: translateX(-50%) scale(1);     border-color: rgba(255,120,120,0.18);
                   background: radial-gradient(circle at 30% 25%, rgba(90,25,25,0.55) 0%, rgba(12,6,6,0.72) 100%);
                   box-shadow: inset 0 0 14px rgba(0,0,0,0.85); }
        }

        @keyframes bulbBurst {
            0%, 48% { opacity: 0; width: 10px; height: 10px; }
            54%     { opacity: 1; width: 26px; height: 26px; }
            80%     { opacity: 0.85; width: 150px; height: 150px; }
            100%    { opacity: 0; width: 210px; height: 210px; }
        }

        @keyframes crackShow { from { opacity: 0; } to { opacity: 1; } }

        /* Odlétající střepy (vytváří se v JS při zavření) */
        .bulb .shard {
            position: absolute;
            top: 32%; left: 50%;
            width: 8px; height: 8px;
            background: linear-gradient(135deg, #ffffff 0%, #ff5252 100%);
            border-radius: 2px;
            transform: translate(-50%, -50%);
            opacity: 0;
            z-index: 7;
            pointer-events: none;
            box-shadow: 0 0 6px rgba(255,120,120,0.7);
            animation: shardFly 0.95s ease-out var(--delay, 0.5s) forwards;
        }

        @keyframes shardFly {
            0%   { opacity: 0; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
            12%  { opacity: 1; }
            100% { opacity: 0; transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px))) scale(0.3) rotate(240deg); }
        }

        /* Respekt k „omezit pohyb" – bez efektů, jen konečný prasklý stav */
        @media (prefers-reduced-motion: reduce) {
            .bulb-container.seen .bulb-glass { animation: none; }
            .bulb-container.seen .bulb-glass::after { animation: none; opacity: 1; }
            .bulb-container.seen .bulb::before { display: none; }
            .bulb .shard { display: none; }
        }

        /* WCAG režim – prasklou žárovku zvýrazníme rámečkem místo barev */
        [data-theme="wcag-aaa"] .bulb-container.seen .bulb-glass {
            background: #000 !important;
            border: 2px dashed #ffff00 !important;
            box-shadow: none !important;
        }
