:root {
    --primary: #00f2ff;
    --primary-glow: rgba(0, 242, 255, 0.4);
    --background: #05070a;
    --surface: #0f172a;
    --surface-variant: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--background);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.text-muted {
    color: var(--text-secondary) !important;
}

.glass-panel {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

.neon-glow {
    box-shadow: 0 0 20px var(--primary-glow);
}

.neon-text {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
}

.btn-primary {
    background: linear-gradient(135deg, #00f2ff 0%, #3b82f6 100%);
    color: #05070a;
    font-weight: 800;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    transition: background 0.2s;
}

.btn-outline:hover {
    background: var(--primary-glow);
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-variant);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== header ===== */
.lx-header-block .lx-nav-link {
    position: relative;
}

.lx-header-block .lx-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00f2ff;
    transition: width 0.3s ease;
}

.lx-header-block .lx-nav-link:hover::after {
    width: 100%;
}

.lx-header-block .lx-nav-main {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.lx-header-block .lx-brand span {
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.lx-header-block .js-mobile-menu {
    height: calc(100vh - 94px);
}

body.menu-open {
    overflow: hidden;
}

/* ===== hero ===== */
.luxorix-hero {
    background-color: #05070a;
    position: relative;
}

.luxorix-hero h1 {
    font-family: 'Inter', sans-serif;
    text-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
}

.luxorix-hero-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.luxorix-hero-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 255, 0.4);
}

.luxorix-hero .luxorix-hero-video-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, #05070a 100%);
    opacity: 0.6;
}

.luxorix-hero-overlay {
    pointer-events: none;
}

@media (max-width: 767px) {
    .luxorix-hero {
        min-height: 700px;
        padding-top: 80px;
    }

    .luxorix-hero h1 {
        hyphens: auto;
    }
}

/* ===== about-preview ===== */
.about-preview {
    position: relative;
}

.about-preview .about-preview__image-container {
    aspect-ratio: 4/3;
    transition: transform 0.3s ease;
}

.about-preview .about-preview__image-container:hover {
    transform: translateY(-5px);
}

.about-preview .about-preview__disclaimer {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-preview .about-preview__glow {
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 1024px) {
    .about-preview .about-preview__image-container {
        aspect-ratio: 16/9;
    }
}

/* ===== games-preview ===== */
.games-preview .game-card {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.games-preview .game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 255, 0.5);
}

.games-preview .image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, transparent 100%);
}

.games-preview .disclaimer-box {
    backdrop-filter: blur(4px);
}

/* ===== features ===== */
.luxorix-features {
    font-family: 'Inter', sans-serif;
    position: relative;
}

.luxorix-features .luxorix-feature-card {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.luxorix-features .luxorix-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -10px rgba(0, 242, 255, 0.1);
}

.luxorix-features .luxorix-features-bg {
    pointer-events: none;
}

@media (max-width: 767px) {
    .luxorix-features .luxorix-feature-card {
        padding: 1.5rem;
    }
}

/* ===== footer ===== */
.luxorix-footer .luxorix-footer-org-img {
    max-width: 140px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.luxorix-footer .luxorix-footer-org-img:hover {
    transform: translateY(-3px);
}

.luxorix-footer .luxorix-footer-18-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.luxorix-footer .luxorix-footer-disclaimer {
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.05);
}

@media (max-width: 768px) {
    .luxorix-footer .luxorix-footer-org-img {
        max-width: 100px;
    }
}

/* ===== PAGE: privacy ===== */
.policy-container { background-color: #05070a; font-family: 'Inter', sans-serif; }
.policy-container__content { color: #f8fafc; }
.policy-container__list { list-style-type: disc; padding-left: 1.25rem; }
.policy-container__list li::marker { color: #00f2ff; }
.policy-container p { hyphens: auto; }
@media (max-width: 768px) {
  .policy-container h2 { font-size: 16px; }
  .policy-container p { font-size: 14px; }
  .policy-container__list li { font-size: 14px; }
}

/* ===== PAGE: terms ===== */
.policy-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 2.5rem 1.25rem; font-family: 'Inter', sans-serif; background-color: transparent; } .policy-container .policy-inner-wrapper { box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 242, 255, 0.05); } .policy-container .policy-block { position: relative; } .policy-container .policy-list-items li i { flex-shrink: 0; } .policy-container p { text-align: justify; hyphens: auto; } @media (max-width: 768px) { .policy-container { padding: 1.5rem 1rem; } .policy-container .policy-inner-wrapper { padding: 1.5rem; } .policy-container p { text-align: left; } }

/* ===== PAGE: disclaimer ===== */
.policy-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
}
.policy-container h2 {
  margin-top: 32px;
  margin-bottom: 16px;
}
.policy-container p {
  margin-bottom: 20px;
}
.policy-container ul {
  margin-bottom: 24px;
}
.policy-container .disclaimer-inner {
  background: #0f172a;
  padding: 24px;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 242, 255, 0.1);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  .policy-container .disclaimer-inner {
    padding: 60px;
  }
}

