/**
 * ============================================================================
 * SkyDen MC - Main Stylesheet v1.0.0
 * ============================================================================
 * 
 * @package     SkyDenMC
 * @subpackage  Frontend_Styles
 * @version     1.0.0
 * @author      Amirejk43
 * @author      SkyDen Development Team
 * 
 * @license     Proprietary Software License
 * @copyright   2026 SkyDen MC. All rights reserved.
 * 
 * @link        https://skydenmc.ir
 * @since       Version 1.0.0 (2024-01-01)
 * 
 * @description COMPLETE MAIN STYLESHEET
 *              - Fully responsive (mobile-first)
 *              - Persian fonts from local path
 *              - Complete RTL/LTR support
 *              - Enterprise-grade CSS
 *              - Performance optimized
 *              - All vendor prefixes
 * 
 * ============================================================================
 * 
 * ============================================
 * TABLE OF CONTENTS
 * ============================================
 * 1. FONTS & IMPORT
 * 2. CSS VARIABLES (PURPLE THEME)
 * 3. RESET & BASE STYLES
 * 4. RTL/LTR SUPPORT
 * 5. TABLE & CODE STYLES
 * 6. UTILITY CLASSES
 * 7. HEADER & NAVIGATION
 * 8. HERO SECTION
 * 9. TOPIC/BLOG SECTION
 * 10. GAMEMODES SECTION
 * 11. FAQ SECTION
 * 12. FOOTER
 * 13. RESPONSIVE DESIGN
 * 14. ANIMATIONS
 * ============================================
 */

/* --------------------------------------------
 * 1. FONTS & IMPORT
 * -------------------------------------------- */

/* Google Fonts - English & German */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

/* Persian Fonts */
@font-face {
  font-family: YekanBakh;
  font-style: normal;
  font-weight: 400;
  src:
    url("../fonts/YekanBakhRegular.woff2") format("woff2"),
    url("../fonts/YekanBakhRegular.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: YekanBakh;
  font-style: normal;
  font-weight: 700;
  src:
    url("../fonts/YekanBakhBold.woff2") format("woff2"),
    url("../fonts/YekanBakhBold.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: YekanBakh;
  font-style: normal;
  font-weight: 900;
  src:
    url("../fonts/YekanBakhHeavy.woff2") format("woff2"),
    url("../fonts/YekanBakhHeavy.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: iranYekan;
  font-style: normal;
  font-weight: 400;
  src:
    url("../fonts/iranyekanwebregular.woff2") format("woff2"),
    url("../fonts/iranyekanwebregular.woff") format("woff");
  font-display: swap;
}

/* --------------------------------------------
 * 2. CSS VARIABLES (PURPLE THEME)
 * -------------------------------------------- */

:root {
  /* Primary Colors - Purple Theme */
  --primary-color: #6c5ce7;
  --primary-dark: #5a4ad7;
  --primary-light: #8b5cf6;
  --primary-glow: rgba(108, 92, 231, 0.4);
  --primary-glow-strong: rgba(108, 92, 231, 0.88);
  --primary-bg: rgba(108, 92, 231, 0.1);
  --primary-bg-hover: rgba(108, 92, 231, 0.07);

  /* Secondary Colors */
  --secondary-color: #a855f7;
  --accent-color: #c084fc;

  /* Neutral Colors */
  --text-white: #ffffff;
  --text-color: #d8d8d8;
  --text-muted: #828b97;
  --text-dark: #2f2f2f;
  --title-color: #ffffff;
  --border-color: rgba(108, 92, 231, 0.2);
  --border-primary: #292d39;
  --border-light: rgba(255, 255, 255, 0.1);

  /* Background Colors */
  --bg-dark: rgb(20 20 34);
  --bg-card: rgb(24 27 36);
  --bg-card-hover: #1e2333;
  --bg-overlay: rgba(24, 27, 36, 0.45);
  --bg-overlay-dark: rgba(24, 27, 36, 0.95);
  --bg-overlay-light: rgba(24, 27, 36, 0.442);
  --bg-table-even: #16162a;
  --bg-table-odd: #1e1e2e;
  --bg-table-header: #1a1a2e;

  /* Status Colors */
  --success: #10b981;
  --success-dark: #059669;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Social Media Colors */
  --instagram: #dd2a7b;
  --discord: #5865f2;
  --telegram: #26a5e4;
  --aparat: #f84e48;
  --bale: #00ab80;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #5a4ad7 0%, #6c5ce7 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --gradient-card: linear-gradient(45deg, rgb(24 27 36), rgb(24 27 36));

  /* Shadows */
  --shadow-sm: 0 4px 40px rgba(108, 92, 231, 0.88);
  --shadow-md: 0 4px 15px rgba(139, 92, 246, 0.3);
  --shadow-lg: 0 14px 30px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 4px 40px rgba(108, 92, 231, 0.6);

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  /* Transitions */
  --transition-fast: all 0.3s ease;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Fonts */
  --font-persian: "YekanBakh", "iranYekan", "Segoe UI", Tahoma, sans-serif;
  --font-english: "Inter", "Roboto", "Poppins", "Nunito", "Open Sans", sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Roboto Mono", "Courier New", monospace;
}

/* --------------------------------------------
 * 3. RESET & BASE STYLES
 * -------------------------------------------- */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  background-color: var(--bg-dark) !important;
  color: var(--text-white);
  font-family: var(--font-persian);
  width: 100vw !important;
}

body:not(.i18n-ready) {
  visibility: hidden;
}

body.i18n-ready {
  visibility: visible;
  overflow-x: hidden !important;
}

/* LTR Body Font */
html[dir="ltr"] body {
  font-family: var(--font-english);
}

/* Typography */
p {
  text-wrap: pretty;
  font-size: 15px;
  line-height: 2rem;
  color: rgb(235 235 235);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  font-size: 25px;
  font-weight: 900;
  margin-block: 15px;
  color: var(--title-color);
}

a,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

ul,
ol,
li {
  list-style: none;
  font-size: 15px;
  margin-bottom: 5px;
  color: rgb(235 235 235);
}

/* --------------------------------------------
 * 4. RTL/LTR SUPPORT - COMPLETE FIX
 * -------------------------------------------- */

/* Base Direction */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

/* ============================================
   RTL (Persian & Arabic) Styles
   ============================================ */

/* RTL Body */
html[dir="rtl"] body,
html[dir="rtl"] p,
html[dir="rtl"] span,
html[dir="rtl"] div,
html[dir="rtl"] .card-body,
html[dir="rtl"] .rule-desc,
html[dir="rtl"] .faq-question,
html[dir="rtl"] .faq-answer {
  font-family: var(--font-persian);
  text-align: right;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
  font-family: "YekanBakh", "iranYekan", sans-serif;
  font-weight: 700;
  text-align: right;
}

/* RTL Header */
html[dir="rtl"] .logo-part-header {
  text-align: right;
  justify-content: flex-start;
}

html[dir="rtl"] .navbar-part-header {
  text-align: center;
}

html[dir="rtl"] .lang-btn-part-header {
  text-align: left;
  justify-content: flex-end;
}

/* RTL Breadcrumb - Fix Bootstrap */
html[dir="rtl"] .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

html[dir="rtl"] .breadcrumb-item + .breadcrumb-item {
  padding-left: 0;
  padding-right: 0.5rem;
}

html[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
  float: right;
  padding-left: 0.5rem;
  padding-right: 0;
  content: "/";
  z-index: -1;
}

/* RTL Offcanvas */
html[dir="rtl"] .offcanvas-start {
  right: 0;
  left: auto;
  transform: translateX(-100%);
}

html[dir="rtl"] .offcanvas-start.show {
  transform: translateX(0);
}

/* RTL Dropdown */
html[dir="rtl"] .dropdown-menu {
  text-align: right;
  right: 0;
  left: auto;
}

/* RTL Footer */
html[dir="rtl"] .footer-logo-part {
  text-align: right;
  justify-content: flex-start;
}

html[dir="rtl"] .footer-social-media-part {
  text-align: left;
  justify-content: flex-end;
}

/* RTL Icons */
html[dir="rtl"] .fa-angle-left {
  transform: rotate(360deg);
  display: inline-block;
}

/* RTL Spacing Overrides */
html[dir="rtl"] .ms-1,
html[dir="rtl"] .ms-2,
html[dir="rtl"] .ms-3,
html[dir="rtl"] .ms-4,
html[dir="rtl"] .ms-5 {
  margin-left: 0 !important;
}

html[dir="rtl"] .me-1,
html[dir="rtl"] .me-2,
html[dir="rtl"] .me-3,
html[dir="rtl"] .me-4,
html[dir="rtl"] .me-5 {
  margin-right: 0 !important;
}

html[dir="rtl"] .ps-1,
html[dir="rtl"] .ps-2,
html[dir="rtl"] .ps-3,
html[dir="rtl"] .ps-4,
html[dir="rtl"] .ps-5 {
  padding-left: 0 !important;
}

html[dir="rtl"] .pe-1,
html[dir="rtl"] .pe-2,
html[dir="rtl"] .pe-3,
html[dir="rtl"] .pe-4,
html[dir="rtl"] .pe-5 {
  padding-right: 0 !important;
}

/* RTL Button Groups */
html[dir="rtl"] .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
  border-radius: 0 8px 8px 0;
}

html[dir="rtl"] .btn-group > .btn:not(:first-child) {
  border-radius: 8px 0 0 8px;
}

/* RTL Form Elements */
html[dir="rtl"] .form-check {
  padding-right: 1.5em;
  padding-left: 0;
}

html[dir="rtl"] .form-check-input {
  margin-right: -1.5em;
  margin-left: 0;
}

/* RTL Modal */
html[dir="rtl"] .modal-header .btn-close {
  margin: -0.5rem auto -0.5rem -0.5rem;
}

/* ============================================
   LTR (English & German) Styles
   ============================================ */

/* LTR Body */
html[dir="ltr"] body,
html[dir="ltr"] p,
html[dir="ltr"] span,
html[dir="ltr"] div,
html[dir="ltr"] .card-body,
html[dir="ltr"] .rule-desc,
html[dir="ltr"] .faq-question,
html[dir="ltr"] .faq-answer {
  font-family: var(--font-english);
  text-align: left;
}

html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] h4,
html[dir="ltr"] h5,
html[dir="ltr"] h6 {
  font-family: "Poppins", "Inter", "Roboto", sans-serif;
  font-weight: 700;
  text-align: left;
  direction: ltr;
}

