/* Solana Acolytes Donation Page - CSS (mobile-first, single stylesheet) */ /* Black/dark grey grid paper with turquoise hacker-night theme and frosted glass UI */ :root{ --bg: #0a0a0f; --grid: rgba(0, 255, 230, 0.25); /* turquoise grid lines */ --panel: rgba(8, 0, 40, 0.75); --text: #eaffff; --brand: #2ff0e0; --cta: #1bdad6; --cta-2: rgba(0, 210, 210, 0.95); --glow: 0 8px 28px rgba(0,0,0,.5); --radius: 14px; } *, *::before, *::after { box-sizing: border-box; } html, body { height: 100%; } body { margin: 0; color: var(--text); font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial; background: var(--bg); /* Grid paper backdrop with turquoise lines */ background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px); background-size: 40px 40px; background-attachment: fixed; overflow-x: hidden; } /* Frosted glass utility (applied to sections) */ .glass { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: var(--radius); box-shadow: var(--glow); } /* Header */ .site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 12px 16px; background: rgba(0, 0, 0, 0.55); border-bottom: 1px solid rgba(0, 255, 230, 0.25); } .brand-text { font-weight: 700; letter-spacing: .5px; color: var(--brand); text-transform: uppercase; font-size: 1rem; } /* Main content area */ main { padding: 12px; display: flex; justify-content: center; } /* Hero card with QR centerpiece */ .hero { display: grid; place-items: center; text-align: center; padding: 18px; gap: 20px; width: 100%; max-width: 900px; border-radius: 18px; background: rgba(8, 0, 40, 0.75); border: 1px solid rgba(0, 255, 230, 0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 12px 40px rgba(0,0,0,.55); margin: 6px auto; } /* QR area */ .qr-area { width: 100%; display: grid; place-items: center; padding: 6px; } .qr-code { width: 66vmin; max-width: 520px; height: auto; aspect-ratio: 1 / 1; border-radius: 12px; padding: 8px; background: rgba(0,0,0,.25); box-shadow: 0 12px 40px rgba(0,0,0,.6); } /* Headings */ .hero h1 { margin: 0; font-size: 1.75rem; color: #eaffff; } .hero h2 { margin: 0; font-size: 1.15rem; color: #d0f7ff; } /* Telegram link styled as CTA (via anchor) */ .telegram-link { font-size: 0.95rem; color: #eaffff; margin: 6px 0 0; } .telegram-link a { display: inline-block; margin-left: 8px; padding: 0.5em 1.0em; border-radius: 999px; background: rgba(0, 255, 255, 0.9); color: #041414; text-decoration: none; font-weight: 700; border: 1px solid rgba(255,255,255,.5); } .telegram-link a:hover, .telegram-link a:focus { outline: 2px solid #d9fbff; outline-offset: 2px; } /* Footer: product advertisement + gratitude text */ .site-footer { padding: 14px; text-align: center; color: #eaffff; background: rgba(0, 0, 0, 0.34); border-top: 1px solid rgba(0, 255, 230, 0.25); } .footer-ad { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 0; } .footer-ad a { color: #eaffff; text-decoration: none; border-bottom: 1px solid rgba(0,255,230,.6); padding-bottom: 2px; } .footer-ad a:hover, .footer-ad a:focus { outline: 2px solid #bfefff; outline-offset: 2px; border-bottom: none; } .gratitude { margin-top: 6px; font-size: 0.95rem; } /* Focus styles for accessibility */ :focus-visible { outline: 2px solid #7bd7ff; outline-offset: 2px; border-radius: 6px; } /* Responsive tweaks (mobile-first) */ @media (min-width: 640px) { .hero { padding: 28px; gap: 22px; border-radius: 22px; } .hero h1 { font-size: 2.0rem; } .hero h2 { font-size: 1.25rem; } .qr-code { width: 58vmin; } .brand-text { font-size: 1.05rem; } } @media (min-width: 1024px) { .hero { padding: 40px; } .hero h1 { font-size: 2.6rem; } .hero h2 { font-size: 1.4rem; } .qr-code { width: 50vmin; } }