:root {
    color-scheme: light dark;
    font-size: 16px;
    --font-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --spacing: clamp(1.5rem, 3vw, 2.5rem);
    --section-padding: clamp(1.5rem, 3vw, 2.5rem);
    --container-max: 75rem;
    --container-inline: clamp(1rem, 4vw, 2rem);
    --color-primary: #8b5cf6;
    --color-primary-dark: #7c3aed;
    --color-primary-light: #a78bfa;
    --color-primary-soft: rgba(139, 92, 246, 0.12);
    --color-border: rgba(139, 92, 246, 0.2);
    --color-border-strong: rgba(139, 92, 246, 0.3);
    --color-text: #f5f7ff;
    --color-text-muted: rgba(245, 247, 255, 0.72);
    --color-text-inverse: #0e1024;
    --shadow-soft: 0 16px 40px rgba(15, 17, 33, 0.06);
    --shadow-strong: 0 40px 80px rgba(15, 17, 33, 0.12);
    --flag-radius: 0.375rem;
    --safe-touch-target: 44px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

body {
    margin: 0;
    font-family: var(--font-base);
    background: linear-gradient(180deg, #0a0c1e 0%, #12142e 50%, #1a1c3a 100%);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
    text-rendering: optimizeLegibility;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(147, 51, 234, 0.15), transparent 60%),
                radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.1), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body[data-theme='light'] {
    background: linear-gradient(180deg, #f8f9ff 0%, #f0f2ff 50%, #e8ebff 100%);
    color: #1b1d30;
}

body[data-theme='light']::before {
    background: radial-gradient(circle at 50% 0%, rgba(147, 51, 234, 0.08), transparent 60%),
                radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.05), transparent 50%);
}

body[data-theme='light'] .card,
body[data-theme='light'] .section {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(139, 92, 246, 0.12) 90%);
    color: #1b1d30;
    box-shadow: 0 20px 45px rgba(139, 92, 246, 0.16);
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Enhanced focus styles for interactive elements */
.nav__link:focus-visible,
.btn:focus-visible,
.account-card__details:focus-visible,
.accounts-modal__cta:focus-visible,
.footer__social-link:focus-visible,
.theme-toggle:focus-visible,
.language-switcher__item:focus-visible {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

a,
button {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

.btn,
.language-switcher__item,
.theme-toggle,
.admin-card__contact,
.footer__social-link,
.accounts-active-filters__badge,
.accounts-modal__cta,
.account-card__details,
.accounts-show-more button,
.accounts-filter {
    min-height: var(--safe-touch-target);
}

img,
picture,
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

img {
    color: transparent;
}

.hero__highlights::after {
    content: '';
    position: absolute;
    inset: -35%;
    background: radial-gradient(ellipse at top right, rgba(136, 92, 255, 0.36), transparent 55%),
        radial-gradient(ellipse at bottom left, rgba(255, 184, 81, 0.22), transparent 60%);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.8;
    z-index: 0;
}

body[data-theme='light'] .hero__highlights::after {
    mix-blend-mode: soft-light;
    opacity: 0.65;
}

/* 🌟 2025 WORLD-CLASS NAVBAR 🌟 */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(24px) saturate(180%);
    background: linear-gradient(180deg, rgba(10, 12, 30, 0.98) 0%, rgba(15, 17, 35, 0.95) 100%);
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(139, 92, 246, 0.1) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar.scrolled {
    background: linear-gradient(180deg, rgba(10, 12, 30, 0.99) 0%, rgba(15, 17, 35, 0.98) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(139, 92, 246, 0.2) inset;
    border-bottom-color: rgba(139, 92, 246, 0.25);
}

/* Compensate for fixed navbar */
body {
    padding-top: 70px !important;
}

/* Mobile navbar compensation */
@media (max-width: 767px) {
    body {
        padding-top: 60px !important;
    }
}

body[data-theme='light'] .topbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.topbar__inner {
    width: min(100%, 1400px);
    margin-inline: auto;
    padding: 0.875rem clamp(1rem, 4vw, 2rem);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(1rem, 3vw, 3rem);
}

@media (max-width: 899px) {
    .topbar__inner {
        gap: 1rem;
        padding: 0.75rem 1rem;
    }
}

/* ✨ PREMIUM LOGO DESIGN ✨ */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    color: #fff;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    padding: 0.375rem 0.625rem;
    border-radius: 0.75rem;
    position: relative;
}

.logo:hover {
    transform: translateY(-2px) scale(1.02);
}

.logo:hover .logo__badge {
    transform: scale(1.05) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.6);
}

.logo:active {
    transform: translateY(0) scale(0.98);
}

body[data-theme='light'] .logo {
    color: #1b1d30;
}

.logo__badge {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo__text {
    letter-spacing: -0.015em;
    font-size: 1.125rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.25s ease;
}

.logo:hover .logo__text {
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Light mode logo text - use dark gradient */
body[data-theme='light'] .logo__text {
    background: linear-gradient(135deg, #1b1d30 0%, #4c1d95 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body[data-theme='light'] .logo:hover .logo__text {
    background: linear-gradient(135deg, #0f1117 0%, #5b21b6 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.nav {
    display: none;
    flex: 0 1 auto;
    max-width: none;
}

@media (min-width: 900px) {
    .nav {
        display: flex;
    }
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav__item {
    margin: 0;
}

.nav__icon {
    font-size: 1.125rem;
    display: none;
}

/* 🚀 WORLD-CLASS NAV LINKS WITH PREMIUM ANIMATIONS 🚀 */
.nav__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0.625rem 0.875rem;
    border-radius: 0.75rem;
    color: rgba(203, 213, 225, 0.9);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    overflow: hidden;
}

/* Premium underline effect on hover */
.nav__link::before {
    content: '';
    position: absolute;
    bottom: 0.375rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav__link:hover {
    color: #fff;
    background: rgba(139, 92, 246, 0.12);
    transform: translateY(-2px) scale(1.02);
}

.nav__link:active {
    transform: translateY(0) scale(0.98);
}

/* Active state - Purple pill with glow */
.nav__link.active,
.nav__link--active {
    color: #fff !important;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.6), 
                0 2px 8px rgba(139, 92, 246, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    transform: scale(1.03);
}

.nav__link.active::before,
.nav__link--active::before {
    display: none;
}

.nav__link.active .nav__text,
.nav__link--active .nav__text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav__text {
    font-weight: inherit;
    position: relative;
    z-index: 1;
}

body[data-theme='light'] .nav__link {
    color: rgba(15, 23, 42, 0.75);
}

body[data-theme='light'] .nav__link:hover {
    color: #0f172a;
    background: rgba(139, 92, 246, 0.08);
}

body[data-theme='light'] .nav__link.active,
body[data-theme='light'] .nav__link--active {
    color: #fff !important;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

body[data-theme='light'] .nav__link.active:hover,
body[data-theme='light'] .nav__link--active:hover {
    color: #fff !important;
}

/* Responsive nav links for smaller screens */
@media (max-width: 1200px) {
    .nav__link {
        padding: 0.625rem 0.75rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 1024px) {
    .nav__link {
        padding: 0.5rem 0.625rem;
        font-size: 0.8125rem;
    }
    
    .nav__list {
        gap: 0.25rem;
    }
}

.topbar__controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    margin-left: auto;
}

@media (max-width: 899px) {
    .topbar__controls {
        gap: 0.625rem;
    }
}

/* 🔐 LOGIN BUTTON - PREMIUM STYLE 🔐 */
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.125rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border: none;
    cursor: pointer;
}

.btn-login:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    color: #fff !important;
}

.btn-login:active {
    transform: translateY(0) scale(0.98);
}

.btn-login__icon {
    font-size: 1.125rem;
    display: inline-flex;
}

.btn-login__text {
    font-weight: 600;
    letter-spacing: 0.01em;
}

@media (max-width: 899px) {
    .btn-login {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
        gap: 0.375rem;
    }
    
    .btn-login__text {
        display: none;
    }
    
    .btn-login__icon {
        font-size: 1.25rem;
    }
}

body[data-theme='light'] .btn-login {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

body[data-theme='light'] .btn-login:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

/* Language Selector - Dropdown Style */
.lang-selector {
    position: relative;
    z-index: 100;
}

/* 🌍 PREMIUM LANGUAGE SELECTOR 🌍 */
.lang-selector__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(20, 31, 49, 0.7));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lang-selector__button:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(124, 58, 237, 0.2));
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.lang-selector__button:active {
    transform: translateY(0) scale(0.98);
}

.lang-selector__flag {
    font-size: 1.125rem;
}

.lang-selector__code {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8125rem;
}

/* 💫 PREMIUM DROPDOWN MENU 💫 */
.lang-selector__menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    min-width: 200px;
    background: linear-gradient(180deg, rgba(20, 23, 50, 0.98) 0%, rgba(15, 17, 35, 0.98) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 
                0 0 0 1px rgba(139, 92, 246, 0.1) inset,
                0 4px 16px rgba(139, 92, 246, 0.2);
    padding: 0.625rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.lang-selector__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    animation: dropdownSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ⚡ PREMIUM LANGUAGE OPTIONS ⚡ */
.lang-selector__option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.625rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.lang-selector__option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #8b5cf6, #7c3aed);
    transform: scaleY(0);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-selector__option:hover {
    background: rgba(139, 92, 246, 0.18);
    color: #fff;
    transform: translateX(4px);
}

.lang-selector__option:hover::before {
    transform: scaleY(1);
}

.lang-selector__option:active {
    transform: translateX(2px) scale(0.98);
}

.lang-selector__option--active {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.4), 
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.lang-selector__option--active::before {
    display: none;
}

body[data-theme='light'] .lang-selector__button {
    background: rgba(248, 250, 252, 0.9);
    border-color: rgba(139, 92, 246, 0.2);
    color: #1b1d30;
}

body[data-theme='light'] .lang-selector__menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(139, 92, 246, 0.2);
}

body[data-theme='light'] .lang-selector__option {
    color: rgba(15, 23, 42, 0.8);
}

body[data-theme='light'] .lang-selector__option:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

body[data-theme='light'] .lang-selector__option--active {
    color: #fff !important;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 0.5rem;
    padding: 0.25rem;
}

body[data-theme='light'] .language-switcher {
    background: rgba(248, 250, 252, 0.9);
    border-color: rgba(139, 92, 246, 0.2);
}

.language-switcher__item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(203, 213, 225, 0.85);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.language-switcher__item:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #fff;
}

.language-switcher__item.active {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

body[data-theme='light'] .language-switcher__item {
    color: rgba(15, 23, 42, 0.7);
}

body[data-theme='light'] .language-switcher__item:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

body[data-theme='light'] .language-switcher__item.active {
    color: #fff !important;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.flag {
    width: 22px;
    height: 14px;
    border-radius: var(--flag-radius);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.flag-en {
    background: linear-gradient(180deg, #00247d 0 33%, #fff 33% 66%, #cf142b 66% 100%);
}

.flag-ru {
    background: linear-gradient(180deg, #fff 0 33%, #0c47b7 33% 66%, #d52b1e 66% 100%);
}

.flag-uz {
    background: linear-gradient(180deg, #1f75c1 0 30%, #fff 30% 60%, #009f49 60% 100%);
    position: relative;
}

.flag-uz::after {
    content: '';
    position: absolute;
    inset: 1px 4px auto 4px;
    height: 2px;
    background: #cf142b;
    border-radius: 999px;
}

/* 🌙 PREMIUM iPhone-STYLE THEME TOGGLE ☀️ */
.theme-toggle {
    border: none;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(20, 31, 49, 0.6));
    cursor: pointer;
    padding: 0.375rem 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(139, 92, 246, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.theme-toggle:hover {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(124, 58, 237, 0.15));
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25);
}

.theme-toggle:active {
    transform: translateY(0) scale(0.98);
}

.theme-toggle__track {
    position: relative;
    width: 3.5rem;
    height: 1.875rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(124, 58, 237, 0.2));
    border-radius: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) inset;
}

.theme-toggle__thumb {
    position: absolute;
    top: 0.125rem;
    left: 0.125rem;
    width: 1.375rem;
    height: 1.375rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 50%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(139, 92, 246, 0.6),
                0 4px 8px rgba(0, 0, 0, 0.3),
                0 0 0 2px rgba(255, 255, 255, 0.1) inset;
}

.theme-toggle:hover .theme-toggle__thumb {
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.8),
                0 6px 12px rgba(0, 0, 0, 0.4),
                0 0 0 2px rgba(255, 255, 255, 0.15) inset;
}

body[data-theme='light'] .theme-toggle {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.9));
}

body[data-theme='light'] .theme-toggle__track {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.15));
    border-color: rgba(245, 158, 11, 0.3);
}

body[data-theme='light'] .theme-toggle__thumb {
    transform: translateX(1.625rem);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 2px 12px rgba(251, 191, 36, 0.6),
                0 4px 8px rgba(0, 0, 0, 0.2),
                0 0 0 2px rgba(255, 255, 255, 0.5) inset;
}

.theme-toggle__icon {
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.theme-toggle:hover .theme-toggle__icon {
    transform: rotate(15deg) scale(1.1);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Show visually hidden content on focus (for skip links) */
.visually-hidden:focus,
.visually-hidden:focus-visible {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Loading states */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.5rem;
    height: 1.5rem;
    margin: -0.75rem 0 0 -0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spinner 0.6s linear infinite;
}

/* Error states */
.error-message {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
    font-weight: 500;
}

body[data-theme='light'] .error-message {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #b91c1c;
    font-weight: 600;
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: rgba(245, 247, 255, 0.65);
}

.empty-state__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(245, 247, 255, 0.85);
}

.empty-state__message {
    font-size: 0.95rem;
    line-height: 1.6;
}

body[data-theme='light'] .empty-state {
    color: rgba(27, 29, 48, 0.6);
}

body[data-theme='light'] .empty-state__title {
    color: rgba(27, 29, 48, 0.85);
}

.page {
    width: min(100%, var(--container-max));
    margin-inline: auto;
    padding: var(--spacing) var(--container-inline);
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    position: relative;
    z-index: 1;
}

@media (min-width: 48rem) {
    .page {
        padding-inline: clamp(1.5rem, 5vw, 2.5rem);
    }
}

@media (min-width: 64rem) {
    .page {
        padding-inline: clamp(2rem, 6vw, 3rem);
    }
}

.hero {
    display: grid;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
    grid-template-columns: 1fr;
    align-items: stretch;
}

@media (min-width: 900px) {
    .hero {
        grid-template-columns: 1.6fr 1fr;
    }
}

.hero__text {
    padding: clamp(2.75rem, 5vw, 4rem);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(20, 22, 45, 0.95) 0%, rgba(139, 92, 246, 0.12) 100%);
    border: 1px solid rgba(139, 92, 246, 0.18);
    box-shadow: 0 20px 50px rgba(10, 12, 30, 0.4);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: relative;
    overflow: hidden;
}

body[data-theme='light'] .hero__text {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.18);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.18);
}