/* LTR Header */

html[dir="ltr"] .navbar-part-header {
  text-align: center;
}

html[dir="ltr"] .logo-part-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
}

html[dir="ltr"] .lang-btn-part-header {
  text-align: right;
  justify-content: flex-end;
}

/* LTR Breadcrumb - Fix Bootstrap */
html[dir="ltr"] .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

html[dir="ltr"] .breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
  padding-right: 0;
}

html[dir="ltr"] .breadcrumb-item + .breadcrumb-item::before {
  float: left;
  padding-right: 0.5rem;
  padding-left: 0;
  content: "/";
  z-index: -1;
}

/* LTR Offcanvas */
html[dir="ltr"] .offcanvas-start {
  left: 0;
  right: auto;
  transform: translateX(100%);
}

html[dir="ltr"] .offcanvas-start.show {
  transform: translateX(0);
}

/* LTR Dropdown */
html[dir="ltr"] .dropdown-menu {
  text-align: left;
  left: 0;
  right: auto;
}

/* LTR Footer */
html[dir="ltr"] .footer-logo-part {
  text-align: left;
  justify-content: flex-start;
}

html[dir="ltr"] .footer-social-media-part {
  text-align: right;
  justify-content: flex-end;
}

/* LTR Icons */
html[dir="ltr"] .fa-angle-left {
  transform: rotate(180deg);
  display: inline-block;
}

/* LTR Spacing Overrides */
html[dir="ltr"] .ms-1,
html[dir="ltr"] .ms-2,
html[dir="ltr"] .ms-3,
html[dir="ltr"] .ms-4,
html[dir="ltr"] .ms-5 {
  margin-left: 0.25rem !important;
}

html[dir="ltr"] .me-1,
html[dir="ltr"] .me-2,
html[dir="ltr"] .me-3,
html[dir="ltr"] .me-4,
html[dir="ltr"] .me-5 {
  margin-right: 0.25rem !important;
}

/* LTR Button Groups */
html[dir="ltr"] .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
  border-radius: 8px 0 0 8px;
}

html[dir="ltr"] .btn-group > .btn:not(:first-child) {
  border-radius: 0 8px 8px 0;
}

/* LTR Form Elements */
html[dir="ltr"] .form-check {
  padding-left: 1.5em;
  padding-right: 0;
}

html[dir="ltr"] .form-check-input {
  margin-left: -1.5em;
  margin-right: 0;
}

/* LTR Modal */
html[dir="ltr"] .modal-header .btn-close {
  margin: -0.5rem -0.5rem -0.5rem auto;
}

/* ============================================
   Common RTL/LTR Fixes for Bootstrap Components
   ============================================ */

/* Fix for dropdown toggles */
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  margin-right: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

html[dir="rtl"] .dropdown-toggle::after {
  margin-left: 0;
  margin-right: 0.255em;
}

/* Fix for input groups */
html[dir="rtl"] .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-target),
html[dir="rtl"] .input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n + 3) {
  border-radius: 0 8px 8px 0;
}

html[dir="rtl"] .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: 0;
  margin-right: -1px;
  border-radius: 8px 0 0 8px;
}

/* Fix for nav pills */
html[dir="rtl"] .nav-pills .nav-link {
  text-align: right;
}

