
        :root {
            --primary-coral: #FF6B6B;
            --sunny-yellow: #FFD166;
            --charcoal: #212529;
            --white: #ffffff;
            --accent-blue: #4ECDC4;
            --accent-purple: #9B59B6;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Lato', sans-serif;
            color: var(--charcoal);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: #1a1a2e;
            /* Dynamic Animated Background */
            background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #16213e 100%);
            overflow: hidden;
            padding: 20px;
        }

        /* Animated Background Orbs */
        .orb {
            position: absolute;
            width: 400px;
            height: 400px;
            border-radius: 50%;
            filter: blur(80px);
            z-index: -1;
            opacity: 0.4;
            animation: float 15s infinite alternate ease-in-out;
        }
        .orb-1 { background: var(--primary-coral); top: -100px; left: -100px; }
        .orb-2 { background: var(--accent-blue); bottom: -100px; right: -100px; animation-delay: -5s; }
        .orb-3 { background: var(--sunny-yellow); top: 50%; left: 50%; animation-delay: -10s; }

        @keyframes float {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(100px, 50px) scale(1.2); }
        }

        /* Playing Card Design (Bridge/Poker Ratio ~1.4:1) */
        .card {
            background: var(--white);
            width: 320px;
            height: 448px; 
            border-radius: 18px;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 0 0 10px rgba(0,0,0,0.02);
            text-align: center;
            position: relative;
            border: 1px solid rgba(255,255,255,0.2);
        }

        /* Corner Symbols */
        .corner-symbol {
            position: absolute;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.5rem;
            transition: all 0.5s ease;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        .top-right { top: 15px; right: 15px; }
        .bottom-left { bottom: 15px; left: 15px; }

        /* Card Interior */
        #content-area {
            font-family: 'Nunito', sans-serif;
            width: 100%;
        }

        #main-text {
            font-size: 1.6rem;
            font-weight: 800;
            line-height: 1.3;
            margin-bottom: 15px;
            transition: opacity 0.3s ease;
        }

        #sub-text {
            font-size: 1.1rem;
            font-weight: 400;
            color: var(--accent-purple);
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.5s ease;
        }

        #sub-text.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Controls outside the card */
        .controls {
            margin-top: 40px;
            display: flex;
            gap: 15px;
            width: 100%;
            max-width: 320px;
        }

        .btn {
            flex: 1;
            border: none;
            padding: 15px;
            font-family: 'Lato', sans-serif;
            font-size: 0.9rem;
            font-weight: 700;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            color: white;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        #btn-compliment { background: var(--primary-coral); box-shadow: 0 8px 15px rgba(255, 107, 107, 0.3); }
        #btn-joke { background: var(--accent-blue); box-shadow: 0 8px 15px rgba(78, 205, 196, 0.3); }

        .btn:hover {
            transform: translateY(-5px);
            filter: brightness(1.1);
        }

        .btn:active { transform: translateY(0); }

        .fade-out { opacity: 0; }
        .fade-in { opacity: 1; }