.hero__text::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 30% 20%, rgba(168, 85, 247, 0.3), transparent 65%);
    transform: rotate(-15deg);
    opacity: 0.6;
    pointer-events: none;
}

.hero__text::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5%;
    width: clamp(200px, 35vw, 350px);
    aspect-ratio: 1 / 1;
    background: url("../img/hero-replacement.jpg") center/cover no-repeat;
    opacity: 0.15;
    transform: translateY(-50%);
    filter: drop-shadow(0 20px 40px rgba(147, 51, 234, 0.3));
    pointer-events: none;
    border-radius: 50%;
}

body[data-theme='light'] .hero__text::before {
    opacity: 0.3;
}

body[data-theme='light'] .hero__text::after {
    opacity: 0.08;
}

.hero__text > * {
    position: relative;
    z-index: 2;
}

.hero__highlights::after {
    content: '';
    position: absolute;
    inset: -35%;
    background: radial-gradient(ellipse at top right, rgba(168, 85, 247, 0.25), transparent 60%);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.6;
    z-index: 0;
}

body[data-theme='light'] .hero__highlights::after {
    mix-blend-mode: soft-light;
    opacity: 0.4;
}

.hero__text h1 {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #fff;
}

body[data-theme='light'] .hero__text h1 {
    color: #1b1d30;
}

.hero__text p {
    margin: 0;
    color: rgba(245, 247, 255, 0.8);
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.65;
    max-width: 95%;
}

body[data-theme='light'] .hero__text p {
    color: rgba(27, 29, 48, 0.7);
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    max-width: 400px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
    border: 1px solid rgba(139, 92, 246, 0.5);
}

.btn-primary:hover {
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.45);
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

/* Light mode - ensure button text is always visible on purple buttons */
body[data-theme='light'] .btn-primary {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25);
    border: 1px solid rgba(139, 92, 246, 0.4);
}

body[data-theme='light'] .btn-primary:hover {
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.35);
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    color: #fff !important;
}

.btn-outline {
    background: rgba(139, 92, 246, 0.08);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    color: #fff;
}

body[data-theme='light'] .btn-outline {
    color: #7c3aed;
    background: rgba(139, 92, 246, 0.06);
    border: 2px solid rgba(139, 92, 246, 0.3);
    font-weight: 600;
}

body[data-theme='light'] .btn-outline:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.5);
    color: #6d28d9;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
    margin-top: auto;
}