/* ===== PAGE: cookies ===== */
.policy-container { padding: 2rem; max-width: 1280px; margin: 0 auto; line-height: 1.6; color: #f8fafc; font-family: 'Inter', sans-serif; } .policy-content-wrapper { background: #0f172a; padding: 2.5rem; border-radius: 1.5rem; border: 1px solid rgba(0, 242, 255, 0.1); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2); } .policy-section { margin-bottom: 2rem; } .policy-section h2 { color: #00f2ff; font-weight: 800; margin-bottom: 1.25rem; font-size: 16px; line-height: 1.3; } @media (min-width: 768px) { .policy-section h2 { font-size: 32px; } .policy-container { padding: 5rem 2rem; } } .policy-section p { margin-bottom: 1rem; color: #94a3b8; font-size: 14px; } @media (min-width: 768px) { .policy-section p { font-size: 16px; } } .policy-section ul { list-style: none; padding-left: 0; margin-bottom: 1rem; } .policy-section ul li { position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; color: #94a3b8; font-size: 14px; } @media (min-width: 768px) { .policy-section ul li { font-size: 16px; } } .policy-section ul li::before { content: '\F2E5'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: #00f2ff; font-size: 0.9em; } .policy-section strong { color: #f8fafc; font-weight: 600; }

/* ===== PAGE: rgp ===== */
.policy-container { font-family: 'Inter', sans-serif; background-color: #05070a; color: #f8fafc; }.rg-content-wrapper { background: #0f172a; border: 1px solid rgba(0, 242, 255, 0.1); padding: 2rem; border-radius: 1.5rem; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }.rg-content-wrapper h2, .rg-content-wrapper h3 { font-family: 'Inter', sans-serif; }.rg-content-wrapper p { hyphens: auto; -webkit-hyphens: auto; }.rg-content-wrapper strong { color: #00f2ff; font-weight: 600; }

/* ===== PAGE: about ===== */
.luxorix-about-page { font-family: 'Inter', sans-serif; overflow-x: hidden; }
.luxorix-benefit-card { height: 100%; display: flex; flex-direction: column; }
.luxorix-img-glow { pointer-events: none; }
.luxorix-mission-block h2 { color: #f8fafc !important; }
.luxorix-benefit-card h3 { color: #f8fafc !important; }

/* ===== PAGE: games ===== */
.lux-catalog .js-filter-btn.active { background-color: rgba(0, 242, 255, 0.15); border-color: #00f2ff; color: #00f2ff; box-shadow: 0 0 15px rgba(0, 242, 255, 0.2); } .lux-catalog .js-game-card { backface-visibility: hidden; transition: transform 0.3s ease; } .lux-catalog .js-game-card:hover { transform: translateY(-5px); }

/* ===== PAGE: how-to-play ===== */
.instructions-section .instruction-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
}

.instructions-section .instruction-card:hover {
  box-shadow: 0 10px 30px -10px rgba(0, 242, 255, 0.2);
  transform: translateY(-5px);
}

.rules-section .js-rule-tab.active {
  background: rgba(0, 242, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.rules-section .rule-item {
  transition: all 0.3s ease;
}

.rules-section .rule-item:hover {
  border-color: rgba(0, 242, 255, 0.3);
  background: rgba(30, 41, 59, 0.8);
}

@media (max-width: 767px) {
  .instructions-section h2, .rules-section h2 {
    text-align: center;
    line-height: 1.3;
  }
  .instructions-section .instruction-card {
    padding: 1.5rem;
  }
}

/* ===== PAGE: leaderboard ===== */
.luxorix-ranking .js-filter-btn.active { background-color: #00f2ff; color: #05070a; box-shadow: 0 0 15px rgba(0, 242, 255, 0.4); }
.luxorix-ranking .podium-card { background: rgba(30, 41, 59, 0.7); backdrop-filter: blur(10px); transition: transform 0.3s ease; }
.luxorix-ranking .podium-card:hover { transform: translateY(-10px); }
.luxorix-ranking .rank-1 { border-color: #ffd700; order: 2; height: 320px; }
.luxorix-ranking .rank-2 { border-color: #c0c0c0; order: 1; height: 280px; }
.luxorix-ranking .rank-3 { border-color: #cd7f32; order: 3; height: 260px; }
.luxorix-ranking ::placeholder { color: #64748b; opacity: 1; }
.luxorix-ranking .progress-bar-bg { background: #1e293b; height: 8px; border-radius: 4px; overflow: hidden; }
.luxorix-ranking .progress-bar-fill { background: linear-gradient(90deg, #00f2ff, #3b82f6); height: 100%; width: 0%; }
@media (max-width: 767px) {
  .luxorix-ranking .podium-card { order: unset !important; height: auto !important; width: 100%; }
  .luxorix-ranking .js-podium { flex-direction: column; align-items: stretch; }
}

/* ===== PAGE: tournament-history ===== */
.history-section .js-filter-btn.active { background-color: #00f2ff !important; color: #05070a !important; border-color: #00f2ff !important; }
.history-section .history-grid .js-history-card { height: 100%; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.history-section .line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== PAGE: update-news ===== */
.news-feed .js-filter-btn.active {
  background-color: rgba(0, 242, 255, 0.15);
  border-color: #00f2ff;
  color: #00f2ff;
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.news-feed .js-news-card {
  height: 100%;
}

.news-feed .line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767px) {
  .news-feed h1 {
    hyphens: auto;
  }
}

.lux-comment-card {
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.lux-comment-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.lux-avatar {
    border: 2px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    object-fit: cover;
}

.lux-reply-wrapper {
    position: relative;
    margin-top: 1rem;
}

.lux-reply-connector {
    pointer-events: none;
}

.lux-avatar {
    flex-shrink: 0;
    object-fit: cover;
}

.lux-comment-card:hover {
    border-color: rgba(0, 242, 255, 0.4);
}


/* ===== PAGE TEMPLATE: games-list ===== */
.lx-game-player-section .lx-player-container {
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.15);
}

.lx-game-player-section .lx-iframe-wrapper iframe {
    background: #000;
}

.lx-info-card .lx-description h1,
.lx-info-card .lx-description h2,
.lx-info-card .lx-description h3 {
    color: #f8fafc;
    margin-bottom: 1rem;
    font-weight: 800;
}

.lx-info-card .lx-description p {
    margin-bottom: 1.5rem;
}

.lx-info-card .lx-description ul {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
    list-style-type: square;
    color: #00f2ff;
}

.lx-info-card .lx-description li {
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.lx-header-block .lx-nav-link {
    position: relative;
}

.lx-header-block .lx-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00f2ff;
    transition: width 0.3s ease;
}

.lx-header-block .lx-nav-link:hover::after {
    width: 100%;
}

.lx-header-block .lx-nav-main {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.lx-header-block .lx-brand span {
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.lx-header-block .js-mobile-menu {
    height: calc(100vh - 94px);
}

body.menu-open {
    overflow: hidden;
}

.luxorix-footer .luxorix-footer-org-img {
    max-width: 140px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.luxorix-footer .luxorix-footer-org-img:hover {
    transform: translateY(-3px);
}

.luxorix-footer .luxorix-footer-18-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.luxorix-footer .luxorix-footer-disclaimer {
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.05);
}

#js-fullscreen-overlay iframe {
    width: 100%;
    height: 100%;
}

/* ===== PAGE TEMPLATE: news-list ===== */
.lx-header-block .lx-nav-link {
    position: relative;
}

.lx-header-block .lx-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00f2ff;
    transition: width 0.3s ease;
}

.lx-header-block .lx-nav-link:hover::after {
    width: 100%;
}

.lx-header-block .lx-nav-main {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.lx-header-block .js-mobile-menu {
    height: calc(100vh - 94px);
}

body.menu-open {
    overflow: hidden;
}

.lx-content-rich h1 {
    font-size: 18px;
    color: #f8fafc;
    font-weight: 800;
    margin-bottom: 1rem;
}

.lx-content-rich h2 {
    font-size: 16px;
    color: #f8fafc;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .lx-content-rich h1 {
        font-size: 32px;
    }

    .lx-content-rich h2 {
        font-size: 26px;
    }
}

.lx-content-rich p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.lx-content-rich ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.lx-content-rich ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.lx-content-rich ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00f2ff;
}

.luxorix-footer .luxorix-footer-org-img {
    max-width: 140px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.luxorix-footer .luxorix-footer-org-img:hover {
    transform: translateY(-3px);
}

.luxorix-footer .luxorix-footer-18-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.lx-game-viewport.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    height: 100vh !important;
}

.lx-game-viewport.is-fullscreen .lx-iframe-wrapper {
    height: 100vh !important;
}