/* discord.html / dashboard.html — страницы Discord-бота Flux (поверх styles.css) */
body.dc {
  background:
    radial-gradient(900px 520px at 72% 18%, rgba(139, 92, 246, .22), transparent 70%),
    radial-gradient(700px 500px at 10% 90%, rgba(56, 189, 248, .08), transparent 70%),
    #0b0a12;
  min-height: 100vh;
}

/* ---------- шапка ---------- */
.dc-nav { max-width: 1240px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 32px; position: relative; z-index: 10; }
.dc-nav .brand img { width: 34px; height: 34px; border-radius: 10px; }
.dc-nav .brand span { font-size: 18px; }
.dc-links { display: flex; gap: 26px; font-size: 15px; font-weight: 600; color: #e7e5f3; }
.dc-links a { opacity: .9; transition: opacity .15s, color .15s; }
.dc-links a:hover { opacity: 1; color: #fff; }
.dc-links .pro { color: #a78bfa; }
.dc-login { margin-left: auto; height: 46px; padding: 0 30px; display: inline-flex; align-items: center; border-radius: 14px; background: #17151f; border: 1px solid #262333; font-weight: 700; font-size: 15px; transition: background .15s; }
.dc-login:hover { background: #211e2c; }
.dc-burger { display: none; width: 42px; height: 42px; border-radius: 12px; background: #17151f; border: 1px solid #262333; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.dc-burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- первый экран ---------- */
.dc-hero { max-width: 1240px; margin: 0 auto; padding: 70px 24px 90px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; min-height: calc(100vh - 82px); }
.dc-hero h1 { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; }
.dc-hero h1 span { background: linear-gradient(135deg, #a78bfa, #8b5cf6 50%, #6366f1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dc-hero p { margin-top: 26px; max-width: 500px; font-size: 18px; line-height: 1.6; color: #d4d1e3; }
.dc-cta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 38px; }
.dc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 34px; border-radius: 14px; font-weight: 700; font-size: 17px; transition: transform .15s, box-shadow .2s, background .2s; }
.dc-btn:hover { transform: translateY(-2px); }
.dc-btn svg { width: 22px; height: 22px; fill: currentColor; }
.dc-btn.primary { background: linear-gradient(135deg, #9b6bff, #7c5cf6); color: #fff; box-shadow: 0 14px 40px -12px rgba(139, 92, 246, .8); }
.dc-btn.ghost { background: #17151f; border: 1px solid #2a2638; color: #fff; }
.dc-btn.ghost:hover { background: #201d2b; }
.dc-soon { display: block; margin-top: 16px; color: #a78bfa; font-size: 14px; }

/* иллюстрация: светящийся логотип Flux и «сообщения бота» */
.dc-art { position: relative; height: 560px; }
.dc-orb { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .45), rgba(99, 102, 241, .12) 45%, transparent 70%); filter: blur(10px); animation: pulse 6s ease-in-out infinite; }
.dc-waves { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; transform: translate(-50%, -50%); animation: float 7s ease-in-out infinite; }
.dw { stroke-dasharray: 260; stroke-dashoffset: 0; animation: wave 5s ease-in-out infinite; }
.dw2 { animation-delay: -.6s; }
.dw3 { animation-delay: -1.2s; }
.dc-msg { position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(23, 21, 33, .88); border: 1px solid rgba(167, 139, 250, .22); backdrop-filter: blur(8px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); min-width: 250px; animation: bob 6s ease-in-out infinite; }
.dc-msg i { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; font-size: 16px; }
.dc-msg b { display: block; font-size: 14px; }
.dc-msg small { color: #b3aecb; font-size: 12.5px; }
.m1 { top: 6%; left: -2%; }
.m2 { top: 24%; right: -4%; animation-delay: -1.5s; }
.m3 { bottom: 20%; left: -6%; animation-delay: -3s; }
.m4 { bottom: 4%; right: 2%; animation-delay: -4.5s; }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 14px)); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes pulse { 50% { opacity: .7; transform: scale(1.04); } }
@keyframes wave { 50% { stroke-dashoffset: 40; } }
@media (prefers-reduced-motion: reduce) { .dc-waves, .dc-msg, .dc-orb, .dw { animation: none; } }

/* ---------- разделы ---------- */
.dc-section { max-width: 1140px; margin: 0 auto 110px; padding: 0 24px; }
.dc-section h2 { font-size: clamp(28px, 3.4vw, 42px); }
.dc-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dc-grid article { padding: 26px; border-radius: 20px; background: rgba(23, 21, 33, .7); border: 1px solid #241f33; transition: border-color .2s, transform .2s; }
.dc-grid article:hover { border-color: #5b46a8; transform: translateY(-3px); }
.dc-grid em { font-style: normal; font-size: 28px; }
.dc-grid h3 { margin-top: 14px; font-size: 19px; letter-spacing: -.02em; }
.dc-grid p { margin-top: 10px; color: #b3aecb; line-height: 1.6; font-size: 14.5px; }

.dc-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.dc-tabs button { height: 40px; padding: 0 20px; border-radius: 999px; background: #17151f; border: 1px solid #2a2638; font-weight: 700; font-size: 14px; color: #cfcbe0; }
.dc-tabs button.on { background: linear-gradient(135deg, #9b6bff, #7c5cf6); border-color: transparent; color: #fff; }
.dc-cmds { margin: 22px auto 0; max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
.dc-cmd { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 14px; background: rgba(23, 21, 33, .7); border: 1px solid #241f33; }
.dc-cmd code { font: 700 15px ui-monospace, Consolas, monospace; color: #c4b5fd; min-width: 140px; }
.dc-cmd span { color: #cfcbe0; }

.dc-dash { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.dc-dash-text p { margin: 18px 0 28px; color: #b3aecb; line-height: 1.7; font-size: 16px; }
.dc-dash-mock { display: grid; grid-template-columns: 70px 1fr; border-radius: 22px; overflow: hidden; border: 1px solid #2a2440; background: #110f18; box-shadow: 0 40px 90px -40px rgba(139, 92, 246, .6); }
.dc-dash-mock aside { background: #0c0b12; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dc-dash-mock .sv { width: 44px; height: 44px; border-radius: 50%; background: #1c1928; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #cfcbe0; }
.dc-dash-mock .sv.on { border-radius: 14px; background: linear-gradient(135deg, #9b6bff, #6366f1); color: #fff; }
.dc-dash-mock > div { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.dc-dash-mock b { font-size: 20px; }
.dc-dash-mock small { color: #8f8aa8; margin-bottom: 6px; }
.tg { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border-radius: 12px; background: #17151f; border: 1px solid #241f33; font-weight: 600; font-size: 14px; }
.tg i { width: 40px; height: 22px; border-radius: 99px; background: #2a2638; position: relative; flex: none; }
.tg i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #8f8aa8; transition: transform .2s; }
.tg i.on { background: linear-gradient(135deg, #9b6bff, #6366f1); }
.tg i.on::after { transform: translateX(18px); background: #fff; }

.dc-pro { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 40px 44px; border-radius: 26px; background: linear-gradient(135deg, rgba(139, 92, 246, .22), rgba(99, 102, 241, .1)); border: 1px solid #3a2f63; max-width: 1092px; }
.dc-pro p { margin-top: 12px; color: #cfcbe0; max-width: 560px; line-height: 1.6; }
.dc-pro .dc-btn { flex: none; }
.dc-faq { max-width: 760px; }
.dc-faq details { margin-top: 14px; padding: 18px 22px; border-radius: 16px; background: rgba(23, 21, 33, .7); border: 1px solid #241f33; }
.dc-faq summary { cursor: pointer; font-weight: 700; font-size: 16px; }
.dc-faq p { margin-top: 10px; color: #b3aecb; line-height: 1.6; }

/* ---------- телефон ---------- */
@media (max-width: 900px) {
  .dc-burger { display: flex; margin-left: 10px; }
  .dc-login { height: 42px; padding: 0 20px; }
  .dc-links { display: none; position: absolute; top: 76px; left: 16px; right: 16px; flex-direction: column; gap: 4px; padding: 10px; border-radius: 16px; background: #15131d; border: 1px solid #262333; }
  .dc-links a { padding: 12px 14px; border-radius: 10px; }
  .dc-menu-open .dc-links { display: flex; }
  .dc-nav { padding: 14px 16px; }
  .dc-hero { grid-template-columns: 1fr; padding: 30px 16px 60px; min-height: 0; }
  .dc-hero p { font-size: 16px; }
  .dc-btn { height: 52px; padding: 0 24px; font-size: 16px; flex: 1 1 100%; }
  .dc-art { height: 420px; }
  .dc-waves { width: 300px; height: 300px; }
  .dc-msg { min-width: 0; max-width: 78%; }
  .m3 { left: 0; }
  .m2 { right: 0; }
  .dc-section { padding: 0 16px; margin-bottom: 80px; }
  .dc-grid { grid-template-columns: 1fr; }
  .dc-dash { grid-template-columns: 1fr; }
  .dc-pro { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .dc-cmd { flex-direction: column; align-items: flex-start; gap: 4px; }
}
