        body {
            transition: background-color 0.4s ease, color 0.4s ease;
        }

        .ticket,
        .lang-toggle,
        .theme-toggle,
        .download-btn button {
            transition: all 0.3s ease;
        }

        body {
            margin: 0;
            font-family: 'Segoe UI', Tahoma, sans-serif;
            background: linear-gradient(135deg, #ffe4e6, #e0f7fa);
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            text-align: center;
        }

        .card {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(255, 0, 60, 0.15);
            max-width: 400px;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeIn 1s ease forwards;
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        h1 {
            margin-bottom: 10px;
            color: #d90429;
        }

        p {
            color: #555;
            margin-bottom: 20px;
        }

        button {
            background: linear-gradient(135deg, #ff4d6d, #d90429);
            border: none;
            color: white;
            padding: 15px 25px;
            border-radius: 12px;
            font-size: 16px;
            cursor: pointer;
            transition: 0.3s;
            margin: 5px;
            box-shadow: 0 5px 15px rgba(217, 4, 41, 0.3);
        }

        button:hover {
            transform: scale(1.08);
            box-shadow: 0 8px 20px rgba(217, 4, 41, 0.5);
        }

        button:active {
            transform: scale(0.95);
        }

        .ticket {
            margin-top: 20px;
            padding: 20px;
            border: 2px dashed #d90429;
            border-radius: 15px;
            background: #fff5f7;

            opacity: 0;
            transform: translateY(10px);
            transition: 0.5s ease;
        }

        .ticket.show {
            opacity: 1;
            transform: translateY(0);
        }

        .download-btn {
            display: inline-block;
            text-decoration: none;
        }

        :root {
            --bg: linear-gradient(135deg, #ffe4e6, #e0f7fa);
            --card: white;
            --text: #000;
            --subtext: #555;
            --accent: #d90429;
        }

        body.dark {
            --bg: linear-gradient(135deg, #1a1a1a, #2a2a2a);
            --card: #2f2f2f;
            --text: #f1f1f1;
            --subtext: #bbb;
            --accent: #ff4d6d;
        }

        body {
            background: var(--bg);
            color: var(--text);
            transition: 0.3s;
        }

        .card {
            background: var(--card);
            color: var(--text);
            transition: 0.3s;
        }

        p {
            color: var(--subtext);
        }

        h1 {
            color: var(--accent);
        }

        .ticket {
            background: rgba(255, 0, 60, 0.05);
            border-color: var(--accent);
        }

        body.dark .ticket {
            background: rgba(255, 255, 255, 0.05);
        }

        .theme-toggle {
            position: fixed;
            top: 20px;
            right: 20px;

            width: 50px;
            height: 50px;

            display: flex;
            align-items: center;
            justify-content: center;

            border-radius: 50%;
            border: none;
            cursor: pointer;

            font-size: 22px;
        }

        .theme-toggle:hover {
            transform: scale(1.1);
        }

        .lang-toggle {
            position: fixed;
            top: 20px;
            left: 20px;

            padding: 10px 14px;

            border-radius: 20px;
            border: none;

            background-color: rgba(255, 255, 255, 0.7);
            color: black;

            font-weight: bold;
            cursor: pointer;

            backdrop-filter: blur(5px);
        }

        body.dark .lang-toggle {
            background-color: rgba(30, 30, 30, 0.7);
            color: white;
        }

        body.dark .theme-toggle {
            background-color: rgba(30, 30, 30, 0.7);
            color: white;
        }

        .lang-toggle:hover,
        .theme-toggle:hover {
            transform: scale(1.05);
            transition: 0.2s;
        }

        .theme-toggle.rotate {
            transform: rotate(180deg) scale(1.2);
        }

        body.dark .ticket {
            box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
        }

        .theme-toggle:hover {
            transform: scale(1.1);
        }

        .ticket {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        /* výchozí skrytý stav */
        .ticket.hidden {
            opacity: 0;
            transform: translateY(50px) scale(0.95);
        }

        /* animace */
        .ticket.show {
            animation: ticketReveal 0.8s ease forwards;
        }

        @keyframes ticketReveal {
            0% {
                opacity: 0;
                transform: translateY(80px) scale(0.9);
            }

            60% {
                opacity: 1;
                transform: translateY(-10px) scale(1.02);
            }

            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .ticket.show {
            animation: ticketReveal 0.8s ease forwards, pulse 2s ease 1s infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.01);
            }
        }