/* Fix for pagination */
html[dir="rtl"] .pagination {
  padding-right: 0;
}

html[dir="rtl"] .page-item:first-child .page-link {
  border-radius: 0 8px 8px 0;
}

html[dir="rtl"] .page-item:last-child .page-link {
  border-radius: 8px 0 0 8px;
}

html[dir="ltr"] .page-item:first-child .page-link {
  border-radius: 8px 0 0 8px;
}

html[dir="ltr"] .page-item:last-child .page-link {
  border-radius: 0 8px 8px 0;
}

/* Fix for alert close button */
html[dir="rtl"] .alert-dismissible .btn-close {
  right: auto;
  left: 0;
}

/* Fix for list groups */
html[dir="rtl"] .list-group {
  padding-right: 0;
}

/* Fix for carousel */
html[dir="rtl"] .carousel-item-next,
html[dir="rtl"] .carousel-item-prev,
html[dir="rtl"] .carousel-item.active {
  transform: translateX(0);
}

html[dir="rtl"] .carousel-control-next {
  right: auto;
  left: 0;
}

html[dir="rtl"] .carousel-control-prev {
  left: auto;
  right: 0;
}

/* Fix for floating labels */
html[dir="rtl"] .form-floating > label {
  right: 0;
  left: auto;
  transform-origin: 100% 0;
}

/* Fix for hero section content alignment */
html[dir="ltr"] .hero-content-wrapper {
  text-align: left;
  align-items: start;
}

html[dir="ltr"] .hero-content-wrapper .btn-glass,
html[dir="ltr"] .hero-content-wrapper .main-cta,
html[dir="ltr"] .hero-content-wrapper .secondary-cta {
  direction: ltr;
}

html[dir="rtl"] .hero-content-wrapper .btn-glass,
html[dir="rtl"] .hero-content-wrapper .main-cta,
html[dir="rtl"] .hero-content-wrapper .secondary-cta {
  direction: rtl;
}

/* Fix for product cards */
html[dir="ltr"] .product-card,
html[dir="ltr"] .topic-card {
  text-align: left;
}

html[dir="rtl"] .product-card,
html[dir="rtl"] .topic-card {
  text-align: right;
}

/* Fix for FAQ icons */
.faq-question i,
.topic-section-btn i {
  transition: transform 0.3s ease;
}

html[dir="rtl"] .faq-question i,
html[dir="rtl"] .topic-section-btn i {
  transform: rotate(0deg);
}

html[dir="ltr"] .faq-question i,
html[dir="ltr"] .topic-section-btn i {
  transform: rotate(180deg);
}

.btn-buy-from-modal {
  width: 100% !important;
}

/* FAQ Page Styles */
.faq-section {
  direction: rtl;
}

.faq-dynamic-container {
  margin-top: 20px;
}

.faq-item {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: #a855f7;
  transform: translateY(-2px);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: #a855f7;
}

.faq-question.active i {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.faq-answer.active {
  padding: 18px 24px;
  max-height: 500px;
}

/* Category Filter Buttons */
.faq-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 50px;
  justify-content: start;
}

.faq-cat-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 24px;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-cat-btn:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: #a855f7;
  color: #a855f7;
}

.faq-cat-btn.active {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border-color: transparent;
  color: white;
}

.faq-cat-btn .count {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  margin-right: 6px;
}

/* Search Box */
.faq-search {
  display: none;
}

.faq-search input {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
  padding: 12px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 14px;
  text-align: right;
}

.faq-search input:focus {
  outline: none;
  border-color: #a855f7;
}

.faq-search input::placeholder {
  color: var(--text-muted);
}

/* Empty State */
.faq-empty {
  text-align: center;
  padding: 50px;
  color: var(--text-muted);
}

.faq-empty i {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-question {
    padding: 14px 18px;
    font-size: 14px;
  }

  .faq-answer.active {
    padding: 14px 18px;
    font-size: 13px;
  }

  .faq-categories {
    gap: 8px;
  }

  .faq-cat-btn {
    padding: 6px 16px;
    font-size: 12px;
  }
}

/* Active state for FAQ icons */
.faq-question i.rotated,
html[dir="rtl"] .faq-question.active i {
  transform: rotate(-90deg);
}

html[dir="ltr"] .faq-question.active i {
  transform: rotate(90deg);
}

html[dir="ltr"] .faq-question {
  display: flex;
  justify-content: space-between;
  direction: ltr;
}

html[dir="ltr"] .gamemode-card {
  align-items: start !important;
}

html[dir="ltr"] .topic-card-details,
html[dir="ltr"] .topic-card-details a,
html[dir="ltr"] .topic-card-details span {
  display: flex;
  flex-direction: row-reverse !important;
  align-items: center;
}

html[dir="ltr"] .topic-card-details i {
  margin-inline: 4px;
}

.dropdown-item span {
  padding-inline: 5px;
}

/* --------------------------------------------
 * 5. TABLE & CODE STYLES
 * -------------------------------------------- */

table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 25px 0 !important;
  font-size: 0.95em;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-table-header) !important;
}

table th {
  background: var(--gradient-primary);
  color: var(--text-white) !important;
  padding: 14px 12px !important;
  text-align: center !important;
  font-weight: bold;
  font-size: 1em;
  border: 1px solid var(--primary-light) !important;
}

table td {
  background-color: var(--bg-table-odd) !important;
  color: var(--text-color) !important;
  padding: 10px 12px !important;
  border: 1px solid #2a2a3e !important;
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  transition: var(--transition-fast);
}

table tr:first-child {
  background: transparent !important;
}

table tr:nth-child(even) td {
  background-color: var(--bg-table-even) !important;
}

table tr:nth-child(odd) td {
  background-color: var(--bg-table-odd) !important;
}

table td:first-child,
table th:first-child {
  font-weight: bold;
  border-left: 3px solid var(--primary-light);
}

table td strong {
  color: var(--accent-color);
  text-shadow: 0 0 3px rgba(139, 92, 246, 0.5);
}

pre,
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

code {
  background: var(--gradient-primary) !important;
  color: var(--accent-color) !important;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: bold;
  text-shadow: 0 0 2px rgba(139, 92, 246, 0.5);
  border: 1px solid var(--primary-light);
  margin-inline: 4px;
}

/* Important Notes */
.important {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a1a3e 100%) !important;
  border-left: 4px solid var(--primary-light) !important;
  border-radius: var(--radius-md) !important;
  padding: 20px !important;
  margin: 20px 0 !important;
  -webkit-box-shadow: var(--shadow-md);
  box-shadow: var(--shadow-md);
}

.important p {
  color: var(--text-color) !important;
  margin: 0 !important;
}

.important strong {
  color: var(--accent-color);
  text-shadow: 0 0 3px rgba(139, 92, 246, 0.5);
}

/* --------------------------------------------
 * 6. UTILITY CLASSES
 * -------------------------------------------- */

