src/styles.css
Rama main · réplica de lectura del repositorio original.
@import url("https://fonts.googleapis.com/css2?family=Bangers&family=Barlow+Condensed:wght@400;500;600;700;800&display=swap");
@import "tailwindcss";
@plugin "@tailwindcss/typography";
@theme {
--font-sans: "Barlow Condensed", ui-sans-serif, system-ui, sans-serif;
}
:root {
color-scheme: dark;
--panel-top: rgba(24, 18, 56, 0.82);
--panel-bottom: rgba(68, 24, 61, 0.74);
--panel-line: rgba(255, 216, 77, 0.24);
--text-main: #fff8df;
--text-soft: rgba(255, 248, 223, 0.78);
--gold: #ffd84d;
}
* {
box-sizing: border-box;
}
html,
body,
#app {
min-height: 100%;
}
body {
margin: 0;
font-family: var(--font-sans);
color: var(--text-main);
background:
radial-gradient(circle at 15% 20%, rgba(79, 213, 255, 0.22), transparent 28%),
radial-gradient(circle at 82% 12%, rgba(255, 179, 31, 0.25), transparent 24%),
radial-gradient(circle at 70% 30%, rgba(249, 72, 146, 0.22), transparent 30%),
linear-gradient(135deg, #050311 0%, #17082f 36%, #421230 68%, #20102b 100%);
background-attachment: fixed;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body::before {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
opacity: 0.24;
background-image:
radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1.5px),
radial-gradient(circle, rgba(255, 216, 77, 0.12) 1px, transparent 1.5px);
background-size: 16px 16px, 22px 22px;
background-position: 0 0, 8px 10px;
mask-image: linear-gradient(180deg, black, transparent 92%);
}
a {
color: inherit;
text-decoration: none;
}
button,
input {
font: inherit;
}
code {
border-radius: 0.75rem;
background: rgba(255, 255, 255, 0.06);
padding: 0.2rem 0.45rem;
}
.page-shell {
width: min(1280px, calc(100% - 1.5rem));
margin: 0 auto;
padding: 1rem 0 2rem;
}
.kapow-panel {
position: relative;
border: 1px solid var(--panel-line);
border-radius: 1.75rem;
background:
linear-gradient(180deg, rgba(255, 216, 77, 0.12), transparent 18%),
linear-gradient(155deg, var(--panel-top), var(--panel-bottom));
box-shadow:
0 0 0 1px rgba(255, 255, 255, 0.04) inset,
0 25px 80px rgba(4, 3, 16, 0.45),
0 12px 30px rgba(249, 72, 146, 0.16);
backdrop-filter: blur(14px);
}
.kapow-panel::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
pointer-events: none;
background:
linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 76%, rgba(255, 216, 77, 0.08)),
radial-gradient(circle at 20% 14%, rgba(79, 213, 255, 0.14), transparent 28%);
mix-blend-mode: screen;
}
.hero-burst {
position: absolute;
inset: auto -6rem -8rem auto;
width: 20rem;
height: 20rem;
border-radius: 999px;
background:
radial-gradient(circle, rgba(255, 216, 77, 0.34), transparent 38%),
radial-gradient(circle, rgba(79, 213, 255, 0.18), transparent 58%);
filter: blur(12px);
}
.hero-eyebrow {
margin: 0 0 0.75rem;
color: var(--gold);
letter-spacing: 0.22em;
text-transform: uppercase;
font-weight: 700;
font-size: 0.8rem;
}
.hero-title,
.section-title,
.display-title-text,
.queue-card__title {
font-family: "Bangers", cursive;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.hero-title {
margin: 0;
font-size: clamp(2.7rem, 7vw, 5.6rem);
line-height: 0.95;
text-wrap: balance;
text-shadow: 0 6px 24px rgba(0, 0, 0, 0.32);
}
.hero-subtitle,
.section-copy,
.muted-copy {
color: var(--text-soft);
font-size: 1.15rem;
line-height: 1.4;
}
.section-title {
margin: 0;
font-size: 2rem;
line-height: 1;
}
.logo-mark {
display: inline-flex;
align-items: center;
justify-content: center;
}
.logo-mark__image {
display: block;
width: min(18rem, 42vw);
height: auto;
filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34));
}
.kapow-input {
width: 100%;
border: 1px solid rgba(255, 255, 255, 0.16);
border-radius: 1rem;
background: rgba(255, 248, 223, 0.96);
padding: 0.95rem 1rem;
color: #1b1035;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.kapow-input::placeholder {
color: rgba(27, 16, 53, 0.55);
}
.kapow-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
border: 0;
border-radius: 1rem;
padding: 0.9rem 1.2rem;
font-weight: 700;
letter-spacing: 0.04em;
color: #180e31;
background: linear-gradient(180deg, #fff0b2, #ffd84d 55%, #ffb31f);
box-shadow:
0 0 0 2px rgba(32, 17, 56, 0.22) inset,
0 12px 24px rgba(0, 0, 0, 0.26);
transition: transform 150ms ease, filter 150ms ease;
}
.kapow-button:hover {
transform: translateY(-1px);
filter: brightness(1.03);
}
.kapow-button:disabled {
cursor: not-allowed;
opacity: 0.7;
}
.kapow-button--accent {
background: linear-gradient(180deg, #ffe88b, #ffd84d 52%, #ff8e1b);
}
.kapow-button--ghost,
.kapow-button--nav {
color: var(--text-main);
background: linear-gradient(180deg, rgba(79, 213, 255, 0.16), rgba(79, 213, 255, 0.08));
box-shadow:
0 0 0 1px rgba(79, 213, 255, 0.25) inset,
0 12px 24px rgba(0, 0, 0, 0.2);
}
.kapow-chip,
.vote-pill {
display: inline-flex;
align-items: center;
gap: 0.35rem;
border-radius: 999px;
padding: 0.45rem 0.8rem;
background: rgba(255, 216, 77, 0.16);
color: var(--gold);
font-weight: 700;
}
.search-card {
display: flex;
width: 100%;
align-items: center;
gap: 1rem;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 1.25rem;
background: rgba(7, 7, 25, 0.36);
padding: 0.7rem;
color: inherit;
}
.search-card__image {
width: 6rem;
height: 4rem;
border-radius: 1rem;
object-fit: cover;
}
.queue-card {
position: relative;
display: flex;
gap: 1rem;
overflow: hidden;
border: 1px solid rgba(255, 216, 77, 0.2);
border-radius: 1.5rem;
padding: 1rem;
background-position: center;
background-size: cover;
box-shadow:
0 0 0 1px rgba(255, 255, 255, 0.04) inset,
0 16px 32px rgba(0, 0, 0, 0.24);
}
.queue-card--backdrop {
min-height: 8rem;
}
.queue-card__thumb {
width: 7rem;
height: 7rem;
border-radius: 1.1rem;
object-fit: cover;
border: 2px solid rgba(255, 216, 77, 0.2);
}
.queue-card__flag {
position: absolute;
left: 1rem;
top: 0.8rem;
z-index: 1;
border-radius: 999px;
background: linear-gradient(180deg, #ffe88b, #ffd84d);
padding: 0.35rem 0.7rem;
color: #1b1035;
font-size: 0.95rem;
font-weight: 800;
text-transform: uppercase;
}
.queue-card__title {
margin: 0.2rem 0 0;
font-size: clamp(1.8rem, 4vw, 2.9rem);
line-height: 0.95;
}
.queue-card__artist {
margin: 0.35rem 0 0;
font-size: 1.35rem;
color: rgba(255, 248, 223, 0.86);
}
.queue-card__meta {
display: inline-flex;
margin: 0.75rem 0 0;
border-radius: 999px;
background: rgba(15, 10, 39, 0.5);
padding: 0.35rem 0.7rem;
color: rgba(255, 248, 223, 0.78);
}
.queue-card__rail {
display: flex;
min-width: 8rem;
flex-direction: column;
align-items: end;
gap: 0.8rem;
}
.drag-handle {
display: inline-flex;
align-items: center;
justify-content: center;
margin-top: 1rem;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 999px;
background: rgba(255, 255, 255, 0.06);
color: rgba(255, 255, 255, 0.72);
padding: 0.65rem;
}
.display-screen {
display: flex;
flex-direction: column;
min-height: 100vh;
padding: 1.2rem;
background-position: center;
background-size: cover;
}
.display-header {
display: flex;
align-items: start;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1rem;
}
.display-header-meta {
display: flex;
align-items: start;
gap: 1rem;
}
.display-title-text {
margin: 0;
font-size: clamp(3rem, 8vw, 6.5rem);
line-height: 0.9;
}
.display-artist {
margin: 0.5rem 0 0;
font-size: clamp(1.25rem, 2vw, 2rem);
color: rgba(255, 248, 223, 0.86);
}
.display-layout {
display: grid;
flex: 1;
gap: 1rem;
min-height: 0;
align-items: stretch;
grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}
.display-player-panel {
display: flex;
min-height: 0;
}
.display-player-shell {
display: flex;
height: 100%;
width: 100%;
overflow: hidden;
border-radius: 1.5rem;
background: rgba(0, 0, 0, 0.3);
}
.display-player-frame {
flex: 1;
width: 100%;
min-height: 28rem;
height: 100%;
}
.display-qr-card {
width: 10rem;
flex-shrink: 0;
border: 1px solid rgba(255, 216, 77, 0.22);
border-radius: 1.25rem;
background: rgba(10, 9, 28, 0.5);
padding: 0.9rem;
text-align: center;
}
.display-qr-image {
width: 100%;
border-radius: 1rem;
background: #fff7d7;
padding: 0.55rem;
}
.display-qr-code {
margin: 0.6rem 0 0;
font-size: 0.7rem;
line-height: 1.3;
color: rgba(255, 248, 223, 0.7);
overflow-wrap: anywhere;
}
.display-stats-grid {
display: grid;
gap: 0.8rem;
}
.display-stat-card {
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 1rem;
background: rgba(255, 255, 255, 0.04);
padding: 0.85rem 0.95rem;
}
.display-stat-label {
margin: 0;
color: rgba(255, 248, 223, 0.62);
letter-spacing: 0.14em;
text-transform: uppercase;
font-size: 0.72rem;
font-weight: 700;
}
.display-stat-value {
margin: 0.4rem 0 0;
font-size: 1.2rem;
line-height: 1.2;
font-weight: 700;
}
.display-placeholder {
display: grid;
min-height: 28rem;
width: 100%;
height: 100%;
place-items: center;
gap: 0.75rem;
text-align: center;
color: rgba(255, 248, 223, 0.72);
}
.queue-scroll {
max-height: 26rem;
overflow: auto;
padding-right: 0.3rem;
scroll-behavior: smooth;
}
.queue-scroll::-webkit-scrollbar {
width: 0.5rem;
}
.queue-scroll::-webkit-scrollbar-thumb {
border-radius: 999px;
background: rgba(255, 216, 77, 0.36);
}
@media (max-width: 1024px) {
.display-layout {
flex: initial;
min-height: auto;
grid-template-columns: 1fr;
}
.display-player-panel {
min-height: auto;
}
.display-player-shell {
height: auto;
}
.display-player-frame {
height: auto;
}
.display-header {
flex-direction: column;
}
.display-header-meta {
width: 100%;
justify-content: space-between;
}
}
@media (max-width: 720px) {
.page-shell {
width: min(100%, calc(100% - 1rem));
padding-top: 0.6rem;
}
.queue-card {
flex-direction: column;
gap: 0.75rem;
padding: 0.8rem;
}
.queue-card__thumb {
width: 100%;
height: 10rem;
}
.queue-card__rail {
min-width: 0;
align-items: stretch;
}
.display-header-meta {
flex-direction: column;
}
.display-qr-card {
width: min(12rem, 100%);
}
.hero-title {
font-size: clamp(2.1rem, 13vw, 3.4rem);
}
.hero-subtitle,
.section-copy,
.muted-copy {
font-size: 1rem;
}
.section-title {
font-size: 1.6rem;
}
.logo-mark__image {
width: min(10rem, 48vw);
}
.guest-layout {
grid-template-columns: 1fr;
}
.guest-layout > :first-child {
order: 1;
}
.guest-layout > :last-child {
order: 2;
}
.search-card {
gap: 0.75rem;
padding: 0.6rem;
}
.search-card__image {
width: 4.75rem;
height: 3.35rem;
}
.queue-card__title {
font-size: clamp(1.45rem, 8vw, 2rem);
}
.queue-card__artist {
font-size: 1.1rem;
}
.queue-card__meta {
margin-top: 0.5rem;
}
.kapow-button {
min-height: 3.2rem;
padding: 0.8rem 1rem;
}
}