html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 11000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icons {
    display: flex;
    gap: 0.5rem;
}

.header-icons i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

.main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    box-sizing: border-box;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.title-gradient {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff 0%, #000000 50%, #ffffff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 200% 0%;
    }
    100% {
        background-position: 0% 0%;
    }
}

@keyframes cardEnter3D {
    0% {
        transform: translateZ(0) scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    100% {
        transform: translateZ(50px) scale(1.02);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }
}

@keyframes logoFloat {
    0% {
        transform: translateZ(0) scale(1);
    }
    100% {
        transform: translateZ(10px) scale(1.05);
    }
}

@keyframes cardExit3D {
    0% {
        transform: translateZ(50px) scale(1.02);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }
    100% {
        transform: translateZ(0) scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 500px;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: #ffffff;
    color: #000000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn i {
    color: inherit !important;
    transition: color 0.18s, fill 0.18s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    color: #ffffff;
    border-radius: 0.5rem !important;
}

.btn:hover i {
    transform: rotate(10deg) scale(1.1);
}

.btn-primary:hover i {
    color: inherit;
}

.btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

.btn:not(:active) {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-primary:active span,
.btn-primary:active i {
    color: #000 !important;
}

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

.btn-secondary:active span,
.btn-secondary:active i {
    color: #000 !important;
}

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

.btn-ghost:active span,
.btn-ghost:active i {
    color: #000 !important;
}

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

.btn-danger:active span,
.btn-danger:active i {
    color: #232323 !important;
}

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

.btn-unban:active span,
.btn-unban:active i {
    color: #232323 !important;
}

.btn-primary {
    background: #333333;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: #fff;
    transition: width 0.3s ease;
    z-index: 1;
    border-radius: 0;
}
.btn-primary:hover::before {
    width: 100%;
    left: 0;
    right: auto;
}
.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}
.btn-primary:hover span,
.btn-primary:hover i {
    color: #000 !important;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-icon i {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary {
    background: #333333;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: #ffffff;
    transition: width 0.3s ease;
    z-index: 1;
}

.btn-secondary:hover::before {
    width: 100%;
    left: 0;
    right: auto;
}

.btn-secondary:hover,
.btn-secondary:hover * {
    color: #000 !important;
    border-color: #ffffff;
    border-radius: 0.5rem !important;
}

.btn-secondary span,
.btn-secondary i {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.btn-secondary:hover span,
.btn-secondary:hover i {
    color: #000000;
}

.btn-secondary:hover i {
    transform: rotate(10deg) scale(1.1);
}

.btn-ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid transparent;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-ghost::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    transition: width 0.3s ease;
    z-index: 1;
}

.btn-ghost:hover::before {
    width: 100%;
    left: 0;
    right: auto;
}

.btn-ghost:focus {
    outline: none;
}

.btn-ghost span,
.btn-ghost i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    transform: translateY(-2px) scale(1.02);
    border-radius: 0.5rem !important;
}

.btn-ghost:hover span {
    transform: translateX(3px);
}

.btn-ghost:hover i {
    transform: rotate(10deg) scale(1.1);
    color: #ffffff;
}



.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hero-app {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    perspective: 800px;
    perspective-origin: center;
    transform-style: preserve-3d;
    padding-left: 1rem;
}

.app-window {
    width: 540px;
    background: #2c2f33;
    border-radius: 0.75rem;
    overflow: visible;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    position: relative;
    transform: rotateX(0deg) rotateY(0deg);
    will-change: transform;
    margin-left: 2rem;
}

.app-window::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.app-window:hover::after {
    opacity: 1;
}

.relax-squad-card {
    display: flex;
    align-items: center;
    padding: 2rem 2.5rem;
    background: #1a1a1a;
    border-radius: 0.75rem;
    gap: 1.5rem;
    min-height: 120px;
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 520px;
    justify-content: space-between;
}

.card-left-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.card-content {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.card-action {
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(30px);
    margin-left: auto;
    flex-shrink: 0;
}

.card-logo {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    transform: translateZ(20px);
}

.logo-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #2c2f33;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.server-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.online-count, .total-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.online {
    background: #43b581;
    box-shadow: 0 0 8px rgba(67, 181, 129, 0.4);
}

.status-dot.total {
    background: #7289da;
    box-shadow: 0 0 8px rgba(114, 137, 218, 0.4);
}

.stats-divider {
    color: rgba(255, 255, 255, 0.3);
}

.card-btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(45deg, #7289da, #5865f2);
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(88, 101, 242, 0.2);
}

.card-btn .btn-icon {
    font-size: 1.1em;
}

.card-logo {
    flex-shrink: 0;
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
}

.card-action {
    flex-shrink: 0;
    transform-style: preserve-3d;
    position: relative;
    z-index: 2;
}

.card-3d-element {
    transform-style: preserve-3d;
}

.logo-circle {
    width: 90px;
    height: 90px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    white-space: nowrap;
}

.server-stats {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    width: fit-content;
}

.online-count {
    color: #22c55e;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin-right: 2px;
}

.total-count {
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin-left: 2px;
}

.stats-divider {
    color: #4b5563;
    user-select: none;
    margin: 0;
    padding: 0 2px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-dot.online {
    background-color: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

.status-dot.total {
    background-color: #9ca3af;
    box-shadow: 0 0 8px rgba(156, 163, 175, 0.3);
}

.card-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #333333;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.card-btn:hover {
    background: #444444;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card-btn i {
    transition: all 0.3s ease;
}

.card-btn:hover i {
    transform: rotate(10deg) scale(1.1);
}

.relax-squad-card:hover .card-btn {
    transform: translateZ(40px);
}

.relax-squad-card-3d-shadow {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.4);
}

.relax-squad-card.card-hovered {
    animation: cardEnter3D 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.relax-squad-card:not(.card-hovered) {
    animation: cardExit3D 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.relax-squad-card .card-action {
    z-index: 2;
}

.relax-squad-card.card-hovered .logo-image {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.relax-squad-card:not(.card-hovered) .logo-image {
    filter: none;
}

.logo {
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
}
.logo:hover {
    transform: scale(1.08) rotate(-2deg);
    filter: brightness(1.2);
}

.register-section {
    max-width: 400px;
    margin: 40px auto;
    background: var(--card-bg, #181a20);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    padding: 32px 24px;
}
.register-title {
    text-align: center;
    margin-bottom: 24px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary, #6c63ff);
}
.register-form .form-group {
    margin-bottom: 18px;
}
.register-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    color: #bdbdbd;
}
.register-form input[type="text"],
.register-form input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #333;
    border-radius: 8px;
    background: #181a1b;
    color: #fff;
    font-size: 1rem;
    transition: border 0.2s;
    outline: none;
}
.register-form input:focus {
    border-color: var(--primary, #6c63ff);
    outline: none;
}
.register-form .btn {
    width: 100%;
    margin-top: 10px;
}

.register-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 0.75rem;
    gap: 1.5rem;
    min-height: 120px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    max-width: 360px;
    margin: 48px auto;
}
.register-title.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    text-align: center;
}
.register-form {
    width: 100%;
}
.register-form .form-group {
    margin-bottom: 20px;
}
.register-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 1rem;
    color: #bdbdbd;
}
.register-form input[type="text"],
.register-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #333;
    border-radius: 9px;
    background: #181a1b;
    color: #fff;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
}
.register-form input[type="text"]:focus,
.register-form input[type="password"]:focus {
    border-color: #bdbdbd;
    box-shadow: 0 0 0 2px rgba(189,189,189,0.18);
}
.register-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #333333;
    color: #fff !important;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    border-radius: 0.5rem;
    padding: 13px 0;
    margin-top: 12px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(108,99,255,0.10);
    position: relative;
    overflow: hidden;
}
.register-btn .btn-icon {
    display: flex;
    align-items: center;
    font-size: 1.2em;
}
.register-btn span {
    color: #fff !important;
    position: relative;
    z-index: 2;
}
.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: #fff;
    transition: width 0.3s ease;
    z-index: 1;
    border-radius: 0;
}
.register-btn:hover::before {
    width: 100%;
    left: 0;
    right: auto;
}
.register-btn:hover, .register-btn:focus {
    background: #fff;
    color: #000 !important;
    box-shadow: 0 4px 16px rgba(108,99,255,0.18);
}
.register-btn:hover span, .register-btn:focus span {
    color: #000 !important;
}

