:root {
    --primary: #D4AF37;
    --secondary: #111827;
    --surface: #161B2D;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --accent: #D4AF37;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0A0E1A;
    color: #F8FAFC;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.font-heading {
    font-family: 'Playfair Display', serif;
}

.text-muted {
    color: #94A3B8 !important;
}

.gold-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #F1C40F 50%, #B8860B 100%);
}

.premium-card {
    background-color: #161B2D;
    border: 1px solid #2D3748;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    transform: translateY(-8px);
    border-color: #D4AF37;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #0A0E1A;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    border: 2px solid #D4AF37;
    color: #D4AF37;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D4AF37;
    color: #0A0E1A;
}

.backdrop-blur-nav {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(10, 14, 26, 0.8);
}

/* ===== header ===== */
.header-luckypartyzone-nav {
    font-family: 'Montserrat', sans-serif;
}

.header-luckypartyzone-link {
    position: relative;
}

.header-luckypartyzone-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}

.header-luckypartyzone-link:hover::after {
    width: 100%;
}

.js-mobile-menu {
    transition: transform 0.3s ease-in-out;
}

.header-luckypartyzone-disclaimer {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-luckypartyzone .js-mobile-link {
    text-decoration: none;
}

.header-luckypartyzone-cta:hover {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
}

/* ===== hero ===== */
.lucky-hero {
    font-family: 'Montserrat', sans-serif;
}

.lucky-hero__title {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
}

.lucky-hero__card {
    position: relative;
    overflow: hidden;
}

.lucky-hero__card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.lucky-hero__shape-1 {
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}

@media (max-width: 767px) {
    .lucky-hero {
        min-height: 500px;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .lucky-hero__bg img {
        filter: brightness(0.4);
    }

    .lucky-hero__card {
        padding: 24px;
        text-align: center;
    }

    .lucky-hero__card .flex {
        justify-content: center;
    }

    .lucky-hero__title {
        font-size: 18px !important;
    }

    .lucky-hero__desc {
        font-size: 14px !important;
    }
}

/* ===== featured_games ===== */
.featured-games-section .featured-games-section__card:hover {
    transform: translateY(-8px);
    border-color: #D4AF37;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
}

.featured-games-section .featured-games-section__card img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-games-section .featured-games-section__card:hover img {
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .featured-games-section h2 {
        hyphens: auto;
    }
}

/* ===== about_intro ===== */
.about-intro-section {
    position: relative;
}

.about-intro-section h2 {
    font-family: 'Playfair Display', serif;
}

.about-intro-section p {
    font-family: 'Montserrat', sans-serif;
}

.about-intro-section .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .about-intro-section .grid {
        display: flex;
        flex-direction: column;
    }
}

/* ===== features ===== */
.features-block .js-feature-card {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-block .js-feature-card.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.features-block .container {
    max-width: 1280px;
}

@media (max-width: 767px) {
    .features-block h2 {
        hyphens: auto;
    }
}

/* ===== footer ===== */
#footer-block .footer-disclaimer-wrapper {
    position: relative;
}

#footer-block .footer-org-logos img {
    max-height: 50px;
    width: auto;
}

#footer-block .footer-org-logos img[alt="21 Plus"] {
    max-height: 110px;
}

#footer-block a {
    text-decoration: none;
}

#footer-block .bi {
    vertical-align: middle;
}

#age-modal {
    display: none;
}

#age-modal.show {
    display: flex;
}

.header-luckypartyzone-nav {
    font-family: 'Montserrat', sans-serif;
}

.header-luckypartyzone-link {
    position: relative;
}

.header-luckypartyzone-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}

.header-luckypartyzone-link:hover::after {
    width: 100%;
}

.js-mobile-menu {
    transition: transform 0.3s ease-in-out;
}

.category-page-luckypartyzone h1,
.category-page-luckypartyzone h2,
.category-page-luckypartyzone h3 {
    font-family: 'Playfair Display', serif;
}

.category-page-luckypartyzone p {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

#footer-block .footer-disclaimer-wrapper {
    position: relative;
}

#footer-block .footer-org-logos img {
    max-height: 50px;
    width: auto;
}

#footer-block .footer-org-logos img[alt="21 Plus"] {
    max-height: 110px;
}

#footer-block a {
    text-decoration: none;
}

#age-modal.show {
    display: flex;
}


