:root {
    --background-primary: #FDFCFF;
    --background-secondary: #F5F3FF;
    --surface-card: #FFFFFF;
    --text-primary-on-light: #1A0B2E;
    --text-secondary-on-light: #584B79;
    --accent-primary: #9D50BB;
    --accent-secondary: #6E48AA;
    --neon-highlight: #B06AB3;
    --border-color: #E9E4F5;
    --shadow-color: rgba(26, 11, 46, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-primary);
    color: var(--text-primary-on-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

.bg-primary-site {
    background-color: var(--background-primary);
}

.card-container {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--surface-card);
    box-shadow: 0 4px 20px -2px rgba(26, 11, 46, 0.05);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.card-container:hover {
    background-color: var(--background-secondary);
    border-color: var(--accent-primary);
}

.button-elevated {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--surface-card);
    color: var(--accent-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26, 11, 46, 0.03);
    text-decoration: none;
    text-align: center;
}

.button-elevated:hover {
    border-color: var(--accent-primary);
    color: var(--accent-secondary);
}

/* ===== header ===== */
.site-header {
    font-family: 'Inter', sans-serif;
}

.site-header .js-dropdown-menu {
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform-origin: top;
}

.site-header .js-dropdown-menu:not(.hidden) {
    display: block;
    animation: dropdownFadeIn 0.2s ease-out forwards;
}

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

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

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

.site-header .js-mobile-menu.hidden {
    display: none;
}

.site-header .container {
    max-width: 1280px;
}

/* ===== hero ===== */
.hero-block {
    position: relative;
}

.hero-block .hero-block-title {
    color: #1A0B2E;
}

.hero-block .hero-block-text {
    color: #584B79;
}

.hero-block .hero-block-image-wrapper {
    aspect-ratio: 4 / 3;
}

@media (min-width: 768px) {
    .hero-block .hero-block-image-wrapper {
        aspect-ratio: 16 / 10;
    }
}

.hero-block .hero-block-cta-btn {
    box-shadow: 0 4px 20px -2px rgba(157, 80, 187, 0.2);
}

.hero-block .hero-block-visual::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, #9D50BB 0%, #6E48AA 100%);
    filter: blur(60px);
    opacity: 0.05;
    z-index: 0;
}

/* ===== featured ===== */
.featured-archives .featured-card:hover img {
    transform: scale(1.05);
}

.featured-archives .featured-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-archives .featured-card:hover {
    border-color: #9D50BB;
}

/* ===== subscribe ===== */
.subscribe-section .subscribe-card {
    position: relative;
    z-index: 1;
}

.subscribe-section .js-email-input::placeholder {
    color: #584B79;
    opacity: 0.6;
    font-size: 14px;
}

.subscribe-section .js-email-input:focus {
    box-shadow: 0 0 0 4px rgba(157, 80, 187, 0.1);
}

.subscribe-section button {
    box-shadow: 0 4px 12px rgba(157, 80, 187, 0.2);
}

.subscribe-section button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(157, 80, 187, 0.3);
}

.subscribe-section .subscribe-content {
    hyphens: auto;
}

/* ===== reviews ===== */
.mmo-reviews .js-filter-btn.active {
    background-color: #9D50BB;
    color: #FFFFFF;
    border-color: #9D50BB;
}

.mmo-reviews .js-review-card {
    height: 100%;
}

.mmo-reviews .container {
    max-width: 1200px;
}

@media (max-width: 767px) {
    .mmo-reviews .js-filter-container {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
        justify-content: flex-start;
    }

    .mmo-reviews .js-filter-btn {
        white-space: nowrap;
    }
}

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

.titan-footer h3 {
    color: #1A0B2E;
}

.titan-footer a {
    text-decoration: none;
}

.titan-footer .logo-container img {
    display: block;
    filter: drop-shadow(0 2px 4px rgba(26, 11, 46, 0.05));
}

.titan-footer .footer-nav a,
.titan-footer .footer-legal a {
    position: relative;
}

.titan-footer .footer-nav a::after,
.titan-footer .footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #9D50BB;
    transition: width 0.3s ease;
}

.titan-footer .footer-nav a:hover::after,
.titan-footer .footer-legal a:hover::after {
    width: 100%;
}

.site-header {
    font-family: 'Inter', sans-serif;
}

.site-header .js-dropdown-menu {
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform-origin: top;
}

.site-header .js-dropdown-menu:not(.hidden) {
    display: block;
    animation: dropdownFadeIn 0.2s ease-out forwards;
}

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

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

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

