* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"]::-webkit-contacts-auto-fill-button,
input[type="password"]::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    position: absolute;
    right: 0;
}

input[type="password"] {
    -webkit-text-security: none;
}

:root {
    scrollbar-width: none;
    -ms-overflow-style: none;
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --bg-footer: #141414;
    --bg-input: #252525;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --accent-purple: #7981A6;
    --accent-purple-light: #D0D5EE;
    --nav-bg: rgba(26, 26, 26, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --modal-bg: #151515;
    --required-color: #ff6b6b;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 0;
    border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple-light);
}

::-webkit-scrollbar-corner {
    background: var(--bg-secondary);
}

html {
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
}

#registerModal {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#registerModal::-webkit-scrollbar {
    display: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 24px;
    width: 100%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
    background: rgba(255, 255, 255, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 8px 0;
}

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.checkbox-custom svg {
    width: 12px;
    height: 12px;
    color: var(--text-primary);
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
}

.checkbox-input:checked + .checkbox-custom {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
}

.checkbox-input:checked + .checkbox-custom svg {
    opacity: 1;
    transform: scale(1);
}

.checkbox-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.checkbox-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.checkbox-link:hover {
    color: var(--accent-purple-light);
}

.checkbox-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-purple-light);
    transition: width 0.2s ease;
}

.checkbox-link:hover::after {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn:disabled:hover {
    background: var(--bg-card);
}

.nav-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-purple));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 127, 217, 0.3);
}