/* ===== PAGE: privacy ===== */
.policy-content-wrapper { max-width: 1000px; margin: 2rem auto; border-radius: 1.5rem; background: #111827; } .policy-content-wrapper section h2 i { color: #D4AF37; font-size: 1.25rem; } .policy-content-wrapper p { line-height: 1.8; color: #94A3B8; margin-bottom: 1rem; } .policy-content-wrapper ul li { color: #94A3B8; line-height: 1.6; } .policy-content-wrapper ul li::before { content: '\F26E'; font-family: 'bootstrap-icons'; color: #D4AF37; font-size: 0.9rem; margin-top: 0.25rem; } .policy-content-wrapper .policy-section { border-bottom: 1px solid #1F2937; padding-bottom: 2rem; } .policy-content-wrapper .policy-section:last-child { border-bottom: none; }

/* ===== PAGE: terms ===== */
.policy-content-wrapper {
  padding: 40px 20px;
  background-color: #0A0E1A;
  font-family: 'Montserrat', sans-serif;
  color: #94A3B8;
}

.policy-container {
  max-width: 1000px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 32px;
  border-bottom: 1px solid #161B2D;
  padding-bottom: 24px;
}

.policy-section:last-child {
  border-bottom: none;
}

.policy-heading {
  color: #D4AF37;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 16px;
}

@media (min-width: 768px) {
  .policy-heading {
    font-size: 32px;
  }
}

.policy-text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .policy-text {
    font-size: 16px;
  }
}

.policy-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 12px;
}

.policy-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.policy-list li::before {
  content: "\f26a";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0;
  color: #D4AF37;
  font-size: 14px;
}

@media (min-width: 768px) {
  .policy-list li {
    font-size: 16px;
  }
}

/* ===== PAGE: disclaimer ===== */
#policy-content-root {
  background-color: #0A0E1A;
  color: #F8FAFC;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  padding: 40px 20px;
}

#policy-content-root .policy-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
  background: #111827;
  border: 1px solid #2D3748;
  border-radius: 16px;
}

#policy-content-root .policy-header {
  border-bottom: 2px solid #D4AF37;
  margin-bottom: 32px;
  padding-bottom: 24px;
  text-align: center;
}

#policy-content-root .policy-main-title {
  font-family: 'Playfair Display', serif;
  color: #D4AF37;
  font-size: 24px;
  margin-bottom: 8px;
  font-weight: 700;
}

@media (min-width: 768px) {
  #policy-content-root .policy-main-title {
    font-size: 42px;
  }
}

#policy-content-root .policy-last-updated {
  color: #64748B;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#policy-content-root .policy-section {
  margin-bottom: 32px;
}

#policy-content-root .policy-subtitle {
  font-family: 'Playfair Display', serif;
  color: #D4AF37;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}

@media (min-width: 768px) {
  #policy-content-root .policy-subtitle {
    font-size: 26px;
  }
}

#policy-content-root .policy-text {
  color: #94A3B8;
  font-size: 14px;
  margin-bottom: 16px;
  text-align: justify;
}

@media (min-width: 768px) {
  #policy-content-root .policy-text {
    font-size: 16px;
  }
}

#policy-content-root .policy-list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 16px;
}

#policy-content-root .policy-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #94A3B8;
  font-size: 14px;
}

#policy-content-root .policy-list li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0;
  color: #D4AF37;
  font-size: 18px;
}

@media (min-width: 768px) {
  #policy-content-root .policy-list li {
    font-size: 16px;
  }
}

/* ===== PAGE: cookies ===== */
.policy-content-wrapper { padding: 40px 20px; max-width: 1280px; margin: 0 auto; font-family: 'Montserrat', sans-serif; }
.policy-content-wrapper h1, .policy-content-wrapper h2, .policy-content-wrapper h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
.policy-content-wrapper .policy-section { margin-bottom: 64px; }
.policy-content-wrapper .cookie-card { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.policy-content-wrapper .cookie-card:hover { transform: translateY(-5px); border-color: #D4AF37; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5); }
@media (max-width: 767px) {
  .policy-content-wrapper { padding: 24px 16px; }
  .policy-content-wrapper .policy-section { margin-bottom: 40px; }
}

/* ===== PAGE: rgp ===== */
.rgp-content-container { font-family: 'Montserrat', sans-serif; color: #F8FAFC; line-height: 1.6; }.rgp-content-container h2 { font-family: 'Playfair Display', serif; text-transform: uppercase; letter-spacing: 0.02em; }.rgp-content-container h3 { font-family: 'Montserrat', sans-serif; }.rgp-content-container p { color: #94A3B8; }.rgp-content-container i { display: inline-flex; align-items: center; justify-content: center; }.rgp-content-container section { position: relative; border-bottom: 1px solid #2D3748; padding-bottom: 2rem; }.rgp-content-container section:last-child { border-bottom: none; }.rgp-content-container li { margin-bottom: 0.5rem; }

/* ===== PAGE: about ===== */
.about-content-section .js-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}
.about-content-section .js-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}
.about-content-section .reveal-visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
}
.about-content-section .object-fit-cover {
    object-fit: cover;
}
.about-content-section .group:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    display: inline-block;
}

/* ===== PAGE: hall-of-fame ===== */
.leaderboard-section .active-tab {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  color: #0A0E1A;
  border-color: transparent;
}

