247 lines
7.9 KiB
CSS
247 lines
7.9 KiB
CSS
/* ==========================================================================
|
|
Super Sunday — Frontend Theme (Clean, Consolidated)
|
|
- Dark, Sirion-like base
|
|
- Hero gradient headings (n8n vibe)
|
|
- Background image + dark overlays + colored bubbles
|
|
- Glass-dark cards, flat rounded buttons, dark inputs
|
|
- Simple, deterministic z-index stack
|
|
-------------------------------------------------------------------------- */
|
|
|
|
/* ========== 0) Design tokens ==========
|
|
*/
|
|
:root {
|
|
/* Colors */
|
|
--ink: #eaf1ff;
|
|
--ink-strong: #ffffff;
|
|
--muted: #9fb0c7;
|
|
--panel: rgba(12,16,28,.75);
|
|
--panel-border: rgba(255,255,255,.12);
|
|
--cta: #1890ff;
|
|
--cta-hover: #3aa0ff;
|
|
|
|
/* Accents for gradients */
|
|
--grad-rose: #ff7ad9;
|
|
--grad-violet: #7c4dff;
|
|
--grad-cyan: #00e5ff;
|
|
|
|
/* Layout */
|
|
--radius: 16px;
|
|
--radius-xl: 20px;
|
|
--shadow: 0 10px 30px rgba(0,0,0,.35);
|
|
--shadow-hover: 0 16px 36px rgba(0,0,0,.45);
|
|
--trans: 180ms ease;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html, body { height: 100%; }
|
|
|
|
/* ========== 1) Base & background ==========
|
|
*/
|
|
body {
|
|
margin: 0;
|
|
font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji", sans-serif;
|
|
color: var(--ink);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* Background image + dark overlays */
|
|
body::before {
|
|
content: "";
|
|
position: fixed; inset: 0;
|
|
z-index: -3; /* far background */
|
|
background:
|
|
/* colored ambience blobs */
|
|
radial-gradient(40% 35% at 15% 10%, rgba(124,77,255,.23), rgba(124,77,255,0) 60%),
|
|
radial-gradient(45% 40% at 85% 20%, rgba(0,229,255,.20), rgba(0,229,255,0) 60%),
|
|
radial-gradient(55% 50% at 50% 85%, rgba(255,122,217,.16), rgba(255,122,217,0) 60%),
|
|
/* dark veil */
|
|
linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.58) 35%, rgba(0,0,0,.70)),
|
|
/* photo */
|
|
url("/assets/image/backgroundp24p.jpg") center top / cover no-repeat;
|
|
filter: saturate(.96) contrast(.98) brightness(.9) blur(.4px);
|
|
}
|
|
|
|
body::after {
|
|
/* vignette for edge darkening */
|
|
content: "";
|
|
position: fixed; inset: 0;
|
|
z-index: -2; /* above background */
|
|
pointer-events: none;
|
|
background:
|
|
radial-gradient(145% 100% at 50% 0%, rgba(0,0,0,0) 52%, rgba(0,0,0,.30) 100%),
|
|
radial-gradient(125% 90% at 50% 100%, rgba(0,0,0,0) 58%, rgba(0,0,0,.24) 100%);
|
|
}
|
|
|
|
/* ========== 2) Colored bubbles (between overlays and UI) ==========
|
|
*/
|
|
@keyframes float {
|
|
0% { transform: translateY(0) scale(1); opacity: .75; }
|
|
50% { transform: translateY(-36px) scale(1.06); opacity: .45; }
|
|
100% { transform: translateY(0) scale(1); opacity: .75; }
|
|
}
|
|
|
|
.bg-bubble {
|
|
position: fixed;
|
|
z-index: -1; /* between overlays and UI */
|
|
pointer-events: none;
|
|
border-radius: 50%;
|
|
opacity: .9;
|
|
/* blue ↔ violet glow */
|
|
background:
|
|
radial-gradient(60% 60% at 30% 30%, rgba(124,77,255,.55), rgba(124,77,255,0) 70%),
|
|
radial-gradient(55% 55% at 70% 70%, rgba(0,229,255,.45), rgba(0,229,255,0) 75%);
|
|
animation: float 10s ease-in-out infinite;
|
|
filter: blur(.3px);
|
|
}
|
|
|
|
.bg-bubble.b1 { width:120px; height:120px; left:12%; top:68%; animation-duration: 9s; }
|
|
.bg-bubble.b2 { width:90px; height:90px; left:70%; top:58%; animation-duration:12s; }
|
|
.bg-bubble.b3 { width:150px; height:150px; left:46%; top:76%; animation-duration:14s; }
|
|
.bg-bubble.b4 { width:80px; height:80px; left:84%; top:22%; animation-duration:11s; }
|
|
.bg-bubble.b5 { width:110px; height:110px; left:6%; top:18%; animation-duration:10s; }
|
|
|
|
@media (prefers-reduced-motion: reduce) { .bg-bubble { animation: none; } }
|
|
|
|
/* Ensure content sits above bubbles */
|
|
header, main, nav, .card { position: relative; z-index: 0; }
|
|
|
|
/* ========== 3) Header & navigation ==========
|
|
*/
|
|
header {
|
|
position: sticky; top: 0; z-index: 40;
|
|
display: flex; align-items: center; justify-content: space-between;
|
|
padding: 14px 24px;
|
|
background: linear-gradient(180deg, rgba(5,8,14,.96), rgba(5,8,14,.88));
|
|
color: #fff;
|
|
border-bottom: 1px solid rgba(255,255,255,.10);
|
|
backdrop-filter: blur(10px) saturate(130%);
|
|
-webkit-backdrop-filter: blur(10px) saturate(130%);
|
|
}
|
|
header h1 { margin: 0; font-size: 20px; font-weight: 700; color: #fff; }
|
|
|
|
nav a {
|
|
margin-left: 16px; padding: 8px 14px;
|
|
color: #f2f6ff; text-decoration: none;
|
|
border-radius: 12px; font-weight: 600;
|
|
transition: background var(--trans), transform var(--trans), border-color var(--trans);
|
|
}
|
|
nav a:hover { background: rgba(255,255,255,.08); }
|
|
nav a.active {
|
|
background: rgba(255,255,255,.10);
|
|
border: 1px solid rgba(255,255,255,.22);
|
|
box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
|
|
}
|
|
|
|
/* ========== 4) Layout & containers ==========
|
|
*/
|
|
.container { max-width: 1160px; margin: 24px auto; padding: 0 16px; }
|
|
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
|
|
|
|
/* ========== 5) Cards ==========
|
|
*/
|
|
.card {
|
|
background: var(--panel);
|
|
border: 1px solid var(--panel-border);
|
|
border-radius: var(--radius-xl);
|
|
padding: 18px;
|
|
box-shadow: var(--shadow);
|
|
transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
|
|
}
|
|
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: rgba(143,237,255,.35); }
|
|
.card.accent {
|
|
background:
|
|
linear-gradient(180deg, rgba(124,77,255,.10), rgba(0,229,255,.10)),
|
|
var(--panel);
|
|
border-color: rgba(255,255,255,.14);
|
|
}
|
|
#tournaments .card, #matches .card { margin-bottom: 12px; }
|
|
|
|
/* ========== 6) Typography ==========
|
|
*/
|
|
h1, h2, h3 { color: var(--ink-strong); line-height: 1.2; }
|
|
.muted { color: var(--muted); }
|
|
|
|
/* Hero & section titles (n8n-like gradients) */
|
|
.hero-title {
|
|
font-size: clamp(42px, 6.8vw, 78px);
|
|
font-weight: 900;
|
|
letter-spacing: -.02em;
|
|
line-height: 1.04;
|
|
background: linear-gradient(90deg, var(--grad-rose) 0%, var(--grad-violet) 45%, var(--grad-cyan) 95%);
|
|
-webkit-background-clip: text; background-clip: text; color: transparent;
|
|
text-shadow: 0 10px 30px rgba(124,77,255,.22), 0 2px 12px rgba(0,0,0,.35);
|
|
margin-bottom: .25rem;
|
|
}
|
|
.section-title {
|
|
font-size: clamp(26px, 3.8vw, 42px);
|
|
font-weight: 800; letter-spacing: -.01em;
|
|
background: linear-gradient(90deg, var(--grad-violet), var(--grad-cyan));
|
|
-webkit-background-clip: text; background-clip: text; color: transparent;
|
|
}
|
|
|
|
/* ========== 7) Forms & buttons ==========
|
|
*/
|
|
input, select, textarea {
|
|
width: 100%;
|
|
padding: 12px 14px;
|
|
min-height: 44px;
|
|
border-radius: 14px;
|
|
color: #eaf3ff;
|
|
background: #0f1b33;
|
|
border: 1px solid rgba(255,255,255,.15);
|
|
outline: none;
|
|
transition: border-color var(--trans), box-shadow var(--trans);
|
|
margin: 10px 0 16px;
|
|
}
|
|
input::placeholder, textarea::placeholder { color: #93a4c0; }
|
|
input:focus, select:focus, textarea:focus {
|
|
border-color: rgba(143,237,255,.55);
|
|
box-shadow: 0 0 0 3px rgba(143, 237, 255, .18);
|
|
}
|
|
|
|
/* Buttons (flat, rounded) */
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 12px 20px;
|
|
border-radius: 999px;
|
|
border: none;
|
|
background: var(--cta);
|
|
color: #fff;
|
|
font-weight: 700;
|
|
box-shadow: none;
|
|
transition: background .2s ease, transform .2s ease;
|
|
}
|
|
.btn:hover { background: var(--cta-hover); transform: translateY(-1px); }
|
|
.btn-outline {
|
|
border-radius: 999px;
|
|
padding: 10px 16px;
|
|
border: 1px solid rgba(255,255,255,.28);
|
|
background: transparent;
|
|
color: #eaf3ff;
|
|
transition: background .2s ease, border-color .2s ease;
|
|
}
|
|
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); }
|
|
|
|
/* ========== 8) Utility blocks ==========
|
|
*/
|
|
.empty {
|
|
padding: 20px; text-align: center; color: #cfe1ff;
|
|
background: rgba(255,255,255,.05);
|
|
border: 1px dashed rgba(255,255,255,.18);
|
|
border-radius: var(--radius);
|
|
}
|
|
pre {
|
|
color: #e7efff;
|
|
background: rgba(10,14,26,.55);
|
|
border: 1px solid rgba(255,255,255,.10);
|
|
padding: 12px; border-radius: 16px; overflow: auto;
|
|
}
|
|
|
|
/* ========== 9) Footer (optional) ==========
|
|
*/
|
|
footer {
|
|
margin: 40px 0 0; padding: 24px 16px; text-align: center; color: var(--muted);
|
|
border-top: 1px solid rgba(255,255,255,.10);
|
|
background: rgba(5,8,14,.82);
|
|
backdrop-filter: blur(6px);
|
|
} |