/* Separator */
.separator {
  width: 100%;
  height: 1.1px;
  background-color: #393d41 !important;
  margin-top: 11px;
}

/* Copyright & Developer Info */
.copy-right,
.developer-info {
  font-size: 13px;
  color: var(--text-muted);
  padding: 15px 12px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.developer-info span {
  padding-inline: 4px;
}

.developer-info {
  text-align: left;
}

/* Error Container */
.error-page {
  display: flex;
  justify-content: center;
}

.error-container {
  margin-top: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.error-container button {
  background: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-box-shadow: var(--shadow-sm);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  color: var(--text-white);
  padding-top: 11px;
  padding-bottom: 12px;
  font-size: 14px;
  border-radius: var(--radius-sm);
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  transition: var(--transition-fast);
}

/* 404 Page */
.not-found-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-top: 15%;
  color: var(--primary-color);
  height: 60vh;
}

.not-found-section-title {
  font-size: 130px;
  font-weight: 700;
  font-family: var(--font-persian, --font-english);
  margin: 0 0 -15px 20px !important;
}

/* FAQ Header Background */
.faq-header {
  background: url("../img/faq-background.jpg") !important;
  background-size: cover !important;
  background-position: left !important;
}

/* Rules Header Background */
.rules-section-header {
  background: url("../img/courtroom-image.png") !important;
  background-position: top !important;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #181820;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #5e4a8a;
  border-radius: 10px;
}

/* --------------------------------------------
 * 7. HEADER & NAVIGATION
 * -------------------------------------------- */

#main-header {
  padding: 20px;
  position: fixed;
  z-index: 999;
  width: 100% !important;
  top: 0;
}

#main-header > section {
  -webkit-transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  -moz-transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  -ms-transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  -o-transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  background: var(--bg-overlay);
  border-radius: var(--radius-md);
  padding: 0 20px;
  height: 80px;
  border: 1px solid var(--border-primary);
  color: var(--text-color);
}

.logo-part-header,
.lang-btn-part-header,
.navbar-part-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
}

.logo-part-header img {
  min-width: 50%;
  margin: 2px -22px 0 -25px;
  height: 85px;
}

.logo-part-header {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
}