.site-header .js-mobile-menu.hidden {
    display: none;
}

.site-header .container {
    max-width: 1280px;
}

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

.titan-footer h3 {
    color: #1A0B2E;
}

.titan-footer a {
    text-decoration: none;
}

.titan-footer .logo-container img {
    display: block;
    filter: drop-shadow(0 2px 4px rgba(26, 11, 46, 0.05));
}

.titan-footer .footer-nav a,
.titan-footer .footer-legal a {
    position: relative;
}

.titan-footer .footer-nav a::after,
.titan-footer .footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #9D50BB;
    transition: width 0.3s ease;
}

.titan-footer .footer-nav a:hover::after,
.titan-footer .footer-legal a:hover::after {
    width: 100%;
}

.post-grid-section .post-card {
    height: 100%;
}

.post-grid-section .post-title {
    color: #1A0B2E;
}

.post-grid-section .post-excerpt {
    color: #584B79;
}


/* ===== PAGE: privacy ===== */
.policy-content-root { font-family: 'Inter', sans-serif; background-color: #FDFCFF; color: #1A0B2E; }
.policy-container { max-width: 900px; }
.policy-card { position: relative; overflow: hidden; }
.policy-card h2 { font-family: 'Montserrat', sans-serif; line-height: 1.2; color: #1A0B2E; }
.policy-card p { line-height: 1.8; }
.policy-card ul li span { font-size: 16px; }
@media (max-width: 767px) {
  .policy-card { padding: 20px; }
  .policy-card h2 { font-size: 16px; }
  .policy-container h1 { font-size: 18px; }
}
.policy-content-root a { text-decoration: none; border-bottom: 1px solid transparent; }
.policy-content-root a:hover { border-bottom-color: #9D50BB; }

/* ===== PAGE: terms ===== */
.policy-content-root {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  color: #1A0B2E;
}
.terms-article {
  background: #FFFFFF;
  border: 1px solid #E9E4F5;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px -2px rgba(26, 11, 46, 0.05);
}
.terms-header {
  border-bottom: 2px solid #F5F3FF;
  margin-bottom: 30px;
  padding-bottom: 20px;
}
.terms-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #1A0B2E;
  margin-bottom: 8px;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .terms-header h1 {
    font-size: 42px;
  }
}
.terms-subtitle {
  color: #9D50BB;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 14px;
}
.terms-intro {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #584B79;
  margin-bottom: 40px;
}
.terms-section {
  margin-bottom: 32px;
}
.terms-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1A0B2E;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .terms-section h2 {
    font-size: 32px;
  }
}
.terms-section p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #584B79;
  margin-bottom: 16px;
}
.terms-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}
.terms-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: #584B79;
}
.terms-list li::before {
  content: "\F287";
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: #9D50BB;
}
.terms-contact-card {
  background: #F5F3FF;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}
.terms-contact-card p {
  margin-bottom: 8px !important;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.terms-contact-card a {
  color: #9D50BB;
  text-decoration: none;
  transition: color 0.2s ease;
}
.terms-contact-card a:hover {
  color: #6E48AA;
}

/* ===== PAGE: disclaimer ===== */
.policy-content-root { max-width: 900px; margin: 0 auto; padding: 40px 20px; font-family: 'Inter', sans-serif; line-height: 1.6; color: #1A0B2E; } .disclaimer-block { padding: 20px 24px; } .disclaimer-block h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 28px; line-height: 1.2; color: #1A0B2E; margin-bottom: 24px; text-transform: uppercase; letter-spacing: -0.02em; } @media (min-width: 768px) { .disclaimer-block h1 { font-size: 42px; } } .disclaimer-block h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px; line-height: 1.3; color: #1A0B2E; margin-top: 32px; margin-bottom: 16px; border-left: 4px solid #9D50BB; padding-left: 16px; } @media (min-width: 768px) { .disclaimer-block h2 { font-size: 32px; } } .disclaimer-block p { font-size: 16px; margin-bottom: 20px; color: #584B79; } .disclaimer-meta { font-size: 14px; color: #9D50BB; font-weight: 500; margin-bottom: 30px; display: block; } .disclaimer-block ul { margin-bottom: 24px; padding-left: 20px; } .disclaimer-block li { position: relative; list-style: none; margin-bottom: 12px; color: #584B79; padding-left: 28px; } .disclaimer-block li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: #9D50BB; font-family: 'bootstrap-icons'; } .disclaimer-block a { color: #9D50BB; text-decoration: none; font-weight: 500; transition: color 0.3s ease; } .disclaimer-block a:hover { color: #6E48AA; } .contact-list { margin-top: 24px; background: #F5F3FF; padding: 24px !important; border-radius: 12px; border: 1px solid #E9E4F5; }

.detail-page-wrapper .article-body-content ul.no-checkmark li::before { display: none; }

/* ===== PAGE: cookies ===== */
.policy-content-root { padding: 0 !important; } .policy-container { max-width: 900px; margin: 0 auto; padding: 40px 20px; color: #1A0B2E; line-height: 1.6; } .policy-header { margin-bottom: 48px; border-bottom: 1px solid #E9E4F5; padding-bottom: 32px; } .policy-badge { display: inline-block; padding: 4px 12px; background: #F5F3FF; color: #9D50BB; font-weight: 600; font-size: 12px; border-radius: 4px; text-transform: uppercase; margin-bottom: 16px; } .policy-main-title { font-family: 'Montserrat', sans-serif; font-weight: 800; color: #1A0B2E; text-align: left; margin-bottom: 16px; font-size: 24px; } @media (min-width: 768px) { .policy-main-title { font-size: 42px; } } .policy-intro { color: #584B79; font-size: 16px; } .policy-section { margin-bottom: 40px; } .policy-heading { font-family: 'Montserrat', sans-serif; font-weight: 700; color: #1A0B2E; margin-bottom: 20px; font-size: 18px; } @media (min-width: 768px) { .policy-heading { font-size: 32px; } } .policy-text { margin-bottom: 16px; color: #584B79; } .policy-list { list-style: none; padding: 0; margin: 24px 0; } .policy-list-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; color: #584B79; } .policy-list-item i { color: #9D50BB; font-size: 18px; margin-top: 2px; } .policy-info-box { background: #FDFCFF; border: 1px solid #E9E4F5; border-left: 4px solid #9D50BB; padding: 20px; border-radius: 8px; display: flex; gap: 16px; align-items: center; margin-top: 32px; } .policy-info-box i { color: #9D50BB; font-size: 24px; } .policy-text-small { font-size: 14px; margin: 0; color: #584B79; } .policy-contact { margin-top: 24px; padding: 16px; background: #F5F3FF; border-radius: 12px; display: inline-block; } .policy-link { color: #9D50BB; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color 0.2s ease; } .policy-link:hover { color: #6E48AA; }

/* ===== PAGE: gaming-zone ===== */
.gaming-zone-interactive {
  font-family: 'Inter', sans-serif;
}
.gaming-zone-interactive h1, .gaming-zone-interactive h2, .gaming-zone-interactive h3 {
  font-family: 'Montserrat', sans-serif;
}
.gaming-zone-interactive .js-game-container {
  box-shadow: 0 10px 30px -5px rgba(26, 11, 46, 0.2);
  image-rendering: pixelated;
}
.gaming-zone-interactive kbd {
  font-family: monospace;
  box-shadow: 0 2px 0 #D1C4E9;
}
#js-game-canvas {
  background: radial-gradient(circle at center, #1a0b2e 0%, #0c0516 100%);
}
.gaming-zone-interactive .js-game-overlay.hidden {
  display: none !important;
}
@media (max-width: 768px) {
  .gaming-zone-interactive .js-game-container {
    aspect-ratio: 4/5;
  }
}

/* ===== PAGE: about-contacts ===== */
.about-contacts-page .about-image-wrapper img {
  transition: transform 0.3s ease;
}
.about-contacts-page .contact-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.about-contacts-page .contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(26, 11, 46, 0.1);
}
.about-contacts-page input::placeholder,
.about-contacts-page textarea::placeholder {
  color: #D1C4E9;
}
.about-contacts-page input:focus,
.about-contacts-page select:focus,
.about-contacts-page textarea:focus {
  box-shadow: 0 0 0 3px rgba(157, 80, 187, 0.1);
}
.about-contacts-page .feature-item i {
  display: block;
}
@media (max-width: 767px) {
  .about-contacts-page .about-header h1 {
    hyphens: auto;
  }
  .about-contacts-page .about-image-wrapper {
    margin-bottom: 24px;
  }
}

.main-comment-card {
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.main-comment-card:hover {
    border-color: #9D50BB;
    background-color: #FDFCFF;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    display: block;
}

.avatar-container {
    width: 48px;
    height: 48px;
}

.reply-comment-card {
    position: relative;
}

.reply-comment-card::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 24px;
    width: 24px;
    height: 2px;
    background-color: #E9E4F5;
}

.reply-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: block;
}

.avatar-container {
    width: 40px;
    height: 40px;
}


/* ===== PAGE TEMPLATE: retro-archive ===== */
.detail-page-wrapper .article-body-content p {
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #1A0B2E;
}

.detail-page-wrapper .article-body-content h1,
.detail-page-wrapper .article-body-content h2,
.detail-page-wrapper .article-body-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1A0B2E;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.detail-page-wrapper .article-body-content h1 {
    font-size: 32px;
}

.detail-page-wrapper .article-body-content h2 {
    font-size: 26px;
}

.detail-page-wrapper .article-body-content h3 {
    font-size: 20px;
}

.detail-page-wrapper .article-body-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.detail-page-wrapper .article-body-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #584B79;
}

.detail-page-wrapper .article-body-content ul li::before {
    content: '\F26E';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: #9D50BB;
}

.site-header .js-dropdown-menu {
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform-origin: top;
}

.site-header .js-dropdown-menu:not(.hidden) {
    display: block;
    animation: dropdownFadeIn 0.2s ease-out forwards;
}

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

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

.site-header .js-mobile-menu.hidden {
    display: none;
}

.titan-footer h3 {
    color: #1A0B2E;
}

.titan-footer .footer-nav a,
.titan-footer .footer-legal a {
    position: relative;
}

.titan-footer .footer-nav a::after,
.titan-footer .footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #9D50BB;
    transition: width 0.3s ease;
}