.leaderboard-section .podium-card {
  width: 100%;
  max-width: 280px;
  background: #161B2D;
  border: 1px solid #2D3748;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.leaderboard-section .podium-card.rank-1 {
  border-color: #D4AF37;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
  transform: scale(1.1);
  z-index: 10;
}

@media (max-width: 767px) {
  .leaderboard-section .podium-card.rank-1 {
    transform: scale(1);
  }
}

.leaderboard-section .avatar-frame {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 15px;
  overflow: hidden;
  border: 3px solid #2D3748;
}

.leaderboard-section .rank-1 .avatar-frame {
  border-color: #D4AF37;
}

.leaderboard-section .table-row:hover {
  background-color: rgba(212, 175, 55, 0.05);
}

.leaderboard-section .rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
}

/* ===== PAGE: contact ===== */
.contact-section {
  position: relative;
}
.contact-section__card {
  backdrop-filter: blur(10px);
}
.contact-section .js-copy-email-trigger:hover {
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}
.contact-section #js-email-text {
  user-select: all;
}
@media (max-width: 767px) {
  .contact-section h1 {
    hyphens: auto;
  }
}

/* ===== PAGE: chat ===== */
.chat-section .js-room-btn.active {
  background: #D4AF37 !important;
  color: #0A0E1A !important;
}
.chat-section ::-webkit-scrollbar {
  width: 6px;
}
.chat-section ::-webkit-scrollbar-track {
  background: #0A0E1A;
}
.chat-section ::-webkit-scrollbar-thumb {
  background: #2D3748;
  border-radius: 10px;
}
.chat-section ::-webkit-scrollbar-thumb:hover {
  background: #D4AF37;
}
.chat-section .message-item {
  animation: fadeIn 0.3s ease-out forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-section input:focus {
  box-shadow: none !important;
}

/* ===== PAGE: tournaments ===== */
.tournament-section .js-filter-btn.active {
  background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
  border-color: transparent;
  color: #0A0E1A;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.tournament-section .js-tournament-card {
  height: 100%;
}

.tournament-section .js-tournament-card:hover {
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

@media (max-width: 767px) {
  .tournament-section ul li span {
    line-height: 1.4;
  }
}

.lpz-main-comment {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.lpz-avatar {
    border: 2px solid rgba(255, 215, 0, 0.2);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.lpz-main-comment:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px -10px rgba(212, 175, 55, 0.15);
}

.rating-stars i {
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
}

.lpz-reply-comment {
    transition: all 0.3s ease;
}

.lpz-reply-comment:hover {
    background-color: #161B2D;
}

.lpz-avatar-mini {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.reply-connector {
    border-color: #2D3748;
    opacity: 0.5;
}


/* ===== PAGE TEMPLATE: games ===== */
.header-luckypartyzone-nav {
    font-family: 'Montserrat', sans-serif;
}

.header-luckypartyzone-link {
    position: relative;
}

.header-luckypartyzone-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}

.header-luckypartyzone-link:hover::after {
    width: 100%;
}

.js-mobile-menu {
    transition: transform 0.3s ease-in-out;
}

.header-luckypartyzone-disclaimer {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-luckypartyzone-cta:hover {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-1px);
}

#footer-block .footer-disclaimer-wrapper {
    position: relative;
}

#footer-block .footer-org-logos img {
    max-height: 50px;
    width: auto;
}

#footer-block .footer-org-logos img[alt="21 Plus"] {
    max-height: 110px;
}

#footer-block a {
    text-decoration: none;
}

#age-modal {
    display: none;
}

#age-modal.show {
    display: flex;
}

.game-template-detail h2 {
    font-size: 16px;
}

.game-template-detail h3 {
    font-size: 14px;
}

@media (min-width: 768px) {
    .game-template-detail h2 {
        font-size: 32px;
    }

    .game-template-detail h3 {
        font-size: 26px;
    }
}

.game-rich-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.js-game-wrapper:fullscreen {
    background: #000;
    display: flex;
    flex-direction: column;
    width: 100vw !important;
    height: 100vh !important;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

.js-game-wrapper:-webkit-full-screen {
    background: #000;
    display: flex;
    flex-direction: column;
    width: 100vw !important;
    height: 100vh !important;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

.js-game-wrapper:fullscreen .game-controls-bar {
    display: none;
}

.js-game-wrapper:-webkit-full-screen .game-controls-bar {
    display: none;
}

.js-game-wrapper:fullscreen > div {
    flex: 1 1 auto !important;
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.js-game-wrapper:-webkit-full-screen > div {
    flex: 1 1 auto !important;
    height: 100% !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.js-game-wrapper:fullscreen iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

.js-game-wrapper:-webkit-full-screen iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

.js-game-wrapper:fullscreen .js-exit-fullscreen {
    top: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
}

.js-game-wrapper:-webkit-full-screen .js-exit-fullscreen {
    top: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
}
/* Age verified - hide modal immediately */
html.age-verified #age-modal { display: none !important; }
