/* Halaman Tentang (about.html). Warna & kartu senada dengan play.css / profilepage.css.
   Selector diawali .about-body supaya tidak bentrok dengan asset/main.css & css/caturid.css. */
body.about-body {
    background: radial-gradient(ellipse at top, #363636 0%, #1e1e1e 70%) !important;
    color: #e8e8e8;
    margin: 0;
}

.about-body .hidden { display: none !important; }

.about-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 32px;
    box-sizing: border-box;
    line-height: 1.6;
}
.about-body section { margin-top: 56px; }
.about-body h1, .about-body h2, .about-body h3 { color: #f2f2f2; letter-spacing: -0.01em; }

.about-body .eyebrow {
    display: inline-block;
    font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: #66bb6a;
    margin-bottom: 8px;
}
.about-body .section-head { max-width: 640px; margin-bottom: 24px; }
.about-body .section-head h2 { margin: 0 0 6px; font-size: 26px; line-height: 1.25; }
.about-body .section-head p { margin: 0; color: #a8a8a8; }

/* ---------- Tombol ---------- */
.about-body .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: #444; color: #e8e8e8;
    border: 1px solid #555; border-radius: 6px;
    padding: 11px 18px; font-size: 14px; font-weight: 600;
    cursor: pointer; text-decoration: none;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.about-body .btn:hover { background: #505050; border-color: #666; transform: translateY(-1px); }
.about-body .btn-primary { background: #2e7d32; border-color: #2e7d32; color: #fff; }
.about-body .btn-primary:hover { background: #388e3c; border-color: #388e3c; }
.about-body .btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
    padding: 56px 0 8px;
}
.about-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4.6vw, 46px);
    line-height: 1.12;
}
.about-hero h1 .accent { color: #66bb6a; }
.about-hero .lead { margin: 0 0 28px; font-size: 17px; color: #b5b5b5; max-width: 520px; }

.live-pill {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 20px;
    padding: 6px 12px;
    background: rgba(46, 125, 50, 0.15);
    border: 1px solid rgba(102, 187, 106, 0.35);
    border-radius: 999px;
    font-size: 13px; color: #cfe8d0; text-decoration: none;
}
.live-pill:hover { background: rgba(46, 125, 50, 0.25); }
.live-pill .dot {
    width: 8px; height: 8px; border-radius: 50%; background: #4caf50;
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    animation: about-pulse 1.8s infinite;
}
@keyframes about-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

/* Papan dekoratif (diisi JS) */
.hero-board-wrap { position: relative; justify-self: center; width: 100%; max-width: 400px; }
.hero-board-wrap::before {
    content: ''; position: absolute; inset: -24px;
    background: radial-gradient(circle, rgba(102, 187, 106, 0.18) 0%, transparent 70%);
    z-index: 0;
}
.hero-board {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(8, 1fr);
    aspect-ratio: 1 / 1;
    border-radius: 8px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 6px #2b2b2b, 0 0 0 7px #444;
    transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
    transition: transform 0.4s;
    user-select: none;
}
.hero-board:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.hero-board .sq {
    display: flex; align-items: center; justify-content: center;
    font-size: clamp(20px, 4.4vw, 38px); line-height: 1;
}
.hero-board .sq.l { background: #f0d9b5; }
.hero-board .sq.d { background: #b58863; }
.hero-board .sq.hl.l { background: #cdd26a; }
.hero-board .sq.hl.d { background: #aaa23a; }
.hero-board .pc.w { color: #fff; text-shadow: 0 0 2px #000, 0 1px 2px #000; }
.hero-board .pc.b { color: #111; text-shadow: 0 0 1px #fff3; }

/* ---------- Statistik ---------- */
.stats {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 56px;
    background: #2b2b2b; border: 1px solid #444; border-radius: 10px;
    overflow: hidden;
}
.stat { padding: 20px; text-align: center; }
.stat + .stat { border-left: 1px solid #3c3c3c; }
.stat strong { display: block; font-size: 22px; color: #fff; }
.stat span { font-size: 13px; color: #9a9a9a; }

/* ---------- Fitur ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.feature {
    display: flex; flex-direction: column; gap: 6px;
    background: #2b2b2b;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 20px;
    color: #e8e8e8; text-decoration: none;
    transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.feature:hover { border-color: #2e7d32; background: #303030; transform: translateY(-3px); }
.feature .f-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; background: #1f1d1b; border: 1px solid #3c3c3c;
    margin-bottom: 6px;
}
.feature h3 { margin: 0; font-size: 16px; }
.feature p { margin: 0; color: #a8a8a8; font-size: 14px; flex: 1; }
.feature .f-link { margin-top: 8px; font-size: 13px; font-weight: 600; color: #66bb6a; }

/* ---------- Langkah memulai ---------- */
.steps {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
    counter-reset: step;
}
.step {
    position: relative;
    background: #2b2b2b; border: 1px solid #444; border-radius: 10px;
    padding: 20px 20px 20px 72px;
}
.step::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 20px; top: 20px;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #2e7d32; color: #fff; font-weight: 700;
}
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; color: #a8a8a8; font-size: 14px; }

/* ---------- Teknologi & misi ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.panel { background: #2b2b2b; border: 1px solid #444; border-radius: 10px; padding: 24px; }
.panel h2 { margin: 0 0 10px; font-size: 20px; }
.panel p { margin: 0 0 10px; color: #b5b5b5; }
.panel a { color: #81c784; }
.tech-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tech-list li { display: flex; gap: 12px; align-items: flex-start; }
.tech-list .t-badge {
    flex: 0 0 auto;
    font-family: monospace; font-size: 12px; font-weight: 700;
    background: #1f1d1b; border: 1px solid #3c3c3c; color: #ddd;
    padding: 3px 8px; border-radius: 4px; min-width: 86px; text-align: center;
}
.tech-list span { color: #b5b5b5; font-size: 14px; }

/* ---------- CTA ---------- */
.cta {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding: 32px;
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.cta h2 { margin: 0 0 4px; font-size: 24px; color: #fff; }
.cta p { margin: 0; color: #d6ecd7; }
.cta .btn { background: #fff; color: #1b5e20; border-color: #fff; }
.cta .btn:hover { background: #f0f0f0; }
.cta .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.cta .btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Footer ---------- */
.about-footer {
    margin-top: 48px; padding-top: 20px;
    border-top: 1px solid #3a3a3a;
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    color: #888; font-size: 13px;
}
.about-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.about-footer a { color: #aaa; text-decoration: none; }
.about-footer a:hover { color: #fff; }

/* ---------- Responsif ---------- */
@media (max-width: 900px) {
    .about-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 32px; text-align: center; }
    .about-hero .lead { margin-left: auto; margin-right: auto; }
    .about-hero .btn-row { justify-content: center; }
    .hero-board-wrap { max-width: 340px; }
    .hero-board { transform: none; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps, .split { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat:nth-child(3) { border-left: none; }
    .stat:nth-child(n+3) { border-top: 1px solid #3c3c3c; }
}
@media (max-width: 560px) {
    .about-body section { margin-top: 40px; }
    .feature-grid { grid-template-columns: 1fr; }
    .cta { padding: 24px; text-align: center; justify-content: center; }
    .cta .btn-row { justify-content: center; }
    .about-footer { flex-direction: column; align-items: center; text-align: center; }
}
