:root {
    --bk-dark:  #f8fafc;
    --bk-darker:  #e0e7ef;
    --bk-highlight: #ffffff;
    --bk-highlight2: #e3e8ee;
    --bk-img: #dbeafe;
    --footer-height: 2em;
    --card-radius: 16px;
    --card-shadow: 0 4px 16px 0 rgba(0,0,0,0.06);
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #38bdf8;
    --text-main: #1e293b;
    --text-secondary: #64748b;
}
html {
    padding: 0;
    margin: 0;
    min-height: 100vh;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #cbd5e1 0%, #64748b 100%) !important;
    background-size: cover;
    background-repeat: no-repeat;
}
body {
    padding: 0;
    padding-top: 70px;
    padding-bottom: 70px;
    margin: 0;
    position: relative;
    min-height: 100vh;
    height: 100%;
    width: 100%;
    background: transparent !important;
    padding-bottom: var(--footer-height);
    color: var(--text-main);
    font-family: Helvetica, sans-serif;
}
.container {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 80vh;
    background-color: transparent !important;
    border-radius: 12px;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.03);
}
nav, .navbar {
    background: linear-gradient(90deg, #38bdf8 0%, #2563eb 100%);
    color: var(--bk-highlight) !important;
    box-shadow: 0 2px 8px 0 rgba(37,99,235,0.08);
}
nav a, .navbar a {
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
nav a:hover, .navbar a:hover, nav a:focus, .navbar a:focus {
    color: var(--accent) !important;
}
footer {
    margin-top: 1em;
    width: 100%;
    color: var(--bk-highlight);
    background: #334155;
    height: var(--footer-height);
    position: fixed;
    left: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    box-shadow: none;
    border: none;
    text-align: center;
    z-index: 100;
}
footer a {
    color: var(--accent);
    text-decoration: none;
}
footer .container {
    margin-top: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    min-height: 0vh;
    background: none;
    box-shadow: none;
    border: none;
}
a {
    color: white;
    text-decoration: none;
}
.cel-only {
    display: none !important;
}
.non-cel-only {
    display: unset !important;
}
@media (max-width: 991px) {
    .cel-only {
        display: unset !important;
    }
    .non-cel-only {
        display: none !important;
    }
}
.card {
    background-color: rgba(255,255,255,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    width: 100%;
    margin: 1em 0;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    border: 2px solid var(--accent);
    padding: 1.5em 1.5em 1em 1.5em;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
    transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
    color: var(--text-main);
}
.card:hover {
    box-shadow: 0 8px 24px 0 rgba(37,99,235,0.12);
    transform: translateY(-2px) scale(1.01);
    border: 2px solid var(--primary);
}
.card img, .card iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 250px;
    height: 180px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1em;
    background-color: var(--bk-img);
}
@media (max-width: 767px) {
    .card img, .card iframe {
        width: 100%;
        height: 180px;
        max-width: 100%;
    }
}
.card-subtitle {
    font-style: italic;
    font-size: 0.95em;
    margin-bottom: 12px;
    margin-left: 12px;
    color: var(--text-secondary);
}
.card-actions {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5em;
}
.btn-secondary {
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.5em 1.5em;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(37,99,235,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--primary-hover);
    color: #fff;
    box-shadow: 0 4px 16px 0 rgba(37,99,235,0.12);
}
h3, h1, h2, h4, h5, h6, .card-title {
    color: var(--primary);
}
#main-content.fade-transition {
    transition: opacity 0.4s;
    opacity: 1;
}
#main-content.fade-out {
    opacity: 0;
}
