:root {
    --primary: #00D1FF;
    --secondary: #94A3B8;
    --accent: #38BDF8;
    --background-main: #0B0F1A;
    --background-surface: #161B28;
    --background-elevated: #1E293B;
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --border-color: #334155;
    --industrial-glow: rgba(0, 209, 255, 0.5);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-main);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    line-height: 1.6;
}

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

* {
    transition: all 0.3s ease-in-out;
}

.metallic-card {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.metallic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.btn-industrial {
    background: linear-gradient(to bottom, #1E293B, #0F172A);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-industrial:hover {
    box-shadow: 0 0 15px var(--industrial-glow);
    transform: scale(1.02);
}

.ice-glow {
    text-shadow: 0 0 10px var(--industrial-glow);
}

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

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

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

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

/* ===== header ===== */
.win-zento-header {
    font-family: 'Inter', sans-serif;
    background-color: #0B0F1A;
}

.win-zento-header .nav-link {
    position: relative;
}

.win-zento-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00D1FF;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 209, 255, 0.5);
}

.win-zento-header .nav-link:hover::after {
    width: 100%;
}

.win-zento-header .js-dropdown-menu {
    background-color: #161B28;
    border-color: #334155;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.win-zento-header .js-mobile-menu {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== hero ===== */
.win-zento-hero {
    font-family: 'Inter', sans-serif;
    position: relative;
}

.win-zento-hero h1 {
    text-shadow: 0 0 15px rgba(0, 209, 255, 0.4);
}

.win-zento-hero .js-hero-card {
    backdrop-filter: blur(8px);
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.win-zento-hero .js-hero-card:hover {
    transform: translateY(-10px);
}

/* ===== featured_games ===== */
.featured-games-section .js-filter-btn.active {
    background-color: #00D1FF;
    color: #0F172A;
    border-color: #00D1FF;
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.4);
}

.featured-games-section .js-game-card {
    background: linear-gradient(135deg, #161B28 0%, #0F172A 100%);
}

.featured-games-section h2 {
    text-shadow: 0 0 10px rgba(0, 209, 255, 0.3);
}

@media (max-width: 767px) {
    .featured-games-section .js-game-card img {
        height: 180px;
    }
}

/* ===== about_summary ===== */
.win-zento-about-summary .js-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.win-zento-about-summary .js-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.win-zento-about-summary .js-reveal-visible {
    opacity: 1 !important;
    transform: translate(0) !important;
}

@media (max-width: 767px) {

    .win-zento-about-summary .js-reveal-left,
    .win-zento-about-summary .js-reveal-right {
        transform: translateY(20px);
    }
}

/* ===== contact_summary ===== */
.contact-summary-block .contact-summary-card {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-summary-block .contact-summary-icon svg {
    filter: drop-shadow(0 0 5px rgba(0, 209, 255, 0.5));
}

.contact-summary-block .contact-summary-map-wrapper iframe {
    filter: grayscale(0.5) contrast(1.2) invert(0.9) hue-rotate(180deg);
}

/* ===== footer ===== */
.win-zento-footer {
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.win-zento-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00D1FF, transparent);
    opacity: 0.3;
}

.win-zento-footer .footer-link {
    position: relative;
    display: inline-block;
}

.win-zento-footer .footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #00D1FF;
    transition: width 0.3s ease;
}

.win-zento-footer .footer-link:hover::after {
    width: 100%;
}

.win-zento-footer .footer-title {
    color: #00D1FF;
    text-shadow: 0 0 10px rgba(0, 209, 255, 0.3);
}

.win-zento-footer .container {
    max-width: 1200px;
}

@media (max-width: 767px) {
    .win-zento-footer .footer-brand {
        align-items: center;
        text-align: center;
    }

    .win-zento-footer .footer-nav,
    .win-zento-footer .footer-legal,
    .win-zento-footer .footer-contact {
        text-align: center;
    }

    .win-zento-footer .footer-contact ul li {
        justify-content: center;
    }
}

.win-zento-header {
    font-family: 'Inter', sans-serif;
    background-color: #0B0F1A;
}

.win-zento-header .nav-link {
    position: relative;
}

.win-zento-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00D1FF;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 209, 255, 0.5);
}

.win-zento-header .nav-link:hover::after {
    width: 100%;
}

.win-zento-header .js-dropdown-menu {
    background-color: #161B28;
    border-color: #334155;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.win-zento-header .js-mobile-menu {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.win-zento-games-page .js-game-card {
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.win-zento-games-page .js-game-card:hover {
    transform: translateY(-5px);
}

.win-zento-games-page .hero-section {
    background: radial-gradient(circle at center, #1E293B 0%, #0B0F1A 100%);
}

.win-zento-footer {
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.win-zento-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00D1FF, transparent);
    opacity: 0.3;
}

.win-zento-footer .footer-link {
    position: relative;
    display: inline-block;
}

.win-zento-footer .footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #00D1FF;
    transition: width 0.3s ease;
}

.win-zento-footer .footer-link:hover::after {
    width: 100%;
}