.login-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 24px;
    width: 320px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.user-info-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.user-name {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-group {
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
}

.admin-section {
    padding: 100px 24px 60px;
    min-height: calc(100vh - 200px);
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
}

.admin-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.admin-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.admin-tab {
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.admin-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.admin-tab.active {
    color: var(--text-primary);
    background: var(--accent-purple);
    border-color: var(--accent-purple);
}

.admin-content {
    display: none;
}

.admin-content.active {
    display: block;
}

.admin-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.admin-search {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
}

.admin-filter {
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    min-width: 150px;
}

.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-picker {
    width: 50px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: none;
    cursor: pointer;
    padding: 2px;
}

.color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker::-webkit-color-swatch {
    border-radius: 6px;
    border: none;
}

.color-value {
    font-family: monospace;
    font-size: 14px;
    color: var(--text-secondary);
}

.users-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.users-table th {
    background: var(--bg-input);
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.users-table td {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
    white-space: nowrap;
}

.users-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.users-table tr.banned {
    opacity: 0.6;
    background: rgba(255, 68, 68, 0.05);
}

.group-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.group-admin {
    background: #ff4444;
    color: white;
}

.group-staff {
    background: #ffa502;
    color: black;
}

.group-игрок {
    background: var(--accent-purple);
    color: white;
}

.status-active {
    color: #2ed573;
}

.status-banned {
    color: #ff4444;
}

.btn-icon-move {
    width: 32px;
    height: 32px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-icon-move:hover:not(:disabled) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.btn-icon-move:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-icon-move svg {
    width: 14px;
    height: 14px;
}

.btn-icon-edit {
    width: 36px;
    height: 36px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-icon-edit:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.btn-icon-edit svg {
    width: 16px;
    height: 16px;
}

.admin-modal {
    max-width: 500px;
}

.admin-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.admin-actions .btn {
    width: 100%;
}

.admin-modal .form-group {
    margin-bottom: 15px;
}

.admin-modal .form-group:last-of-type {
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.form-actions .btn {
    flex: 1;
}

.add-group-form .form-group {
    margin-bottom: 15px;
}

.add-group-form .form-group:last-child {
    margin-bottom: 0;
}

.group-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: var(--bg-input);
    color: var(--text-primary);
}

.group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.group-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.group-item {
    position: relative;
    overflow: hidden;
}

.group-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.group-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.group-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.group-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.group-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 16px;
}

.btn-icon-delete {
    width: 36px;
    height: 36px;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 8px;
    color: #ff6b6b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-icon-delete:hover {
    background: rgba(255, 68, 68, 0.2);
    color: #ff8888;
}

.btn-icon-delete svg {
    width: 16px;
    height: 16px;
}

.add-group-form .form-group {
    margin-bottom: 15px;
}

.add-group-form .form-group:last-of-type {
    margin-bottom: 0;
}

.add-group-form button {
    margin-top: 15px;
}

.users-table tbody:empty::after {
    content: 'Загрузка...';
    display: block;
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
}

.btn-danger {
    background: #ff4444;
    color: white;
    border: none;
}

.btn-danger:hover {
    background: #ff6666;
}

.btn-success {
    background: #2ed573;
    color: black;
    border: none;
}

.btn-success:hover {
    background: #40e685;
}

.groups-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.group-name {
    font-weight: 600;
    color: var(--text-primary);
}

.group-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.add-group-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

.add-group-form h3 {
    margin-bottom: 16px;
    font-size: 18px;
}

.admin-link {
    background: rgba(255, 68, 68, 0.1);
    color: #ff6b6b !important;
}

.admin-link:hover {
    background: rgba(255, 68, 68, 0.2) !important;
}

.admin-link.active {
    background: rgba(255, 68, 68, 0.3) !important;
    color: #ff8888 !important;
}

.banned-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.banned-content {
    text-align: center;
    max-width: 500px;
    padding: 40px;
}

.banned-icon {
    font-size: 80px;
    margin-bottom: 24px;
}

.banned-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    color: #ff4444;
    margin-bottom: 16px;
}

.banned-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.balance-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-label {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.balance-amount {
    font-size: 16px;
    color: var(--text-secondary);
    font-family: 'Unbounded', sans-serif;
}

.btn-balance {
    width: 100%;
    padding: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-balance:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.dropdown-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-profile {
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-profile:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.btn-logout {
    padding: 12px;
    background: #ff4444;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-logout:hover {
    background: #ff6666;
    transform: translateY(-1px);
}

.login-btn.logged-in {
    background: linear-gradient(135deg, #7981A6, #5a6285);
    gap: 8px;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.login-btn.logged-in .dropdown-arrow {
    display: block !important;
}

.login-btn.logged-in.active .dropdown-arrow {
    transform: rotate(180deg);
}

main {
    flex: 1;
    padding-top: 80px;
    width: 100%;
    opacity: 0;
    animation: dropIn 0.7s ease-out forwards;
}

@keyframes dropIn {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    height: 800px;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-title {
    font-family: 'Unbounded';
    font-size: 64px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-purple-light), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-image {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 0 60px rgba(139, 127, 217, 0.4));
    animation: float 6s ease-in-out infinite;
    max-width: 100%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.faq {
    padding: 80px 24px;
    width: 100%;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.faq-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.faq-list-answer {
    padding: 0 28px 24px 48px;
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.2;
}

.faq-list-answer li {
    margin-bottom: 12px;
    padding-left: 8px;
}

.faq-list-answer li:last-child {
    margin-bottom: 0;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    gap: 16px;
}

.faq-question span {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.faq-item.active .faq-question {
    color: var(--text-primary);
}

.faq-question:hover {
    color: var(--text-primary);
}

.faq-arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.6s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s ease-out,
                transform 0.5s ease-out;
}

.faq-answer a {
    color: var(--text-secondary);
    text-decoration: none;
}

.faq-item.active .faq-answer {
    max-height: 900px;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.password-strength {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.strength-bar {
    height: 4px;
    background: #ff6b6b;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 0%;
}

.strength-text {
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer {
    background: var(--bg-footer);
    padding: 60px 24px 40px;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    width: 100%;
}

.footer-brand {
    min-width: 0;
}

.footer-logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
    word-wrap: break-word;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
}

.footer-heading {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.footer-links ul,
.footer-social ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-social a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
    word-wrap: break-word;
    display: inline-block;
}

.footer-links a:hover,
.footer-social a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--modal-bg);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 32px;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.modal-title {
    font-family: 'Unbounded';
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.password-toggle {
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: var(--text-primary);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

.required {
    color: var(--required-color);
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--accent-purple);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.btn {
    width: 100%;
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-primary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary {
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media (max-width: 1920px) {
    .hero-title {
        font-size: 64px;
    }
    
    .logo-img {
        width: 280px;
        height: 280px;
    }
    
    .modal {
        max-width: 480px;
        padding: 32px;
    }

    .user-dropdown {
        width: 340px;
        right: calc((100% - 1400px) / 2 + 24px);
    }
}

@media (max-width: 1600px) {
    .hero-title {
        font-size: 56px;
    }
    
    .logo-img {
        width: 260px;
        height: 260px;
    }
    
    .faq-container {
        max-width: 750px;
    }
    
    .modal {
        max-width: 460px;
    }

    .user-dropdown {
        width: 320px;
        right: calc((100% - 1200px) / 2 + 24px);
    }
}

@media (max-width: 1280px) {
    .hero-title {
        font-size: 48px;
    }
    
    .logo-img {
        width: 240px;
        height: 240px;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .faq-title {
        font-size: 28px;
    }
    
    .faq-question {
        font-size: 17px;
        padding: 22px 24px;
    }
    
    .modal {
        max-width: 440px;
        padding: 28px;
    }
    
    .modal-title {
        font-size: 26px;
    }

    .user-dropdown {
        width: 300px;
        right: 24px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 0;
    }
    
    .logo-img {
        width: 200px;
        height: 200px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-tagline br {
        display: none;
    }
    
    .modal {
        max-width: 420px;
        padding: 28px;
    }
    
    .modal-title {
        font-size: 24px;
    }

    .user-dropdown {
        width: 280px;
        right: 16px;
        top: calc(100% + 12px);
    }
    
    .user-name {
        font-size: 16px;
    }
    
    .user-group {
        font-size: 13px;
    }

    .admin-filters {
        flex-direction: column;
    }
    
    .admin-search,
    .admin-filter {
        width: 100%;
    }
    
    .users-table {
        font-size: 12px;
    }
    
    .users-table th,
    .users-table td {
        padding: 12px;
    }
}

@media (max-width: 800px) {
    html {
        font-size: 15px;
    }
    
    .navbar {
        padding: 12px 16px;
    }
    
    .nav-container {
        padding: 6px 10px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link {
        padding: 10px;
    }
    
    .nav-icon {
        width: 22px;
        height: 22px;
    }
    
    .login-btn span {
        display: none;
    }
    
    .login-btn {
        padding: 10px;
    }
    
    .login-icon {
        width: 22px;
        height: 22px;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 16px 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .logo-img {
        width: 160px;
        height: 160px;
    }
    
    .hero-content {
        gap: 24px;
    }
    
    .faq {
        padding: 40px 16px;
    }
    
    .faq-title {
        font-size: 22px;
        margin-bottom: 24px;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 18px 16px;
        line-height: 1.4;
    }
    
    .faq-arrow {
        width: 20px;
        height: 20px;
    }
    
    .faq-item {
        border-radius: 12px;
    }
    
    .faq-answer p {
        padding: 0 16px 18px;
        font-size: 14px;
    }

    .faq-list-answer {
        padding: 0 16px 18px 40px;
        font-size: 14px;
    }
    
    .faq-list-answer li {
        margin-bottom: 10px;
    }
    
    .footer {
        padding: 40px 16px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .footer-links ul,
    .footer-social ul {
        align-items: center;
    }
    
    .footer-logo {
        font-size: 24px;
    }
    
    .modal {
        max-width: 400px;
        border-radius: 20px;
    }
    
    .modal-title {
        font-size: 22px;
    }
    
    .modal-header {
        margin-bottom: 24px;
    }
    
    .modal-close {
        width: 40px;
        height: 40px;
    }
    
    .form-input {
        padding: 14px 18px;
        border-radius: 14px;
    }
    
    .btn {
        padding: 16px 20px;
    }

    .user-dropdown {
        width: 260px;
        right: 12px;
        padding: 16px;
        border-radius: 12px;
    }
    
    .balance-card {
        padding: 12px;
    }
    
    .dropdown-actions {
        gap: 8px;
    }
    
    .btn-profile,
    .btn-logout,
    .btn-balance {
        padding: 10px;
        font-size: 13px;
    }

    .admin-section {
        padding: 90px 16px 40px;
    }
    
    .admin-title {
        font-size: 24px;
    }
    
    .admin-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .admin-tab {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .navbar {
        padding: 10px 12px;
    }
    
    .nav-container {
        border-radius: 10px;
    }
    
    .hero {
        padding: 90px 12px 32px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .logo-img {
        width: 140px;
        height: 140px;
    }
    
    .faq {
        padding: 32px 12px;
    }
    
    .faq-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .faq-question {
        font-size: 14px;
        padding: 16px;
        gap: 12px;
    }
    
    .faq-arrow {
        width: 18px;
        height: 18px;
    }
    
    .faq-list {
        gap: 12px;
    }
    
    .faq-item {
        border-radius: 10px;
    }
    
    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 13px;
    }

    .faq-list-answer {
        padding: 0 16px 16px 36px;
        font-size: 13px;
    }
    
    .faq-list-answer li {
        margin-bottom: 8px;
    }
    
    .footer {
        padding: 32px 12px;
    }
    
    .footer-logo {
        font-size: 22px;
    }
    
    .footer-tagline {
        font-size: 14px;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
    
    .footer-heading {
        font-size: 12px;
        margin-bottom: 16px;
    }
    
    .footer-links a,
    .footer-social a {
        font-size: 14px;
    }
    
    .footer-container {
        gap: 28px;
    }
    
    .footer-links ul,
    .footer-social ul {
        gap: 10px;
    }
    
    .modal {
        width: 95%;
        max-width: none;
        padding: 20px;
        border-radius: 16px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-header {
        margin-bottom: 20px;
    }
    
    .modal-close {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    
    .modal-close svg {
        width: 18px;
        height: 18px;
    }
    
    .form-group {
        gap: 8px;
    }
    
    .form-label {
        font-size: 14px;
    }
    
    .form-input {
        padding: 12px 16px;
        border-radius: 12px;
        font-size: 14px;
    }
    
    .btn {
        padding: 14px 18px;
        border-radius: 12px;
        font-size: 14px;
    }
    
    .btn-icon {
        width: 18px;
        height: 18px;
    }

    .user-dropdown {
        width: calc(100% - 24px);
        left: 12px;
        right: 12px;
        top: calc(100% + 8px);
    }
    
    .user-info-header {
        flex-direction: column;
        gap: 4px;
    }
    
    .user-name {
        font-size: 16px;
    }
    
    .user-group {
        font-size: 12px;
    }
    
    .balance-label,
    .balance-amount {
        font-size: 14px;
    }
}

.auth-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

.auth-message.error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    color: #ff6666;
    display: block;
}

.auth-message.success {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid #2ed573;
    color: #2ed573;
    display: block;
}

.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    color: var(--text-primary);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

select.form-input::-ms-expand {
    display: none;
}

#editGroup,
#groupFilter {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    background-color: var(--bg-input);
}

.server-join-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.btn-join-server {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent-purple), #5a6285);
    color: white;
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(121, 129, 166, 0.3);
}

.btn-join-server:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(121, 129, 166, 0.4);
    background: linear-gradient(135deg, #8b93b8, var(--accent-purple));
}

.server-ip-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.server-ip-block:hover {
    border-color: var(--accent-purple);
    background: rgba(121, 129, 166, 0.1);
}

.server-ip-text {
    font-family: 'Unbounded', monospace;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.server-online {
    font-size: 12px;
    color: var(--text-muted);
    padding-left: 12px;
    border-left: 1px solid var(--border-color);
}

.server-online::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #2ed573;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.copy-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.server-ip-block:hover .copy-icon {
    color: var(--accent-purple);
}

@media (max-width: 600px) {
    .server-join-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .btn-join-server {
        width: 100%;
        justify-content: center;
    }
    
    .server-ip-block {
        width: 100%;
        justify-content: space-between;
    }
}

.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--border-color) 20%, 
        var(--accent-purple) 50%, 
        var(--border-color) 80%, 
        transparent 100%
    );
    margin: 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--accent-purple);
    border-radius: 3px;
    box-shadow: 0 0 20px var(--accent-purple);
}

.screenshots {
    padding: 80px 24px;
    width: 100%;
}

.screenshots-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-description {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 78px;
    color: var(--text-secondary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-description::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-purple-light));
    border-radius: 2px;
}

.section-description a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.section-description a:hover {
    color: var(--accent-purple-light);
}

.section-description a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--accent-purple-light);
    transition: width 0.2s ease;
}

.section-description a:hover::after {
    width: 100%;
}


.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.screenshot-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-purple);
}

.screenshot-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.screenshot-card:hover .screenshot-img {
    transform: scale(1.0);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.screenshot-card:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-icon {
    width: 48px;
    height: 48px;
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.screenshot-card:hover .screenshot-icon {
    transform: scale(1);
}

.screenshot-view-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
}

.screenshot-card:hover .screenshot-view-text {
    opacity: 1;
    transform: translateY(0);
}

.screenshot-info {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.screenshot-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.screenshot-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-purple);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    font-family: 'Unbounded', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots {
        padding: 60px 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

.screenshot-modal {
    max-width: 900px;
    width: 90%;
}

.screenshot-modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
}

.screenshot-modal-img {
    width: 100%;
    border-radius: 16px;
    display: block;
    max-height: 60vh;
    object-fit: contain;
    background: var(--bg-input);
}

.screenshot-modal-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 0 8px;
}

@media (max-width: 768px) {
    .screenshot-modal {
        max-width: 95%;
        width: 95%;
    }
    
    .screenshot-modal-img {
        max-height: 50vh;
        border-radius: 12px;
    }
    
    .screenshot-modal-desc {
        font-size: 14px;
    }
}

.forums-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.forum-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.forum-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.forum-header-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.forum-info {
    flex: 1;
}

.forum-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.forum-name {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.forum-desc {
    color: var(--text-muted);
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.forum-permissions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.forum-permissions small {
    color: var(--text-secondary);
}

.perm-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--accent-purple);
    color: white;
    border-radius: 4px;
    font-size: 11px;
    margin: 0 2px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-staff {
    background: rgba(255, 165, 2, 0.2);
    color: #ffa502;
    border: 1px solid rgba(255, 165, 2, 0.3);
}

.tag-closed {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.forum-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.expand-icon {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.forum-topics {
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 24px;
}

.topics-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.topics-count {
    color: var(--text-muted);
    font-size: 14px;
}

.btn-add-topic {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--accent-purple);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-add-topic:hover {
    background: var(--accent-purple-light);
    color: var(--bg-primary);
}

.btn-add-topic svg {
    width: 16px;
    height: 16px;
}

.topic-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--bg-input);
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.topic-row:last-child {
    margin-bottom: 0;
}

.topic-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.topic-title {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 15px;
}

.topic-tags {
    display: flex;
    gap: 8px;
}

.topic-permissions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.topic-permissions small {
    color: var(--text-muted);
    font-size: 12px;
}

.checkbox-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 14px;
}

.checkbox-label-inline input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-purple);
    cursor: pointer;
}

.permissions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 600px) {
    .permissions-grid {
        grid-template-columns: 1fr;
    }
    
    .forum-header-row {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .topic-row {
        flex-wrap: wrap;
    }
    
    .topic-permissions {
        width: 100%;
        margin-top: 8px;
    }
}

.info-date {
    font-size: 13px;
    color: var(--text-muted);
}