.titan-footer .footer-nav a:hover::after,
.titan-footer .footer-legal a:hover::after {
    width: 100%;
}

/* ===== PAGE TEMPLATE: best-online-games ===== */
.detail-page-wrapper .article-body-content p {
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #1A0B2E;
}

.detail-page-wrapper .article-body-content h1,
.detail-page-wrapper .article-body-content h2,
.detail-page-wrapper .article-body-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1A0B2E;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.detail-page-wrapper .article-body-content h1 {
    font-size: 32px;
}

.detail-page-wrapper .article-body-content h2 {
    font-size: 26px;
}

.detail-page-wrapper .article-body-content h3 {
    font-size: 20px;
}

.detail-page-wrapper .article-body-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.detail-page-wrapper .article-body-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #584B79;
}

.detail-page-wrapper .article-body-content ul li::before {
    content: '\F26E';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: #9D50BB;
}

.site-header .js-dropdown-menu {
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform-origin: top;
}

.site-header .js-dropdown-menu:not(.hidden) {
    display: block;
    animation: dropdownFadeIn 0.2s ease-out forwards;
}

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

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

.site-header .js-mobile-menu.hidden {
    display: none;
}

.titan-footer h3 {
    color: #1A0B2E;
}

.titan-footer .footer-nav a,
.titan-footer .footer-legal a {
    position: relative;
}