.navbar-part-header {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.lang-btn-part-header {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
}

.spinner-border ~ p {
  text-align: center !important;
}

/* Navigation Menu Items */
.navbar-part-header ul li,
.mobile-menu-item {
  padding: 14px 18px !important;
  border-radius: var(--radius-md);
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  transition: var(--transition-fast);
}

.navbar-part-header ul li:hover,
.mobile-menu-item:hover {
  background: rgba(216, 216, 216, 0.14);
}

/* Language Button */
.lang-btn-part-header .btn-lang {
  background: -webkit-gradient(linear, left top, right top, from(#00c4ff), to(var(--primary-color)));
  background: -webkit-linear-gradient(left, #00c4ff 0%, var(--primary-color) 100%);
  background: -moz-linear-gradient(left, #00c4ff 0%, var(--primary-color) 100%);
  background: -o-linear-gradient(left, #00c4ff 0%, var(--primary-color) 100%);
  background: linear-gradient(90deg, #00c4ff 0%, var(--primary-color) 100%);
  color: var(--text-white);
  padding-inline: 0.8rem;
  gap: 8px;
  -webkit-box-shadow: 0 6px 14px rgba(108, 92, 231, 0.14);
  box-shadow: 0 6px 14px rgba(108, 92, 231, 0.14);
  padding: 10px 10px 3px 10px !important;
}

.btn-header-g {
  background: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-box-shadow: var(--shadow-sm);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  color: var(--text-white);
  padding-top: 11px;
  border-radius: var(--radius-sm);
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  transition: var(--transition-fast);
}

.btn-header-g:hover {
  background: var(--primary-dark);
  -webkit-box-shadow: var(--shadow-glow);
  box-shadow: var(--shadow-glow);
}

/* Offcanvas Menu */
.responsive-menu {
  -webkit-transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  -moz-transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  -ms-transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  -o-transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  background: var(--bg-overlay-dark);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  color: var(--text-color);
}

.responsive-menu {
  position: absolute !important;
  top: -25px !important;
  right: -35px !important;
  padding: 10px !important;
  height: 100vh !important;
  z-index: 1000000000 !important;
  left: -35px !important;
}

/* Language Switcher */
.language-switcher-item {
  margin: 8px 0;
  width: 100%;
  padding-inline: 5px;
  -webkit-transition: all ease 100ms;
  -moz-transition: all ease 100ms;
  -ms-transition: all ease 100ms;
  -o-transition: all ease 100ms;
  transition: all ease 100ms;
}

.language-switcher-item a {
  color: var(--text-white) !important;
  border-radius: 4px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 13px;
  padding: 8px !important;
  -webkit-transition: all ease 100ms;
  -moz-transition: all ease 100ms;
  -ms-transition: all ease 100ms;
  -o-transition: all ease 100ms;
  transition: all ease 100ms;
}

.language-switcher-item a:hover {
  background: var(--primary-color);
}

.language-switcher-img {
  width: 25px;
  border-radius: 3px;
}

.language-switcher-menu {
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  background: rgb(24 27 36 / 85%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-primary);
  padding: 8px 10px;
  color: var(--text-color);
  min-width: 191px;
}

/* --------------------------------------------
 * 8. HERO SECTION
 * -------------------------------------------- */

.hero-section {
  min-height: 110vh;
  background: url("../img/background-main2.webp");
  background-position: left;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-backdrop-filter: brightness(0.4);
  backdrop-filter: brightness(0.4);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}

section.hero-section::after {
  content: "";
  width: 100vw;
  position: absolute;
  bottom: 0 !important;
  background: -webkit-gradient(linear, left bottom, left top, from(rgb(19 19 34)), to(transparent));
  background: -webkit-linear-gradient(bottom, rgb(20 20 34), transparent);
  background: -moz-linear-gradient(bottom, rgb(17 18 24), transparent);
  background: -o-linear-gradient(bottom, rgb(17 18 24), transparent);
  background: linear-gradient(to top, rgb(20 20 34), rgba(20, 20, 34, 0.296));
  height: 100%;
  z-index: -1;
}

/* Hero Content */
.hero-content-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-top: 0.7rem;
}

.hero-content-wrapper h1 {
  font-weight: 900 !important;
  color: var(--text-white);
  font-size: 50px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Badge Wrapper */
.badge-wrapper {
  color: #ededed;
  font-size: 13px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.badge-text {
  color: #ededed;
  font-size: 11px;
  margin-bottom: -2px;
  margin-inline: 6px;
}

/* Typewriter */
.typewriter-text {
  white-space: nowrap;
  overflow: visible;
  -webkit-animation: blink-cursor 0.8s infinite;
  -moz-animation: blink-cursor 0.8s infinite;
  -ms-animation: blink-cursor 0.8s infinite;
  -o-animation: blink-cursor 0.8s infinite;
  animation: blink-cursor 0.8s infinite;
  min-width: -webkit-fit-content;
  min-width: -moz-fit-content;
  min-width: fit-content;
  display: inline-block;
}

.typewriter-text::after {
  content: "";
  margin-inline: 5px;
  -webkit-animation: blink-cursor 0.8s infinite;
  -moz-animation: blink-cursor 0.8s infinite;
  -ms-animation: blink-cursor 0.8s infinite;
  -o-animation: blink-cursor 0.8s infinite;
  animation: blink-cursor 0.8s infinite;
  border-left: 2px solid rgba(255, 255, 255, 0.7);
}

.hero-dynamic-text {
  font-size: 18px !important;
  font-weight: 700 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin: 6px 0 16px 0 !important;
  display: inline-block;
  white-space: nowrap;
  overflow: visible;
  opacity: 1 !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Server Description */
.server-description {
  color: #ededed;
  font-size: 15px;
  line-height: 32px;
}

/* Glass Button (Copy IP) */
.btn-glass {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-light);
  -webkit-box-shadow: var(--shadow-lg);
  box-shadow: var(--shadow-lg);
  color: var(--text-white);
  margin: 2px 0 14px 0;
  cursor: pointer;
  -webkit-transition: var(--transition-smooth);
  -moz-transition: var(--transition-smooth);
  -ms-transition: var(--transition-smooth);
  -o-transition: var(--transition-smooth);
  transition: var(--transition-smooth);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  transform: translateY(-2px);
}

.btn-glass:active {
  -webkit-transform: scale(0.97);
  -moz-transform: scale(0.97);
  -ms-transform: scale(0.97);
  -o-transform: scale(0.97);
  transform: scale(0.97);
}

.btn-glass.copy-success-flash {
  background: -webkit-gradient(linear, left top, right bottom, from(rgba(16, 185, 129, 0.5)), to(rgba(5, 150, 105, 0.5))) !important;
  background: -webkit-linear-gradient(top left, rgba(16, 185, 129, 0.5) 0%, rgba(5, 150, 105, 0.5) 100%) !important;
  background: -moz-linear-gradient(top left, rgba(16, 185, 129, 0.5) 0%, rgba(5, 150, 105, 0.5) 100%) !important;
  background: -o-linear-gradient(top left, rgba(16, 185, 129, 0.5) 0%, rgba(5, 150, 105, 0.5) 100%) !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.5) 0%, rgba(5, 150, 105, 0.5) 100%) !important;
  border-color: var(--success) !important;
  -webkit-transition: var(--transition-fast) !important;
  -moz-transition: var(--transition-fast) !important;
  -ms-transition: var(--transition-fast) !important;
  -o-transition: var(--transition-fast) !important;
  transition: var(--transition-fast) !important;
}

/* CTA Buttons */
.main-cta {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 12px;
  padding: 11px 24px 10px;
  border-radius: var(--radius-md);
  background: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.06);
  -webkit-box-shadow: var(--shadow-sm);
  box-shadow: var(--shadow-sm);
  color: var(--text-white);
  font-weight: 700;
  font-size: 15px;
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  transition: var(--transition-fast);
  cursor: pointer;
}

.main-cta:hover {
  background: var(--primary-dark);
}

.main-cta:active {
  -webkit-transform: scale(0.98);
  -moz-transform: scale(0.98);
  -ms-transform: scale(0.98);
  -o-transform: scale(0.98);
  transform: scale(0.98);
}

.secondary-cta {
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  transition: var(--transition-fast);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 12px;
  padding: 11px 24px 10px;
  border-radius: var(--radius-md);
  background: rgb(235, 235, 235);
  border: 1px solid rgba(85, 85, 85, 0.629);
  -webkit-box-shadow: 0 4px 40px rgba(176, 175, 175, 0.8);
  box-shadow: 0 4px 40px rgba(176, 175, 175, 0.8);
  color: rgba(41, 41, 41, 0.82);
  margin: 0 12px 0 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.secondary-cta:hover {
  background: rgba(213, 213, 213, 0.9);
  color: var(--text-dark);
}

.secondary-cta:active {
  -webkit-transform: scale(0.98);
  -moz-transform: scale(0.98);
  -ms-transform: scale(0.98);
  -o-transform: scale(0.98);
  transform: scale(0.98);
}

/* Copy Notification */
.copy-notification {
  font-family: inherit;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* --------------------------------------------
 * 9. TOPIC/BLOG SECTION
 * -------------------------------------------- */

.topic-section {
  color: var(--text-white) !important;
  padding: 60px 0 30px 0;
  position: relative;
  z-index: 100;
}

.topic-section-title {
  font-weight: 700;
  margin-bottom: 0 !important;
}

.topic-section-btn {
  background: transparent;
  color: var(--text-white);
  padding: 0;
  border: none !important;
  outline: none !important;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 14px 9px;
  border-radius: var(--radius-lg);
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  transition: var(--transition-fast);
}

.topic-section-btn:hover {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-light);
}

.topic-section-header .row .col-6 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* Topic Cards */
.topic-card {
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  -webkit-transition: var(--transition-fast) !important;
  -moz-transition: var(--transition-fast) !important;
  -ms-transition: var(--transition-fast) !important;
  -o-transition: var(--transition-fast) !important;
  transition: var(--transition-fast) !important;
}

.topic-card:hover {
  background: var(--primary-bg);
  cursor: pointer;
}

.topic-card:hover .topic-card-img {
  -webkit-filter: brightness(0.7);
  filter: brightness(0.7);
}

.topic-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin: 10px 0 15px;
  line-height: 36px;
}

.topic-card-img {
  padding: 8px;
  width: 100%;
  border-radius: var(--radius-xl);
  height: 255px;
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  transition: var(--transition-fast);
}

.topic-card-description {
  font-size: 14px;
  margin-top: var(--spacing-lg);
  color: var(--text-muted);
  line-height: 1.8rem;
  height: 58px;
  overflow: hidden;
}

.topic-card-btn {
  font-size: 14px;
  color: var(--text-muted);
  margin-inline: 2px;
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  transition: var(--transition-fast);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.topic-card-btn:hover {
  color: var(--text-white);
}

.topic-card-details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  color: var(--text-muted);
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* --------------------------------------------
 * 10. GAMEMODES SECTION
 * -------------------------------------------- */

.gamemodes-section {
  margin-top: 75px;
  position: relative;
}

.gamemodes-section .container {
  position: relative;
  z-index: 100;
}

.gamemodes-section::before {
  content: "";
  position: absolute;
  top: 65px;
  left: 0;
  width: 495px;
  height: 130px;
  background: rgba(108, 92, 231, 0.86);
  border-radius: 50%;
  -webkit-filter: blur(115px);
  filter: blur(115px);
  z-index: 1;
  -webkit-transform: rotate(124deg);
  -moz-transform: rotate(124deg);
  -ms-transform: rotate(124deg);
  -o-transform: rotate(124deg);
  transform: rotate(124deg);
  z-index: -1;
}

.sword-separator {
  position: absolute;
  bottom: -35%;
  right: 90px;
}

.gamemodes-section-title {
  font-weight: 700;
  margin-bottom: 0 !important;
  color: var(--text-white);
  font-size: 30px;
  margin-bottom: 30px;
  width: 95%;
}

.gamemodes-section-server-name {
  color: var(--primary-color);
  text-shadow: 0 4px 40px rgba(108, 92, 231, 0.88);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  font-weight: 900;
  font-family: var(--font-persian, --font-english);
  font-size: 34px;
}

.gamemodes-section-details {
  font-size: 16px;
  line-height: 35px;
  margin-top: var(--spacing-lg);
  color: var(--text-muted);
  width: 95%;
}

.gamemode-card {
  border-radius: var(--radius-xl);
  background: rgba(24, 27, 36, 0.299);
  border: 1px solid var(--border-primary);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  color: var(--text-white);
  padding: 25px;
  width: 100%;
  cursor: pointer;
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  transition: var(--transition-fast);
}

.gamemode-card:hover {
  -webkit-transform: scale(1.05) rotate(3deg);
  -moz-transform: scale(1.05) rotate(3deg);
  -ms-transform: scale(1.05) rotate(3deg);
  -o-transform: scale(1.05) rotate(3deg);
  transform: scale(1.05) rotate(3deg);
  background: var(--primary-bg-hover);
}

.gamemode-card img {
  width: 95px;
}

.gamemode-card-title {
  font-size: 26px;
  font-weight: 900;
  font-family: var(--font-persian, --font-english);
}

.gamemode-card-description {
  font-size: 13px;
  line-height: 25px;
  color: var(--text-muted);
}

/* --------------------------------------------
 * 11. FAQ SECTION
 * -------------------------------------------- */
.faq-categories {
  position: relative;
  z-index: 10000000000000;
}

.faq-section {
  position: relative;
  z-index: 100 !important;
}

.faq-section::before {
  content: "";
  position: absolute;
  bottom: -140px;
  right: -175px;
  width: 500px;
  height: 500px;
  background: rgba(108, 92, 231, 0.26);
  border-radius: 50%;
  -webkit-filter: blur(115px);
  filter: blur(115px);
  z-index: -1 !important;
  -webkit-transform: rotate(52deg);
  -moz-transform: rotate(52deg);
  -ms-transform: rotate(52deg);
  -o-transform: rotate(52deg);
  transform: rotate(52deg);
}

.faq-item {
  border-radius: var(--radius-xl);
  background: var(--bg-overlay-light);
  border: 1px solid var(--border-primary);
  -webkit-transition: var(--transition-fast) !important;
  -moz-transition: var(--transition-fast) !important;
  -ms-transition: var(--transition-fast) !important;
  -o-transition: var(--transition-fast) !important;
  transition: var(--transition-fast) !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  color: var(--text-white);
  padding: 25px;
  width: 100%;
  cursor: pointer;
  margin: 20px 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.faq-item .faq-question {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}

.faq-item .faq-answer {
  display: none;
}

.active {
  display: flex !important;
}

.faq-answer-show {
  display: block !important;
  margin-top: 20px;
  padding-inline: 10px;
  font-weight: 400;
  max-height: unset !important;
  font-size: 13px;
}

.faq-dynamic-container {
  position: relative;
  z-index: 999 !important;
}

.sword-separator-faq {
  left: -60px !important;
  right: unset;
  -webkit-transform: rotate(168deg);
  -moz-transform: rotate(168deg);
  -ms-transform: rotate(168deg);
  -o-transform: rotate(168deg);
  transform: rotate(168deg);
  bottom: 145px;
  position: absolute;
  z-index: -1 !important;
  user-select: none !important;
}

/* --------------------------------------------
 * 12. FOOTER
 * -------------------------------------------- */

#footer {
  margin-top: 90px;
}

#footer .footer-logo-part {
  color: var(--text-white);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: end;
}

#footer .footer-logo-part h1 {
  font-size: 20px;
  font-weight: 900;
  font-family: var(--font-persian, --font-english);
  margin: 0 0 3px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#footer .footer-logo-part p {
  font-size: 11px;
}

#footer .footer-logo-part img {
  width: 140px;
  margin: 25px -20px -20px -20px;
}

#footer .footer-social-media-part {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: end;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: end;
}

#footer .social-media-box {
  width: 45px;
  height: 45px;
  border-radius: var(--radius-md);
  background: var(--gradient-card);
  border: 1px solid var(--border-primary);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: var(--text-muted);
  margin: 0 5px 15px;
  font-size: 21px;
  -webkit-transition: var(--transition-fast);
  -moz-transition: var(--transition-fast);
  -ms-transition: var(--transition-fast);
  -o-transition: var(--transition-fast);
  transition: var(--transition-fast);
}

#footer .social-media-box:hover i {
  color: var(--text-white);
}