.register-outer {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10001;
  background: none;
  margin: 0;
  padding: 0;
  flex-direction: column;
}
 .register-outer > .container {
   display: flex;
   align-items: center;
   justify-content: center;
   height: 100vh;
 }
 .register-card.relax-squad-card {
   margin: 0 auto;
 }

#changePasswordPanel .container {
  max-width: none;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 0;
}

#banUserPanel.register-outer {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none;
}
#banUserPanel .container {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}

.input-wrapper {
    position: relative;
    width: 100%;
}
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #bdbdbd;
    font-size: 1.1em;
    cursor: pointer;
    padding: 0 4px;
    z-index: 2;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.toggle-password i,
.toggle-password i.icon-rotate {
    color: inherit !important;
}
.toggle-password:active, .toggle-password:focus {
}
.toggle-password i {
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.toggle-password i.icon-rotate {
    transform: rotate(-15deg) scale(1.1);
}
.input-wrapper input[type="password"],
.input-wrapper input[type="text"] {
    padding-right: 38px;
}

.register-form input[type="text"],
.register-form input[type="password"] {
    transition: border 0.2s, box-shadow 0.2s, color 0.25s, opacity 0.25s, letter-spacing 0.25s, background 0.25s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
.register-form input[type="text"]:hover,
.register-form input[type="password"]:hover,
.register-form input[type="text"]:focus,
.register-form input[type="password"]:focus {
    transform: scale(1.035);
    z-index: 2;
}
.register-form input[type="text"]:active,
.register-form input[type="password"]:active {
    transform: scale(0.98);
}
.register-form input[type="text"]::placeholder,
.register-form input[type="password"]::placeholder {
    transition: color 0.25s, opacity 0.25s, letter-spacing 0.25s;
}
.register-form input[type="text"]:focus,
.register-form input[type="password"]:focus {
    letter-spacing: 0.5px;
    color: #fff;
}

.custom-error {
    background: #222;
    color: #ffb74d;
    border: 1px solid #ff9800;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.custom-error::before {
    content: "⚠️";
    font-size: 1.2em;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}
.notification-content i {
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 1.1em;
    margin-right: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    flex-shrink: 0;
}
.notification-success .notification-content i,
.notification-error .notification-content i,
.notification-warn .notification-content i {
    background: #111;
    color: #fff;
}

.page-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.page-animate.page-animate-active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .auth-buttons {
        justify-content: center;
    }
    
    .relax-squad-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .auth-buttons {
        flex-direction: column;
    }
    
    .relax-squad-card {
        padding: 1.5rem;
    }
    
    .logo-circle {
        width: 50px;
        height: 50px;
    }
    
    .logo-image {
        width: 45px;
        height: 45px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
}

.input-error {
    border-color: #ff4d4f !important;
    animation: shake 0.3s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-wrapper input {
    width: 100%;
    padding-right: 40px;
    transition: all 0.3s ease;
}

.input-wrapper input.input-error {
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
}

.input-wrapper input.input-error:focus {
    border-color: #ff4d4f;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.3);
}

.notification {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 500px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.notification-success {
    border-left: 4px solid #52c41a;
}

.notification.notification-error {
    border-left: 4px solid #ff4d4f;
}

.notification.notification-warn {
    border-left: 4px solid #faad14;
}

.notification.notification-in {
    opacity: 1;
    transform: translateX(0);
}

.notification.notification-out {
    opacity: 0;
    transform: translateX(100%);
}

.notification i {
    font-size: 1.2em;
}

.notification.notification-success i {
    color: #52c41a;
}

.notification.notification-error i {
    color: #ff4d4f;
}

.notification.notification-warn i {
    color: #faad14;
}

#notification-stack {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.notification {
    background: #000000;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(100%) translateY(20px);
    transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1), margin-bottom 0.35s cubic-bezier(0.4,0,0.2,1), max-height 0.35s cubic-bezier(0.4,0,0.2,1);
    will-change: opacity, transform, margin-bottom, max-height;
    margin: 0;
    margin-bottom: 12px;
    max-height: 200px;
    overflow: hidden;
}
.notification-in {
    opacity: 1;
    transform: translateX(0) translateY(0);
}
.notification-out {
    opacity: 0;
    transform: translateX(100%) translateY(-20px);
    margin-bottom: 0;
    margin: 0;
}
.notification-collapsing {
    max-height: 0 !important;
    margin-bottom: 0 !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.login-btn-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5em;
    width: 100%;
    text-align: center;
}

.profile-outer {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-actions .btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
    height: 44px !important;
    min-width: 180px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
}
#profileBtn.btn {
    height: unset;
    padding: unset;
    font-size: unset;
    min-width: unset;
}

.header-actions .btn + .btn {
    margin-left: 12px;
}

.concept-profile-card {
    width: 400px;
    min-height: 380px;
    background: #232323;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 32px 32px 32px;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.12);
}
.profile-top-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}
.profile-avatar {
    width: 120px;
    height: 120px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    flex-shrink: 0;
}
.profile-avatar-letter {
    color: #fff;
    font-size: 64px;
    font-weight: 700;
    font-family: inherit;
    user-select: none;
}
.profile-actions-vertical {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
    flex: 1;
}
.profile-actions-vertical .btn {
    width: 180px;
    height: 40px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.concept-profile-info {
    width: 100%;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.concept-profile-info .profile-row {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2px;
}
.concept-profile-info .profile-label {
    font-weight: 700;
    margin-right: 4px;
}
.concept-profile-info .profile-value {
    font-weight: 400;
}

.profile-info-site {
    color: #fff;
    font-size: 1.08rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.profile-info-site b {
    color: var(--primary, #fff);
    font-weight: 700;
}
.profile-actions-site {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 0.5rem;
}

.btn-logout, .btn-invite {
    background: #333333;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-logout::before {
    background: #ff4d4f;
}
.btn-invite::before {
    background: #6ec6ff;
}
.btn-logout:hover, .btn-logout:focus,
.btn-invite:hover, .btn-invite:focus {
    background: #333333;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-panel-redesign {
    background: #1a1a1a;
    border-radius: 14px;
    border: 1.5px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.18);
    width: 600px;
    margin: 60px auto 0 auto;
    padding: 36px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 540px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.profile-panel-redesign.show {
    opacity: 1;
    transform: translateY(0);
}

.profile-avatar-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
}

.profile-avatar-large {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: #1a1a1a;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-avatar-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 140px;
    height: 140px;
    pointer-events: none;
    z-index: 2;
}

.profile-avatar-decoration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(0.9);
}

.profile-avatar-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 42px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    background: #1a1a1a;
}
.profile-actions-redesign {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 28px;
}
.profile-info-redesign {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.profile-info-redesign[style*="display: none"] {
    gap: 14px;
}
.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #232323;
    border-radius: 7px;
    padding: 10px 18px;
    font-size: 1.13rem;
    font-weight: 500;
    color: #fff;
}
.profile-info-label {
    color: #bdbdbd;
    font-weight: 600;
    font-size: 1.05rem;
}
.profile-info-value {
    color: #fff;
    font-weight: 700;
    font-size: 1.13rem;
}

.badges-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin: 0 auto 18px;
    width: 100%;
    max-width: 372px;
}