@media (max-width: 768px) {
    .hero__stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

.stat {
    border-radius: 12px;
    padding: 1.125rem 1.25rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.stat:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.35);
    transform: translateY(-2px);
}

body[data-theme='light'] .stat {
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

body[data-theme='light'] .stat:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.15);
}

.stat__value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

body[data-theme='light'] .stat__value {
    color: #1b1d30;
}

.stat__label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(245, 247, 255, 0.7);
    font-weight: 600;
}

body[data-theme='light'] .stat__label {
    color: rgba(27, 29, 48, 0.6);
}

.hero__highlights {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: clamp(500px, 50vw, 650px);
    background: linear-gradient(135deg, rgba(15, 18, 40, 0.98) 0%, rgba(139, 92, 246, 0.18) 100%);
    box-shadow: 0 20px 50px rgba(10, 12, 30, 0.4);
    isolation: isolate;
    border: 1px solid rgba(139, 92, 246, 0.18);
    display: flex;
    flex-direction: column;
}

body[data-theme='light'] .hero__highlights {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(139, 92, 246, 0.08) 100%);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.15);
}

.news-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
    flex: 1;
}

.news-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

.news-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(15, 18, 40, 0.3) 0%, 
        rgba(15, 18, 40, 0.7) 50%, 
        rgba(15, 18, 40, 0.95) 100%);
    z-index: 1;
}

body[data-theme='light'] .news-slide::before {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0.95) 100%);
}

.news-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.news-slide--fallback {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(20, 22, 45, 0.95));
}

body[data-theme='light'] .news-slide--fallback {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(255, 255, 255, 0.98));
}

.news-slide__overlay {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
    color: #fff;
    z-index: 2;
}

.news-slide__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.875rem;
    border-radius: 6px;
    background: rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(139, 92, 246, 0.5);
    width: fit-content;
}

body[data-theme='light'] .news-slide__badge {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.4);
    color: #fff;
}

.news-slide__headline {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0;
    max-width: 95%;
}

body[data-theme='light'] .news-slide__headline {
    color: #1b1d30;
}

.news-slide__summary {
    font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
}

body[data-theme='light'] .news-slide__summary {
    color: rgba(27, 29, 48, 0.85);
}

.news-slide__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
}

body[data-theme='light'] .news-slide__meta {
    color: rgba(27, 29, 48, 0.7);
}

.news-slide__meta-divider {
    opacity: 0.5;
}

.news-slide__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #fff !important;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
    margin-top: 0.5rem;
}

.news-slide__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(139, 92, 246, 0.5);
    color: #fff !important;
}

.news-slide__cta:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 3px;
}

body[data-theme='light'] .news-slide__cta {
    color: #fff !important;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

body[data-theme='light'] .news-slide__cta:hover {
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(139, 92, 246, 0.3);
}

.news-slider__pagination {
    position: absolute;
    inset-inline: 0;
    bottom: clamp(2rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 3;
    padding: 0 clamp(1.5rem, 3vw, 2.5rem);
}

.news-slider__dot {
    --size: 8px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    position: relative;
}

.news-slider__dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.news-slider__dot.is-active {
    background: #fff;
    width: calc(var(--size) * 2.5);
    border-radius: calc(var(--size) / 2);
}

body[data-theme='light'] .news-slider__dot {
    background: rgba(139, 92, 246, 0.35);
}

body[data-theme='light'] .news-slider__dot:hover {
    background: rgba(139, 92, 246, 0.5);
}

body[data-theme='light'] .news-slider__dot.is-active {
    background: #8b5cf6;
}

.news-slider__dot:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}

@media (max-width: 840px) {
    .news-slide__overlay {
        max-width: 100%;
        padding-inline: clamp(1.5rem, 4vw, 2rem);
    }

    .news-slider__pagination {
        justify-content: center;
        inset-inline: 0;
    }
}

@media (max-width: 640px) {
    .hero__highlights {
        min-height: 420px;
    }

    .news-slide__headline {
        font-size: clamp(1.375rem, 5.5vw, 1.875rem);
    }

    .news-slide__summary {
        font-size: 0.9375rem;
    }

    .news-slide__meta {
        font-size: 0.8125rem;
        gap: 0.5rem;
    }

    .news-slide__overlay {
        padding: 1.5rem;
    }
}

.link-arrow {
    text-decoration: none;
    font-weight: 600;
    color: #a78bfa;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.link-arrow:hover {
    color: #fff;
    gap: 0.75rem;
}

.link-arrow::after {
    content: '→';
    font-size: 1.125rem;
    transition: transform 0.2s ease;
}

.link-arrow:hover::after {
    transform: translateX(2px);
}

body[data-theme='light'] .link-arrow {
    color: #7c3aed;
    font-weight: 600;
}

body[data-theme='light'] .link-arrow:hover {
    color: #6d28d9;
}

.progression-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    text-align: right;
}

.progression-summary__value {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 700;
}

.progression-summary__label {
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: rgba(245, 247, 255, 0.6);
}

body[data-theme='light'] .progression-summary__label {
    color: rgba(27, 29, 48, 0.55);
}

.progression-grid,
.progression-grid--home {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 1.5rem);
    align-items: stretch;
}

@media (min-width: 48rem) {
    .progression-grid,
    .progression-grid--home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .progression-grid,
    .progression-grid--home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.progression-card {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(8, 10, 24, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
}

body[data-theme='light'] .progression-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(89, 86, 255, 0.14));
    border-color: rgba(27, 29, 48, 0.06);
}

.progression-card__media {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 17, 33, 0.6);
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.4rem, 1vw, 0.8rem);
}

.progression-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 18px 32px rgba(12, 14, 30, 0.28);
    background-color: rgba(8, 10, 24, 0.85);
}

@supports not (aspect-ratio: 4 / 5) {
    .progression-card__media {
        padding-top: 125%;
        position: relative;
    }

    .progression-card__media img {
        position: absolute;
        inset: clamp(0.4rem, 1vw, 0.8rem);
        width: auto;
        height: auto;
        max-width: calc(100% - clamp(0.8rem, 2vw, 1.6rem));
        max-height: calc(100% - clamp(0.8rem, 2vw, 1.6rem));
        margin: auto;
    }
}

.progression-card__body {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    text-align: center;
}

.progression-card__body h3,
.progression-card__body h2 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.progression-search {
    margin-top: 1.4rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.progression-search__field {
    flex: 1 1 260px;
    position: relative;
}

.progression-search__field input[type="search"] {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 16, 40, 0.75);
    color: inherit;
    font-family: inherit;
    font-size: 0.95rem;
}

body[data-theme='light'] .progression-search__field input[type="search"] {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(27, 29, 48, 0.12);
}

.progression-search__submit {
    padding-inline: 1.8rem;
}

.progression-search__clear {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: rgba(147, 197, 253, 0.88);
    text-decoration: none;
}

.progression-search__clear:hover {
    text-decoration: underline;
}

.progression-search__hint {
    margin: 0.8rem 0 0;
    font-size: 0.9rem;
    color: rgba(245, 247, 255, 0.65);
}

body[data-theme='light'] .progression-search__hint {
    color: rgba(27, 29, 48, 0.6);
}

.progression-card__title {
    margin: 0;
    color: rgba(245, 247, 255, 0.7);
    font-weight: 600;
}

body[data-theme='light'] .progression-card__title {
    color: rgba(27, 29, 48, 0.6);
}

.progression-card__copy {
    margin: 0;
    color: rgba(245, 247, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.6;
}

body[data-theme='light'] .progression-card__copy {
    color: rgba(27, 29, 48, 0.6);
}

.skill-grid,
.skill-grid--home {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 1.5rem);
}

@media (min-width: 48rem) {
    .skill-grid,
    .skill-grid--home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .skill-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .skill-grid--home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 80rem) {
    .skill-grid--home {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.skill-card {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 10, 24, 0.6);
}

body[data-theme='light'] .skill-card {
    border-color: rgba(27, 29, 48, 0.06);
    background: rgba(255, 255, 255, 0.92);
}

.skill-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.coins-grid,
.coins-grid--home {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 1.5rem);
}