#footer .social-media-box:hover svg path {
  fill: var(--text-white) !important;
}

#footer .instagram-box:hover {
  background: var(--instagram);
}

#footer .discord-box:hover {
  background: var(--discord);
}

#footer .telegram-box:hover {
  background: var(--telegram);
}

#footer .aparat-box:hover {
  background: var(--aparat);
}

#footer .bale-box:hover {
  background: var(--bale);
}

/* --------------------------------------------
 * 13. RESPONSIVE DESIGN
 * -------------------------------------------- */

@media (max-width: 1200px) {
  .card-title {
    font-size: 20px !important;
  }
  .card-link {
    font-size: 12px !important;
  }
}

@media (max-width: 990px) {
  .card-title {
    font-size: 18px !important;
  }
  .card-link {
    font-size: 14px !important;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
  }

  .hero-content-wrapper h1 {
    font-size: 32px;
  }

  .hero-dynamic-text {
    font-size: 14px !important;
  }

  .server-description {
    font-size: 13px;
    line-height: 28px;
  }

  .gamemodes-section-title {
    font-size: 24px;
  }

  .gamemodes-section-server-name {
    font-size: 26px;
  }

  .topic-card-img {
    height: 200px;
  }

  .topic-card-title {
    font-size: 18px;
  }

  .faq-item {
    padding: 18px;
  }

  .copy-notification {
    font-size: 12px !important;
    padding: 10px 18px !important;
    white-space: nowrap;
  }

  .gamemode-card:hover {
    -webkit-transform: scale(1.02) rotate(1deg);
    -moz-transform: scale(1.02) rotate(1deg);
    -ms-transform: scale(1.02) rotate(1deg);
    -o-transform: scale(1.02) rotate(1deg);
    transform: scale(1.02) rotate(1deg);
  }
}