.titan-footer .footer-nav a::after,
.titan-footer .footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #9D50BB;
    transition: width 0.3s ease;
}

.titan-footer .footer-nav a:hover::after,
.titan-footer .footer-legal a:hover::after {
    width: 100%;
}

/* ===== PAGE TEMPLATE: legends-of-rpg ===== */
.detail-page-wrapper .article-body-content p {
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: #1A0B2E;
}

.detail-page-wrapper .article-body-content h1,
.detail-page-wrapper .article-body-content h2,
.detail-page-wrapper .article-body-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1A0B2E;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.detail-page-wrapper .article-body-content h1 {
    font-size: 32px;
}

.detail-page-wrapper .article-body-content h2 {
    font-size: 26px;
}

.detail-page-wrapper .article-body-content h3 {
    font-size: 20px;
}

.detail-page-wrapper .article-body-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.detail-page-wrapper .article-body-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #584B79;
}

.detail-page-wrapper .article-body-content ul li::before {
    content: '\F26E';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 0;
    color: #9D50BB;
}

.site-header .js-dropdown-menu {
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform-origin: top;
}

.site-header .js-dropdown-menu:not(.hidden) {
    display: block;
    animation: dropdownFadeIn 0.2s ease-out forwards;
}

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

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

.site-header .js-mobile-menu.hidden {
    display: none;
}

.titan-footer h3 {
    color: #1A0B2E;
}

.titan-footer .footer-nav a,
.titan-footer .footer-legal a {
    position: relative;
}

.titan-footer .footer-nav a::after,
.titan-footer .footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #9D50BB;
    transition: width 0.3s ease;
}

.titan-footer .footer-nav a:hover::after,
.titan-footer .footer-legal a:hover::after {
    width: 100%;
}