@media (min-width: 48rem) {
    .coins-grid,
    .coins-grid--home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .coins-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .coins-grid--home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 80rem) {
    .coins-grid--home {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.coin-post {
    background: rgba(17, 20, 48, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 2.5vw, 2.75rem);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    box-shadow: var(--shadow-soft);
}

.coin-post__header h2 {
    margin-bottom: 0.4rem;
}

.coin-post__header p {
    margin: 0;
    color: rgba(245, 247, 255, 0.74);
}

.coin-post__grid {
    display: grid;
    gap: clamp(1rem, 3vw, 1.5rem);
    grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
    .coin-post__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .coin-post__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.coin-post__block {
    background: rgba(8, 10, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.coin-post__block h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.coin-post__content {
    margin: 0;
    font-family: 'JetBrains Mono', 'Fira Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.coin-post__cta {
    display: flex;
    justify-content: center;
}

.coin-post__cta .btn {
    padding-inline: 2.6rem;
    font-size: 1rem;
}

.coin-post__empty {
    margin: 0;
    text-align: center;
    color: rgba(245, 247, 255, 0.74);
}

.coins-platforms {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.coins-platform {
    background: rgba(12, 14, 32, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: clamp(1.6rem, 2vw, 2rem);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.coins-platform__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.coins-platform__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.coins-platform__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.coins-platform__contact {
    font-size: 0.9rem;
    color: rgba(245, 247, 255, 0.65);
}

.coins-platform__grid {
    display: grid;
    gap: clamp(1rem, 3vw, 1.4rem);
    grid-template-columns: 1fr;
}

@media (min-width: 48rem) {
    .coins-platform__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .coins-platform__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.coins-platform__card {
    background: rgba(6, 8, 22, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: 0 14px 28px rgba(10, 12, 28, 0.35);
    position: relative;
}

.coins-platform__card--promo {
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 20px 36px rgba(249, 115, 22, 0.3);
}

.coins-platform__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.coins-platform__card-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.coins-platform__badge {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316, #facc15);
    color: #0e1024;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.coins-platform__price {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.coins-platform__description {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(245, 247, 255, 0.72);
}

.coins-platform__empty {
    margin: 0;
    color: rgba(245, 247, 255, 0.65);
    text-align: center;
    font-size: 0.95rem;
}

body[data-theme='light'] .coins-platform {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(15, 17, 33, 0.08);
    box-shadow: 0 24px 44px rgba(27, 29, 48, 0.12);
}

body[data-theme='light'] .coins-platform__card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(228, 242, 255, 0.6));
    border-color: rgba(15, 17, 33, 0.08);
    box-shadow: 0 18px 38px rgba(27, 29, 48, 0.12);
}

body[data-theme='light'] .coins-platform__card--promo {
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.2);
}

body[data-theme='light'] .coins-platform__description {
    color: rgba(27, 29, 48, 0.62);
}

@media (max-width: 620px) {
    .coins-platform__header {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .coins-platform__actions {
        align-items: flex-start;
    }
}

body[data-theme='light'] .coin-post {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(128, 145, 255, 0.2));
    border-color: rgba(15, 17, 33, 0.06);
}

body[data-theme='light'] .coin-post__block {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(15, 17, 33, 0.08);
}

body[data-theme='light'] .coin-post__content {
    background: rgba(238, 242, 255, 0.72);
    border-color: rgba(15, 17, 33, 0.08);
}

.coins-grid--home {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.coin-card {
    position: relative;
    padding: 1.4rem;
    border-radius: 20px;
    background: linear-gradient(150deg, rgba(8, 10, 24, 0.85), rgba(25, 27, 65, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(12, 14, 30, 0.45);
    display: grid;
    gap: 0.8rem;
}

.coin-card--featured {
    border-color: rgba(248, 231, 28, 0.4);
    box-shadow: 0 24px 60px rgba(248, 231, 28, 0.35);
}

body[data-theme='light'] .coin-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(255, 215, 183, 0.35));
    border-color: rgba(27, 29, 48, 0.06);
}

.coin-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #facc15, #f97316);
    color: #0e1024;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.coin-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.coin-card__price--discount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #22c55e;
}

.coin-card__discount {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
}

.coin-card__description {
    margin: 0;
    color: rgba(245, 247, 255, 0.68);
    font-size: 0.95rem;
}

body[data-theme='light'] .coin-card__description {
    color: rgba(27, 29, 48, 0.6);
}

.coin-card__cta {
    margin-top: auto;
}

.coins-hero__badge {
    align-self: flex-start;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #a7f3d0;
    font-weight: 600;
    letter-spacing: 0.05em;
}

body[data-theme='light'] .coins-hero__badge {
    color: #047857;
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.35);
}

.purchase-admins {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.purchase-admin {
    display: flex;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 18px;
    background: rgba(8, 10, 24, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-theme='light'] .purchase-admin {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(27, 29, 48, 0.08);
}

.purchase-admin__avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.purchase-admin__info h3 {
    margin: 0;
    font-size: 1.05rem;
}

.purchase-admin__info p {
    margin: 0.4rem 0 0.5rem;
    color: rgba(245, 247, 255, 0.7);
    font-size: 0.92rem;
}

body[data-theme='light'] .purchase-admin__info p {
    color: rgba(27, 29, 48, 0.6);
}

.purchase-admin__contacts {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.purchase-admin__link {
    text-decoration: none;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.18);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #c7d2fe;
    font-size: 0.85rem;
    font-weight: 600;
}

.purchase-admin__link:hover {
    background: rgba(99, 102, 241, 0.28);
}

.purchase-admin__link--muted {
    background: rgba(148, 163, 184, 0.15);
    border-color: rgba(148, 163, 184, 0.3);
    color: rgba(148, 163, 184, 0.85);
}

body[data-theme='light'] .purchase-admin__link {
    color: #4338ca;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    font-weight: 600;
}

.coins-section .coin-card {
    min-height: 220px;
}

.skill-section .skill-card,
.progression-section .progression-card {
    min-height: 100%;
}

.section {
    padding: clamp(2.5rem, 4.5vw, 3.5rem);
    border-radius: 24px;
    background: rgba(15, 18, 40, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.12);
    box-shadow: 0 12px 32px rgba(10, 12, 30, 0.25);
    display: grid;
    gap: 2.25rem;
    backdrop-filter: blur(10px);
}

body[data-theme='light'] .section {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(139, 92, 246, 0.1);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.08);
}

.section--alt {
    background: rgba(20, 22, 45, 0.5);
}

body[data-theme='light'] .section--alt {
    background: rgba(248, 249, 255, 0.7);
}

.section__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.section__header h2,
.section__header h1 {
    margin: 0;
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section__header p {
    margin: 0.75rem 0 0;
    color: rgba(245, 247, 255, 0.75);
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.6;
}

body[data-theme='light'] .section__header p {
    color: rgba(27, 29, 48, 0.65);
}

.section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    background: rgba(250, 204, 21, 0.18);
    color: rgba(250, 204, 21, 0.95);
    font-weight: 700;
}

body[data-theme='light'] .section__eyebrow {
    background: rgba(126, 34, 206, 0.12);
    color: rgba(126, 34, 206, 0.9);
}

.owner-section {
    gap: 2rem;
}

.owner-section__heading {
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.owner-card {
    display: grid;
    gap: clamp(1.6rem, 2.5vw, 2.2rem);
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    align-items: start;
}

@media (max-width: 960px) {
    .owner-card {
        grid-template-columns: 1fr;
    }
}

.owner-card__media {
    display: grid;
    gap: 1rem;
}

.owner-card__portrait img,
.owner-card__cover img {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.owner-card__portrait img {
    aspect-ratio: 3 / 4;
    box-shadow: 0 25px 40px rgba(12, 16, 35, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.owner-card__cover img {
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 45px rgba(14, 16, 40, 0.45);
    opacity: 0.92;
}

body[data-theme='light'] .owner-card__portrait img {
    border-color: rgba(27, 29, 48, 0.06);
    box-shadow: 0 30px 50px rgba(255, 197, 170, 0.28);
}

body[data-theme='light'] .owner-card__cover img {
    border-color: rgba(27, 29, 48, 0.08);
    box-shadow: 0 20px 40px rgba(126, 138, 245, 0.24);
}

.owner-card__content {
    display: grid;
    gap: 1.8rem;
}

.owner-card__identity {
    display: grid;
    gap: 0.6rem;
}

.owner-card__handle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    width: fit-content;
}

.owner-card__name {
    margin: 0;
    font-size: clamp(1.9rem, 3.2vw, 2.4rem);
}

.owner-card__role {
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    color: rgba(250, 204, 21, 0.85);
}

.owner-card__bio {
    margin: 0;
    font-size: 1rem;
    color: rgba(245, 247, 255, 0.75);
    max-width: 54ch;
}

body[data-theme='light'] .owner-card__handle {
    background: rgba(14, 165, 233, 0.12);
    color: #0369a1;
    font-weight: 700;
}

body[data-theme='light'] .owner-card__role {
    color: rgba(126, 34, 206, 0.85);
}

body[data-theme='light'] .owner-card__bio {
    color: rgba(27, 29, 48, 0.7);
}

.owner-card__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.owner-card__fact {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(89, 86, 255, 0.12);
    border: 1px solid rgba(89, 86, 255, 0.32);
}

.owner-card__fact dt {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(245, 247, 255, 0.7);
}

.owner-card__fact dd {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

body[data-theme='light'] .owner-card__fact {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

body[data-theme='light'] .owner-card__fact dt {
    color: rgba(27, 29, 48, 0.55);
}

.owner-card__highlight-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.owner-card__highlight {
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius-md);
    background: rgba(15, 17, 33, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 0.6rem;
}

.owner-card__highlight-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.owner-card__highlight-header h3 {
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(245, 247, 255, 0.7);
}

.owner-card__highlight-name {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.owner-card__highlight-text {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(245, 247, 255, 0.7);
}

.owner-card__team-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 16px 20px rgba(12, 16, 35, 0.45));
}

.owner-card__highlight--stats {
    background: rgba(8, 10, 24, 0.65);
}

.owner-card__stats-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.owner-card__stats-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
}

.owner-card__stat-label {
    color: rgba(245, 247, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

.owner-card__stat-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.owner-card__summary {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(245, 247, 255, 0.75);
}

body[data-theme='light'] .owner-card__highlight {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(27, 29, 48, 0.08);
}

body[data-theme='light'] .owner-card__highlight--stats {
    background: rgba(247, 248, 255, 0.9);
}

body[data-theme='light'] .owner-card__highlight-header h3,
body[data-theme='light'] .owner-card__stats-list li,
body[data-theme='light'] .owner-card__stat-label,
body[data-theme='light'] .owner-card__highlight-text,
body[data-theme='light'] .owner-card__summary {
    color: rgba(27, 29, 48, 0.72);
}

body[data-theme='light'] .owner-card__highlight-name,
body[data-theme='light'] .owner-card__stat-value {
    color: rgba(27, 29, 48, 0.85);
}

.section--admins-grid .cards-grid {
    margin-top: 0.5rem;
}

.cards-grid,
.cards-grid--news {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 1.5rem);
}

@media (min-width: 48rem) {
    .cards-grid,
    .cards-grid--news {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cards-grid--news {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 80rem) {
    .cards-grid--news {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.card {
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(15, 18, 40, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.15);
    display: grid;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.3);
}

.card__image {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    background-color: rgba(10, 12, 30, 0.6);
}

@supports not (aspect-ratio: 16 / 9) {
    .card__image {
        height: 180px;
    }
}

body[data-theme='light'] .card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(139, 92, 246, 0.15);
}

body[data-theme='light'] .card:hover {
    box-shadow: 0 16px 32px rgba(139, 92, 246, 0.2);
}

.card__meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: rgba(245, 247, 255, 0.55);
}

body[data-theme='light'] .card__meta {
    color: rgba(27, 29, 48, 0.55);
}

.card--account .card__meta span:first-child {
    font-weight: 700;
    font-size: 1.1rem;
}

.card__header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
}

.card__subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(245, 247, 255, 0.6);
}

body[data-theme='light'] .card__subtitle {
    color: rgba(27, 29, 48, 0.6);
}

.card--admin {
    position: relative;
    padding: 1.6rem;
    gap: 0.9rem;
}

.admin-card__role {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(250, 204, 21, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

body[data-theme='light'] .admin-card__role {
    color: rgba(126, 34, 206, 0.85);
}

.admin-card__bio {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(245, 247, 255, 0.7);
}

body[data-theme='light'] .admin-card__bio {
    color: rgba(27, 29, 48, 0.7);
}

.admin-card__contact-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-card__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.admin-card__contact svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: currentColor;
}

.admin-card__contact:hover,
.admin-card__contact:focus-visible {
    transform: translateY(-2px);
    background: rgba(56, 189, 248, 0.22);
    border-color: rgba(56, 189, 248, 0.5);
}

.admin-card__contact-secondary {
    color: rgba(245, 247, 255, 0.65);
    font-size: 0.85rem;
}

body[data-theme='light'] .admin-card__contact-secondary {
    color: rgba(27, 29, 48, 0.55);
}

.card__links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.card__links a {
    text-decoration: none;
    color: var(--color-primary);
    background: rgba(89, 86, 255, 0.12);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.pagination__link {
    text-decoration: none;
    color: #8b5cf6;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.pagination__link:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}

.pagination__link.disabled {
    color: rgba(245, 247, 255, 0.4);
    pointer-events: none;
}

body[data-theme='light'] .pagination__link {
    color: #8b5cf6;
}

body[data-theme='light'] .pagination__link:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
}

body[data-theme='light'] .pagination__link.disabled {
    color: rgba(27, 29, 48, 0.3);
}

.article {
    display: grid;
    gap: 1.8rem;
    padding: clamp(1.8rem, 3vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: rgba(8, 10, 24, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-theme='light'] .article {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(27, 29, 48, 0.08);
}

.article__header h1 {
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 2.6rem);
}

.article__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(245, 247, 255, 0.6);
}

body[data-theme='light'] .article__meta {
    color: rgba(27, 29, 48, 0.55);
}

.article__body {
    line-height: 1.75;
    color: rgba(245, 247, 255, 0.85);
}

body[data-theme='light'] .article__body {
    color: rgba(27, 29, 48, 0.8);
}

.article__body img {
    max-width: 100%;
    border-radius: var(--radius-md);
}

.article__gallery {
    display: grid;
    gap: 1rem;
}

.article__gallery .article__figure {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(0.5rem, 1.2vw, 1.25rem);
    border-radius: var(--radius-md);
    background: rgba(8, 10, 24, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-theme='light'] .article__gallery .article__figure {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(27, 29, 48, 0.08);
}

.article__gallery img {
    width: auto;
    max-width: 100%;
    max-height: min(72vh, 680px);
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
}

.footer {
    margin-top: var(--spacing);
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(245, 247, 255, 0.6);
}

body[data-theme='light'] .footer {
    border-top-color: rgba(27, 29, 48, 0.08);
    color: rgba(27, 29, 48, 0.6);
}

.footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
}

.footer__copyright {
    margin: 0;
    font-size: 0.85rem;
    color: inherit;
}

.footer__credits {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    color: rgba(245, 247, 255, 0.48);
}

.footer__credits-link {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer__credits-link:hover,
.footer__credits-link:focus-visible {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}

body[data-theme='light'] .footer__credits {
    color: rgba(27, 29, 48, 0.48);
}

body[data-theme='light'] .footer__credits-link {
    color: rgba(27, 29, 48, 0.75);
}

body[data-theme='light'] .footer__credits-link:hover,
body[data-theme='light'] .footer__credits-link:focus-visible {
    color: rgba(27, 29, 48, 0.95);
}

.footer__social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
    text-align: right;
}

.footer__title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(245, 247, 255, 0.7);
}

body[data-theme='light'] .footer__title {
    color: rgba(27, 29, 48, 0.65);
}

.footer__social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(245, 247, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

body[data-theme='light'] .footer__social-link {
    border-color: rgba(27, 29, 48, 0.12);
    color: rgba(27, 29, 48, 0.78);
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
    transform: translateY(-2px);
    background: rgba(147, 51, 234, 0.18);
    border-color: rgba(147, 51, 234, 0.4);
}

body[data-theme='light'] .footer__social-link:hover,
body[data-theme='light'] .footer__social-link:focus-visible {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
    color: #1a1d2e;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
}

.footer__icon {
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
}

.footer__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.footer__link-label {
    font-weight: 500;
}

@media (max-width: 640px) {
    .footer__social {
        align-items: flex-start;
        text-align: left;
    }

    .footer__social-links {
        justify-content: flex-start;
    }
}

.accounts-section {
    padding: clamp(2rem, 3vw, 2.8rem);
    border-radius: 28px;
    background: radial-gradient(120% 120% at 0% 0%, rgba(89, 86, 255, 0.18) 0%, rgba(12, 16, 40, 0.9) 45%, rgba(8, 10, 24, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(14, 16, 32, 0.4);
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    position: relative;
    overflow: hidden;
}

body[data-theme='light'] .accounts-section {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(141, 131, 255, 0.25));
    border-color: rgba(27, 29, 48, 0.08);
    box-shadow: 0 22px 55px rgba(161, 171, 255, 0.28);
}

.accounts-section::after {
    content: '';
    position: absolute;
    inset: -40% 40% 60% -10%;
    background: radial-gradient(circle, rgba(148, 95, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
    mix-blend-mode: screen;
}

.accounts-section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.accounts-section__copy h1 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    letter-spacing: -0.02em;
}

.accounts-section__copy p {
    margin: 0.75rem 0 0;
    max-width: 540px;
    color: rgba(245, 247, 255, 0.75);
    font-size: 1rem;
}

body[data-theme='light'] .accounts-section__copy p {
    color: rgba(27, 29, 48, 0.65);
}

.accounts-section__meta {
    display: grid;
    gap: 0.3rem;
    text-align: right;
    font-size: 0.95rem;
    color: rgba(245, 247, 255, 0.6);
}

body[data-theme='light'] .accounts-section__meta {
    color: rgba(27, 29, 48, 0.58);
}

.accounts-section__total {
    font-size: 1.1rem;
    font-weight: 600;
}

.accounts-app {
    position: relative;
    z-index: 1;
}

.accounts-app__shell {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.accounts-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.4rem;
    border-radius: 18px;
    background: rgba(12, 16, 40, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
}

body[data-theme='light'] .accounts-summary {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(27, 29, 48, 0.08);
}

.accounts-summary__value {
    font-weight: 600;
}

.accounts-summary__baseline {
    color: rgba(245, 247, 255, 0.55);
}

body[data-theme='light'] .accounts-summary__baseline {
    color: rgba(27, 29, 48, 0.5);
}

.accounts-filters {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.4rem;
    border-radius: 20px;
    background: rgba(10, 12, 28, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-theme='light'] .accounts-filters {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(27, 29, 48, 0.08);
}

.accounts-filters__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.accounts-filters__row--secondary {
    align-items: stretch;
}

.accounts-filter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(17, 19, 40, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.accounts-filter:hover,
.accounts-filter:focus-within {
    border-color: rgba(147, 102, 255, 0.45);
    transform: translateY(-2px);
}

body[data-theme='light'] .accounts-filter {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(27, 29, 48, 0.08);
}

.accounts-filter__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(245, 247, 255, 0.8);
}

body[data-theme='light'] .accounts-filter__header {
    color: rgba(27, 29, 48, 0.65);
}

.accounts-filter__label {
    font-weight: 600;
}

.accounts-filter__value {
    font-size: 0.85rem;
    color: rgba(245, 247, 255, 0.6);
}

body[data-theme='light'] .accounts-filter__value {
    color: rgba(27, 29, 48, 0.5);
}

.accounts-filter__inputs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.accounts-filter__inputs input[type="number"] {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(6, 8, 20, 0.6);
    color: inherit;
    padding: 0.55rem 0.8rem;
    font-family: inherit;
}

body[data-theme='light'] .accounts-filter__inputs input[type="number"] {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(27, 29, 48, 0.12);
}

.accounts-filter__inputs input[type="range"] {
    flex: 1;
    accent-color: #8b5cf6;
    height: 4px;
    background: linear-gradient(90deg, rgba(147, 102, 255, 0.9), rgba(126, 213, 255, 0.2));
    border-radius: 999px;
}

.accounts-filter__inputs--single input[type="range"] {
    width: 100%;
}

.accounts-filter--select select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(6, 8, 20, 0.6);
    color: inherit;
    padding: 0.65rem 1rem;
    font-family: inherit;
    appearance: none;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 20 20" fill="none" stroke="white" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M5 7l5 5 5-5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 14px;
}

body[data-theme='light'] .accounts-filter--select select {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(27, 29, 48, 0.12);
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 20 20" fill="none" stroke="black" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M5 7l5 5 5-5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E');
}

.accounts-filter--toggle {
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
}

.accounts-filter__toggle-indicator {
    width: 42px;
    height: 22px;
    border-radius: 999px;
    background: rgba(245, 247, 255, 0.2);
    position: relative;
    transition: background 0.3s ease;
}

.accounts-filter__toggle-indicator::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f5f7ff;
    transition: transform 0.3s ease;
}

.accounts-filter--toggle-active .accounts-filter__toggle-indicator {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.accounts-filter--toggle-active .accounts-filter__toggle-indicator::after {
    transform: translateX(18px);
    background: #0b1028;
}

.accounts-filter--reset {
    cursor: pointer;
    font-weight: 600;
    color: #a78bfa;
    background: rgba(137, 110, 255, 0.18);
}

.accounts-active-filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.accounts-active-filters__badges {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.accounts-active-filters__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(137, 110, 255, 0.22);
    color: #f5f7ff;
    border: 1px solid rgba(148, 115, 255, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.accounts-active-filters__badge:hover {
    transform: translateY(-2px);
    background: rgba(137, 110, 255, 0.32);
}

.accounts-active-filters__clear {
    border: none;
    background: transparent;
    color: rgba(245, 247, 255, 0.6);
    font-weight: 600;
    cursor: pointer;
}

.accounts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 1.5rem);
}

@media (min-width: 48rem) {
    .accounts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .accounts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 80rem) {
    .accounts-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 96rem) {
    .accounts-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.accounts-grid__item {
    animation: accountCardFade 0.4s ease forwards;
}

.accounts-grid--empty {
    grid-template-columns: 1fr;
    text-align: center;
    color: rgba(245, 247, 255, 0.65);
}

.account-card {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.2rem;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(12, 16, 40, 0.92), rgba(26, 18, 59, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(10, 12, 30, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.account-card--interactive:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(12, 16, 40, 0.55);
}

body[data-theme='light'] .account-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(147, 138, 255, 0.18));
    border-color: rgba(27, 29, 48, 0.06);
    box-shadow: 0 24px 55px rgba(170, 170, 255, 0.25);
}

.account-card__media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 20 / 11;
    background: radial-gradient(circle at center, rgba(137, 116, 255, 0.26), rgba(8, 10, 24, 0.85));
}

.account-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.account-card--interactive:hover .account-card__media img {
    transform: scale(1.05);
}

.account-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(245, 247, 255, 0.55);
    font-size: 0.9rem;
    padding: 1rem;
}

.account-card__badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(120deg, #8b5cf6, #6366f1);
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.35);
}

body[data-theme='light'] .account-card__badge {
    background: linear-gradient(120deg, #8b5cf6, #6366f1);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.25);
}

.account-card__title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.45;
    color: #f5f7ff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

body[data-theme='light'] .account-card__title {
    color: #1b1d30;
}

.account-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 0;
}

.account-card__meta div {
    display: grid;
    gap: 0.2rem;
}

.account-card__meta dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(245, 247, 255, 0.55);
}

body[data-theme='light'] .account-card__meta dt {
    color: rgba(27, 29, 48, 0.5);
}

.account-card__meta dd {
    margin: 0;
    font-weight: 600;
    color: #fff;
}

body[data-theme='light'] .account-card__meta dd {
    color: #1b1d30;
}

.account-card__footer {
    display: flex;
    justify-content: flex-end;
}

.account-card__details {
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.account-card__details:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(99, 102, 241, 0.4);
}

.accounts-show-more {
    display: flex;
    justify-content: center;
}

.accounts-show-more button {
    padding: 0.85rem 2.4rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, rgba(137, 110, 255, 0.35), rgba(99, 102, 241, 0.85));
    color: #fff !important;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(99, 102, 241, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.accounts-show-more button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(99, 102, 241, 0.45);
    color: #fff !important;
}

body[data-theme='light'] .accounts-show-more button {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff !important;
    box-shadow: 0 18px 36px rgba(99, 102, 241, 0.25);
}

body[data-theme='light'] .accounts-show-more button:hover {
    color: #fff !important;
    box-shadow: 0 22px 40px rgba(99, 102, 241, 0.35);
}

.accounts-status {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.2rem;
    border-radius: 16px;
    background: rgba(12, 16, 40, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.accounts-status--loading {
    color: rgba(245, 247, 255, 0.75);
}

.accounts-status--error {
    color: #fca5a5;
}

.accounts-status button {
    border: none;
    background: rgba(252, 165, 165, 0.2);
    color: inherit;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
}

.accounts-status__spinner {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    border: 2px solid rgba(245, 247, 255, 0.2);
    border-top-color: rgba(245, 247, 255, 0.85);
    animation: spinner 0.75s linear infinite;
}

.accounts-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 3vh 2vw;
}

.accounts-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 24, 0.75);
    backdrop-filter: blur(14px);
}

.accounts-modal__dialog {
    position: relative;
    max-width: min(1060px, 92vw);
    width: 100%;
    border-radius: 28px;
    background: linear-gradient(150deg, rgba(12, 16, 40, 0.95), rgba(28, 20, 62, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 100px rgba(10, 12, 30, 0.6);
    padding: clamp(2rem, 3vw, 2.6rem);
    overflow: hidden;
}

body[data-theme='light'] .accounts-modal__dialog {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(147, 138, 255, 0.22));
    border-color: rgba(27, 29, 48, 0.08);
}

.accounts-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.accounts-modal__header h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.8vw, 2rem);
    color: #f5f7ff;
}

body[data-theme='light'] .accounts-modal__header h2 {
    color: #1b1d30;
}

.accounts-modal__close {
    border: none;
    background: transparent;
    color: rgba(245, 247, 255, 0.7);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.accounts-modal__body {
    display: grid;
    grid-template-columns: 2.4fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 960px) {
    .accounts-modal__body {
        grid-template-columns: 1fr;
    }
}

.accounts-modal__media {
    display: grid;
    gap: 1rem;
}

.accounts-modal__media img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 20 / 11;
    background: rgba(12, 16, 40, 0.6);
}

.accounts-modal__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(12, 16, 40, 0.6);
    padding: 2rem;
    color: rgba(245, 247, 255, 0.6);
}

.accounts-modal__meta dl {
    display: grid;
    gap: 1rem;
    margin: 0 0 1.5rem;
}

.accounts-modal__meta dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(245, 247, 255, 0.6);
}

.accounts-modal__meta dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

body[data-theme='light'] .accounts-modal__meta dt {
    color: rgba(27, 29, 48, 0.55);
}

body[data-theme='light'] .accounts-modal__meta dd {
    color: #1b1d30;
}

.accounts-modal__footer {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.accounts-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.accounts-modal__cta--buy {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff !important;
    box-shadow: 0 16px 32px rgba(99, 102, 241, 0.35);
}

.accounts-modal__cta--contact {
    background: rgba(255, 255, 255, 0.08);
    color: #f5f7ff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.accounts-modal__cta:hover {
    transform: translateY(-2px);
}

body[data-theme='light'] .accounts-modal__cta--buy {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff !important;
    box-shadow: 0 16px 32px rgba(99, 102, 241, 0.25);
}

body[data-theme='light'] .accounts-modal__cta--buy:hover {
    color: #fff !important;
}

.accounts-sentinel {
    height: 1px;
}

/* Noscript content - only visible when JavaScript is disabled */
noscript .accounts-noscript {
    display: grid;
    gap: 1.5rem;
    padding: 1.4rem;
    border-radius: 20px;
    background: rgba(12, 16, 40, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

noscript .accounts-noscript__notice {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(99, 102, 241, 0.15);
    color: rgba(245, 247, 255, 0.75);
}

/* Strategy Hub */
.strategy-hero {
    display: grid;
    gap: 2.5rem;
    padding: 4rem 0;
}

.strategy-hero__body {
    display: grid;
    gap: 1.25rem;
}

.strategy-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.95rem;
    background: rgba(147, 51, 234, 0.12);
    border: 1px solid rgba(147, 51, 234, 0.4);
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c084fc;
}

.strategy-hero h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: #f9fafb;
}

.strategy-hero p {
    max-width: 52ch;
    color: rgba(226, 232, 240, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
}

.strategy-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.strategy-hero__meta {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.strategy-hero__meta-item {
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: rgba(30, 41, 59, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(12px);
}

.strategy-hero__meta-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.8);
}

.strategy-hero__meta-value {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
}

.strategy-section {
    margin-top: 4rem;
}

.strategy-section__header {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.strategy-section__header h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #f8fafc;
}

.strategy-section__header p {
    max-width: 60ch;
    color: rgba(209, 213, 219, 0.8);
    line-height: 1.7;
}

.strategy-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.strategy-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
}

.strategy-grid--tools {
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
}

.strategy-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.75rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.78), rgba(30, 64, 175, 0.25));
    border: 1px solid rgba(148, 163, 184, 0.15);
    backdrop-filter: blur(10px);
}

.strategy-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f1f5f9;
}

.strategy-card__frequency {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(129, 140, 248, 0.85);
}

.strategy-card__notes {
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.6;
}

.strategy-card__keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.strategy-card--compact {
    background: linear-gradient(135deg, rgba(24, 24, 27, 0.75), rgba(147, 51, 234, 0.18));
}

.strategy-card--tool {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.35), rgba(15, 118, 110, 0.18));
}

.strategy-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.18);
    color: #c7d2fe;
    font-size: 0.8rem;
    border: 1px solid rgba(99, 102, 241, 0.35);
}