@media (max-width: 576px) {
  .hero-content-wrapper h1 {
    font-size: 28px !important;
  }

  .breadcrumb a,
  .breadcrumb li {
    font-size: 13px !important;
  }

  .hero-dynamic-text {
    font-size: 12px !important;
  }

  .btn-glass,
  .main-cta,
  .secondary-cta {
    padding: 8px 16px;
    font-size: 12px;
  }

  .gamemodes-section-title {
    font-size: 23px !important;
  }

  .pub-section-title {
    margin-top: 0 !important;
    font-size: 20px !important;
  }

  pub-section-option {
    font-size: 13px !important;
  }

  .gamemodes-section-server-name {
    font-size: 24px !important;
  }

  .topic-card-img {
    height: 160px;
  }

  .offcanvas-start {
    width: 75vw !important;
  }
}

/* --------------------------------------------
 * 14. ANIMATIONS
 * -------------------------------------------- */

@-webkit-keyframes blink-cursor {
  50% {
    opacity: 0;
  }
}

@-moz-keyframes blink-cursor {
  50% {
    opacity: 0;
  }
}

@-ms-keyframes blink-cursor {
  50% {
    opacity: 0;
  }
}

@-o-keyframes blink-cursor {
  50% {
    opacity: 0;
  }
}

@keyframes blink-cursor {
  50% {
    opacity: 0;
  }
}

@-webkit-keyframes iconScale {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }
  50% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@-moz-keyframes iconScale {
  0% {
    -moz-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }
  50% {
    -moz-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    -moz-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@-ms-keyframes iconScale {
  0% {
    -ms-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }
  50% {
    -ms-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@-o-keyframes iconScale {
  0% {
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }
  50% {
    -o-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    -o-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes iconScale {
  0% {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }
  50% {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

.fa-check {
  -webkit-animation: iconScale 0.3s var(--transition-bounce);
  -moz-animation: iconScale 0.3s var(--transition-bounce);
  -ms-animation: iconScale 0.3s var(--transition-bounce);
  -o-animation: iconScale 0.3s var(--transition-bounce);
  animation: iconScale 0.3s var(--transition-bounce);
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@-moz-keyframes fadeInUp {
  from {
    opacity: 0;
    -moz-transform: translateY(30px);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
}

@-ms-keyframes fadeInUp {
  from {
    opacity: 0;
    -ms-transform: translateY(30px);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}

@-o-keyframes fadeInUp {
  from {
    opacity: 0;
    -o-transform: translateY(30px);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(30px);
    -moz-transform: translateY(30px);
    -ms-transform: translateY(30px);
    -o-transform: translateY(30px);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
}

/* Product-card */
.product-card {
  -webkit-animation: fadeInUp 0.5s ease forwards;
  -moz-animation: fadeInUp 0.5s ease forwards;
  -ms-animation: fadeInUp 0.5s ease forwards;
  -o-animation: fadeInUp 0.5s ease forwards;
  animation: fadeInUp 0.5s ease forwards;
}

/* ============================================================
 * SkyDen MC - UI Polish Overrides v1.0.0
 * Only visual improvements, no logic changes
 * ============================================================ */

/* ---------- 1. Ambient background gradient (removes flat black) ---------- */
body {
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(108, 92, 231, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(168, 85, 247, 0.06), transparent 60%),
    var(--bg-dark, #141422) !important;
  background-attachment: fixed !important;
}

/* ---------- 2. Hero: subtle glow + better spacing ---------- */
.hero-section {
  position: relative;
  isolation: isolate;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 30% 40%,
    rgba(108, 92, 231, 0.18),
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

.hero-content-wrapper h1 {
  text-shadow: 0 2px 24px rgba(108, 92, 231, 0.35);
}

/* ---------- 3. Copy IP button: modern, animated ---------- */
.btn-glass {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  background: linear-gradient(
    135deg,
    rgba(108, 92, 231, 0.14),
    rgba(168, 85, 247, 0.06)
  ) !important;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.btn-glass:hover {
  border-color: rgba(168, 85, 247, 0.65) !important;
  box-shadow: 0 8px 32px rgba(108, 92, 231, 0.35) !important;
  transform: translateY(-2px);
}

.btn-glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  transition: left 0.6s ease;
}

.btn-glass:hover::after {
  left: 100%;
}

/* ---------- 4. CTA buttons: refined shadows ---------- */
.main-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #7c3aed, #5a4ad7) !important;
  box-shadow: 0 6px 24px -4px rgba(124, 58, 237, 0.5) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.main-cta:hover {
  box-shadow: 0 12px 32px -4px rgba(124, 58, 237, 0.7) !important;
  transform: translateY(-2px);
}

.secondary-cta {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.secondary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(255, 255, 255, 0.25) !important;
}

/* ---------- 5. Gamemode cards: modern hover ---------- */
.gamemode-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.gamemode-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(168, 85, 247, 0.18),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gamemode-card:hover::before {
  opacity: 1;
}

.gamemode-card:hover {
  box-shadow: 0 12px 40px -8px rgba(108, 92, 231, 0.5) !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
}

.gamemode-card img {
  transition: transform 0.3s ease;
}

.gamemode-card:hover img {
  transform: scale(1.08);
}

/* ---------- 6. Blog cards: consistent polish ---------- */
.topic-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(108, 92, 231, 0.45) !important;
}

.topic-card-img {
  transition: transform 0.4s ease !important;
}

.topic-card:hover .topic-card-img {
  transform: scale(1.04);
}

/* ---------- 7. FAQ: modern accordion ---------- */
.faq-item {
  transition: border-color 0.25s ease, background 0.25s ease !important;
}

.faq-item:hover {
  border-color: rgba(168, 85, 247, 0.4) !important;
}

.faq-question {
  transition: color 0.2s ease;
}

.faq-item:hover .faq-question span {
  color: #c084fc;
}

/* ---------- 8. Scrollbar (subtle purple) ---------- */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7c3aed, #5a4ad7) !important;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #a855f7, #7c3aed) !important;
}

/* ---------- 9. Focus visible (accessibility) ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #a855f7 !important;
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 10. Reduced motion respect ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn-glass,
  .main-cta,
  .secondary-cta,
  .gamemode-card,
  .topic-card,
  .topic-card-img,
  .gamemode-card img {
    transition: none !important;
    transform: none !important;
  }
  .btn-glass::after {
    display: none;
  }
}

/* ============================================================
 * SkyDen MC - UI Polish v2 (Whole Site) v1.0.0
 * Touches: header, footer, shop, blog, rules, faq, checkout
 * Pure CSS, no logic changes
 * ============================================================ */

/* ---------- 1. HEADER: glassmorphism + sticky shadow ---------- */
#main-header > section {
  background: rgba(20, 20, 34, 0.65) !important;
  backdrop-filter: blur(14px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
  border: 1px solid rgba(168, 85, 247, 0.14) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28) !important;
  transition: box-shadow 0.3s ease, background 0.3s ease !important;
}

#main-header > section:hover {
  background: rgba(20, 20, 34, 0.78) !important;
  border-color: rgba(168, 85, 247, 0.22) !important;
}

/* Active nav link indicator */
.navbar-part-header ul li a {
  position: relative;
  transition: color 0.2s ease;
}

.navbar-part-header ul li a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.navbar-part-header ul li:hover a::after {
  width: 60%;
}

/* ---------- 2. FOOTER: refined gradient + top glow ---------- */
#footer {
  position: relative;
  margin-top: 100px;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(168, 85, 247, 0.5),
    transparent
  );
}

#footer .social-media-box {
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

#footer .social-media-box:hover {
  transform: translateY(-4px) scale(1.06) !important;
  box-shadow: 0 10px 24px -6px rgba(108, 92, 231, 0.5);
}

/* ---------- 3. SHOP: filter buttons + product cards ---------- */
.btn-filter {
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease !important;
}

.btn-filter:hover,
.btn-filter.active {
  box-shadow: 0 6px 20px -4px rgba(108, 92, 231, 0.55) !important;
}

.btn-buy-rank {
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease !important;
}

.btn-buy-rank::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-buy-rank:hover::after {
  transform: translateX(100%);
}

.product-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.product-card:hover {
  box-shadow: 0 16px 48px -12px rgba(108, 92, 231, 0.55) !important;
}

.product-card-price {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

/* ---------- 4. BLOG: header polish + card details ---------- */
.blog-header.page-title-section,
.shop-header.page-title-section,
.rules-section-header.page-title-section,
.faq-header.page-title-section {
  position: relative;
  overflow: hidden;
}

.blog-header.page-title-section::before,
.shop-header.page-title-section::before,
.rules-section-header.page-title-section::before,
.faq-header.page-title-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.15),
    rgba(20, 20, 34, 0.85)
  );
  pointer-events: none;
}

/* Breadcrumb pill style */
.breadcrumb {
  display: inline-flex;
  padding: 8px 18px !important;
  background: rgba(20, 20, 34, 0.55);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.breadcrumb a {
  color: #c084fc !important;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #a855f7 !important;
}

.breadcrumb-item.active {
  color: #ffffff !important;
}

/* ---------- 5. RULES: cards + punishment table ---------- */
.rule-card {
  border-left: 3px solid transparent !important;
  transition: all 0.25s ease !important;
}

.rule-card:hover {
  border-left-color: #a855f7 !important;
  transform: translateX(-6px);
  box-shadow: 0 8px 28px -8px rgba(108, 92, 231, 0.4);
}

.punishment-table table {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px -10px rgba(0, 0, 0, 0.4);
}

.punishment-table th {
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.25), rgba(168, 85, 247, 0.15)) !important;
  color: #ffffff !important;
  letter-spacing: 0.5px;
}

/* ---------- 6. FAQ: categories + answers ---------- */
.faq-cat-btn {
  transition: all 0.2s ease !important;
}

.faq-cat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -4px rgba(108, 92, 231, 0.4);
}

.faq-cat-btn.active {
  box-shadow: 0 8px 24px -4px rgba(168, 85, 247, 0.55);
}

/* ---------- 7. CHECKOUT: cards + inputs ---------- */
.card {
  border: 1px solid rgba(168, 85, 247, 0.10) !important;
  transition: border-color 0.25s ease !important;
}

.card:hover {
  border-color: rgba(168, 85, 247, 0.22) !important;
}

.form-control {
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-control:focus {
  border-color: #a855f7 !important;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18) !important;
}

.btn-payment {
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease !important;
}

.btn-payment:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -6px rgba(16, 185, 129, 0.55) !important;
}

.payment-method.active {
  background: rgba(168, 85, 247, 0.10) !important;
  box-shadow: 0 8px 24px -6px rgba(168, 85, 247, 0.35);
}

/* ---------- 8. Global headings: subtle gradient underline ---------- */
h1.page-title,
h1.section-title {
  position: relative;
  display: inline-block;
}

h1.page-title::after,
h1.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, transparent);
  border-radius: 3px;
}

/* ---------- 9. Loading spinner: brand color ---------- */
.spinner-border.text-primary {
  color: #a855f7 !important;
}

/* ---------- 10. Buttons: consistent hover lift ---------- */
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) !important;
}