.badge-ico {
    width: 54px;
    height: 32px;
    border-radius: 8px;
    background: #232323;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bdbdbd;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    cursor: pointer;
    transition: color 0.22s, transform 0.18s, border-color 0.22s;
    box-shadow: none;
    border: 1.5px solid rgba(255,255,255,0.08);
    overflow: hidden;
    text-align: center;
    line-height: 1;
}

.badge-staff::before {
    background: #6c63ff;
}
.badge-onedigit::before {
    background: #ffe066;
}
.badge-dev::before {
    background: #00c3ff;
}
.badge-moder::before {
    background: #4fc3f7;
}
.badge-helper::before {
    background: #81c784;
}
.badge-ico:hover {
    color: #232323;
    transform: scale(1.09) translateY(-2px);
    border-color: rgba(108, 99, 255, 0.2);
}
.badge-onedigit:hover {
    color: #232323;
    border-color: rgba(255, 224, 102, 0.2);
}
.badge-dev:hover {
    color: #fff;
    border-color: rgba(0, 195, 255, 0.2);
}
.badge-moder:hover {
    color: #232323;
    border-color: rgba(79, 195, 247, 0.2);
}
.badge-helper:hover {
    color: #232323;
    border-color: rgba(129, 199, 132, 0.2);
}
.badge-moder:hover i,
.badge-helper:hover i {
    color: #232323;
}
.badge-ico:hover i {
    transform: rotate(10deg) scale(1.1);
    transition: all 0.22s cubic-bezier(.4,0,.2,1);
}
.badge-onedigit:hover i {
    color: #232323;
}
.badge-dev:hover i {
    color: #232323;
}