.strategy-chip--alt {
    background: rgba(220, 38, 38, 0.16);
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.3);
}

.strategy-chip--outline {
    background: rgba(20, 184, 166, 0.08);
    color: #5eead4;
    border-color: rgba(45, 212, 191, 0.4);
}

.strategy-chip--ghost {
    background: rgba(100, 116, 139, 0.08);
    color: rgba(226, 232, 240, 0.9);
    border-color: rgba(148, 163, 184, 0.3);
}

.strategy-timeline {
    display: grid;
    gap: 1.5rem;
}

.strategy-timeline__item {
    padding: 1.75rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(17, 24, 39, 0.65);
}

.strategy-timeline__item h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.strategy-timeline__item ul {
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding-left: 1.2rem;
    color: rgba(226, 232, 240, 0.8);
}

.strategy-keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.strategy-faq {
    display: grid;
    gap: 0.75rem;
}

.strategy-faq__item {
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.6);
    padding: 1rem 1.25rem;
}

.strategy-faq__item summary {
    cursor: pointer;
    font-weight: 600;
    color: #e2e8f0;
}

.strategy-faq__item p {
    margin-top: 0.75rem;
    color: rgba(203, 213, 225, 0.85);
    line-height: 1.6;
}

@media (min-width: 64rem) {
    .strategy-hero {
        grid-template-columns: 1.2fr 1fr;
        align-items: start;
    }
}

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

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 1000;
    padding: 0.75rem 1.5rem;
    background: #8b5cf6;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: top 0.2s ease;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.skip-link:focus {
    top: 1rem;
    outline: 2px solid #a78bfa;
    outline-offset: 2px;
}

