
:root {
    --primary-color: #000046;
    --secondary-color: #1CB5E0;
    --accent-color: #FFD700;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --font-title: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    color: white;
    overflow-x: hidden;
}

header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(90deg, #000046, #4B0082);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin: 0;
}

.container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    padding: 20px;
    position: relative;
}

.card {
    grid-column: span 4;
    background: var(--glass-bg);
    border-radius: 10px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(10px);
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

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

article {
    grid-column: span 8;
    background: var(--glass-bg);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(10px);
}

h2, h3 {
    font-family: var(--font-title);
    color: var(--accent-color);
}

code {
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 5px;
    color: white;
}

pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 10px;
    overflow-x: auto;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .card { grid-column: span 6; }
}

@media (max-width: 480px) {
    .card, article { grid-column: span 12; }
}

