* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; background: #f4f6f9; color: #1f2937; transition: background 0.3s, color 0.3s; }
body.dark { background: #0f172a; color: #e2e8f0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 20px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
body.dark header { background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); }
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo a { color: #fff; font-size: 1.8rem; font-weight: bold; text-decoration: none; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
nav ul { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
nav ul li a { color: #fff; text-decoration: none; padding: 8px 16px; border-radius: 25px; transition: background 0.3s; font-weight: 500; }
nav ul li a:hover { background: rgba(255,255,255,0.2); }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.search-box { display: flex; align-items: center; }
.search-box input { padding: 8px 12px; border: none; border-radius: 20px 0 0 20px; outline: none; }
.search-box button { padding: 8px 16px; border: none; background: #fff; color: #667eea; border-radius: 0 20px 20px 0; cursor: pointer; font-weight: bold; }
body.dark .search-box input { background: #1e293b; color: #e2e8f0; }
body.dark .search-box button { background: #334155; color: #e2e8f0; }
.breadcrumb { background: rgba(255,255,255,0.9); padding: 12px 0; font-size: 0.9rem; backdrop-filter: blur(10px); }
body.dark .breadcrumb { background: rgba(15,23,42,0.9); }
.breadcrumb a { color: #667eea; text-decoration: none; }
.breadcrumb span { color: #64748b; }
.hero { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); padding: 80px 0; text-align: center; border-radius: 0 0 50px 50px; margin-bottom: 40px; position: relative; overflow: hidden; }
body.dark .hero { background: linear-gradient(135deg, #1e293b 0%, #334155 100%); }
.hero h1 { font-size: 3rem; color: #fff; text-shadow: 0 4px 6px rgba(0,0,0,0.1); margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: #fff; max-width: 700px; margin: 0 auto; opacity: 0.9; }
.hero img { max-width: 100%; height: auto; margin-top: 30px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
section { margin: 60px 0; }
.card { background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); border-radius: 20px; padding: 30px; box-shadow: 0 8px 32px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s; }
body.dark .card { background: rgba(30,41,59,0.8); }
.card:hover { transform: translateY(-10px); box-shadow: 0 16px 48px rgba(0,0,0,0.15); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
h2 { font-size: 2rem; margin-bottom: 30px; color: #1f2937; position: relative; display: inline-block; }
body.dark h2 { color: #e2e8f0; }
h2::after { content: ''; display: block; width: 60px; height: 4px; background: #667eea; border-radius: 2px; margin-top: 8px; }
.btn { display: inline-block; padding: 12px 28px; background: #667eea; color: #fff; border-radius: 30px; text-decoration: none; transition: background 0.3s; font-weight: 600; }
.btn:hover { background: #5a67d8; }
.faq-item { margin-bottom: 20px; border-bottom: 1px solid #e2e8f0; padding-bottom: 15px; }
body.dark .faq-item { border-color: #334155; }
.faq-question { font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { display: none; padding-top: 10px; color: #64748b; }
.faq-item.open .faq-answer { display: block; }
.howto-step { margin: 20px 0; padding: 20px; background: rgba(102,126,234,0.1); border-radius: 12px; }
body.dark .howto-step { background: rgba(102,126,234,0.05); }
.howto-step h3 { color: #667eea; }
.gallery img { width: 100%; border-radius: 12px; transition: transform 0.3s; }
.gallery img:hover { transform: scale(1.03); }
.news-list article { margin-bottom: 30px; padding: 20px; background: rgba(255,255,255,0.5); border-radius: 16px; backdrop-filter: blur(5px); }
body.dark .news-list article { background: rgba(30,41,59,0.5); }
.news-list h3 { color: #1f2937; }
body.dark .news-list h3 { color: #e2e8f0; }
.news-list .meta { font-size: 0.85rem; color: #64748b; }
.related a { display: inline-block; margin: 5px 10px; padding: 8px 18px; background: #e2e8f0; border-radius: 20px; text-decoration: none; color: #1f2937; transition: background 0.3s; }
body.dark .related a { background: #334155; color: #e2e8f0; }
.related a:hover { background: #667eea; color: #fff; }
footer { background: #1e293b; color: #cbd5e1; padding: 40px 0; margin-top: 60px; }
body.dark footer { background: #0f172a; }
footer a { color: #94a3b8; text-decoration: none; }
footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.footer-grid h4 { color: #fff; margin-bottom: 15px; }
.qr-code svg { width: 120px; height: 120px; background: #fff; padding: 10px; border-radius: 12px; }
.back-to-top { position: fixed; bottom: 30px; right: 30px; background: #667eea; color: #fff; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transition: background 0.3s; z-index: 999; }
.back-to-top:hover { background: #5a67d8; }
.dark-toggle { position: fixed; bottom: 100px; right: 30px; background: #1e293b; color: #fff; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 999; border: none; font-size: 1.2rem; }
body.dark .dark-toggle { background: #e2e8f0; color: #0f172a; }
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav ul { display: none; flex-direction: column; width: 100%; background: rgba(0,0,0,0.1); padding: 20px; border-radius: 12px; }
    nav ul.open { display: flex; }
    .hero h1 { font-size: 2rem; }
    .hero { padding: 40px 0; }
    .grid { grid-template-columns: 1fr; }
    .header-inner { flex-direction: column; gap: 15px; }
}
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.counter { font-size: 2.5rem; font-weight: bold; color: #667eea; }
.carousel { position: relative; overflow: hidden; }
.carousel-inner { display: flex; transition: transform 0.5s ease; }
.carousel-item { min-width: 100%; padding: 20px; }
.carousel-control { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.8); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; }
.carousel-control.prev { left: 10px; }
.carousel-control.next { right: 10px; }