.badge-tooltip {
    position: absolute;
    background: #232323;
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    border: none;
    outline: 1.5px solid rgba(255,255,255,0.08);
    outline-offset: 0px;
    white-space: nowrap;
    transition: opacity 0.18s cubic-bezier(.4,0,.2,1), left 0.18s cubic-bezier(.4,0,.2,1), top 0.18s cubic-bezier(.4,0,.2,1);
    box-sizing: border-box;
}

.badge-tooltip.show {
    opacity: 1;
    visibility: visible;
}

.badge-tooltip.bottom::before {
    bottom: auto;
    top: -6px;
    border-top-color: transparent;
    border-bottom-color: rgba(0, 0, 0, 0.95);
}

.badges-row {
    position: relative;
}

.badge-ico {
    position: relative;
}

#profileBtn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

#profileBtn.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.auth-buttons.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
}

.hero-content {
    transition: all 0.5s ease;
    transform: translateY(0);
}

.hero-content.centered {
    transform: translateY(-50px);
}

.hero-description {
    transition: max-width 0.5s ease, opacity 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
    opacity: 1;
}

.hero-description.centered {
    max-width: 800px;
    opacity: 0.9;
}

.badge-founder::before {
    background: #ff3b3b;
}
.badge-founder:hover {
    color: #232323;
    border-color: rgba(255, 59, 59, 0.2);
}
.badge-founder:hover i {
    color: #232323;
}

