<style>
/* =========================================
   TypingPractice.org - Colorful Premium UI
========================================= */
.tp-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1e293b;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    display: block !important;
}

/* Vibrant Hero Section */
.tp-hero {
    text-align: center;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    padding: 40px 20px;
    border-radius: 16px;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
}
.tp-hero h1 {
    color: #ffffff;
    font-size: 2.6em;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 12px;
    line-height: 1.2;
}
.tp-hero p.subtitle {
    font-size: 1.25em;
    color: #e0f2fe;
    font-weight: 600;
    margin-bottom: 15px;
}
.tp-hero p.description {
    color: #f8fafc;
    font-size: 1.05em;
    font-weight: normal;
    margin-top: 15px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}
.tp-rating {
    background: #ffffff;
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: bold;
    color: #ea580c;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 0.95em;
}

/* Flexbox Layout */
.tp-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
    width: 100% !important;
    box-sizing: border-box;
}

/* Colorful Cards */
.tp-card-3col, .tp-card-2col {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px -3px rgba(0,0,0,0.08);
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-top: 4px solid #cbd5e1;
}
.tp-card-3col:hover, .tp-card-2col:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0,0,0,0.12);
}
.tp-card-3col { flex: 1 1 calc(33.333% - 20px); min-width: 280px; }
.tp-card-2col { flex: 1 1 calc(50% - 20px); min-width: 300px; }

/* Custom Card Top Borders for Color Pop */
.tp-card-ai { border-top-color: #ec4899; }
.tp-card-live { border-top-color: #3b82f6; }
.tp-card-leader { border-top-color: #eab308; }
.tp-card-inject { border-top-color: #8b5cf6; }
.tp-card-layout { border-top-color: #14b8a6; }

.tp-card-3col h3, .tp-card-2col h3 {
    color: #0f172a;
    margin-top: 0;
    font-size: 1.25em;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
    font-weight: 700;
}

/* Vibrant Buttons */
.tp-btn {
    display: inline-block;
    background: linear-gradient(to right, #2563eb, #3b82f6);
    color: #ffffff !important;
    padding: 10px 22px;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    transition: opacity 0.2s;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.tp-btn:hover { opacity: 0.9; }
.tp-btn-secondary { background: linear-gradient(to right, #7c3aed, #8b5cf6); box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3); }
.tp-btn-success { background: linear-gradient(to right, #16a34a, #22c55e); box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3); }

/* Colorful Utility Bar */
.tp-tools-bar {
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    border-left: 5px solid #6366f1;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
}
.tp-tools-flex { display: flex; gap: 15px; flex-wrap: wrap; }

/* Section Titles */
.tp-section-title {
    color: #0f172a;
    font-size: 2em;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 15px;
    border-left: 5px solid #ec4899;
    padding-left: 15px;
}
.tp-section-title-blue { border-left-color: #3b82f6; }

/* Bright Certification Alert Box */
.tp-cert-alert {
    background: linear-gradient(to right, #fffbeb, #fef3c7); 
    border-left: 6px solid #f59e0b; 
    padding: 20px 25px; 
    border-radius: 12px; 
    margin: 25px 0; 
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
}

/* Gamification Box */
.tp-games-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px dashed #4ade80;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 20px -5px rgba(34, 197, 94, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .tp-card-3col, .tp-card-2col { flex: 1 1 100%; }
    .tp-hero h1 { font-size: 2em; }
}


    .tp-faq-section {
        margin: 40px 0;
        padding: 40px 20px;
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        border-radius: 16px;
        border: 1px solid #e2e8f0;
    }
    .tp-faq-title {
        color: #0f172a;
        font-size: 2.2em;
        font-weight: 800;
        margin-top: 0;
        margin-bottom: 30px;
        text-align: center;
    }
    .tp-faq-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
        width: 100%;
    }
    .tp-faq-item {
        background: #ffffff;
        border-radius: 12px;
        padding: 24px;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
        border-left: 5px solid #3b82f6;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .tp-faq-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        border-left-color: #2563eb;
    }
    .tp-faq-q {
        font-size: 1.15em;
        font-weight: 700;
        color: #1e3a8a;
        margin-top: 0;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    .tp-faq-a {
        font-size: 1.05em;
        color: #475569;
        margin: 0;
        line-height: 1.6;
    }
</style>