/**
 * Hozal Academy - Custom CSS Styles
 * Polished UI for Maximum Conversion & Engagement
 */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Subtle Card Glow Transitions */
.hozal-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hozal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
}

/* Typography Enhancements for High AdSense Dwell-Time */
.prose h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.prose ul, .prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.prose code {
    background-color: #f1f5f9;
    color: #2563eb;
    padding: 0.2rem 0.4rem;
    border-radius: 0.375rem;
    font-size: 0.875em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.prose pre {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 1.25rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #1e293b;
}

.prose pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    font-size: 0.85rem;
}

.prose table {
    width: 100%;
    text-align: left;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.prose table th {
    background-color: #f8fafc;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    border-bottom: 2px solid #e2e8f0;
}

.prose table td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-bottom: 1px solid #f1f5f9;
}

/* Ad container safe wrapper */
.hozal-ad-wrapper {
    min-height: 50px;
    clear: both;
}