.change-password-card {
  position: absolute;
  left: calc(100% + 32px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
  min-width: 0;
  max-width: 360px;
  background: #232323;
  border-radius: 18px;
  box-shadow: 0 8px 32px #000a;
  padding: 32px 28px 24px 28px;
  display: none;
  color: #fff;
  animation: modalIn 0.22s cubic-bezier(.4,1.4,.6,1) both;
}
.change-password-card .close-modal {
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 22px;
  cursor: pointer;
  color: #aaa;
  transition: color 0.2s;
}
.change-password-card .close-modal:hover {
  color: #fff;
}
.change-password-card .register-title {
  margin-bottom: 18px;
  text-align: center;
  font-size: 1.18rem;
}
.change-password-card .form-group {
  margin-bottom: 14px;
}
.change-password-card input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #181818;
  color: #fff;
  font-size: 1rem;
}
.change-password-card button {
  width: 100%;
  font-size: 1.08rem;
  font-weight: 700;
  margin-top: 8px;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(-40px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .change-password-card {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 0;
    width: 96vw;
    max-width: 360px;
  }
}

.btn-primary.btn-large.login-btn-center,
.btn-secondary.btn-large.login-btn-center {
  color: #fff !important;
}
.btn-primary.btn-large.login-btn-center i,
.btn-secondary.btn-large.login-btn-center i {
  color: inherit !important;
  transition: color 0.18s;
}
.btn-primary.btn-large.login-btn-center:hover,
.btn-primary.btn-large.login-btn-center:focus,
.btn-secondary.btn-large.login-btn-center:hover,
.btn-secondary.btn-large.login-btn-center:focus {
  color: #232323 !important;
}
.btn-primary.btn-large.login-btn-center:hover i,
.btn-primary.btn-large.login-btn-center:focus i,
.btn-secondary.btn-large.login-btn-center:hover i,
.btn-secondary.btn-large.login-btn-center:focus i {
  color: #232323 !important;
}

.btn-primary.btn-large.login-btn-center:active,
.btn-secondary.btn-large.login-btn-center:active {
  transform: translateY(0);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.btn-primary.btn-large.login-btn-center:active span,
.btn-primary.btn-large.login-btn-center:active i,
.btn-secondary.btn-large.login-btn-center:active span,
.btn-secondary.btn-large.login-btn-center:active i {
  color: #000 !important;
}

.btn-danger.btn-large.login-btn-center:active {
  transform: translateY(0);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.btn-danger.btn-large.login-btn-center:active span,
.btn-danger.btn-large.login-btn-center:active i {
  color: #232323 !important;
}

.btn-secondary.btn-logout:active,
.btn-secondary.btn-invite:active,
.btn-danger.btn-ban:active {
  transform: translateY(0);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.btn-secondary.btn-logout:active span,
.btn-secondary.btn-logout:active i,
.btn-secondary.btn-invite:active span,
.btn-secondary.btn-invite:active i,
.btn-danger.btn-ban:active span,
.btn-danger.btn-ban:active i {
  color: #000 !important;
}

.btn-ghost.btn-large:active {
  transform: translateY(0);
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.btn-ghost.btn-large:active span,
.btn-ghost.btn-large:active i {
  color: #000 !important;
}
.btn-danger {
    background: #333333;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-danger::before {
    content: '';
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    width: 0;
    height: 100%;
    background: #ff4d4f;
    transition: width 0.32s cubic-bezier(0.4,0,0.2,1), left 0.32s cubic-bezier(0.4,0,0.2,1), right 0.32s cubic-bezier(0.4,0,0.2,1);
    z-index: 1;
    border-radius: 0;
}
.btn-danger:hover::before, .btn-danger:focus::before {
    left: 0;
    right: auto;
    width: 100%;
}
.btn-danger span, .btn-danger i {
    color: #fff !important;
    position: relative;
    z-index: 2;
    transition: color 0.2s;
}
.btn-danger:hover, .btn-danger:focus {
    background: #333333;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(255, 77, 79, 0.10), 0 10px 10px -5px rgba(255, 77, 79, 0.04);
}
.btn-logout:hover span, .btn-logout:focus span,
.btn-logout:hover i, .btn-logout:focus i {
    color: #232323 !important;
}
.btn-danger:hover span, .btn-danger:focus span,
.btn-danger:hover i, .btn-danger:focus i {
    color: #232323 !important;
}
.btn-invite:hover span, .btn-invite:focus span,
.btn-invite:hover i, .btn-invite:focus i {
    color: #232323 !important;
}
#banListPanel .register-card.relax-squad-card {
  min-width: 0;
  max-width: 360px;
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s cubic-bezier(0.4,0,0.2,1);
  transform: scale(0.92);
  opacity: 0.6;
}
#banListPanel .register-card.relax-squad-card.ban-list-animate-active {
  transform: scale(1);
  opacity: 1;
}
.btn-unban {
  background: #232323 !important;
  color: #fff !important;
  border: 1.5px solid #444;
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: none !important;
  position: relative;
  overflow: hidden;
  padding: 0.5em 1em;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-unban i {
  color: #fff !important;
  transition: color 0.18s;
  font-size: 1.3em;
  display: inline-block;
  position: relative;
  z-index: 2;
}
.btn-unban::before {
  content: '';
  position: absolute;
  top: 0;
  left: auto;
  right: 0;
  width: 0;
  height: 100%;
  background: #27ae60;
  z-index: 1;
  transition: width 0.3s ease, left 0.3s ease, right 0.3s ease;
}
.btn-unban:hover::before, .btn-unban:focus::before {
  width: 100%;
  left: 0;
  right: auto;
}
.btn-unban:hover, .btn-unban:focus {
  color: #232323 !important;
  border-color: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(39,174,96,0.18);
}
.btn-unban:hover i, .btn-unban:focus i {
  color: #232323 !important;
}
.badge-inviter::before {
    background: #a259ff;
}
.badge-inviter:hover {
    color: #232323;
    border-color: rgba(162, 89, 255, 0.2);
}
.badge-inviter:hover i {
    color: #232323;
}
.badge-friend::before {
    background: #2196f3;
}
.badge-partner::before {
    background: #43a047;
}
.badge-rich::before {
    background: #ffd700;
}
.badge-early-supporter::before {
    background: #e57373;
}
.badge-friend:hover {
    color: #232323;
    border-color: rgba(33, 150, 243, 0.2);
}
.badge-partner:hover {
    color: #232323;
    border-color: rgba(67, 160, 71, 0.2);
}
.badge-rich:hover {
    color: #232323;
    border-color: rgba(255, 215, 0, 0.2);
}
.badge-early-supporter:hover {
    color: #232323;
    border-color: rgba(229, 115, 115, 0.2);
}
.badge-friend:hover i,
.badge-partner:hover i,
.badge-rich:hover i,
.badge-early-supporter:hover i {
    color: #232323;
}
.badge-legend::before {
    background: #e1bee7;
}
.badge-legend:hover {
    color: #fff;
    border-color: transparent;
}
.badge-legend:hover::before {
    background: linear-gradient(90deg, #ffb6e9 0%, #b4eaff 25%, #baffc9 50%, #ffe066 75%, #ffb6e9 100%);
}
.badge-legend:hover i {
    color: #232323 !important;
}
.badge-banned::before {
    background: #ff4d4f;
}
.badge-banned:hover,
.badge-banned:hover i {
    color: #fff;
    border-color: #ff4d4f;
}
.badge-banned:hover::before {
    background: #ff4d4f;
}
.badge-banned-temporary::before {
    background: #ffb199;
}
.badge-banned-temporary:hover,
.badge-banned-temporary:hover i {
    color: #fff;
    border-color: #ffb199;
}
.badge-banned-temporary:hover::before {
    background: #ffb199;
}
.badge-banned-lifetime::before {
    background: #ff2222;
}
.badge-banned-lifetime:hover,
.badge-banned-lifetime:hover i {
    color: #fff;
    border-color: #ff2222;
}
.badge-banned-lifetime:hover::before {
    background: #ff2222;
}
.badge-banned-temporary:hover i {
    color: #232323 !important;
}
.badge-banned-lifetime:hover i {
    color: #232323 !important;
}
.profile-views-btn,
.profile-rep-btn.profile-rep-counter-btn {
    height: 40px;
    min-width: 54px;
    border-radius: 8px;
    background: #232323;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 600;
    position: relative;
    cursor: pointer;
    transition: color 0.22s, transform 0.18s, border-color 0.22s;
    box-shadow: none;
    overflow: hidden;
    text-align: center;
    line-height: 1;
    padding: 0 18px;
    gap: 8px;
}
.profile-views-btn i,
.profile-rep-btn.profile-rep-counter-btn i {
    font-size: 1.15rem;
    margin-right: 6px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-views-btn span,
.profile-rep-btn.profile-rep-counter-btn span {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
}
.profile-rep-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
}
.profile-rep-block > div {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 8px !important;
}
.profile-rep-btn {
    border-radius: 0.5rem;
    background: #333;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 1.1em;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    text-decoration: none;
    overflow: hidden;
    position: relative;
}
.profile-rep-btn i {
    color: inherit;
    transition: color 0.18s, fill 0.18s;
}
.profile-rep-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: #fff;
    transition: width 0.3s ease;
    z-index: 1;
    border-radius: 0.5rem;
}
.profile-rep-btn:hover::before, .profile-rep-btn:focus::before {
    width: 100%;
    left: 0;
    right: auto;
}
.profile-rep-btn span,
.profile-rep-btn i {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}
.profile-rep-btn:hover span,
.profile-rep-btn:hover i,
.profile-rep-btn:focus span,
.profile-rep-btn:focus i {
    color: #232323 !important;
}
.profile-rep-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.profile-rep-counter {
    font-weight: bold;
    font-size: 1.1em;
    margin: 0 6px;
    min-width: 32px;
    text-align: center;
    display: inline-block;
}
.profile-rep-counter-btn {
    background: #333;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0.5rem;
    padding: 0.5rem 1.1rem;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.10), 0 2px 4px -1px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    text-decoration: none;
    overflow: hidden;
    position: relative;
}
.profile-rep-counter-btn i {
    color: #fff;
    font-size: 1.1em;
    transition: color 0.18s, fill 0.18s;
}
.profile-rep-counter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: #fff;
    transition: width 0.3s ease;
    z-index: 1;
    border-radius: 0.5rem;
}
.profile-rep-counter-btn:hover::before, .profile-rep-counter-btn:focus::before {
    width: 100%;
    left: 0;
    right: auto;
}
.profile-rep-counter-btn span,
.profile-rep-counter-btn i {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}
.profile-rep-counter-btn:hover span,
.profile-rep-counter-btn:hover i,
.profile-rep-counter-btn:focus span,
.profile-rep-counter-btn:focus i {
    color: #232323 !important;
}
.badge-verified,
.badge-trusted,
.badge-untrusted {
    background: #232323;
    position: relative;
    z-index: 0;
}
.badge-verified::before {
    background: #2563eb;
    transition: width 0.32s cubic-bezier(0.4,0,0.2,1), left 0.32s cubic-bezier(0.4,0,0.2,1), right 0.32s cubic-bezier(0.4,0,0.2,1);
    content: '';
    position: absolute;
    top: 0; right: 0; left: auto; height: 100%; width: 0;
    z-index: 1;
    border-radius: 8px;
}
.badge-verified:hover::before {
    left: 0; right: auto; width: 100%;
}
.badge-verified:hover,
.badge-verified:hover i {
    color: #fff;
}
.badge-verified i {
    color: #2563eb;
    position: relative;
    z-index: 2;
    transition: color 0.22s;
}
.badge-trusted::before {
    background: #22c55e;
    transition: width 0.32s cubic-bezier(0.4,0,0.2,1), left 0.32s cubic-bezier(0.4,0,0.2,1), right 0.32s cubic-bezier(0.4,0,0.2,1);
    content: '';
    position: absolute;
    top: 0; right: 0; left: auto; height: 100%; width: 0;
    z-index: 1;
    border-radius: 8px;
}
.badge-trusted:hover::before {
    left: 0; right: auto; width: 100%;
}
.badge-trusted:hover,
.badge-trusted:hover i {
    color: #fff;
}
.badge-trusted i {
    color: #22c55e;
    position: relative;
    z-index: 2;
    transition: color 0.22s;
}
.badge-untrusted::before {
    background: #ef4444;
    transition: width 0.32s cubic-bezier(0.4,0,0.2,1), left 0.32s cubic-bezier(0.4,0,0.2,1), right 0.32s cubic-bezier(0.4,0,0.2,1);
    content: '';
    position: absolute;
    top: 0; right: 0; left: auto; height: 100%; width: 0;
    z-index: 1;
    border-radius: 8px;
}
.badge-untrusted:hover::before {
    left: 0; right: auto; width: 100%;
}
.badge-untrusted:hover,
.badge-untrusted:hover i {
    color: #fff;
}
.badge-untrusted i {
    color: #ef4444;
    position: relative;
    z-index: 2;
    transition: color 0.22s;
}
.badge-verified i,
.badge-trusted i,
.badge-untrusted i {
    color: #bdbdbd;
    position: relative;
    z-index: 2;
    transition: color 0.22s;
}
.badge-verified:hover i,
.badge-trusted:hover i,
.badge-untrusted:hover i {
    color: #232323;
}

.ban-list {
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
    padding: 0 10px;
}

.ban-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ban-info {
    flex: 1;
}

.ban-username {
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
}

.ban-details {
    color: #aaa;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.unban-btn {
    padding: 6px 12px !important;
    margin-left: 10px;
}

.ban-list::-webkit-scrollbar {
    width: 8px;
}

.ban-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.ban-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.ban-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-panel.page-animate-active {
    opacity: 1;
}

.modal-panel .register-card {
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 0;
    width: 100%;
    max-width: 360px;
}

.modal-panel.page-animate-active .register-card {
    transform: scale(1);
    opacity: 1;
}

#modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#modalOverlay.show {
    opacity: 1;
}

#closeBanUserPanel {
    display: block;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
}