@media (max-width: 767px) {

    .win-zento-footer .footer-brand,
    .win-zento-footer .footer-nav,
    .win-zento-footer .footer-legal,
    .win-zento-footer .footer-contact {
        text-align: center;
        align-items: center;
    }

    .win-zento-footer .footer-contact ul li {
        justify-content: center;
    }
}


/* ===== PAGE: privacy ===== */
.policy-content-container { font-family: 'Inter', sans-serif; background-color: #0B0F1A; }
.policy-layout { background: linear-gradient(135deg, #161B28 0%, #0F172A 100%); box-shadow: 0 0 40px rgba(0, 209, 255, 0.1); position: relative; }
.policy-layout::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0wIDBoNHY0SDBWMHptMCA4aDR2NEgwVjh6bTAgOGg0djRIMTBWMTZ6bTAgOGg0djRIMTBWMjR6bTAgOGg0djRIMTBWMzJ6IiBmaWxsPSIjRkZGIiBmaWxsLW9wYWNpdHk9Ii4wMyIvPjwvZz48L3N2Zz4='); opacity: 0.1; pointer-events: none; }
.policy-body p { margin-bottom: 1.5rem; color: #CBD5E1; text-align: justify; hyphens: auto; }
.js-policy-section { position: relative; transition: transform 0.3s ease; }
.js-policy-section:hover { transform: translateX(5px); }
@media (max-width: 768px) {
  .policy-layout { padding: 1.5rem; }
  .policy-body p { text-align: left; }
}

/* ===== PAGE: terms ===== */
.policy-content-container { background-color: #0B0F1A; font-family: 'Inter', sans-serif; }
.policy-content-inner { max-width: 1200px; margin: 0 auto; }
.policy-header h1 { color: #00D1FF; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.2; }
.policy-section h2 { color: #F8FAFC; border-left: 4px solid #00D1FF; padding-left: 1rem; margin-top: 2rem; }
.policy-section p { color: #CBD5E1; line-height: 1.8; }
.policy-section ul li { color: #CBD5E1; line-height: 1.6; }
.policy-section a { text-decoration: none; transition: all 0.3s ease; }
.policy-section a:hover { color: #38BDF8; }

/* ===== PAGE: disclaimer ===== */
.policy-content-container {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.disclaimer-block {
  position: relative;
  overflow: hidden;
}

.disclaimer-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00D1FF, transparent);
}

.disclaimer-section h2 {
  letter-spacing: -0.01em;
}

.disclaimer-section p {
  text-align: justify;
  hyphens: auto;
}

@media (max-width: 767px) {
  .policy-content-container {
    padding: 1rem 0.5rem;
  }
  
  .disclaimer-block {
    padding: 1.5rem;
    border-radius: 8px;
  }

  .disclaimer-section h2 {
    border-left: 3px solid #00D1FF;
    padding-left: 0.75rem;
  }
}

/* ===== PAGE: cookies ===== */
.policy-content-container { background-color: #0B0F1A; }
.policy-inner-wrapper { font-family: 'Inter', sans-serif; }
.policy-card { background: linear-gradient(135deg, #161B28 0%, #1E293B 100%); }
.metallic-overlay { background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h100v100H0z' fill='none'/%3E%3Cpath d='M0 0l100 100M100 0L0 100' stroke='%23ffffff' stroke-opacity='0.1' stroke-width='1'/%3E%3C/svg%3E"); }
.policy-item h2 { text-transform: uppercase; letter-spacing: -0.01em; }
.cookie-type-card { transition: all 0.3s ease; }
.cookie-type-card:hover { transform: translateY(-4px); border-color: #00D1FF; box-shadow: 0 10px 30px -10px rgba(0, 209, 255, 0.2); }
.contact-box { box-shadow: inset 0 0 20px rgba(0, 209, 255, 0.05); }

/* ===== PAGE: about ===== */
.story-section,
.vision-section {
  font-family: 'Inter', sans-serif;
}

.story-section h2,
.vision-section h2,
.vision-section h3 {
  letter-spacing: -0.02em;
}

.story-section img {
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.vision-section .js-vision-card {
  position: relative;
  overflow: hidden;
}

.vision-section .js-vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 209, 255, 0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.vision-section .js-vision-card:hover::before {
  transform: translateX(100%);
}

@media (max-width: 767px) {
  .story-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .vision-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* ===== PAGE: chat ===== */
.chat-section .custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.chat-section .custom-scrollbar::-webkit-scrollbar-track {
  background: #161B28;
}

.chat-section .custom-scrollbar::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}

.chat-section .custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #00D1FF;
}

.chat-section .active-room {
  background-color: rgba(51, 65, 85, 0.4);
  border-left: 3px solid #00D1FF;
}

.chat-section .chat-message-bubble {
  animation: slideIn 0.2s ease-out forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .chat-section .container {
    padding: 0;
  }
  .chat-section .rounded-lg {
    border-radius: 0;
  }
}

/* ===== PAGE: leaderboard ===== */
.ranking-section {
  font-family: 'Inter', sans-serif;
}

.ranking-section .ranking-top-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ranking-section .ranking-top-card:hover {
  transform: translateY(-5px);
}

.ranking-section table th,
.ranking-section table td {
  padding: 1rem;
}

.ranking-section tr.rank-row {
  transition: background-color 0.2s ease;
}

.ranking-section tr.rank-row:hover {
  background-color: rgba(0, 209, 255, 0.05);
}

.ranking-section .progress-bar-bg {
  width: 100px;
  height: 6px;
  background: #0F172A;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.ranking-section .progress-bar-fill {
  height: 100%;
  background: #00D1FF;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .ranking-section .progress-bar-bg {
    width: 60px;
  }
}

/* ===== PAGE: hall-of-fame ===== */
.hall-of-fame-section .js-filter-btn.active { background-color: #00D1FF; color: #0F172A; border-color: #00D1FF; box-shadow: 0 0 15px rgba(0, 209, 255, 0.4); }
.hall-of-fame-section .js-player-card { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5); }
.hall-of-fame-section .js-player-card:hover { box-shadow: 0 0 25px rgba(0, 209, 255, 0.2); }
.hall-of-fame-section .js-players-grid { display: grid; grid-auto-rows: 1fr; }

/* ===== PAGE: faq ===== */
.faq-list-section .js-faq-tab.active {
  background-color: rgba(0, 209, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 209, 255, 0.2);
}

.faq-list-section .js-faq-content {
  transition: all 0.3s ease-out;
}

.faq-list-section .js-faq-icon.rotate-180 {
  transform: rotate(180deg);
}

.faq-list-section input::placeholder {
  color: #334155;
  opacity: 1;
}

.faq-list-section .js-faq-item {
  box-shadow: 4px 4px 0px 0px rgba(0, 209, 255, 0.05);
}

.faq-list-section .js-faq-item:hover {
  box-shadow: 4px 4px 0px 0px rgba(0, 209, 255, 0.1);
}

/* ===== PAGE: support ===== */
.support-section .js-faq-content {
  transition: all 0.3s ease-in-out;
}
.support-section .js-faq-toggle.active svg {
  transform: rotate(180deg);
}
.support-section .js-faq-toggle.active {
  border-color: #00D1FF;
  background-color: #161B28;
}
.support-section .js-topic-card {
  perspective: 1000px;
}
.support-section input::placeholder {
  color: #94A3B8;
  opacity: 1;
}
.support-section input::-webkit-input-placeholder {
  color: #94A3B8;
}
.support-section input::-moz-placeholder {
  color: #94A3B8;
}
@media (max-width: 767px) {
  .support-section h2 { font-size: 18px !important; }
  .support-section h3 { font-size: 16px !important; }
  .support-section p { font-size: 14px !important; }
}

/* ===== PAGE: contact ===== */
.win-zento-contact {
  font-family: 'Inter', sans-serif;
}
.win-zento-contact .contact-card {
  position: relative;
  overflow: hidden;
}
.win-zento-contact .contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.win-zento-contact .map-wrapper iframe {
  border: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.win-zento-contact .map-wrapper:hover iframe {
  opacity: 1;
}
.win-zento-contact .icon-box {
  box-shadow: inset 0 0 10px rgba(0, 209, 255, 0.1);
}

.ice-comment-card {
    background: linear-gradient(135deg, #161B28 0%, #0B0F1A 100%);
    border: 1px solid #334155;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1)
}

.ice-comment-card:hover {
    border-color: #00D1FF;
    box-shadow: 0 0 30px rgba(0, 209, 255, 0.15);
    transform: translateY(-2px)
}

.ice-avatar {
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.3);
    object-fit: cover;
    width: 56px;
    height: 56px
}

.ice-reply-card {
    background: #1E293B;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
    border-right: 1px solid rgba(51, 65, 85, 0.3);
    border-bottom: 1px solid rgba(51, 65, 85, 0.3);
    transition: all 0.3s ease
}

.ice-reply-card:hover {
    background: #242F42;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4)
}

.ice-avatar-sm {
    object-fit: cover;
    width: 40px;
    height: 40px
}


/* ===== PAGE TEMPLATE: games ===== */
.win-zento-header .nav-link {
    position: relative;
}

.win-zento-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00D1FF;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 209, 255, 0.5);
}

.win-zento-header .nav-link:hover::after {
    width: 100%;
}

.win-zento-header .js-mobile-menu {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.win-zento-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00D1FF, transparent);
    opacity: 0.3;
}

.win-zento-footer .footer-link {
    position: relative;
    display: inline-block;
}

.win-zento-footer .footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #00D1FF;
    transition: width 0.3s ease;
}

.win-zento-footer .footer-link:hover::after {
    width: 100%;
}

.win-zento-detail-page .no-scrollbar::-webkit-scrollbar {
    display: none;
}

.win-zento-detail-page .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.win-zento-detail-page .ice-avatar {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.win-zento-detail-page .prose p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}