/* Tactics styles */
.tactics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tactics-filter-btn {
    min-width: 140px;
    transition: all 0.2s ease;
}

.tactics-filter-btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.tactics-section__active-title {
    margin-bottom: 2rem;
    text-align: center;
}

.tactics-section__title {
    margin-bottom: 1.5rem;
}

.tactics-section__title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.tactics-section__title a:hover,
.tactics-section__title a:focus-visible {
    color: var(--color-primary);
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 0.25rem;
}

.tactics-section__more {
    text-align: center;
    margin-top: 1.5rem;
}

.tactics-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: rgba(245, 247, 255, 0.65);
}

.tactics-empty-state--global {
    text-align: center;
    padding: 3rem;
}

body[data-theme='light'] .tactics-empty-state {
    color: rgba(27, 29, 48, 0.6);
}

.tactic-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s;
}

body[data-theme='light'] .tactic-card {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tactic-card:hover {
    transform: translateY(-4px);
}

.tactic-card__image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
}

.tactic-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tactic-card__body {
    padding: 1.5rem;
}

.tactic-card__body h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: inherit;
}

.tactic-card__meta {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

body[data-theme='light'] .tactic-card__meta {
    color: rgba(27, 29, 48, 0.7);
}

.tactic-card__meta:last-child {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

body[data-theme='light'] .tactic-card__meta:last-child {
    color: rgba(27, 29, 48, 0.6);
}

.tactic-card__meta strong {
    font-weight: 600;
    color: inherit;
}

.tactics-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.tactics-section {
    margin-bottom: 3rem;
}

.tactics-section h2 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.75rem;
}

.tactics-section h2 a {
    text-decoration: none;
    color: inherit;
}

/* Mobile menu styles */
/* 📱 PREMIUM MOBILE HAMBURGER MENU 📱 */
.mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(124, 58, 237, 0.12));
    border: 1px solid rgba(139, 92, 246, 0.35);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.625rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(124, 58, 237, 0.2));
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.mobile-menu-toggle:active {
    transform: translateY(0) scale(0.95);
}

