/* ============================================================ PGFANS888 — design system (full site) Palette: hitam elegan + hijau dominan + biru aksen tipis ============================================================ */ :root { --ink: #000000; --ink-soft: #050505; --bg-base: #060606; --bg-soft: #090b0d; --bg-raised: #0e1114; --bg-card: #101418; --bg-card-hover: #161b22; --border: rgba(74, 222, 128, 0.12); --border-strong: rgba(56, 189, 248, 0.22); --text: #eceff4; --text-muted: #94a3b8; /* Hijau — dominan */ --green: #22c55e; --green-bright: #4ade80; --green-muted: #86efac; --green-deep: #15803d; --green-dim: rgba(34, 197, 94, 0.12); --green-glow: rgba(74, 222, 128, 0.28); /* Biru — sedikit, untuk aksen & kontras */ --blue: #38bdf8; --blue-deep: #0284c7; --blue-dim: rgba(56, 189, 248, 0.1); --blue-glow: rgba(56, 189, 248, 0.32); /* Alias (nama lama di beberapa rule) */ --gold: var(--green-bright); --orange: var(--green); --accent: var(--green); --accent-bright: var(--green-muted); --accent-deep: var(--green-deep); --accent-dim: var(--green-dim); --accent-glow: var(--green-glow); --footer-muted: rgba(148, 163, 184, 0.88); --header-grad-a: #0a100e; --header-grad-b: #060809; --header-grad-c: #020203; --header-shine: rgba(74, 222, 128, 0.05); --radius-sm: 8px; --radius-md: 14px; --radius-lg: 20px; --radius-pill: 999px; --shadow: 0 24px 56px rgba(0, 0, 0, 0.65); --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.45); --page-gutter: clamp(16px, 4vw, 40px); --layout-max: 1040px; --font: "Sarabun", "Noto Sans Thai", system-ui, sans-serif; --ease: cubic-bezier(0.25, 0.1, 0.25, 1); } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; color-scheme: dark; } body { font-family: var(--font); background: var(--bg-base); color: var(--text); line-height: 1.65; font-size: 17px; font-weight: 400; overflow-x: hidden; -webkit-font-smoothing: antialiased; } img { max-width: 100%; height: auto; display: block; } a { color: var(--blue); font-weight: 500; } a:hover { color: var(--green-bright); } /* ----- Main column ----- */ .site-main { width: 100%; max-width: none; background: linear-gradient( 180deg, #070708 0%, var(--bg-base) 25%, #0a0c10 55%, #06080d 100% ); } /* ============================================================ HEADER — satu baris: logo + CTA (tanpa menu navigasi) ============================================================ */ .site-header { width: 100%; --header-pad-x: var(--page-gutter); font-family: var(--font); background: linear-gradient( 180deg, var(--header-grad-a) 0%, var(--header-grad-b) 45%, var(--header-grad-c) 100% ); border-bottom: 2px solid var(--green); box-shadow: inset 0 1px 0 rgba(56, 189, 248, 0.12); position: relative; z-index: 100; } .site-header::before { content: ""; position: absolute; inset: 0; background: radial-gradient( ellipse 100% 120% at 30% 0%, var(--header-shine), transparent 50% ); pointer-events: none; } .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient( 90deg, transparent, var(--blue) 35%, var(--green-bright) 65%, transparent ); pointer-events: none; } .header-bar { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; width: 100%; max-width: var(--layout-max); margin: 0 auto; padding: 8px var(--header-pad-x); min-height: 52px; box-sizing: border-box; } .header-logo { display: flex; align-items: center; flex-shrink: 0; line-height: 0; transition: opacity 0.2s var(--ease); } .header-logo:hover { opacity: 0.92; } .header-logo img { display: block; max-height: 42px; width: auto; height: auto; } .header-cta { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 8px; } .site-header .header-cta a { font-size: 12px; font-weight: 600; letter-spacing: 0.03em; text-decoration: none; border-radius: var(--radius-pill); padding: 7px 14px; line-height: 1.2; white-space: nowrap; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease); border: 1px solid transparent; } .site-header .btn-android { background: linear-gradient(135deg, var(--green-bright) 0%, var(--green) 100%); color: var(--ink); border-color: rgba(134, 239, 172, 0.55); font-weight: 700; } .site-header .btn-android:hover { background: linear-gradient(135deg, var(--green-muted) 0%, var(--green-deep) 100%); border-color: rgba(255, 255, 255, 0.35); transform: translateY(-1px); box-shadow: 0 3px 16px var(--green-glow); } .site-header .btn-telegram { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: #f0f9ff; border-color: rgba(125, 211, 252, 0.55); font-weight: 700; } .site-header .btn-telegram:hover { background: linear-gradient(135deg, #7dd3fc 0%, #0369a1 100%); transform: translateY(-1px); box-shadow: 0 3px 16px var(--blue-glow); } .site-header .btn-login { background: rgba(0, 0, 0, 0.35); color: #e2e8f0; border-color: rgba(56, 189, 248, 0.35); } .site-header .btn-login:hover { background: var(--blue-dim); border-color: var(--blue); color: var(--green-bright); transform: translateY(-1px); } .site-header .btn-register { background: linear-gradient( 135deg, var(--green-muted) 0%, var(--green) 45%, var(--green-deep) 100% ); color: var(--ink); border-color: rgba(134, 239, 172, 0.65); font-weight: 700; } .site-header .btn-register:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 4px 18px var(--green-glow); } .header-logo:focus-visible, .site-header .header-cta a:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 3px; } /* ============================================================ HERO ============================================================ */ .hero-banner { width: 100%; padding: clamp(12px, 2.5vw, 24px) var(--page-gutter) 0; background: transparent; } .hero-inner { width: 100%; max-width: var(--layout-max); margin: 0 auto; box-sizing: border-box; } .hero-banners { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(6px, 1.5vw, 18px); width: 100%; } .hero-banner__tile { display: block; min-width: 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-soft); transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease); } .hero-banner__tile:hover { box-shadow: var(--shadow-soft), 0 0 0 1px var(--blue-dim); transform: translateY(-2px); } .hero-banner__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; } /* ============================================================ ARTICLE / PROSE (.wrapper-title) ============================================================ */ .wrapper-title { width: 100%; max-width: var(--layout-max); margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--page-gutter) clamp(48px, 8vw, 80px); box-sizing: border-box; } .intro-media-link { display: block; width: 100%; max-width: 100%; margin: 0 auto 1.4rem; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-soft); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); } .intro-media-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft), 0 0 0 1px var(--blue-dim); } .intro-media-img { display: block; width: 100%; height: auto; max-height: min(560px, 68vh); object-fit: cover; } .page-title { color: var(--text); font-weight: 700; text-align: center; margin: 2.5rem auto 1.25rem; padding-bottom: 0; position: relative; width: 100%; line-height: 1.35; letter-spacing: 0.02em; } .page-title::after { content: ""; display: block; width: 72px; height: 4px; margin: 1rem auto 0; background: linear-gradient( 90deg, var(--green-deep), var(--green-bright), var(--blue) ); border-radius: 4px; } h1.page-title { font-size: clamp(1.45rem, 4vw, 2rem); margin-top: 0.5rem; } h2.page-title { font-size: clamp(1.2rem, 3vw, 1.55rem); } h3.page-title { font-size: clamp(1.05rem, 2.5vw, 1.2rem); text-align: left; color: var(--accent-deep); } .wrapper-title p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.85; font-weight: 400; max-width: 100%; margin: 0 auto 1.75rem; text-align: center; } .wrapper-title ul { color: var(--text-muted); font-size: 1.02rem; line-height: 1.85; max-width: 100%; margin: 0 auto 1.75rem; padding-left: 1.35rem; text-align: left; } .wrapper-title ul li { margin-bottom: 0.85rem; } .wrapper-title ul li strong { color: var(--text); font-weight: 600; } .wrapper-title h3.page-title { margin: 2.5rem auto 1rem; text-align: left; max-width: 100%; } .wrapper-title h3.page-title::after { margin: 0.75rem 0 0; width: 56px; height: 3px; background: linear-gradient(90deg, var(--green-bright), var(--blue)); } /* ----- Table of contents ----- */ .toc-simple { position: relative; max-width: 100%; margin: 2.5rem auto; font-size: 15px; text-align: left; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0; background: linear-gradient( 165deg, #0a100e 0%, var(--bg-card) 42%, #070b09 100% ); box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(74, 222, 128, 0.06); overflow: hidden; } .toc-simple::before { content: ""; display: block; height: 3px; background: linear-gradient( 90deg, var(--green-deep), var(--green-bright) 45%, var(--blue) 100% ); } .toc-title { display: flex; align-items: center; gap: 0.65rem; margin: 0; padding: 1.1rem 1.35rem 1rem; color: var(--green-bright); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid rgba(74, 222, 128, 0.14); background: linear-gradient( 180deg, rgba(22, 101, 52, 0.12) 0%, transparent 100% ); } .toc-title::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--green-bright); box-shadow: 0 0 14px var(--green-glow); flex-shrink: 0; } .toc-list { list-style: none; margin: 0; padding: 0.65rem 0.5rem 1rem; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; } .toc-item { display: flex; align-items: stretch; gap: 0.5rem; margin: 0; padding: 0 0.65rem 0 0.85rem; } .toc-item:not(.toc-item--sub) { counter-increment: toc; } .toc-item:not(.toc-item--sub)::before { content: counter(toc, decimal-leading-zero); flex: 0 0 1.5rem; text-align: right; font-size: 0.68rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--green-deep); padding: 0.62rem 0 0; line-height: 1.4; opacity: 0.9; } .toc-item--sub { padding-left: 1.5rem; } .toc-item--sub::before { content: "›"; flex: 0 0 1.1rem; text-align: center; font-size: 1.05rem; font-weight: 400; color: var(--green-bright); opacity: 0.5; padding: 0.52rem 0 0; line-height: 1.4; } .toc-item a { flex: 1; min-width: 0; color: var(--text); text-decoration: none; font-size: 0.95rem; line-height: 1.45; padding: 0.55rem 0.85rem 0.55rem 0.75rem; border-radius: var(--radius-sm); border: 1px solid transparent; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); } .toc-item a:hover { color: var(--green-bright); background: var(--green-dim); border-color: rgba(74, 222, 128, 0.18); } .toc-item a:focus-visible { outline: none; color: var(--green-bright); box-shadow: 0 0 0 2px var(--bg-base), 0 0 0 4px var(--green-bright); } .toc-item--sub a { font-size: 0.88rem; color: var(--text-muted); border-left: 2px solid rgba(74, 222, 128, 0.22); padding-left: 0.85rem; } .toc-item--sub a:hover { color: var(--green-muted); border-left-color: var(--green-bright); } /* ----- Data tables ----- */ .slot-table { width: 100%; max-width: 100%; margin: 2.5rem auto; border-collapse: separate; border-spacing: 0; font-size: 0.94rem; color: var(--text-muted); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-soft); } .slot-table th { background: linear-gradient(135deg, #020403 0%, #0a1512 55%, #050810 100%); color: var(--green-bright); font-weight: 700; padding: 14px 16px; border-bottom: 2px solid var(--blue); text-align: left; letter-spacing: 0.03em; } .slot-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: top; background: var(--bg-card); } .slot-table tbody tr:nth-child(even) td { background: #0c1014; } .slot-table tr:last-child td { border-bottom: none; } .slot-table tbody tr { transition: background 0.2s var(--ease); } .slot-table tbody tr:hover td { background: #121a18; color: var(--text); } /* ============================================================ FAQ ============================================================ */ .faq-section { width: 100%; max-width: var(--layout-max); margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--page-gutter); box-sizing: border-box; } .faq-section h2 { text-align: center; font-size: clamp(1.25rem, 3vw, 1.65rem); color: var(--text); font-weight: 700; margin-bottom: 2rem; letter-spacing: 0.03em; } .faq-section h2::after { content: ""; display: block; width: 48px; height: 3px; margin: 1rem auto 0; background: linear-gradient(90deg, var(--green-bright), var(--blue)); border-radius: 2px; } .faq-item { margin-bottom: 12px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); background: var(--bg-card); transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); } .faq-item:hover { border-color: var(--border-strong); } .faq-item.is-open { border-color: var(--blue); box-shadow: 0 0 0 2px var(--green-dim); } .faq-question { width: 100%; background: transparent; color: var(--text); padding: 18px 52px 18px 20px; font-size: 1rem; font-family: inherit; font-weight: 600; border: none; text-align: left; cursor: pointer; border-radius: 0; transition: color 0.2s var(--ease), background 0.2s var(--ease); position: relative; line-height: 1.45; } .faq-question::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--green-bright); border-bottom: 2px solid var(--green-bright); transform: rotate(45deg); transition: transform 0.25s var(--ease); } .faq-item.is-open .faq-question::after { transform: rotate(-135deg); margin-top: -2px; } .faq-question:hover { color: var(--green-bright); background: var(--green-dim); } .faq-answer { background: #080a0c; color: var(--text-muted); max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); padding: 0 20px; } .faq-answer p { padding: 0 0 1.25rem; line-height: 1.75; font-size: 0.98rem; } /* ============================================================ FOOTER ============================================================ */ .site-footer { background: linear-gradient(180deg, var(--ink) 0%, #000 100%); color: var(--footer-muted); padding: clamp(48px, 8vw, 72px) 0 28px; font-family: var(--font); border-top: 3px solid var(--green); box-shadow: inset 0 1px 0 rgba(56, 189, 248, 0.15); position: relative; } .site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient( 90deg, transparent, var(--accent-glow), transparent ); } .footer-container { width: 100%; max-width: var(--layout-max); margin: 0 auto; padding: 0 var(--page-gutter); box-sizing: border-box; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(28px, 5vw, 48px); } .footer-brand { color: var(--green-bright); margin-bottom: 14px; text-align: left; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.08em; } .footer-col h4 { color: var(--blue); margin-bottom: 14px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; } .footer-col p { line-height: 1.75; font-size: 0.92rem; color: var(--footer-muted); } .footer-col ul { list-style: none; } .footer-col ul li { margin-bottom: 10px; font-size: 0.92rem; color: var(--footer-muted); } .footer-col ul li a { color: var(--footer-muted); text-decoration: none; font-weight: 500; transition: color 0.2s var(--ease); } .footer-col ul li a:hover { color: var(--green-bright); } .footer-bottom { text-align: center; max-width: var(--layout-max); width: 100%; margin: 48px auto 0; padding: 24px var(--page-gutter) 0; border-top: 1px solid rgba(74, 222, 128, 0.2); font-size: 0.82rem; color: rgba(148, 163, 184, 0.65); box-sizing: border-box; } /* ============================================================ RESPONSIVE — TABLET ============================================================ */ @media (max-width: 1024px) { .header-bar { padding: 8px var(--page-gutter); } .header-logo img { max-height: 40px; } } /* ============================================================ RESPONSIVE — 768px ============================================================ */ @media (max-width: 768px) { body { font-size: 16px; } .header-bar { flex-wrap: wrap; justify-content: center; row-gap: 10px; padding: 10px var(--page-gutter); min-height: 0; } .header-cta { width: 100%; justify-content: center; } .site-header .header-cta a { font-size: 11px; padding: 7px 12px; } .header-logo img { max-height: 38px; } .wrapper-title { padding: 24px var(--page-gutter) 48px; } .faq-section { padding: 32px var(--page-gutter) 56px; } .site-footer { padding: 40px 0 24px; } .footer-container { grid-template-columns: 1fr 1fr; gap: 28px; } .slot-table { font-size: 12px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; } .slot-table th, .slot-table td { padding: 10px 12px; } .toc-simple { padding: 1.25rem 1.25rem; } } /* ============================================================ RESPONSIVE — 480px ============================================================ */ @media (max-width: 480px) { .site-header .btn-android, .site-header .btn-telegram { display: none; } .header-cta .btn-login, .header-cta .btn-register { flex: 1 1 40%; min-width: 0; display: inline-flex; align-items: center; justify-content: center; text-align: center; } .header-cta { display: flex; } .header-logo img { max-height: 36px; } .page-title::after { width: 40px; } .wrapper-title p, .wrapper-title ul { font-size: 0.95rem; } .faq-question { font-size: 0.92rem; padding: 14px 44px 14px 16px; } .faq-question::after { right: 16px; } .faq-answer { padding: 0 16px; } .footer-container { grid-template-columns: 1fr; gap: 24px; } .footer-brand { text-align: center; } .footer-col h4 { text-align: center; } .footer-col ul { text-align: center; } .slot-table th, .slot-table td { padding: 8px 10px; font-size: 11px; } .toc-item a { font-size: 0.92rem; } } /* ============================================================ RESPONSIVE — 360px ============================================================ */ @media (max-width: 360px) { .header-bar { padding: 8px var(--page-gutter); } .header-cta .btn-login, .header-cta .btn-register { padding: 7px 10px; font-size: 10px; } .header-logo img { max-height: 32px; } .wrapper-title { padding: 20px var(--page-gutter) 40px; } .faq-question { font-size: 0.88rem; padding: 12px 40px 12px 12px; } }