Files
comunidadhll/frontend/assets/css/styles.css

210 lines
3.7 KiB
CSS

:root {
--bg: #0f120d;
--bg-elevated: rgba(27, 33, 24, 0.92);
--panel: rgba(21, 26, 19, 0.94);
--border: rgba(159, 168, 141, 0.24);
--text: #e7e0cf;
--muted: #a9ad9a;
--accent: #8ea062;
--accent-strong: #b7c97d;
--shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
--max-width: 1120px;
--font-main: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
* {
box-sizing: border-box;
}
html {
font-size: 16px;
}
body {
margin: 0;
min-height: 100vh;
font-family: var(--font-main);
color: var(--text);
background:
linear-gradient(rgba(9, 11, 8, 0.68), rgba(9, 11, 8, 0.92)),
radial-gradient(circle at top, rgba(84, 96, 59, 0.22), transparent 36%),
linear-gradient(135deg, #161c14 0%, #0c100b 100%);
}
img {
display: block;
max-width: 100%;
}
a {
color: inherit;
text-decoration: none;
}
.page-shell {
width: min(100%, var(--max-width));
margin: 0 auto;
padding: 32px 20px 56px;
}
.hero {
position: relative;
overflow: hidden;
border: 1px solid var(--border);
border-radius: 24px;
background:
linear-gradient(180deg, rgba(23, 29, 19, 0.86), rgba(13, 16, 12, 0.95)),
repeating-linear-gradient(
90deg,
rgba(255, 255, 255, 0.015) 0,
rgba(255, 255, 255, 0.015) 1px,
transparent 1px,
transparent 24px
);
box-shadow: var(--shadow);
}
.hero__overlay {
position: absolute;
inset: 0;
background:
radial-gradient(circle at top right, rgba(142, 160, 98, 0.14), transparent 28%),
linear-gradient(135deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
pointer-events: none;
}
.hero__content {
position: relative;
z-index: 1;
padding: 56px 28px;
display: grid;
justify-items: center;
text-align: center;
gap: 18px;
}
.logo-frame {
width: min(240px, 72vw);
aspect-ratio: 1 / 1;
padding: 16px;
display: grid;
place-items: center;
border: 1px dashed rgba(183, 201, 125, 0.45);
border-radius: 18px;
background: rgba(12, 16, 10, 0.58);
}
.logo-frame__image {
width: 100%;
height: 100%;
object-fit: contain;
}
.eyebrow {
margin: 0;
font-size: 0.8rem;
letter-spacing: 0.22em;
text-transform: uppercase;
color: var(--accent-strong);
}
h1,
h2 {
margin: 0;
line-height: 1.1;
}
h1 {
max-width: 12ch;
font-size: clamp(2.2rem, 5vw, 4.6rem);
}
h2 {
font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}
.hero__text {
max-width: 640px;
margin: 0;
color: var(--muted);
font-size: 1.05rem;
line-height: 1.7;
}
.discord-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 52px;
padding: 0 24px;
border: 1px solid rgba(183, 201, 125, 0.45);
border-radius: 999px;
background: linear-gradient(180deg, #8ea062 0%, #6e7f48 100%);
color: #11150f;
font-weight: 700;
letter-spacing: 0.04em;
transition:
transform 160ms ease,
box-shadow 160ms ease,
filter 160ms ease;
box-shadow: 0 12px 30px rgba(110, 127, 72, 0.35);
}
.discord-button:hover,
.discord-button:focus-visible {
transform: translateY(-1px);
filter: brightness(1.04);
box-shadow: 0 18px 36px rgba(110, 127, 72, 0.45);
}
.content {
margin-top: 28px;
}
.panel {
padding: 28px;
border: 1px solid var(--border);
border-radius: 24px;
background: var(--panel);
box-shadow: var(--shadow);
}
.panel__header {
margin-bottom: 18px;
}
.video-wrapper {
position: relative;
width: 100%;
overflow: hidden;
border: 1px solid rgba(159, 168, 141, 0.18);
border-radius: 18px;
background: #0a0c09;
aspect-ratio: 16 / 9;
}
.video-wrapper iframe {
width: 100%;
height: 100%;
border: 0;
}
@media (max-width: 640px) {
.page-shell {
padding: 18px 14px 40px;
}
.hero__content,
.panel {
padding: 22px 16px;
}
.hero__text {
font-size: 0.98rem;
}
.discord-button {
width: 100%;
}
}