.mobile-menu-toggle.is-active {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.5);
}

.mobile-menu-toggle__line {
    width: 1.375rem;
    height: 2.5px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle:hover .mobile-menu-toggle__line {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mobile-menu-toggle.is-active .mobile-menu-toggle__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active .mobile-menu-toggle__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.is-active .mobile-menu-toggle__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

body[data-theme='light'] .mobile-menu-toggle {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.08));
    border-color: rgba(139, 92, 246, 0.3);
}

body[data-theme='light'] .mobile-menu-toggle__line {
    background: #1b1d30;
}

body[data-theme='light'] .mobile-menu-toggle.is-active {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

body[data-theme='light'] .mobile-menu-toggle.is-active .mobile-menu-toggle__line {
    background: #fff;
}

@media (min-width: 900px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
}

.mobile-menu-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body[data-theme='light'] .mobile-menu-overlay {
    background: rgba(255, 255, 255, 0.9);
}

/* Mobile Navigation */
@media (max-width: 899px) {
    .topbar__inner {
        flex-wrap: wrap;
    }

    .nav {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.75rem 0;
        border-top: 1px solid rgba(139, 92, 246, 0.2);
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        order: 999;
    }

    .nav.is-open {
        max-height: 600px;
        opacity: 1;
        pointer-events: auto;
    }

    .nav__list {
        flex-direction: column;
        width: 100%;
    }

    .nav__item {
        width: 100%;
    }

    .nav__link {
        width: 100%;
        padding: 0.875rem 1.25rem;
        justify-content: flex-start;
    }

    .nav__icon {
        display: inline-flex;
    }

    body[data-theme='light'] .nav {
        border-top-color: rgba(139, 92, 246, 0.2);
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    :root {
        --container-inline: 1rem;
        --section-padding: 1.5rem;
        --spacing: 1.5rem;
    }

    .page {
        padding: 1.5rem 1rem;
    }

    .hero {
        gap: 1.5rem;
    }

    .section,
    .section--alt {
        padding: 1.75rem 1.25rem;
    }

    .section__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section__header h1,
    .section__header h2 {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .section__header p {
        font-size: 0.9375rem;
        margin-top: 0.5rem;
    }

    .hero__text {
        padding: 2rem 1.5rem;
    }

    .hero__text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero__text p {
        font-size: 0.9375rem;
        max-width: 100%;
    }

    .hero__actions {
        gap: 0.75rem;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .hero__highlights {
        min-height: 400px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .progression-summary {
        align-items: flex-start;
        text-align: left;
        flex-direction: column;
        gap: 0.5rem;
    }

    .coins-grid,
    .coins-grid--home,
    .progression-grid,
    .progression-grid--home,
    .skill-grid,
    .skill-grid--home,
    .purchase-admins {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Tactics mobile optimizations */
    .tactics-filters {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0.5rem 0;
        margin-bottom: 1.5rem;
        justify-content: flex-start;
    }

    .tactics-filters::-webkit-scrollbar {
        display: none;
    }

    .tactics-filters .btn {
        min-width: 120px;
        flex-shrink: 0;
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }

    .tactics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tactic-card__body {
        padding: 1rem;
    }

    .tactic-card__body h3 {
        font-size: 1.125rem;
    }

    .tactic-card__meta {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
    }

    .tactics-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    /* Skill training tabs mobile */
    .skill-tabs {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .skill-tabs .btn {
        width: 100%;
        min-width: auto;
    }

    /* Buttons mobile */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9375rem;
        min-height: 44px;
    }

    /* Footer mobile */
    .footer__inner {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer__social-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer__social-link {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .page {
        padding: 0;
    }

    .section,
    .hero__text {
        padding: 1.25rem 1rem;
    }

    .section__header h1,
    .section__header h2 {
        font-size: 1.5rem;
    }

    .hero__text h1 {
        font-size: 1.75rem;
    }

    .hero__stats {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat {
        text-align: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .progression-summary {
        align-items: flex-start;
        text-align: left;
    }

    .coins-grid,
    .coins-grid--home,
    .progression-grid,
    .progression-grid--home,
    .skill-grid,
    .skill-grid--home,
    .purchase-admins {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    /* Navigation mobile */
    .topbar__inner {
        padding: 0.625rem 1rem;
    }

    .logo__text {
        font-size: 0.875rem;
    }

    .logo__badge {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.75rem;
    }

    /* Tactics filters smaller screens */
    .tactics-filters .btn {
        min-width: 100px;
        font-size: 0.8125rem;
        padding: 0.5rem 0.875rem;
    }

    .tactic-card__body {
        padding: 0.875rem;
    }

    .tactic-card__body h3 {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }

    .tactic-card__meta {
        font-size: 0.8125rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .section,
    .section--alt {
        padding: 1rem 0.75rem;
    }

    .section__header h1,
    .section__header h2 {
        font-size: 1.375rem;
    }

    .hero__text {
        padding: 1.5rem 0.75rem;
    }

    .hero__text h1 {
        font-size: 1.5rem;
    }

    .hero__text p {
        font-size: 0.9375rem;
    }

    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .tactics-filters {
        gap: 0.5rem;
    }

    .tactics-filters .btn {
        min-width: 90px;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .tactics-section h2 {
        font-size: 1.25rem;
    }

    .tactic-card__body {
        padding: 0.75rem;
    }
}

.progression-card__media {
    display: block;
    padding: 0;
    border: none;
    background: none;
    border-radius: 18px;
    overflow: hidden;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.progression-card__media:focus-visible {
    outline: 2px solid rgba(99, 102, 241, 0.75);
    outline-offset: 4px;
}

.progression-card__media:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(59, 130, 246, 0.25);
}

.progression-lightbox {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 2rem;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(12px);
    z-index: 1000;
}

.progression-lightbox__overlay {
    position: absolute;
    inset: 0;
}

.progression-lightbox__figure {
    position: relative;
    display: grid;
    gap: 1rem;
    max-width: min(90vw, 46rem);
    max-height: 90vh;
    padding: 1rem 1.5rem 1.5rem;
    border-radius: 1.5rem;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
    overflow: hidden;
    animation: lightboxIn 0.2s ease-out;
}

.progression-lightbox__figure img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.8);
}

.progression-lightbox__caption {
    color: rgba(226, 232, 240, 0.92);
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.progression-lightbox__close {
    justify-self: end;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.25);
    background: rgba(15, 118, 110, 0.15);
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.progression-lightbox__close:hover,
.progression-lightbox__close:focus-visible {
    border-color: rgba(148, 163, 184, 0.55);
    background: rgba(14, 165, 233, 0.2);
    color: #ffffff;
    outline: none;
}

.progression-lightbox-open {
    overflow: hidden;
}

@keyframes lightboxIn {
    from {
        transform: translateY(12px) scale(0.98);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Additional mobile optimizations for other components */
@media (max-width: 768px) {
    /* News slider mobile */
    .news-slider__track {
        gap: 1rem;
    }

    .news-slide {
        min-width: 100%;
    }

    .news-slide__headline {
        font-size: 1.25rem;
    }

    .news-slide__summary {
        font-size: 0.875rem;
    }

    /* Account cards mobile */
    .account-card {
        padding: 1rem;
    }

    .account-card__media {
        margin-bottom: 0.75rem;
    }

    .account-card__body h3 {
        font-size: 1.125rem;
    }

    /* Progression cards mobile */
    .progression-card {
        border-radius: 12px;
    }

    .progression-card__body {
        padding: 0.875rem;
    }

    .progression-card__body h2 {
        font-size: 1rem;
    }

    /* Skill cards mobile */
    .skill-card {
        border-radius: 12px;
        overflow: hidden;
    }

    /* Search forms mobile */
    .progression-search {
        flex-direction: column;
        gap: 0.75rem;
    }

    .progression-search__field {
        width: 100%;
    }

    .progression-search__field input {
        width: 100%;
        font-size: 1rem;
        padding: 0.75rem;
    }

    .progression-search__submit {
        width: 100%;
    }

    /* Coins section mobile */
    .coin-post {
        padding: 1.5rem 1rem;
    }

    .coin-post__heading {
        font-size: 1.5rem;
    }

    /* Admin cards mobile */
    .admin-card {
        padding: 1.25rem 1rem;
    }

    .admin-card__name {
        font-size: 1.125rem;
    }

    /* Lightbox mobile */
    .progression-lightbox__figure {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }

    .progression-lightbox__close {
        top: 0.5rem;
        right: 0.5rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 480px) {
    /* Even smaller screens */
    .news-slide__headline {
        font-size: 1.125rem;
    }

    .news-slide__summary {
        font-size: 0.8125rem;
    }

    .account-card {
        padding: 0.875rem;
    }

    .progression-card__body {
        padding: 0.75rem;
    }

    .skill-card img {
        width: 100%;
        height: auto;
    }

    .coin-post {
        padding: 1.25rem 0.75rem;
    }

    .admin-card {
        padding: 1rem 0.75rem;
    }
}

/* Touch optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices */
    .btn,
    .nav__link,
    .tactic-card,
    .progression-card__media,
    .account-card--interactive {
        -webkit-tap-highlight-color: rgba(89, 86, 255, 0.2);
        tap-highlight-color: rgba(89, 86, 255, 0.2);
    }

    .tactic-card:hover,
    .progression-card__media:hover {
        transform: none;
    }

    .tactic-card:active {
        transform: scale(0.98);
    }

    /* Remove hover effects on touch devices */
    .btn:hover {
        transform: none;
    }

    .btn:active {
        transform: scale(0.97);
        opacity: 0.9;
    }
}

/* Prevent text size adjustment on iOS */
@media screen and (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Improved color contrast for accessibility */
@media (prefers-contrast: high) {
    :root {
        --color-text: #ffffff;
        --color-text-muted: #e5e7eb;
        --color-border: rgba(255, 255, 255, 0.4);
    }

    body[data-theme='light'] {
        --color-text: #000000;
        --color-text-muted: #1f2937;
        --color-border: rgba(0, 0, 0, 0.3);
    }

    .nav__link.active,
    .btn-primary {
        background: var(--color-primary);
        color: #ffffff;
        border: 2px solid currentColor;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    .topbar,
    .footer,
    .hero__highlights,
    .btn,
    .tactics-filters,
    .accounts-filters,
    .nav {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .page {
        max-width: 100%;
        padding: 0;
    }

    .section,
    .card,
    .article {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

