@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
  --primary: #a855f7; /* Light Purple */
  --primary-dark: #7e22ce; /* Deeper Purple for hover/headings */
  --primary-soft: #f3e8ff; /* Very Light Purple tint */
  --bg-color: #ffffff; /* Clean White Background */
  --card-bg: #faf5ff;
  --text-main: #1e293b;
  --text-light: #475569;
  --border-color: #e9d5ff;
  --header-bg: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg-color); font-family: 'Inter', sans-serif; color: var(--text-main); line-height: 1.6; }

.top-header { background: var(--header-bg); position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid var(--primary); display: flex; justify-content: space-between; padding: 12px 5%; align-items: center; box-shadow: 0 4px 15px rgba(168, 85, 247, 0.08); }
.logo-area { display: flex; align-items: center; text-decoration: none; }
.logo-area img { height: 42px; width: auto; object-fit: contain; margin-right: 10px; border-radius: 6px; }
.logo-text { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); letter-spacing: 0.5px; }

.nav-menu { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.nav-menu a { color: var(--text-main); text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 0.82rem; transition: 0.3s; }
.nav-menu a:hover { color: var(--primary); }

.header-auth { display: flex; gap: 8px; }

.btn { background: linear-gradient(135deg, #c084fc, #a855f7); color: #ffffff !important; padding: 10px 22px; border-radius: 8px; font-weight: 800; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; text-align: center; box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3); transition: all 0.3s ease; border: none; cursor: pointer; font-size: 0.92rem; margin: 5px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(168, 85, 247, 0.45); background: linear-gradient(135deg, #a855f7, #7e22ce); }
.btn-outline { background: #ffffff; color: var(--primary-dark) !important; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-soft); color: var(--primary-dark) !important; }
.btn-telegram { background: linear-gradient(135deg, #38bdf8, #0284c7); box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3); }
.btn-telegram:hover { background: linear-gradient(135deg, #0284c7, #0369a1); }

.container { max-width: 1000px; margin: 20px auto 35px; padding: 0 15px; }

.quick-actions { display: flex; justify-content: center; gap: 12px; margin: 18px 0 25px; flex-wrap: wrap; }
.quick-actions .btn { font-size: 1rem; padding: 12px 28px; width: 100%; max-width: 240px; }

.section-block { background: #ffffff; border: 1px solid var(--border-color); border-radius: 14px; padding: 28px 20px; margin-bottom: 25px; box-shadow: 0 4px 18px rgba(168, 85, 247, 0.05); text-align: center; }
.section-block h1 { font-size: 2rem; color: var(--primary-dark); margin-bottom: 12px; font-weight: 800; }
.section-block h2 { font-size: 1.45rem; color: var(--primary-dark); margin-bottom: 15px; font-weight: 800; border-bottom: 2.5px solid var(--primary); display: inline-block; padding-bottom: 4px; }

/* Compact Photo Sizing */
.banner-img { width: 100%; max-width: 900px; height: auto; max-height: 250px; margin: 10px auto 20px; border-radius: 12px; box-shadow: 0 6px 16px rgba(168, 85, 247, 0.15); border: 2px solid var(--primary); display: block; object-fit: cover; }
.content-img { width: 100%; max-width: 220px; height: auto; max-height: 220px; margin: 15px auto 18px; border-radius: 10px; box-shadow: 0 4px 12px rgba(168, 85, 247, 0.12); border: 2px solid var(--border-color); display: block; object-fit: contain; background-color: #ffffff; padding: 6px; }

.article-text { text-align: justify; font-size: 0.96rem; color: var(--text-light); margin: 15px auto; max-width: 820px; line-height: 1.7; }

.grid-two { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 15px; }
.grid-card { flex: 1; min-width: 240px; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 20px 15px; }

.faq-container { text-align: left; max-width: 820px; margin: 0 auto; }
.faq-item { margin-bottom: 16px; border-bottom: 1px solid var(--border-color); padding-bottom: 12px; }
.faq-q { font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; font-size: 1.05rem; }
.faq-a { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }

.mobile-bottom-bar { display: none; }
.site-footer { background: var(--card-bg); color: var(--text-main); padding: 35px 15px 25px; text-align: center; margin-top: 35px; border-top: 4px solid var(--primary); }
.footer-links { margin: 18px 0; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--primary-dark); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); text-decoration: underline; }

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .header-auth { display: none; }
    .top-header { justify-content: center; padding: 12px 5%; }
    .quick-actions { flex-direction: row; gap: 8px; }
    .quick-actions .btn { padding: 10px 8px; font-size: 0.88rem; width: 47%; }
    .section-block { padding: 18px 12px; margin-bottom: 20px; }
    .section-block h1 { font-size: 1.55rem; }
    .section-block h2 { font-size: 1.25rem; }
    .content-img { max-width: 170px; max-height: 170px; }
    .banner-img { max-height: 160px; }
    body { padding-bottom: 65px; }
    .mobile-bottom-bar { display: flex; position: fixed; bottom: 0; left: 0; width: 100%; background: #ffffff; box-shadow: 0 -3px 12px rgba(168, 85, 247, 0.15); z-index: 9999; padding: 8px 12px; gap: 8px; border-top: 2px solid var(--primary); }
    .mobile-bottom-bar .btn { flex: 1; margin: 0; padding: 10px 0; font-size: 0.95rem; }
}
