
:root {
    --primary-color: #0A2463;
    --secondary-color: #1B4D3E;
    --accent-color: #571B7E;
    --highlight-color: #D4AF37;
    --text-color: #FFFFFF;
    --background-gradient: linear-gradient(135deg, #0A2463, #1B4D3E);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    --hover-effect: scale(1.05);
    --transition-speed: 0.3s ease;
}

body {
    margin: 0;
    font-family: 'Garamond', serif;
    color: var(--text-color);
    background: var(--background-gradient);
    line-height: 1.6;
    padding: 20px;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid var(--highlight-color);
}

header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--highlight-color);
    margin: 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: var(--hover-effect);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.card-content {
    padding: 10px;
}

.icon {
    width: 50px;
    height: 50px;
    background: var(--highlight-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform var(--transition-speed);
}

.icon:hover {
    transform: scale(1.1);
}

article {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

article h2, article h3, article h4 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--highlight-color);
}

article p, article ul, article table {
    font-family: 'Garamond', serif;
    color: var(--text-color);
}

code {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 5px;
    border-radius: 4px;
    display: block;
    overflow-x: auto;
    white-space: pre-wrap;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--secondary-color);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-item {
    color: var(--highlight-color);
    text-decoration: none;
    margin-left: 20px;
    transition: color var(--transition-speed);
}

.nav-item:hover {
    color: var(--text-color);
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    code {
        font-size: 0.9rem;
    }
}

.loader {
    position: relative;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    margin: 20px auto;
    animation: tv-scanline 1s infinite;
}

@keyframes tv-scanline {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

