
body, html { margin: 0; padding: 0; font-family: 'Roboto', sans-serif; line-height: 1.6; color: #333; background: linear-gradient(135deg, #1a2a6c, #b21f1f); min-height: 100vh; overflow-x: hidden; }
header { position: fixed; top: 0; left: 0; width: 100%; background: rgba(0, 0, 0, 0.8); color: #fff; padding: 15px 20px; z-index: 1000; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
header h1 { font-size: 24px; margin: 0; font-weight: bold; letter-spacing: 1px; text-transform: uppercase; }
header .theme-toggle { background: #ff7f50; color: #fff; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; transition: background 0.3s ease; }
header .theme-toggle:hover { background: #e65c00; }
.container { max-width: 1440px; margin: 80px auto 40px; padding: 0 20px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: #fff; border-radius: 10px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); padding: 20px; transition: transform 0.3s ease-in-out, box-shadow 0.3s ease; position: relative; overflow: hidden; }
.card:hover { transform: scale(1.05); box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15); }
.card img { width: 100%; height: auto; border-radius: 10px; margin-bottom: 15px; }
.card h3 { font-size: 18px; margin: 0 0 10px; color: #1a2a6c; }
.card p { font-size: 14px; margin: 0; color: #666; }
.card .icon { font-size: 24px; color: #ff7f50; margin-bottom: 10px; }
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
article { background: rgba(255, 255, 255, 0.9); border-radius: 10px; padding: 20px; margin-top: 20px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
article h2, article h3 { color: #1a2a6c; margin-top: 20px; }
article pre { background: #f4f4f4; padding: 15px; border-radius: 5px; overflow-x: auto; }
@media (max-width: 768px) { header { flex-direction: column; align-items: flex-start; } .grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
@media (max-width: 480px) { header h1 { font-size: 20px; } .container { padding: 0 10px; } .card { padding: 15px; } }
body.dark-mode { background: linear-gradient(135deg, #121212, #2c3e50); color: #fff; }
body.dark-mode .card { background: #1e1e1e; color: #fff; }
body.dark-mode .card h3 { color: #ff7f50; }
body.dark-mode article { background: rgba(0, 0, 0, 0.7); color: #fff; }

