/* Solana Acolytes Donation Page - CSS (mobile-first, single stylesheet) */ :root{ --bg: #0a0a12; --grid: rgba(139, 69, 19, 0.25); /* brown grid lines for hacker vibe */ --panel: rgba(12, 0, 40, 0.75); --text: #efe4d0; --brand: #d5b08a; --cta: #b07a3c; --cta-2: rgba(176, 124, 54, 0.92); --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); /* Black & dark grey grid paper background with brown 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 for panels */ .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(139, 69, 19, 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: centerpiece QR with frosted container */ .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); /* deep navy/purple panel */ border: 1px solid rgba(139, 69, 19, 0.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 12px 40px rgba(0,0,0,.55); margin: 6px; } /* 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: #f0e6d6; } .hero h2 { margin: 0; font-size: 1.15rem; color: #d9c8b3; } /* Telegram link styled as CTA (no actual buttons in markup) */ .telegram-link { font-size: 0.95rem; color: #f0e6d6; margin: 6px 0 0; } .telegram-link a { display: inline-block; margin-left: 8px; padding: 0.5em 1.0em; border-radius: 999px; background: rgba(176, 124, 54, 0.92); color: #0a0a0a; text-decoration: none; border: 1px solid rgba(255,255,255,.5); font-weight: 700; } .telegram-link a:hover, .telegram-link a:focus { outline: 2px solid #f6e6d0; outline-offset: 2px; } /* Footer: product advertisement + gratitude text */ .site-footer { padding: 14px; text-align: center; color: #efe6d0; background: rgba(0, 0, 0, 0.34); border-top: 1px solid rgba(139, 69, 19, 0.25); } .footer-ad { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 0; } .footer-ad a { color: #f0e6d6; text-decoration: none; border-bottom: 1px solid rgba(139, 69, 19, 0.6); padding-bottom: 2px; } .footer-ad a:hover, .footer-ad a:focus { outline: 2px solid #d9c2a6; outline-offset: 2px; border-bottom: none; } .gratitude { margin-top: 6px; font-size: 0.95rem; } /* Focus styles for accessibility */ :focus-visible { outline: 2px solid #b18cff; 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; } }