/var/www/coeditor.org/users/coeditor.org/assets/css
Edit: /var/www/coeditor.org/users/coeditor.org/assets/css/base.css (43099B)
/* CSS Custom Properties */
:root {
/* Brand */
--primaryColor: #007bff;
--secondaryColor: #6610f2;
--fontFamily: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
/* Surfaces */
--bg: #ffffff;
--bg-alt: #f8f9fa;
--bg-hover: #f5f5f5;
/* Text */
--text: #111111;
--text-body: #333333;
--text-muted: #666666;
--color-on-primary: #ffffff;
/* Borders */
--border: #e0e0e0;
--border-light: #f0f0f0;
/* Shadows */
--shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
--shadow-md: 0 4px 12px rgba(0,0,0,0.12);
--shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
--shadow-xl: 0 12px 32px rgba(0,0,0,0.12);
/* Border Radius */
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
/* Accent */
--rating-color: #ffc107;
--overlay-bg: rgba(0,0,0,0.7);
/* Footer */
--footer-bg: var(--text);
--footer-text: var(--bg);
--footer-muted: var(--text-muted);
--footer-border: rgba(255,255,255,0.1);
--header-anchor-offset: 64px;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
font-family: var(--fontFamily);
background: var(--bg);
color: var(--text);
line-height: 1.6;
}
.container {
max-width: 1140px;
margin: 0 auto;
padding: 0 20px;
}
.block {
padding: 60px 0;
}
/* Header Styles */
.block-header {
padding: 0;
box-shadow: var(--shadow-sm);
transition: all 0.3s ease;
background: var(--bg);
}
.header-sticky {
position: sticky;
top: 0;
z-index: 100;
background: var(--bg);
}
.header-sticky .container {
transition: padding 0.25s ease, gap 0.25s ease;
}
.header-sticky .logo,
.header-sticky .logo-image,
.header-sticky .menu > a,
.header-sticky .menu-item-has-children,
.header-sticky .btn-header {
transition: all 0.25s ease;
}
.header-sticky.header-scrolled .container {
padding-top: 8px;
padding-bottom: 8px;
gap: 20px;
}
.header-sticky.header-scrolled .logo {
font-size: 20px;
}
.header-sticky.header-scrolled .logo-image {
height: 48px;
}
.header-sticky.header-scrolled .menu > a,
.header-sticky.header-scrolled .menu-item-has-children {
font-size: 15px;
padding-top: 6px;
padding-bottom: 6px;
}
.header-sticky.header-scrolled .btn-header {
padding: 8px 18px;
font-size: 14px;
}
[id] {
scroll-margin-top: var(--header-anchor-offset);
}
.block-header .container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 16px;
position: relative;
gap: 32px;
}
.block-header .logo {
font-size: 24px;
font-weight: 700;
text-decoration: none;
color: inherit;
margin: 0;
display: flex;
align-items: center;
}
.block-header .logo:hover {
opacity: 0.8;
}
.logo-image {
height: 64px;
width: auto;
object-fit: contain;
}
.block-header .menu {
display: flex;
gap: 32px;
align-items: center;
margin: 0;
}
.block-header .menu > a,
.menu-item-has-children {
color: inherit;
text-decoration: none;
font-weight: 500;
font-size: 16px;
transition: opacity 0.2s ease;
position: relative;
padding: 8px 0;
}
.block-header .menu > a:hover,
.menu-item-has-children:hover {
opacity: 0.8;
}
.block-header .menu > a::after {
content: '';
position: absolute;
bottom: 4px;
left: 0;
right: 0;
height: 2px;
background: currentColor;
transform: scaleX(0);
transition: transform 0.2s ease;
}
.block-header .menu > a:hover::after {
transform: scaleX(1);
}
/* Dropdown Menu */
.menu-item-dropdown {
position: relative;
}
.menu-item-has-children {
display: flex;
align-items: center;
gap: 4px;
cursor: pointer;
}
.dropdown-arrow {
font-size: 10px;
transition: transform 0.3s ease;
}
.menu-item-dropdown:hover .dropdown-arrow {
transform: rotate(180deg);
}
.submenu {
position: absolute;
top: 100%;
left: 0;
min-width: 200px;
background: var(--bg);
box-shadow: var(--shadow-md);
border-radius: var(--radius-sm);
padding: 8px 0;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: all 0.3s ease;
z-index: 50;
}
.menu-item-dropdown:hover .submenu {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.submenu a {
display: block;
padding: 10px 20px;
color: var(--text-body);
text-decoration: none;
font-size: 15px;
transition: background 0.2s ease;
}
.submenu a:hover {
background: var(--bg-hover);
}
.block-header .header-nav {
display: flex;
align-items: center;
gap: 24px;
flex: 1;
}
.block-header .header-buttons {
display: flex;
align-items: center;
gap: 10px;
margin-left: auto;
flex-shrink: 0;
}
.header-buttons-mobile {
display: none;
}
/* Menu alignment */
.block-header.menu-left .header-nav {
justify-content: flex-start;
}
.block-header.menu-center .header-nav {
justify-content: center;
}
.block-header.menu-right .header-nav {
justify-content: flex-end;
}
.btn-header {
padding: 10px 24px;
font-size: 15px;
font-weight: 600;
white-space: nowrap;
}
.btn-header.btn-primary {
background: var(--primaryColor);
color: var(--color-on-primary);
border: 2px solid var(--primaryColor);
}
.btn-header.btn-primary:hover {
background: var(--secondaryColor);
color: var(--color-on-primary);
border-color: var(--secondaryColor);
}
.btn-header.btn-outline {
background: var(--bg-alt);
color: var(--text);
border: 2px solid var(--border);
}
.btn-header.btn-outline:hover {
background: var(--primaryColor);
color: var(--color-on-primary);
border-color: var(--primaryColor);
}
/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
display: none;
flex-direction: column;
gap: 4px;
background: none;
border: none;
cursor: pointer;
padding: 8px;
z-index: 101;
order: -1;
}
.mobile-menu-toggle span {
display: block;
width: 25px;
height: 3px;
background: var(--text);
transition: all 0.3s ease;
border-radius: 2px;
}
.mobile-menu-toggle.active span:nth-child(1) {
transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
transform: rotate(-45deg) translate(6px, -6px);
}
.btn-primary-outline {
background: transparent;
color: var(--primaryColor);
border: 2px solid var(--primaryColor);
}
.btn-primary-outline:hover {
background: var(--primaryColor);
color: var(--color-on-primary);
transform: translateY(0);
}
/* Dynamic Form Block */
.block-form {
padding: 60px 0;
}
.form-card {
max-width: 760px;
margin: 0 auto;
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
padding: 28px;
}
.form-title {
margin: 0 0 8px;
font-size: 2rem;
line-height: 1.2;
}
.form-subtitle {
margin: 0 0 20px;
color: var(--text-muted);
}
.dynamic-json-form {
display: grid;
gap: 14px;
}
.form-field {
display: grid;
gap: 6px;
}
.form-label {
font-size: 0.95rem;
font-weight: 600;
}
.dynamic-json-form input,
.dynamic-json-form textarea,
.dynamic-json-form select {
width: 100%;
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 12px 14px;
font: inherit;
color: var(--text);
background: var(--bg);
}
.dynamic-json-form input:focus,
.dynamic-json-form textarea:focus,
.dynamic-json-form select:focus {
outline: none;
border-color: var(--primaryColor);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--primaryColor) 20%, transparent);
}
.form-checkbox-label {
display: flex;
align-items: flex-start;
gap: 10px;
cursor: pointer;
}
.form-checkbox-label input[type="checkbox"] {
width: 18px;
height: 18px;
margin-top: 3px;
}
.form-submit-btn {
justify-self: start;
}
.form-submit-btn:disabled {
opacity: 0.7;
cursor: wait;
}
.form-submit-status {
min-height: 1.4em;
margin: 0;
font-size: 0.95rem;
}
.form-submit-status.is-loading {
color: var(--text-muted);
}
.form-submit-status.is-success {
color: var(--primaryColor);
}
.form-submit-status.is-error {
color: var(--text-body);
}
/* Hero Styles */
.block-hero {
text-align: center;
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
/* Hero with background */
.block-hero.hero-with-background {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
color: var(--color-on-primary);
}
.block-hero.hero-with-background h1,
.block-hero.hero-with-background p {
color: var(--color-on-primary);
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
/* Video Background */
.hero-video-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: 0;
}
.hero-video-background video {
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
object-fit: cover;
}
/* Overlay */
.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
z-index: 1;
}
/* Content */
.hero-content {
position: relative;
z-index: 2;
}
/* Text Alignment */
.block-hero[data-text-align="left"] {
text-align: left;
}
.block-hero[data-text-align="left"] p {
margin-left: 0;
margin-right: 0;
}
.block-hero[data-text-align="right"] {
text-align: right;
}
.block-hero[data-text-align="right"] p {
margin-left: auto;
margin-right: 0;
}
/* Hero Split Layout */
.hero-split {
text-align: left;
}
.hero-content-split {
display: flex;
align-items: center;
gap: 60px;
}
.hero-content-split .hero-text {
flex: 1;
min-width: 0;
}
.hero-content-split .hero-text p {
margin-left: 0;
margin-right: 0;
}
.hero-content-split .hero-widget {
flex: 0 0 420px;
display: flex;
flex-direction: column;
align-items: center;
}
/* Fortune Wheel Widget */
.fortune-wheel-widget {
text-align: center;
width: 100%;
}
.fortune-wheel-title {
font-size: 22px;
font-weight: 700;
margin: 0 0 16px 0;
color: inherit;
}
.fortune-wheel-container {
position: relative;
display: inline-block;
margin: 0 auto;
}
.fortune-wheel-canvas {
display: block;
max-width: 100%;
height: auto;
border-radius: 50%;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.3), 0 0 60px rgba(99, 102, 241, 0.2);
}
.fortune-wheel-pointer {
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 0;
border-left: 16px solid transparent;
border-right: 16px solid transparent;
border-top: 30px solid var(--primary-color, #d4af37);
z-index: 10;
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.fortune-wheel-spin-btn {
margin-top: 20px;
font-size: 18px;
font-weight: 700;
padding: 14px 40px;
letter-spacing: 1px;
text-transform: uppercase;
animation: pulse-btn 2s ease-in-out infinite;
}
.fortune-wheel-spin-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
animation: none;
}
@keyframes pulse-btn {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
/* Fortune Wheel Modal */
.fortune-wheel-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
align-items: center;
justify-content: center;
}
.fortune-wheel-modal.active {
display: flex;
}
.fortune-wheel-modal-backdrop {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--overlay-bg);
backdrop-filter: blur(4px);
}
.fortune-wheel-modal-content {
position: relative;
background: linear-gradient(145deg, #1a1a2e, #16213e);
border: 2px solid var(--primary-color, #d4af37);
border-radius: 20px;
padding: 40px 48px;
text-align: center;
max-width: 420px;
width: 90%;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.15);
animation: modalAppear 0.4s ease;
}
@keyframes modalAppear {
from { transform: scale(0.7) translateY(30px); opacity: 0; }
to { transform: scale(1) translateY(0); opacity: 1; }
}
.fortune-wheel-modal-close {
position: absolute;
top: 12px;
right: 16px;
background: none;
border: none;
color: var(--color-on-primary);
font-size: 28px;
cursor: pointer;
opacity: 0.6;
transition: opacity 0.2s;
line-height: 1;
padding: 4px;
}
.fortune-wheel-modal-close:hover {
opacity: 1;
}
.fortune-wheel-modal-icon {
font-size: 56px;
margin-bottom: 12px;
animation: bounceIcon 0.6s ease 0.3s both;
}
@keyframes bounceIcon {
0% { transform: scale(0); }
50% { transform: scale(1.3); }
100% { transform: scale(1); }
}
.fortune-wheel-modal-title {
font-size: 24px;
font-weight: 700;
color: var(--primary-color, #d4af37);
margin: 0 0 16px 0;
}
.fortune-wheel-result-text {
font-size: 36px;
font-weight: 800;
color: var(--color-on-primary);
margin: 0 0 12px 0;
text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}
.fortune-wheel-modal-sub {
font-size: 15px;
color: rgba(255, 255, 255, 0.7);
margin: 0 0 24px 0;
}
.fortune-wheel-modal-btn {
display: inline-block;
font-size: 16px;
font-weight: 700;
padding: 14px 40px;
text-transform: uppercase;
letter-spacing: 1px;
}
/* ================================
Slot Machine Widget
================================ */
.slot-machine-widget {
text-align: center;
width: 100%;
}
.slot-machine-title {
font-size: 22px;
font-weight: 700;
margin: 0 0 16px 0;
color: inherit;
}
.slot-machine-body {
background: linear-gradient(180deg, #2c1654 0%, #1a0f33 100%);
border-radius: 20px;
border: 3px solid #d4af37;
box-shadow: 0 0 30px rgba(212, 175, 55, 0.3), inset 0 0 60px rgba(0, 0, 0, 0.4);
padding: 20px;
max-width: 380px;
margin: 0 auto;
position: relative;
overflow: hidden;
}
.slot-machine-body::before {
content: '';
position: absolute;
top: 0;
left: -50%;
width: 200%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
pointer-events: none;
}
.slot-machine-top {
background: linear-gradient(180deg, #d4af37, #b8941f);
border-radius: 12px 12px 0 0;
padding: 10px 16px;
margin: -20px -20px 16px -20px;
border-bottom: 3px solid #a07c18;
}
.slot-machine-label {
font-size: 20px;
font-weight: 800;
color: #1a0f33;
letter-spacing: 3px;
text-transform: uppercase;
text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}
.slot-machine-display {
position: relative;
background: #0d0820;
border-radius: var(--radius-md);
padding: 16px 12px;
border: 2px solid rgba(212, 175, 55, 0.4);
}
.slot-machine-reels {
display: flex;
gap: 8px;
justify-content: center;
}
.slot-reel {
width: 90px;
height: 100px;
overflow: hidden;
background: linear-gradient(180deg, #111 0%, #1a1a2e 50%, #111 100%);
border-radius: var(--radius-sm);
border: 2px solid rgba(212, 175, 55, 0.3);
position: relative;
}
.slot-reel::before,
.slot-reel::after {
content: '';
position: absolute;
left: 0;
right: 0;
height: 25px;
z-index: 2;
pointer-events: none;
}
.slot-reel::before {
top: 0;
background: linear-gradient(180deg, rgba(13, 8, 32, 0.9), transparent);
}
.slot-reel::after {
bottom: 0;
background: linear-gradient(0deg, rgba(13, 8, 32, 0.9), transparent);
}
.slot-reel-strip {
transition: transform 0.1s;
will-change: transform;
}
.slot-symbol {
width: 90px;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
font-size: 48px;
line-height: 1;
user-select: none;
}
.slot-machine-line {
position: absolute;
left: 8px;
right: 8px;
top: 50%;
transform: translateY(-50%);
height: 3px;
background: linear-gradient(90deg, transparent, #d4af37, transparent);
z-index: 3;
pointer-events: none;
box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}
.slot-machine-bottom {
margin-top: 16px;
}
.slot-machine-spin-btn {
font-size: 18px;
font-weight: 700;
padding: 14px 48px;
letter-spacing: 2px;
text-transform: uppercase;
animation: pulse-btn 2s ease-in-out infinite;
width: 100%;
}
.slot-machine-spin-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
animation: none;
}
/* Slot Machine Spinning Animation */
.slot-reel.spinning .slot-reel-strip {
animation: slotSpin 0.1s linear infinite;
}
@keyframes slotSpin {
0% { transform: translateY(0); }
100% { transform: translateY(-100px); }
}
.slot-reel.stopped .slot-reel-strip {
animation: none;
}
/* Slot Machine Win Glow */
.slot-machine-widget.win .slot-machine-display {
animation: slotWinGlow 0.5s ease-in-out 3;
border-color: #d4af37;
}
@keyframes slotWinGlow {
0%, 100% { box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.2); }
50% { box-shadow: inset 0 0 30px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3); }
}
/* Slot Machine Modal — reuses fortune wheel modal pattern */
.slot-machine-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
align-items: center;
justify-content: center;
}
.slot-machine-modal.active {
display: flex;
}
.slot-machine-modal-backdrop {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--overlay-bg);
backdrop-filter: blur(4px);
}
.slot-machine-modal-content {
position: relative;
background: linear-gradient(145deg, #1a1a2e, #16213e);
border: 2px solid var(--primary-color, #d4af37);
border-radius: 20px;
padding: 40px 48px;
text-align: center;
max-width: 420px;
width: 90%;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.15);
animation: modalAppear 0.4s ease;
}
.slot-machine-modal-close {
position: absolute;
top: 12px;
right: 16px;
background: none;
border: none;
color: var(--color-on-primary);
font-size: 28px;
cursor: pointer;
opacity: 0.6;
transition: opacity 0.2s;
line-height: 1;
padding: 4px;
}
.slot-machine-modal-close:hover {
opacity: 1;
}
.slot-machine-modal-icon {
font-size: 56px;
margin-bottom: 12px;
animation: bounceIcon 0.6s ease 0.3s both;
}
.slot-machine-modal-title {
font-size: 24px;
font-weight: 700;
color: var(--primary-color, #d4af37);
margin: 0 0 16px 0;
}
.slot-machine-result-text {
font-size: 36px;
font-weight: 800;
color: var(--color-on-primary);
margin: 0 0 12px 0;
text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}
.slot-machine-modal-sub {
font-size: 15px;
color: rgba(255, 255, 255, 0.7);
margin: 0 0 24px 0;
}
.slot-machine-modal-btn {
display: inline-block;
font-size: 16px;
font-weight: 700;
padding: 14px 40px;
text-transform: uppercase;
letter-spacing: 1px;
}
/* Hero Widget Image */
.hero-widget-image {
max-width: 100%;
height: auto;
border-radius: var(--radius-md);
}
.block-hero h1 {
font-size: 48px;
font-weight: 700;
margin: 0 0 20px 0;
line-height: 1.2;
}
.block-hero p {
font-size: 20px;
color: var(--text-muted);
margin: 0 0 32px 0;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
/* Footer Styles */
.block-footer {
text-align: center;
padding: 40px 0;
background: var(--footer-bg);
color: var(--footer-text);
}
.block-footer p {
margin: 0;
opacity: 0.8;
}
/* Extended Footer v2 Styles */
.block-footer-extended {
padding: 60px 0 30px 0;
text-align: left;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 40px;
margin-bottom: 40px;
padding-bottom: 40px;
border-bottom: 1px solid var(--footer-border);
}
.footer-column {
display: flex;
flex-direction: column;
}
.footer-company {
max-width: 300px;
}
.footer-logo {
max-width: 150px;
height: auto;
margin-bottom: 16px;
}
.footer-company-name {
font-size: 24px;
font-weight: 700;
margin: 0 0 12px 0;
color: inherit;
}
.footer-description {
font-size: 14px;
line-height: 1.6;
margin: 0;
opacity: 0.8;
}
.footer-column-title {
font-size: 16px;
font-weight: 600;
margin: 0 0 16px 0;
color: inherit;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.footer-links,
.footer-contacts {
list-style: none;
padding: 0;
margin: 0;
}
.footer-links li,
.footer-contacts li {
margin-bottom: 10px;
}
.footer-links a,
.footer-contacts a {
color: inherit;
text-decoration: none;
font-size: 14px;
opacity: 0.8;
transition: opacity 0.2s ease;
}
.footer-links a:hover,
.footer-contacts a:hover {
opacity: 1;
text-decoration: underline;
}
.footer-contacts li {
display: flex;
align-items: flex-start;
gap: 8px;
font-size: 14px;
}
.footer-contact-icon {
font-size: 16px;
opacity: 0.8;
}
.footer-bottom {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
padding-top: 20px;
}
.footer-social {
display: flex;
gap: 16px;
align-items: center;
}
.footer-social-link {
width: 40px;
height: 40px;
border-radius: 50%;
background: var(--footer-border);
display: flex;
align-items: center;
justify-content: center;
color: inherit;
text-decoration: none;
font-size: 20px;
transition: all 0.3s ease;
position: relative;
}
.footer-social-link svg {
width: 20px;
height: 20px;
fill: currentColor;
transition: all 0.3s ease;
}
.footer-social-link:hover {
background: rgba(255,255,255,0.2);
transform: translateY(-3px);
}
.footer-social-link:hover svg {
transform: scale(1.1);
}
.footer-copyright {
font-size: 14px;
opacity: 0.7;
}
/* Button Styles */
.btn {
display: inline-block;
padding: 14px 28px;
border-radius: var(--radius-sm);
background: var(--primaryColor);
color: var(--color-on-primary);
text-decoration: none;
font-weight: 600;
font-size: 16px;
transition: all 0.3s ease;
border: none;
cursor: pointer;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
/* Responsive */
@media (max-width: 768px) {
.block-hero h1 {
font-size: 32px;
}
.block-hero p {
font-size: 18px;
}
/* Hero Split - stack on mobile */
.hero-content-split {
flex-direction: column;
gap: 32px;
text-align: center;
}
.hero-content-split .hero-text p {
margin-left: auto;
margin-right: auto;
}
.hero-content-split .hero-widget {
flex: none;
width: 100%;
max-width: 320px;
margin: 0 auto;
}
.fortune-wheel-canvas {
width: 280px !important;
height: 280px !important;
}
.fortune-wheel-spin-btn {
font-size: 16px;
padding: 12px 32px;
}
}
/* Section Common Styles */
.section-title {
font-size: 40px;
font-weight: 700;
text-align: center;
margin: 0 0 16px 0;
line-height: 1.2;
}
.section-subtitle {
font-size: 18px;
color: var(--text-muted);
text-align: center;
margin: 0 0 48px 0;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
/* Features Block */
.block-features {
background: var(--bg-alt);
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 32px;
}
.features-cols-2 .features-grid { grid-template-columns: repeat(2, 1fr); }
.features-cols-3 .features-grid { grid-template-columns: repeat(3, 1fr); }
.features-cols-4 .features-grid { grid-template-columns: repeat(4, 1fr); }
.features-cols-5 .features-grid { grid-template-columns: repeat(5, 1fr); }
.features-cols-6 .features-grid { grid-template-columns: repeat(6, 1fr); }
.feature-item {
background: var(--bg);
padding: 32px;
border-radius: var(--radius-md);
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
}
.feature-icon {
font-size: 48px;
margin-bottom: 16px;
}
.feature-title {
font-size: 20px;
font-weight: 600;
margin: 0 0 12px 0;
color: var(--text);
}
.feature-description {
font-size: 16px;
color: var(--text-muted);
margin: 0;
line-height: 1.6;
}
/* CTA Block */
.block-cta {
background: linear-gradient(135deg, var(--primaryColor) 0%, var(--secondaryColor) 100%);
color: var(--color-on-primary);
}
.cta-content {
text-align: center;
max-width: 800px;
margin: 0 auto;
}
.cta-title {
font-size: 42px;
font-weight: 700;
margin: 0 0 16px 0;
line-height: 1.2;
}
.cta-subtitle {
font-size: 20px;
margin: 0 0 32px 0;
opacity: 0.95;
}
.btn-cta {
background: var(--color-on-primary);
color: var(--primaryColor);
padding: 16px 40px;
font-size: 18px;
font-weight: 700;
}
.btn-cta:hover {
background: var(--color-on-primary);
}
/* Testimonials Block */
.testimonials-wrapper {
position: relative;
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 32px;
}
.testimonials-grid {
display: flex;
gap: 24px;
overflow-x: auto;
overflow-y: hidden;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
-ms-overflow-style: none;
padding: 8px 0 24px 0;
scroll-behavior: smooth;
flex: 1;
}
.testimonials-grid::-webkit-scrollbar {
display: none;
}
.testimonial-item {
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 32px;
transition: box-shadow 0.3s ease;
flex: 0 0 350px;
scroll-snap-align: start;
}
.testimonial-item:hover {
box-shadow: var(--shadow-lg);
}
.testimonial-rating {
color: var(--rating-color);
font-size: 20px;
margin-bottom: 12px;
}
.testimonial-text {
font-size: 16px;
color: var(--text-body);
line-height: 1.7;
margin: 0 0 24px 0;
font-style: italic;
}
.testimonial-author {
display: flex;
align-items: center;
gap: 16px;
}
.testimonial-avatar {
width: 56px;
height: 56px;
border-radius: 50%;
object-fit: cover;
}
.testimonial-name {
font-weight: 600;
font-size: 16px;
color: var(--text);
}
.testimonial-role {
font-size: 14px;
color: var(--text-muted);
margin-top: 2px;
}
/* Testimonials Navigation Arrows */
.testimonials-nav {
background: var(--bg);
border: 2px solid var(--border);
border-radius: 50%;
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.3s ease;
flex-shrink: 0;
color: var(--text-body);
padding: 0;
}
.testimonials-nav:hover {
background: var(--bg-hover);
border-color: var(--border);
transform: scale(1.1);
}
.testimonials-nav:active {
transform: scale(0.95);
}
.testimonials-nav:disabled {
opacity: 0.3;
cursor: not-allowed;
transform: scale(1);
}
.testimonials-nav svg {
width: 24px;
height: 24px;
}
/* Testimonials Dots */
.testimonials-dots {
display: flex;
justify-content: center;
gap: 12px;
margin-top: 0;
}
.testimonials-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--border);
border: none;
padding: 0;
cursor: pointer;
transition: all 0.3s ease;
}
.testimonials-dot:hover {
background: var(--text-muted);
transform: scale(1.2);
}
.testimonials-dot.active {
background: var(--primaryColor);
width: 32px;
border-radius: 5px;
}
/* Pricing Block */
.block-pricing {
background: var(--bg-alt);
}
.pricing-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 32px;
max-width: 1000px;
margin: 0 auto;
}
.pricing-card {
background: var(--bg);
border: 2px solid var(--border);
border-radius: var(--radius-lg);
padding: 40px 32px;
text-align: center;
transition: all 0.3s ease;
display: flex;
flex-direction: column;
}
.pricing-card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-xl);
}
.pricing-card-highlighted {
border-color: var(--primaryColor);
border-width: 3px;
position: relative;
box-shadow: var(--shadow-lg);
}
.pricing-name {
font-size: 24px;
font-weight: 700;
margin: 0 0 16px 0;
color: var(--text);
}
.pricing-price {
font-size: 48px;
font-weight: 700;
color: var(--primaryColor);
margin: 0 0 8px 0;
}
.pricing-period {
font-size: 18px;
font-weight: 400;
color: var(--text-muted);
display: block;
margin-top: 4px;
}
.pricing-description {
font-size: 16px;
color: var(--text-muted);
margin: 0 0 24px 0;
}
.pricing-features {
list-style: none;
padding: 0;
margin: 0 0 32px 0;
flex-grow: 1;
}
.pricing-features li {
padding: 12px 0;
border-bottom: 1px solid var(--border-light);
font-size: 15px;
color: var(--text-body);
}
.pricing-features li:last-child {
border-bottom: none;
}
.btn-primary {
background: var(--primaryColor);
color: var(--color-on-primary);
}
.btn-secondary {
background: var(--bg);
color: var(--primaryColor);
border: 2px solid var(--primaryColor);
}
.btn-secondary:hover {
background: var(--primaryColor);
color: var(--color-on-primary);
}
/* Content Block */
.block-content {
background: var(--bg);
}
.content-body {
max-width: 900px;
margin: 0 auto;
font-size: 17px;
line-height: 1.8;
color: var(--text-body);
}
.content-body.text-left {
text-align: left;
}
.content-body.text-center {
text-align: center;
}
.content-body.text-right {
text-align: right;
}
.content-body h2,
.content-body h3,
.content-body h4 {
margin-top: 32px;
margin-bottom: 16px;
font-weight: 600;
color: var(--text);
}
.content-body h2 {
font-size: 32px;
}
.content-body h3 {
font-size: 24px;
}
.content-body h4 {
font-size: 20px;
}
.content-body p {
margin: 16px 0;
}
.content-body img {
max-width: 100%;
height: auto;
border-radius: var(--radius-sm);
margin: 24px 0;
}
.content-body table {
width: 100%;
border-collapse: collapse;
margin: 24px 0;
background: var(--bg);
border-radius: var(--radius-sm);
overflow: hidden;
box-shadow: var(--shadow-sm);
display: block;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.content-body table th,
.content-body table td {
padding: 12px 16px;
text-align: left;
border-bottom: 1px solid var(--border);
}
.content-body table th {
background: var(--bg-alt);
font-weight: 600;
color: var(--text);
}
.content-body table tr:last-child td {
border-bottom: none;
}
.content-body table tr:hover {
background: var(--bg-alt);
}
.content-body ul,
.content-body ol {
margin: 16px 0;
padding-left: 24px;
}
.content-body li {
margin: 8px 0;
}
.content-body blockquote {
margin: 24px 0;
padding: 16px 24px;
border-left: 4px solid var(--primaryColor);
background: var(--bg-alt);
font-style: italic;
}
.content-body code {
background: var(--bg-alt);
padding: 2px 6px;
border-radius: 4px;
font-family: 'Courier New', monospace;
font-size: 0.9em;
}
.content-body pre {
background: var(--bg-alt);
padding: 16px;
border-radius: var(--radius-sm);
overflow-x: auto;
margin: 24px 0;
}
.content-body pre code {
background: none;
padding: 0;
}
/* FAQ Block */
.block-faq {
background: var(--bg-alt);
}
.faq-list {
max-width: 800px;
margin: 0 auto;
}
.faq-item {
background: var(--bg);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
margin-bottom: 16px;
overflow: hidden;
transition: all 0.2s ease;
}
.faq-item:hover {
box-shadow: var(--shadow-md);
}
.faq-item[open] {
border-color: var(--primaryColor);
}
.faq-question {
padding: 20px 24px;
font-size: 18px;
font-weight: 600;
color: var(--text);
cursor: pointer;
list-style: none;
user-select: none;
position: relative;
padding-right: 48px;
}
.faq-question::-webkit-details-marker {
display: none;
}
.faq-question::after {
content: '+';
position: absolute;
right: 24px;
top: 50%;
transform: translateY(-50%);
font-size: 28px;
font-weight: 300;
color: var(--primaryColor);
transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
content: '−';
transform: translateY(-50%) rotate(180deg);
}
.faq-question:hover {
color: var(--primaryColor);
}
.faq-answer {
padding: 0 24px 20px 24px;
font-size: 16px;
line-height: 1.7;
color: var(--text-muted);
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Gallery Block */
.block-gallery {
padding: 80px 0;
}
.gallery-grid {
display: grid;
gap: 20px;
margin-top: 40px;
}
/* Default 3 columns */
.gallery-grid {
grid-template-columns: repeat(3, 1fr);
}
/* Column variations */
.gallery-cols-2 {
grid-template-columns: repeat(2, 1fr);
}
.gallery-cols-3 {
grid-template-columns: repeat(3, 1fr);
}
.gallery-cols-4 {
grid-template-columns: repeat(4, 1fr);
}
.gallery-cols-5 {
grid-template-columns: repeat(5, 1fr);
}
.gallery-cols-6 {
grid-template-columns: repeat(6, 1fr);
}
.gallery-item {
position: relative;
overflow: hidden;
border-radius: var(--radius-md);
aspect-ratio: 1;
}
.gallery-link {
display: block;
position: relative;
width: 100%;
height: 100%;
text-decoration: none;
overflow: hidden;
}
.gallery-image {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-image {
transform: scale(1.1);
}
.gallery-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
color: var(--color-on-primary);
padding: 20px;
transform: translateY(100%);
transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-overlay {
transform: translateY(0);
}
.gallery-title {
font-size: 18px;
font-weight: 600;
margin-bottom: 4px;
}
.gallery-description {
font-size: 14px;
opacity: 0.9;
line-height: 1.4;
}
/* Scroll to Top Button */
.scroll-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
border-radius: 50%;
background: var(--primaryColor);
color: var(--color-on-primary);
border: none;
font-size: 24px;
cursor: pointer;
box-shadow: var(--shadow-md);
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 1000;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.scroll-to-top.visible {
opacity: 1;
visibility: visible;
}
.scroll-to-top:hover {
background: var(--secondaryColor);
transform: translateY(-5px);
box-shadow: var(--shadow-lg);
}
.scroll-to-top:active {
transform: translateY(-2px);
}
/* Author Block */
.author-card {
display: flex;
align-items: flex-start;
gap: 24px;
padding: 32px;
border-radius: var(--radius-md);
border: 1px solid var(--border);
}
.author-avatar-wrap {
flex-shrink: 0;
}
.author-avatar {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
}
.author-info {
flex: 1;
min-width: 0;
}
.author-name {
font-size: 1.4rem;
font-weight: 700;
margin: 0 0 12px 0;
}
.author-bio {
font-size: 0.95rem;
line-height: 1.7;
margin: 0 0 16px 0;
}
.author-links {
display: flex;
flex-wrap: wrap;
gap: 16px;
}
.author-link {
font-size: 0.9rem;
font-weight: 600;
text-decoration: none;
color: var(--primaryColor);
transition: opacity 0.2s;
}
.author-link:hover {
opacity: 0.8;
text-decoration: underline;
}
@media (max-width: 768px) {
.author-card {
flex-direction: column;
align-items: center;
text-align: center;
padding: 24px;
}
.author-avatar {
width: 80px;
height: 80px;
}
.author-links {
justify-content: center;
}
}
/* Payments Block */
.block-payments {
overflow: hidden;
background: var(--footer-bg);
}
.payments-track-wrap {
overflow: hidden;
mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
-webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.payments-track {
display: flex;
align-items: center;
gap: 48px;
padding: 20px 0;
}
.payments-marquee .payments-track {
width: max-content;
animation: payments-scroll 25s linear infinite;
}
.payments-marquee:hover .payments-track {
animation-play-state: paused;
}
@keyframes payments-scroll {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
.payments-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
flex-shrink: 0;
}
.payments-logo {
height: 36px;
width: auto;
max-width: 120px;
object-fit: contain;
filter: grayscale(30%);
opacity: 0.85;
transition: all 0.3s ease;
}
.payments-logo:hover {
filter: grayscale(0%);
opacity: 1;
transform: scale(1.08);
}
.payments-name {
font-size: 0.75rem;
font-weight: 500;
opacity: 0.6;
}
@media (max-width: 768px) {
.payments-track {
gap: 32px;
}
.payments-logo {
height: 28px;
max-width: 90px;
}
}
/* Stickers Block */
.stickers-list {
display: flex;
flex-direction: column;
gap: 16px;
}
.sticker-item {
display: flex;
align-items: center;
gap: 20px;
padding: 16px 24px;
border-radius: var(--radius-md);
border: 1px solid var(--border);
transition: border-color 0.3s, transform 0.2s;
}
.sticker-item:hover {
border-color: var(--text-muted);
transform: translateX(4px);
}
.sticker-image-wrap {
flex-shrink: 0;
}
.sticker-image {
width: 80px;
height: 80px;
object-fit: contain;
border-radius: var(--radius-md);
}
.sticker-text {
flex: 1;
font-size: 1.05rem;
font-weight: 500;
text-align: center;
}
.sticker-btn {
flex-shrink: 0;
padding: 12px 28px;
font-size: 0.95rem;
font-weight: 700;
border-radius: var(--radius-sm);
text-decoration: none;
white-space: nowrap;
}
@media (max-width: 768px) {
.sticker-item {
flex-wrap: wrap;
justify-content: center;
text-align: center;
padding: 16px;
gap: 12px;
}
.sticker-image {
width: 60px;
height: 60px;
}
.sticker-text {
width: 100%;
order: 2;
}
.sticker-btn {
order: 3;
width: 100%;
text-align: center;
}
}
/* Responsive for new blocks */
@media (max-width: 768px) {
.block-header .container {
flex-wrap: nowrap;
}
.block-header .mobile-menu-toggle {
display: flex !important;
}
.block-header .header-buttons .btn-header:not(:first-child) {
display: none;
}
.block-header .header-buttons .btn-header {
padding: 8px 16px;
font-size: 13px;
}
.block-header .header-nav {
position: fixed;
top: 0;
left: -100%;
width: 280px;
height: 100vh;
background: var(--bg);
color: var(--text);
flex-direction: column;
justify-content: flex-start;
gap: 0;
padding: 80px 0 20px;
box-shadow: 4px 0 20px rgba(0,0,0,0.1);
transition: left 0.3s ease;
overflow-y: auto;
z-index: 100;
}
.header-buttons-mobile {
display: flex;
flex-direction: column;
gap: 10px;
padding: 24px;
margin-top: auto;
border-top: 1px solid var(--border-light);
}
.header-buttons-mobile .btn-header {
width: 100%;
text-align: center;
justify-content: center;
}
.block-header .header-nav.active {
left: 0;
}
.block-header .menu {
gap: 0;
flex-direction: column;
width: 100%;
align-items: stretch;
}
.block-header .menu > a,
.menu-item-has-children {
padding: 16px 24px;
font-size: 16px;
border-bottom: 1px solid var(--border-light);
color: var(--text-body) !important;
}
.block-header .menu > a::after {
display: none;
}
.menu-item-dropdown {
width: 100%;
}
.menu-item-has-children {
justify-content: space-between;
}
.submenu {
position: static;
width: 100%;
opacity: 1;
visibility: visible;
transform: none;
box-shadow: none;
padding: 0;
background: var(--bg-alt);
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease;
}
.menu-item-dropdown.active .submenu {
max-height: 300px;
}
.menu-item-dropdown.active .dropdown-arrow {
transform: rotate(180deg);
}
.submenu a {
padding: 12px 24px 12px 40px;
font-size: 15px;
color: var(--text-muted);
border-bottom: 1px solid var(--border-light);
display: block;
}
.submenu a:hover {
background: var(--bg-hover);
}
.dropdown-arrow {
display: inline-block;
font-size: 10px;
transition: transform 0.3s ease;
}
.section-title {
font-size: 32px;
}
.section-subtitle {
font-size: 16px;
}
.features-grid,
.pricing-grid {
grid-template-columns: 1fr;
}
.testimonials-wrapper {
gap: 8px;
margin-bottom: 24px;
}
.testimonials-grid {
gap: 16px;
padding: 8px 0 16px 0;
}
.testimonial-item {
flex: 0 0 280px;
}
.testimonials-nav {
width: 40px;
height: 40px;
}
.testimonials-nav svg {
width: 20px;
height: 20px;
}
.testimonials-dots {
gap: 8px;
}
.testimonials-dot {
width: 8px;
height: 8px;
}
.testimonials-dot.active {
width: 24px;
}
.cta-title {
font-size: 32px;
}
.pricing-price {
font-size: 36px;
}
.gallery-grid,
.gallery-cols-2,
.gallery-cols-3,
.gallery-cols-4,
.gallery-cols-5,
.gallery-cols-6 {
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.features-cols-4 .features-grid,
.features-cols-5 .features-grid,
.features-cols-6 .features-grid {
grid-template-columns: repeat(2, 1fr);
}
.gallery-title {
font-size: 15px;
}
.gallery-description {
font-size: 12px;
}
.gallery-overlay {
padding: 12px;
}
.scroll-to-top {
bottom: 20px;
right: 20px;
width: 45px;
height: 45px;
font-size: 20px;
}
.footer-content {
grid-template-columns: 1fr;
gap: 30px;
}
.footer-bottom {
flex-direction: column;
text-align: center;
}
.footer-social {
order: -1;
}
}
/* Cookie Consent Banner */
.cookie-consent {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.95);
color: var(--color-on-primary);
padding: 20px;
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
z-index: 9999;
transform: translateY(100%);
transition: transform 0.4s ease;
}
.cookie-consent.show {
transform: translateY(0);
}
.cookie-consent-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
}
.cookie-consent-text {
margin: 0;
font-size: 15px;
line-height: 1.6;
flex: 1;
}
.cookie-consent-btn {
background: var(--primaryColor);
color: var(--color-on-primary);
border: none;
padding: 12px 32px;
font-size: 15px;
font-weight: 600;
border-radius: var(--radius-sm);
cursor: pointer;
white-space: nowrap;
transition: all 0.3s ease;
}
.cookie-consent-btn:hover {
background: var(--secondaryColor);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}
.cookie-consent-btn:active {
transform: translateY(0);
}
@media (max-width: 768px) {
.cookie-consent {
padding: 16px;
}
.cookie-consent-content {
flex-direction: column;
gap: 16px;
text-align: center;
}
.cookie-consent-text {
font-size: 14px;
}
.cookie-consent-btn {
width: 100%;
padding: 14px 24px;
}
}