beatsaber-pricing/styles.css

542 lines
10 KiB
CSS

:root {
--bg-dark: #090B10;
--bg-panel: rgba(18, 22, 36, 0.7);
--bg-panel-heavy: rgba(18, 22, 36, 0.95);
--neon-blue: #00E5FF;
--neon-red: #FF0055;
--text-main: #FFFFFF;
--text-muted: #A0AABF;
--text-dark: #121A2F;
--border-radius: 12px;
--transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Outfit', sans-serif;
background-color: var(--bg-dark);
color: var(--text-main);
line-height: 1.6;
min-height: 100vh;
position: relative;
overflow-x: hidden;
padding-bottom: 100px; /* Space for total bar */
}
/* Background Glows */
.bg-glow {
position: fixed;
width: 50vw;
height: 50vw;
border-radius: 50%;
filter: blur(150px);
z-index: -1;
opacity: 0.15;
animation: float 10s infinite alternate ease-in-out;
}
.bg-blue {
background: var(--neon-blue);
top: -10%;
left: -10%;
}
.bg-red {
background: var(--neon-red);
bottom: -10%;
right: -10%;
animation-delay: -5s;
}
@keyframes float {
0% { transform: translateY(0) scale(1); }
100% { transform: translateY(50px) scale(1.1); }
}
/* Layout */
.container {
max-width: 900px;
margin: 0 auto;
padding: 2rem;
}
/* Glass Panels */
.glass-panel {
background: var(--bg-panel);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: var(--border-radius);
padding: 2rem;
margin-bottom: 2rem;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
transition: var(--transition);
}
.glass-panel:hover {
border-color: rgba(255, 255, 255, 0.1);
transform: translateY(-2px);
}
.glass-panel-heavy {
background: var(--bg-panel-heavy);
backdrop-filter: blur(25px);
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Typography */
h1.glitch-text {
font-size: 3rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 0.5rem;
background: linear-gradient(90deg, var(--neon-blue), var(--neon-red));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
position: relative;
}
h2 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.75rem;
}
.subtitle {
color: var(--text-muted);
font-size: 1.1rem;
max-width: 600px;
margin: 0 auto 1.5rem;
}
.section-desc {
color: var(--text-muted);
font-size: 0.95rem;
margin-bottom: 1.5rem;
}
.text-center { text-align: center; }
.hidden { display: none !important; }
/* Logo */
.site-logo {
max-width: 150px;
max-height: 150px;
border-radius: 50%;
margin-bottom: 1.5rem;
box-shadow: 0 0 20px rgba(0,229,255,0.3);
border: 2px solid rgba(255,255,255,0.1);
object-fit: cover;
animation: fadeIn 0.5s ease-out;
}
/* Colors & Neons */
.icon-blue { color: var(--neon-blue); text-shadow: 0 0 10px var(--neon-blue); }
.icon-red { color: var(--neon-red); text-shadow: 0 0 10px var(--neon-red); }
.neon-text-blue { color: var(--neon-blue); text-shadow: 0 0 8px rgba(0,229,255,0.6); font-weight: 800; }
.neon-text-red { color: var(--neon-red); text-shadow: 0 0 8px rgba(255,0,85,0.6); font-weight: 800; }
/* Social Links */
.social-container {
display: flex;
justify-content: center;
gap: 1.5rem;
margin-top: 1rem;
}
.social-link {
color: var(--text-main);
font-size: 1.5rem;
transition: var(--transition);
text-decoration: none;
opacity: 0.8;
}
.social-link:hover {
opacity: 1;
color: var(--neon-blue);
transform: scale(1.2);
text-shadow: 0 0 10px var(--neon-blue);
}
/* Input Group */
.input-group {
display: flex;
gap: 1rem;
margin-bottom: 1.5rem;
}
input[type="text"] {
flex: 1;
background: rgba(0,0,0,0.3);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 8px;
padding: 1rem 1.5rem;
color: white;
font-size: 1.1rem;
font-family: inherit;
transition: var(--transition);
}
input[type="text"]:focus {
outline: none;
border-color: var(--neon-blue);
box-shadow: 0 0 15px rgba(0,229,255,0.2);
background: rgba(0,0,0,0.5);
}
/* Buttons */
.neon-btn {
background: transparent;
border: 2px solid var(--neon-blue);
color: var(--neon-blue);
padding: 1rem 2rem;
font-family: inherit;
font-size: 1.1rem;
font-weight: 600;
border-radius: 8px;
cursor: pointer;
transition: var(--transition);
text-shadow: 0 0 5px var(--neon-blue);
box-shadow: inset 0 0 10px rgba(0,229,255,0.1), 0 0 10px rgba(0,229,255,0.1);
display: flex;
align-items: center;
gap: 0.5rem;
white-space: nowrap;
}
.neon-btn:hover {
background: var(--neon-blue);
color: var(--text-dark);
box-shadow: 0 0 20px var(--neon-blue);
text-shadow: none;
}
.neon-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
box-shadow: none;
border-color: var(--text-muted);
color: var(--text-muted);
}
/* Video Info */
.video-info {
background: rgba(0,0,0,0.3);
border-radius: 8px;
padding: 1.5rem;
border: 1px solid rgba(255,255,255,0.05);
animation: fadeIn 0.4s ease-out;
}
.info-row {
display: flex;
justify-content: space-between;
margin-bottom: 0.75rem;
font-size: 1.1rem;
}
.info-row.highlight {
font-size: 1.3rem;
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px dashed rgba(255,255,255,0.1);
}
.yt-title {
color: var(--neon-blue);
font-weight: 600;
max-width: 60%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: right;
}
.help-text {
font-size: 0.85rem;
color: var(--text-muted);
margin-top: 1rem;
}
.error-msg {
color: var(--neon-red);
background: rgba(255,0,85,0.1);
padding: 1rem;
border-radius: 8px;
border: 1px solid rgba(255,0,85,0.3);
margin-top: 1rem;
font-size: 0.95rem;
animation: fadeIn 0.3s;
}
/* Options Grid */
.options-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
transition: opacity 0.3s;
}
.options-grid .glass-panel {
margin-bottom: 0;
}
.disabled-until-fetch {
opacity: 0.4;
pointer-events: none;
filter: grayscale(1);
}
/* Option Items (Radio / Checkbox) */
.option-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.option-item {
display: flex;
align-items: flex-start;
padding: 1rem;
background: rgba(0,0,0,0.2);
border: 1px solid rgba(255,255,255,0.05);
border-radius: 8px;
cursor: pointer;
transition: var(--transition);
position: relative;
overflow: hidden;
}
.option-item:hover {
background: rgba(255,255,255,0.05);
transform: translateX(4px);
}
.option-item input {
display: none;
}
.option-content {
flex: 1;
display: flex;
flex-direction: column;
}
.option-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.25rem;
}
.option-name {
font-weight: 600;
font-size: 1.05rem;
}
.option-price {
font-variant-numeric: tabular-nums;
color: var(--neon-blue);
font-weight: 800;
}
.option-description {
font-size: 0.85rem;
color: var(--text-muted);
line-height: 1.4;
}
/* Checkbox/Radio Indicator */
.indicator {
width: 20px;
height: 20px;
border: 2px solid var(--text-muted);
border-radius: 4px;
margin-right: 1rem;
margin-top: 2px;
flex-shrink: 0;
transition: var(--transition);
display: flex;
align-items: center;
justify-content: center;
}
input[type="radio"] + .indicator {
border-radius: 50%;
}
input:checked + .indicator {
border-color: var(--neon-blue);
background: rgba(0,229,255,0.2);
box-shadow: 0 0 10px rgba(0,229,255,0.4);
}
input[type="radio"]:checked + .indicator::after {
content: '';
width: 10px;
height: 10px;
background: var(--neon-blue);
border-radius: 50%;
}
input[type="checkbox"]:checked + .indicator::after {
content: '✓';
color: var(--neon-blue);
font-size: 14px;
font-weight: bold;
}
/* Glow Borders for Active Items */
.option-item.active {
border-color: rgba(0,229,255,0.5);
background: rgba(0,229,255,0.05);
}
/* Base vs Extra Highlights */
#base-difficulty-options .option-item.active {
border-color: rgba(0,229,255,0.5);
}
#extra-difficulty-options .option-item.active {
border-color: rgba(255,0,85,0.5);
}
#extra-difficulty-options input:checked + .indicator {
border-color: var(--neon-red);
background: rgba(255,0,85,0.2);
box-shadow: 0 0 10px rgba(255,0,85,0.4);
}
#extra-difficulty-options input[type="checkbox"]:checked + .indicator::after {
color: var(--neon-red);
}
/* Footer Section */
.footer-text {
color: var(--text-muted);
font-size: 0.9rem;
opacity: 0.6;
margin-top: 2rem;
margin-bottom: 2rem;
}
/* Total Sticky Bar */
.total-bar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
padding: 1.5rem 2rem;
z-index: 100;
display: flex;
justify-content: center;
box-shadow: 0 -10px 40px rgba(0,0,0,0.8);
}
.total-content {
max-width: 900px;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.price-container {
display: flex;
align-items: center;
gap: 1.5rem;
}
.checkout-btn {
font-size: 1rem;
padding: 0.75rem 1.5rem;
text-decoration: none;
background: var(--neon-blue);
color: var(--text-dark);
border: none;
box-shadow: 0 0 15px var(--neon-blue);
}
.checkout-btn:hover {
background: white;
color: var(--text-dark);
box-shadow: 0 0 25px white;
}
.checkout-btn i {
margin-right: 0.25rem;
}
.total-info {
display: flex;
flex-direction: column;
}
.selected-summary {
font-size: 0.9rem;
color: var(--text-muted);
max-width: 500px;
line-height: 1.3;
margin-top: 0.25rem;
}
.discount-summary {
font-size: 0.95rem;
color: #00E676; /* Green for discount */
font-weight: 600;
margin-top: 0.2rem;
animation: fadeIn 0.3s ease-out;
}
.total-label {
font-size: 1.5rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
}
.total-price {
font-size: 2.5rem;
font-variant-numeric: tabular-nums;
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
/* Responsive */
@media (max-width: 768px) {
.options-grid {
grid-template-columns: 1fr;
}
.input-group {
flex-direction: column;
}
.neon-btn {
width: 100%;
justify-content: center;
}
h1.glitch-text {
font-size: 2rem;
}
.total-label {
font-size: 1.2rem;
}
.total-price {
font-size: 2rem;
}
}