/* ---------- 11. Selection color (brand) ---------- */
::selection {
  background: rgba(168, 85, 247, 0.4);
  color: #ffffff;
}

::-moz-selection {
  background: rgba(168, 85, 247, 0.4);
  color: #ffffff;
}

/* ---------- 12. Reduced motion respect ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn-filter,
  .btn-buy-rank,
  .btn-payment,
  .product-card,
  .rule-card,
  .faq-cat-btn,
  #footer .social-media-box {
    transition: none !important;
    transform: none !important;
  }
  .btn-buy-rank::after {
    display: none;
  }
}

/* ============================================================
 * Readability fixes - boost contrast on gradients
 * ============================================================ */

/* Primary text stays pure white everywhere */
h1, h2, h3, h4, h5, h6,
.hero-content-wrapper h1,
.page-title,
.section-title,
.product-name,
.topic-card-title,
.gamemode-card-title,
.faq-question span,
.rule-name,
.rule-header {
  color: #ffffff !important;
}

/* Body text: not muted grey, brighter */
p,
.server-description,
.gamemode-card-description,
.topic-card-description,
.rule-desc,
.faq-answer,
.news-content {
  color: #e8e8f0 !important;
}

/* Muted but readable (was #828b97) */
.text-muted,
.badge-text,
.footer .copy-right,
.footer .developer-info,
.breadcrumb-item,
.breadcrumb-item a {
  color: #b8b8c8 !important;
}

/* On the darker radial bg, boost description */
.hero-content-wrapper .server-description {
  color: #f0f0f8 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* Do not override brand purple accents */
a:not(.btn):not(.social-media-box):not(.breadcrumb-item a),
.rule-code,
.product-category,
.price-row strong,
.final-price-row strong,
.license-value.active {
  /* keep original color */
}

/* ============================================================
 * Live Server Stats - hero section
 * ============================================================ */
.live-stats {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 10px 18px;
  background: rgba(20, 20, 34, 0.55);
  border: 1px solid rgba(168, 85, 247, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: fit-content;
  animation: live-stats-in 0.6s ease-out 0.2s both;
}

@keyframes live-stats-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.live-stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  white-space: nowrap;
}

.live-stat-value {
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.live-stat-label {
  color: #b8b8c8;
  font-size: 12px;
}

.live-stat-icon {
  color: #a855f7;
  font-size: 13px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: live-pulse 2s ease-out infinite;
}

@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.live-divider {
  color: rgba(168, 85, 247, 0.4);
  font-weight: 300;
}

@media (max-width: 576px) {
  .live-stats {
    gap: 10px;
    padding: 8px 14px;
    font-size: 12px;
    flex-wrap: wrap;
  }
  .live-stat { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .live-stats, .live-dot {
    animation: none !important;
  }
}