.ban-info-container {
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 5px;
}

.ban-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ban-info-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ban-info-label {
    color: #aaa;
    font-size: 0.9em;
}

.ban-info-value {
    color: #fff;
    font-weight: 500;
}

.register-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-animate-active .register-card {
    opacity: 1;
    transform: translateY(0);
}

#joinDiscord {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem !important;
    height: 44px !important;
    min-width: 180px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    text-align: center !important;
    vertical-align: middle !important;
}

#joinDiscord i {
    font-size: 1.1em !important;
    line-height: 1 !important;
    height: 1em !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#joinDiscord span {
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 1em !important;
}

.badge-ico::before {
    content: '';
    position: absolute;
    top: 0; right: 0; left: auto; height: 100%; width: 0;
    z-index: 1;
    transition: width 0.32s cubic-bezier(0.4,0,0.2,1), left 0.32s cubic-bezier(0.4,0,0.2,1), right 0.32s cubic-bezier(0.4,0,0.2,1);
    border-radius: 8px;
}
.badge-ico:hover::before {
    left: 0; right: auto; width: 100%;
}
.badge-ico i {
    margin: 0;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    transition: color 0.22s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.badge-ico:hover {
    color: #232323;
    transform: scale(1.09) translateY(-2px);
    border-color: rgba(108, 99, 255, 0.2);
}
.badge-ico:hover i {
    color: #232323;
}

.badge-bug-hunter {
  position: relative;
  z-index: 0;
}
.badge-bug-hunter::before {
  background: #bfff3c;
  transition: width 0.32s cubic-bezier(0.4,0,0.2,1), left 0.32s cubic-bezier(0.4,0,0.2,1), right 0.32s cubic-bezier(0.4,0,0.2,1);
  content: '';
  position: absolute;
  top: 0; right: 0; left: auto; height: 100%; width: 0;
  z-index: 1;
  border-radius: 8px;
}
.badge-bug-hunter:hover::before {
  background: #bfff3c;
  left: 0; right: auto; width: 100%;
}
.badge-bug-hunter i {
  color: #bdbdbd;
  position: relative;
  z-index: 2;
  transition: color 0.22s;
}
.badge-bug-hunter:hover,
.badge-bug-hunter:hover i {
  color: #232323;
}
.badge-bug-hunter:hover {
  border-color: rgba(255, 59, 59, 0.2);
}
.badge-bug-hunter:hover::before {
  background: #bfff3c !important;
}