        :root {
            --primary: #6c5ce7; /* Fialová */
            --primary-hover: #5649c0;
            --bg: #f4f6f8;
            --text: #2d3436;
            --card-bg: #ffffff;
            --border: #dfe6e9;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--bg);
            color: var(--text);
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-height: 100vh;
            line-height: 1.6;
        }

        header {
            background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
            width: 100%;
            padding: 50px 0;
            text-align: center;
            color: white;
            box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
        }

        h1 { margin: 0; font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; }
        p.subtitle { margin: 10px 0 0; opacity: 0.95; font-size: 1.2rem; }

        .container {
            width: 90%;
            max-width: 700px;
            margin-top: -30px; /* Přesah do headeru */
            z-index: 2;
        }

        /* HLAVNÍ NÁSTROJ */
        .tool-card {
            background: var(--card-bg);
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            text-align: center;
            margin-bottom: 30px;
        }

        .action-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 20px 40px;
            border-radius: 12px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s;
            width: 100%;
            max-width: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin: 0 auto;
            box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
        }

        .action-btn:hover { transform: translateY(-3px); background-color: var(--primary-hover); box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4); }
        .action-btn:active { transform: translateY(1px); }
        .action-btn.copied { background-color: #00b894; }

        .secondary-actions {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .sec-btn {
            background: white;
            border: 2px solid var(--border);
            color: #636e72;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        .sec-btn:hover { border-color: var(--primary); color: var(--primary); }

        .test-area {
            margin-top: 20px;
            width: 100%;
        }
        .test-input {
            width: 100%;
            padding: 15px;
            border: 2px dashed var(--border);
            border-radius: 8px;
            background: #f9f9f9;
            color: #636e72;
            text-align: center;
            box-sizing: border-box;
        }

        /* REKLAMA */
        .ad-slot {
            width: 100%;
            min-height: 120px;
            background-color: #e0e0e0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #888;
            margin-bottom: 30px;
            border-radius: 8px;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* TEXTOVÝ OBSAH */
        .content-section {
            background: white;
            padding: 40px;
            border-radius: 12px;
            border: 1px solid var(--border);
            box-shadow: 0 2px 10px rgba(0,0,0,0.02);
            margin-top: 20px;
        }
        .content-section h2 { color: #2d3436; margin-top: 0; }
        .content-section p, .content-section li { color: #636e72; margin-bottom: 15px; }

        /* BOOKMARK TOAST (Stejný jako minule) */
        .bookmark-toast {
            position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(100px);
            background-color: #2d3436; color: white; padding: 15px 25px; border-radius: 50px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 15px;
            z-index: 9999; opacity: 0; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            width: max-content; max-width: 90%;
        }
        .bookmark-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
        .bookmark-close { background: none; border: none; color: #aaa; font-size: 1.4rem; cursor: pointer; padding: 0 5px; margin-left: 5px; }

        footer { margin-top: auto; padding: 40px 20px; text-align: center; font-size: 0.9rem; color: #b2bec3; }
        footer a { color: #636e72; text-decoration: none; margin: 0 10px; }

        /* Cross promo banner */
        .promo-banner {
            background: #E1306C; /* Instagram barva */
            color: white;
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 20px;
            text-align: center;
            font-weight: bold;
            display: block;
            text-decoration: none;
            box-shadow: 0 4px 10px rgba(225, 48, 108, 0.3);
            transition: transform 0.2s;
        }
        .promo-banner:hover { transform: scale(1.02); }
        .promo-banner img {
            vertical-align: middle;
            height: 20px;
            margin-right: 8px;
        }
        @media (max-width: 600px) {
            .action-btn { padding: 15px 20px; font-size: 1rem; }
            header h1 { font-size: 2rem; }
        }
        .back-btn { display: inline-block; margin-bottom: 20px; padding: 10px 20px; background: #eee; border-radius: 5px; color: #333; text-decoration: none; font-weight: normal; }
        .back-btn:hover { background: #ddd; }
        /* --- COOKIE CONSENT BAR --- */
.cookie-bar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #2d3436;
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    display: none; /* Skryté, dokud JS nerozhodne jinak */
    align-items: center;
    justify-content: space-between;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.85rem;
}

.cookie-bar p { margin: 0; padding-right: 20px; color: #dfe6e9; line-height: 1.4; }
.cookie-bar a { color: #81ecec; text-decoration: underline; }

.cookie-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .cookie-bar { flex-direction: column; text-align: center; gap: 15px; bottom: 10px; left: 10px; right: 10px; }
    .cookie-bar p { padding-right: 0; }
}
