/* Global Settings & Variables */
:root {
    --col-bg-main: #121212;
    --col-bg-sec: #1e1e1e;
    --col-bg-card: #252525;
    --col-primary: #FFA500;
    /* Standard Orange */
    --col-primary-dark: #cc8400;
    --col-text-main: #FFFFFF;
    --col-text-sec: #B3B3B3;
    --col-border: #333333;
    --font-main: 'Rubik', sans-serif;
    --font-header: 'Poppins', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-med: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-main: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 15px rgba(255, 165, 0, 0.2);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--col-bg-main);
    color: var(--col-text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-header);
    color: var(--col-text-main);
    font-weight: 700;
}

.text-primary {
    color: var(--col-primary) !important;
}

.text-sec {
    color: var(--col-text-sec);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    font-size: 14px;
    transition: var(--transition-med);
}

.btn-primary {
    background: linear-gradient(45deg, var(--col-primary), #FF8C00);
    color: #000;
    box-shadow: 0 4px 10px rgba(255, 165, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 165, 0, 0.5);
}

.btn-sec {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(5px);
}

.btn-sec:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Layout Utilities */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.d-flex {
    display: flex;
}

.align-cent.d-flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-col {
    flex-direction: column;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.w-100 {
    width: 100%;
}

.text-center {
    text-align: center;
}


/* Navbar Styles */
.navbar {
    background: rgba(12, 12, 12, 0.85);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.nav-links li a {
    color: var(--col-text-sec);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 18px;
    position: relative;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links li a i {
    transition: transform 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.nav-links li a:hover i,
.nav-links li a.active i {
    transform: translateY(-2px);
    color: var(--col-primary);
}

.nav-links li a::after {
    display: none;
}

.nav-actions .btn {
    font-size: 13px;
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-actions .btn:hover {
    border-color: var(--col-primary);
    background: rgba(255, 165, 0, 0.15);
    color: var(--col-primary);
}

/* Main Layout Grid */
.main-wrapper {
    padding: 60px 0;
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.95)), url('../img/pozadi.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: calc(100vh - 80px);
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    /* Main content 1fr, Sidebar Fixed 350px */
    gap: 50px;
    align-items: start;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Team Page Styles */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--col-primary);
}

.section-header h2 {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    opacity: 0.9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

/* Premium Rules Page */
.rules-category {
    margin-bottom: 25px;
}

.category-banner {
    position: relative;
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s;
    z-index: 1;
}

.category-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border-color: var(--col-primary);
}

.category-banner:hover::before {
    background: rgba(0, 0, 0, 0);
}

.category-banner.active {
    border-color: var(--col-primary);
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.2);
}

.banner-content {
    position: relative;
    z-index: 2;
}

.banner-content h2 {
    font-size: 24px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    color: #fff;
    font-weight: 800;
}

.banner-content p {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #ddd;
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

.banner-icon {
    position: relative;
    z-index: 2;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.8);
    transition: transform 0.4s;
}

.category-banner:hover .banner-icon,
.category-banner.active .banner-icon {
    color: var(--col-primary);
    transform: scale(1.1) rotate(5deg);
}

/* Hide default accordion arrow */
.category-banner::after {
    display: none;
}

/* Accordion Content adjustments */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(12, 12, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    border-radius: 0 0 12px 12px;
    backdrop-filter: blur(15px);
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.5);
}

.accordion-content ol {
    padding: 30px;
    list-style: none;
    counter-reset: rules-counter;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-content li {
    position: relative;
    padding: 15px 20px 15px 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.accordion-content li:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 165, 0, 0.1);
    transform: translateX(5px);
    color: #fff;
}

.accordion-content li::before {
    counter-increment: rules-counter;
    content: counter(rules-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 165, 0, 0.1);
    color: var(--col-primary);
    font-weight: 800;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 165, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.1);
}

.team-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(255, 165, 0, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    position: relative;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    /* Pixelated for MC heads */
    image-rendering: pixelated;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.team-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #fff;
}

.team-role {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--col-primary);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.team-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.team-socials {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-socials a {
    color: #666;
    font-size: 16px;
    transition: all 0.3s;
}

.team-socials a:hover {
    color: var(--col-primary);
    transform: scale(1.2);
}

/* Sidebar Lists */
.sidebar-section {
    padding: 20px;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sidebar-section h3 {
    font-size: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-section h3 i {
    color: var(--col-primary);
}

.stat-list .stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
    border-radius: 8px;
    margin-bottom: 5px;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.stat-list .stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.stat-list .stat-item:last-child {
    margin-bottom: 0;
}

.stat-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-item-left img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.stat-name {
    font-size: 14px;
    color: #ccc;
    font-weight: 500;
}

.stat-value {
    color: var(--col-primary);
    font-size: 13px;
    font-weight: 700;
}

.review-list .review-item {
    padding: 15px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s;
}

.review-list .review-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.05);
}

.review-list .review-item:last-child {
    margin-bottom: 0;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-user img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.review-details h4 {
    font-size: 14px;
    color: #fff;
    line-height: 1.2;
    font-weight: 600;
}

.review-details span {
    font-size: 11px;
    color: #888;
}

.review-rating {
    font-size: 18px;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.review-rating.positive {
    color: #4CAF50;
    /* Green */
    background: rgba(76, 175, 80, 0.1);
}

.review-rating.neutral {
    color: #FFA500;
    /* Orange */
    background: rgba(255, 165, 0, 0.1);
}

.review-rating.negative {
    color: #ff4757;
    /* Red */
    background: rgba(255, 71, 87, 0.1);
}

.hero h1 {
    font-size: 52px;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: -1px;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.6);
}

.hero-text {
    z-index: 2;
    width: 100%;
}

.hero-text p {
    font-size: 18px;
    color: #ccc;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Features Section - Colorful Glass & Auto Animation */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes autoShine {

    0%,
    100% {
        background-position: -200% center;
    }

    50% {
        background-position: 200% center;
    }
}

@keyframes pulseBorder {

    0%,
    100% {
        border-color: rgba(255, 255, 255, 0.05);
    }

    50% {
        border-color: rgba(255, 165, 0, 0.3);
    }
}

.feature-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    padding: 25px 20px;
    /* Reduced Padding */
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;

    /* Animation Init */
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards, pulseBorder 6s infinite ease-in-out;
}

/* Stagger Animations */
.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.5s;
}

/* Colorful Bottom Glow */
.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--col-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Auto shine passing through */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    /* Slightly wider beam */
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-25deg);
    animation: passThrough 10s infinite ease-in-out;
    /* Slower 10s cycle */
}

@keyframes passThrough {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Stagger the shine - distinct timings */
.feature-card:nth-child(1)::after {
    animation-delay: 0s;
}

.feature-card:nth-child(2)::after {
    animation-delay: 3.5s;
}

.feature-card:nth-child(3)::after {
    animation-delay: 7s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(40, 40, 40, 0.7);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 165, 0, 0.2);
}

/* Icon Styling */
/* Icon Styling */
.feature-card i {
    font-size: 32px;
    /* Smaller Icon */
    color: #555;
    margin-bottom: 15px;
    /* Reduced Margin */
    transition: all 0.4s ease;
    display: inline-block;
}

.feature-card:hover i {
    color: #fff;
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.5);
}

/* Typography */
.feature-card h3 {
    font-size: 18px;
    /* Smaller Font */
    margin-bottom: 10px;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    /* Force single line */
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.feature-card:hover h3 {
    color: var(--col-primary);
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
}

.feature-card p {
    font-size: 15px;
    color: #999;
    line-height: 1.6;
    transition: color 0.3s;
}

.feature-card:hover p {
    color: #ccc;
}


/* Sidebar & Cards */
.card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 165, 0, 0.1);
}

.card-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header h3 {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--col-text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-header h3 i {
    color: var(--col-primary);
}

.card-body {
    padding: 25px;
}

/* Login Form - Modernized */
.profile-card {
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--col-primary), #ff4500);
}

.login-form .input-group {
    position: relative;
    margin-bottom: 25px;
}

.login-form .input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
    transition: var(--transition-med);
    z-index: 2;
}

.login-form input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.05);
    padding: 16px 20px 16px 55px;
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 15px;
    transition: all 0.3s ease;
}

.login-form input::placeholder {
    color: #555;
    transition: color 0.3s;
}

.login-form input:focus {
    outline: none;
    border-color: var(--col-primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(255, 165, 0, 0.1);
}

.login-form input:focus+i {
    color: var(--col-primary);
}

.login-form input:focus::placeholder {
    color: #888;
}

.login-form button[type="submit"] {
    background: linear-gradient(135deg, var(--col-primary) 0%, #ff5e00 100%);
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(255, 100, 0, 0.2);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 16px;
    margin-bottom: 20px;
}

.login-form button[type="submit"]:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 100, 0, 0.3);
}

.login-form button[type="submit"] i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.login-form button[type="submit"]:hover i {
    transform: translateX(5px);
}

.login-form .text-center a {
    color: #777;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
    text-decoration: none !important;
}

.login-form .text-center a:hover {
    color: var(--col-primary) !important;
    background: rgba(255, 165, 0, 0.05);
}

/* User Profile Sidebar (Logged In) */
.user-profile img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 2px solid rgba(255, 165, 0, 0.3);
    background: rgba(0, 0, 0, 0.2);
}

.user-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 700;
}

.btn-mini {
    font-size: 11px;
    padding: 4px 8px;
    background: #333;
    color: #ccc;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 700;
}

.btn-mini:hover {
    background: #444;
    color: #fff;
}

.btn-danger {
    background: #5a1e1e;
    color: #ff9999;
}

.btn-danger:hover {
    background: #7a2e2e;
    color: #fff;
}

.sidebar-link {
    display: block;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 8px;
    border-radius: 5px;
    color: #ccc;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-left-color: var(--col-primary);
}

.sidebar-link i {
    width: 20px;
    color: #666;
    margin-right: 5px;
}

.sidebar-link:hover i {
    color: var(--col-primary);
}

/* Server Card - Clean & Bold Redesign */
.server-card {
    height: 140px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    background: #000;
}

.server-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 165, 0, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.server-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0.6;
}

.server-card:hover .server-bg {
    transform: scale(1.1);
    opacity: 0.8;
}

.server-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.server-content h3 {
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s;
}

.server-card:hover .server-content h3 {
    transform: scale(1.05);
    color: var(--col-primary);
}

.server-content p {
    font-size: 12px;
    color: #ddd;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.server-card:hover .server-content p {
    background: rgba(255, 165, 0, 0.2);
    border-color: var(--col-primary);
    color: #fff;
    opacity: 1;
}

/* No pseudo-elements needed for this cleaner look */
.server-card::after {
    display: none;
}

/* Sidebar Section Premium Wrapper */
.sidebar-section-premium {
    background: rgba(18, 18, 18, 0.4);
    border-radius: 20px;
    padding: 25px 20px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.section-header-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header-premium h3 {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.section-header-premium h3 i {
    color: var(--col-primary);
}

.header-line {
    height: 2px;
    width: 40px;
    background: var(--col-primary);
    border-radius: 2px;
    opacity: 0.7;
}

.server-list-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

/* Responsive */
@media (max-width: 1000px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
        flex-direction: column-reverse;
        /* Hero text below on mobile? or preserve */
    }

    .hero-text {
        text-align: center;
        margin-top: 30px;
    }

    .hero-text p {
        margin: 20px auto;
    }

    .hero-img img {
        max-height: 300px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(12, 12, 12, 0.98);
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        align-items: flex-start;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 20px;
    }

    .nav-actions {
        display: none;
        /* Hide actions on mobile for now or move slightly */
    }

    /* Ensure actions are visible if needed, or add them to nav-links manually in JS for mobile? 
       For simplicity, let's keep them hidden or assume user just wants links. 
       Actually, let's show actions below links on mobile if we want full fidelity.
    */
}

/* Footer Styles */
.main-footer {
    background: #0f0f0f;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    margin-top: 50px;
}

.footer-title {
    color: var(--col-primary);
    font-size: 24px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.copyright {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-socials {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-socials a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--col-primary);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

.made-by {
    color: #444;
    font-size: 13px;
    font-weight: 500;
}

.made-by i {
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* SUPER PREMIUM PROFILE CARD v4 & WIDGETS */
.profile-card,
.premium-sidebar-widget {
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: rgba(15, 15, 15, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

/* Total Stats Banner */
.total-stats-banner {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1), rgba(20, 20, 20, 0.6));
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(230, 126, 34, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.total-stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #e67e22;
    box-shadow: 0 0 15px #e67e22;
}

.total-stats-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.total-icon {
    font-size: 40px;
    color: #e67e22;
    background: rgba(230, 126, 34, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.2);
    animation: pulse 2s infinite;
}

.total-info h2 {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.total-number {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 20px rgba(230, 126, 34, 0.4);
}

/* Utilities */
.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mt-60 {
    margin-top: 60px;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

/* Neon Top Border */
.profile-card::before,
.premium-sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff9f43, #e67e22, #f1c40f, #ff9f43);
    background-size: 300% 100%;
    animation: neonFlow 3s linear infinite;
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.9);
    z-index: 5;
}

@keyframes neonFlow {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* Header */
.profile-card .card-header,
.premium-sidebar-widget .card-header {
    background: rgba(255, 255, 255, 0.02) !important;
    padding: 20px 25px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-card .card-header h3,
.premium-sidebar-widget .card-header h3 {
    margin: 0;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-card .card-header h3 i,
.premium-sidebar-widget .card-header h3 i {
    color: #ff9f43 !important;
    font-size: 18px !important;
    filter: drop-shadow(0 0 8px rgba(255, 159, 67, 0.6));
}

/* Body */
.profile-body-premium {
    padding: 25px !important;
}

/* Avatar Section */
.profile-user-showcase {
    display: flex;
    flex-direction: row !important;
    /* Horizontal layout */
    align-items: center !important;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
}

.profile-avatar-large {
    width: 70px !important;
    /* Slightly smaller for row */
    height: 70px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7) !important;
    border: 2px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.profile-avatar-large:hover {
    transform: scale(1.05) rotate(-2deg);
    border-color: #ff9f43;
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.4) !important;
}

/* Identity */
.profile-identity {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-identity h4 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin-bottom: 6px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-icon {
    color: #f1c40f !important;
    /* Gold */
    font-size: 16px !important;
    filter: drop-shadow(0 0 8px rgba(241, 196, 15, 0.5));
    animation: pulseVerify 2s infinite;
}

@keyframes pulseVerify {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(241, 196, 15, 0.3));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 10px rgba(241, 196, 15, 0.6));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(241, 196, 15, 0.3));
    }
}

/* Quick Actions */
.profile-quick-actions {
    display: flex;
    gap: 8px;
    /* Reduced gap */
    align-items: center;
    flex-wrap: nowrap;
    /* Prevent wrapping row */
}

.profile-action-link {
    background: rgba(255, 255, 255, 0.04);
    padding: 8px 10px;
    /* Reduced horizontal padding */
    border-radius: 6px;
    font-size: 10px !important;
    /* Slightly smaller text */
    font-weight: 800 !important;
    color: #aaa !important;
    transition: all 0.3s;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    /* Prevent text wrapping */
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-action-link:hover {
    background: rgba(230, 126, 34, 0.15);
    border-color: rgba(230, 126, 34, 0.4);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.profile-action-link i {
    color: #666 !important;
    margin-right: 6px;
    font-size: 12px;
}

.profile-action-link:hover i {
    color: #ff9f43 !important;
}

/* Menu Links */
.profile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.premium-menu-item {
    display: flex;
    align-items: center;
    padding: 10px 15px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-left: 2px solid transparent;
    /* Left border indicator */
    border-radius: 0 6px 6px 0 !important;
    /* Rounded right */
    color: #bbb !important;
    text-decoration: none;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.premium-menu-item:hover {
    background: linear-gradient(90deg, rgba(230, 126, 34, 0.15), transparent) !important;
    border-left-color: #e67e22;
    color: #fff !important;
    padding-left: 20px !important;
    /* Slide effect */
}

.premium-menu-item i {
    width: 20px;
    text-align: center;
    margin-right: 12px;
    color: #555 !important;
    font-size: 14px !important;
    transition: all 0.3s;
}

.premium-menu-item:hover i {
    color: #ff9f43 !important;
    text-shadow: 0 0 10px rgba(255, 159, 67, 0.6);
    transform: scale(1.1);
}

/* Premium Profile Sidebar */
.profile-card {
    border: none;
    background: #0f0f0f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--col-primary);
    box-shadow: 0 0 10px var(--col-primary);
}

.profile-card .card-header {
    background: transparent;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-card .card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-card .card-header i {
    color: var(--col-primary);
    font-size: 18px;
}

.profile-body-premium {
    padding: 25px;
}

.profile-user-showcase {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    /* Square with slight radius */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    /* No border, just clean image */
    transition: transform 0.3s ease;
}

.profile-avatar-large:hover {
    transform: scale(1.05);
}

.profile-identity h4 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.verified-icon {
    color: #fff;
    /* The user image has a white specific verified tick or similar, 
       but standard is usually blue or white. 
       Let's use white for high contrast or primary color. */
    color: var(--col-primary);
    font-size: 16px;
}

.profile-quick-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
}

.profile-action-link {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.profile-action-link:hover {
    color: var(--col-primary);
}

.profile-action-link i {
    font-size: 14px;
    color: #888;
}

.profile-action-link:hover i {
    color: var(--col-primary);
}

/* Menu Links */
.profile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.premium-menu-item {
    display: flex;
    align-items: center;
    /* If the user wants strictly rows. 
       The image shows a packed list. */
    padding: 8px 0;
    color: #ddd;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

.premium-menu-item:hover {
    color: #fff;
    transform: translateX(5px);
}

.premium-menu-item i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
    color: #666;
    /* Muted icon color */
    font-size: 14px;
    transition: color 0.2s;
}

.premium-menu-item:hover i {
    color: var(--col-primary);
    /* Orange on hover */
}

/* Banlist Page Styles */

/* Search Section */
.banlist-search-container {
    max-width: 600px;
    margin: 0 auto 100px auto;
    /* Increased spacing as requested */
}

.search-tabs {
    padding-left: 5px;
    margin-bottom: 15px !important;
    /* Force spacing */
    display: flex;
    gap: 10px;
}

.search-tabs .tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #888;
    padding: 8px 20px;
    border-radius: 20px;
    /* Pill shape */
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
    top: 0;
}

.search-tabs .tab-btn.active {
    background: var(--col-primary);
    color: #000;
    border-color: var(--col-primary);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.2);
    transform: translateY(-2px);
}

.search-tabs .tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

.search-box {
    display: flex;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    /* More rounded */
    padding: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(255, 165, 0, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 165, 0, 0.1);
    transform: translateY(-2px);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 16px;
    outline: none;
    font-weight: 500;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Fix for browser autofill white background */
.search-box input:-webkit-autofill,
.search-box input:-webkit-autofill:hover,
.search-box input:-webkit-autofill:focus,
.search-box input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1e1e1e inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
    background-color: transparent !important;
}

.search-box button {
    background: var(--col-primary);
    /* Keep orange but maybe a gradient? */
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    border: none;
    width: 50px;
    border-radius: 10px;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.4);
}

/* Stats Cards */
.banlist-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.stat-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 2px solid rgba(255, 165, 0, 0.5);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-bottom-color: var(--col-primary);
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.stat-info h3 {
    font-size: 14px;
    color: var(--col-primary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-count {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    /* Gradient Text */
    background: linear-gradient(135deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.last-punished {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.last-punished img {
    border-radius: 4px;
    width: 20px;
    height: 20px;
}

.last-punished span {
    font-size: 13px;
    color: #ccc;
    font-weight: 600;
}

/* Punishment Status Badges - Redesign */
.status-badge {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 1px;
    margin-top: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    width: fit-content;
}

.status-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.status-perm {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.2));
    color: #ff6b6b;
    border-color: rgba(231, 76, 60, 0.4);
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.1);
}

.status-active {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), rgba(255, 140, 0, 0.2));
    color: #ffa502;
    border-color: rgba(255, 165, 0, 0.4);
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.1);
}

.status-expired {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.05), rgba(46, 204, 113, 0.1));
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.2);
}

.status-removed {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.2));
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.4);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.1);
    text-decoration: none;
}

/* Harmonized Action Row Styles */
.banlist-action-row {
    align-items: stretch;
    /* Ensure equal height */
}

/* Total Stats Banner (Refined to match button) */
.total-stats-banner {
    background: rgba(20, 20, 20, 0.6);
    /* Match button bg */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 126, 34, 0.3);
    /* Orange accent */
    border-radius: 12px;
    padding: 0 30px;
    /* Horizontal padding only, flex handles vertical center */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Fill flex parent */
    min-height: 80px;
    /* Ensure substantial size */
}

/* Mega Button */
.btn-mega-glow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 25px;
    margin-top: 60px;
    /* Force spacing from top */
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: btnPulse 3s infinite;
    /* Idle animation */
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 165, 0, 0.3);
    }

    50% {
        box-shadow: 0 10px 40px rgba(255, 165, 0, 0.2);
        border-color: rgba(255, 165, 0, 0.6);
        transform: scale(1.005);
    }

    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-color: rgba(255, 165, 0, 0.3);
    }
}

.btn-mega-glow:hover {
    transform: translateY(-5px);
    background: rgba(255, 165, 0, 0.15);
    border-color: var(--col-primary);
    box-shadow: 0 20px 40px rgba(255, 165, 0, 0.2), 0 0 20px rgba(255, 165, 0, 0.1) inset;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
    animation: none;
    /* Stop pulse on hover to prevent conflict */
}

.btn-mega-glow i {
    margin-right: 15px;
    font-size: 24px;
    color: var(--col-primary);
    transition: transform 0.4s ease;
}

.btn-mega-glow:hover i {
    transform: rotate(15deg) scale(1.2);
}

.btn-mega-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.btn-mega-glow:hover::before {
    left: 100%;
}

/* Specific Glow Button Override for Layout */
/* Specific Glow Button Override for Layout - MINIMAL */
/* Specific Glow Button Override for Layout - MINIMAL */
.banlist-action-row .btn-mega-glow {
    margin-top: 0 !important;
    /* Only remove the top margin */
    flex: 1;
    /* Ensure distinct flex growth */
}

.total-stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #e67e22;
    box-shadow: 0 0 15px #e67e22;
}

.total-stats-content {
    display: flex;
    align-items: center;
    gap: 25px;
    /* Increased gap */
    width: 100%;
    justify-content: center;
}

.total-icon {
    font-size: 36px;
    /* Slightly larger icon */
    color: #e67e22;
    background: rgba(230, 126, 34, 0.1);
    width: 65px;
    /* Slightly larger circle */
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.2);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.total-info h2 {
    font-size: 16px;
    /* Increased from 13px */
    color: #aaa;
    margin-bottom: 5px;
    /* More breathing room */
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
    /* Prevent cramping/wrapping */
}

.total-number {
    font-size: 42px;
    /* Increased from 36px */
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 20px rgba(230, 126, 34, 0.4);
}

/* Punishment Table */
.punishment-table-container {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    overflow-x: auto;
}

.punishment-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    /* Force scroll on small screens */
}

.punishment-table th {
    text-align: left;
    padding: 15px;
    color: #888;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.punishment-table td {
    padding: 15px;
    color: #ddd;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    font-size: 15px;
}

.punishment-table tr:last-child td {
    border-bottom: none;
}

.punishment-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.player-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-cell img {
    border-radius: 4px;
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.player-cell span {
    font-weight: 600;
    color: #fff;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.active {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.status-badge.expired {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}


/* Punishment Date/Status Wrapper */
/* Punishment Date/Status Wrapper */
.punishment-date-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    text-align: left;
    width: 100%;
}

.punishment-date-wrapper .date-text {
    font-size: 11px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    margin-right: 0;
    width: 100%;
}

.cell-time {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-width: 160px;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 30px 50px;
    border-radius: 15px;
    border: 1px solid rgba(255, 165, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.2), 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 600;
    font-size: 18px;
    z-index: 9999;
    text-align: center;

    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.toast-notification i {
    color: var(--col-primary);
    font-size: 40px;
    margin-bottom: 5px;
    animation: bounceButt 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.error {
    border-color: rgba(231, 76, 60, 0.3);
    box-shadow: 0 0 30px rgba(231, 76, 60, 0.2), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.toast-notification.error i {
    color: #e74c3c;
}

@keyframes bounceButt {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
        top: -2px;
    }
}

/* === PREMIUM PROFILE PAGE STYLES === */
/* === PREMIUM PROFILE PAGE STYLES === */
.profile-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(255, 165, 0, 0.15);
    /* Subtler orange border */
    margin-bottom: 80px;
    /* HUGE separation requested */
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Banlist Total Stats Banner */
/* Banlist Total Stats Banner */
.total-stats-banner {
    background: rgba(15, 15, 15, 0.95);
    /* Deep dark background */
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 80px;
}

.total-stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--col-primary);
    box-shadow: 0 0 15px var(--col-primary);
}

.total-stats-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.total-icon {
    font-size: 32px;
    color: var(--col-primary);
    background: rgba(255, 165, 0, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.2);
}

.total-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    height: 100%;
    margin-left: 5px;
    /* Tiny adjustment to separate from icon */
}

.total-info h2 {
    font-size: 12px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.total-info .stat-count {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    margin: 0 !important;
    /* Force remove any global margins */
    padding: 0;
}

/* Status Badge Styles */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-manual-remove {
    background: rgba(255, 255, 255, 0.05);
    color: #ddd;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.status-manual-remove i {
    color: #bbb;
}

/* Decorative Glow Background */
.profile-header-row::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.profile-header-content {
    flex: 1;
    z-index: 1;
}

.profile-header-content .page-title {
    font-size: 48px;
    /* Larger title */
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, #ddd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.profile-intro {
    background: rgba(255, 255, 255, 0.03) !important;
    /* Cleaner background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--col-primary) !important;
    padding: 30px !important;
    border-radius: 0 16px 16px 0 !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-intro p {
    font-size: 16px;
    line-height: 1.7;
    color: #bbb;
}

.profile-header-avatar {
    flex-shrink: 0;
    width: 180px;
    /* Bigger Avatar */
    height: 180px;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 20px;
    padding: 10px;
    /* Removed border and rotation/animation as requested */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.profile-header-avatar:hover {
    /* Removed hover effects */
}

.profile-header-avatar img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.profile-page-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    /* Restored Gap */
    align-items: stretch;
    /* Force equal height */
    justify-content: center;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Left Column: Form */
.profile-card-form {
    flex: 1;
    min-width: 350px;
    background: rgba(20, 20, 20, 0.8);
    /* Darker, more solid */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 165, 0, 0.1);
    /* Subtle orange tint */
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Orange Top Border Accent */
.profile-card-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--col-primary), #f39c12);
    box-shadow: 0 0 15px var(--col-primary);
}

.profile-card-form h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-card-form h2 i {
    color: var(--col-primary);
    filter: drop-shadow(0 0 5px var(--col-primary));
}

/* Inputs in Profile Form */
.profile-card-form .input-group {
    position: relative;
    margin-bottom: 20px;
}

.profile-card-form .input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    transition: 0.3s;
    z-index: 2;
}

.profile-card-form .input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 15px 15px 50px;
    /* Space for icon */
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.profile-card-form .input-group input::placeholder {
    color: #555;
    font-weight: 500;
}

.profile-card-form .input-group input:focus {
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--col-primary);
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.15);
    outline: none;
    transform: translateY(-2px);
}

.profile-card-form .input-group input:focus+i {
    color: var(--col-primary);
}

/* Right Column: Tips & Avatar */
.profile-tips-container {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Security Tips Card */
.profile-tips {
    background: rgba(255, 255, 255, 0.03);
    /* Lighter contrast */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    /* Fill column */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-tips h3 {
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--col-primary);
    display: inline-block;
    padding-bottom: 5px;
}

.security-list {
    list-style: none;
    padding: 0;
}

.security-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #bbb;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.2s;
}

.security-list li::before {
    content: '\f3ed';
    /* Shield Icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #444;
    transition: 0.3s;
    font-size: 14px;
}

.security-list li:hover::before {
    color: var(--col-primary);
    transform: scale(1.2);
}

.security-list li:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Mobile Responsiveness */
@media (max-width: 850px) {
    .profile-header-row {
        flex-direction: column-reverse;
        /* Avatar on top */
        text-align: center;
    }

    .profile-page-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .profile-tips {
        text-align: left;
    }
}

/* === HOMEPAGE FEATURES SECTION === */
.features {
    margin-top: 70px !important;
    /* Reduced spacing */
}

.section-title {
    font-size: 32px;
    margin-top: 60px !important;
    /* Reduced from 100px */
}

/* === CONVINCE SECTION === */
.convince-section {
    padding: 0;
    margin-top: 60px !important;
    /* Reduced from 100px */
}

.convince-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    /* Increased gap between image and text */
    background: rgba(20, 20, 20, 0.4);
    border-radius: 20px;
    padding: 50px;
    /* Increased padding */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.convince-image img {
    height: auto;
    /* Fix distortion */
    max-height: 400px;
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transform: rotate(-5deg);
    transition: transform 0.3s;
}

.convince-grid:hover .convince-image img {
    transform: rotate(0deg) scale(1.05);
}

.convince-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--col-primary);
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.convince-content .text-white {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.2);
}

.convince-content .lead-text {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

.convince-content .sub-text {
    font-size: 14px;
    color: #888;
    margin-bottom: 30px;
    line-height: 1.6;
}

.convince-content .highlight {
    color: var(--col-primary);
    font-weight: 700;
}

.convince-actions {
    display: flex;
    gap: 15px;
}

.btn-green {
    background: #43b581;
    /* Discord Green-ish/Standard Green */
    color: #fff;
    font-weight: 800;
    padding: 12px 30px;
    border-radius: 4px;
    /* Boxy look per reference */
    text-transform: uppercase;
    transition: all 0.2s;
    box-shadow: 0 4px 0 #2f855a;
}

.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #2f855a;
    background: #48c58b;
}

.btn-green:active {
    transform: translateY(2px);
    box-shadow: 0 0 0 #2f855a;
}

.btn-discord {
    background: #7289da;
    color: #fff;
    font-weight: 800;
    padding: 12px 30px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.2s;
    box-shadow: 0 4px 0 #5b6eae;
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #5b6eae;
    background: #8ea1e1;
}

.btn-discord:active {
    transform: translateY(2px);
    box-shadow: 0 0 0 #5b6eae;
}

@media (max-width: 768px) {
    .convince-grid {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .convince-image img {
        height: 200px;
        margin-bottom: 20px;
    }

    .convince-actions {
        justify-content: center;
    }
}

/* === RATING PAGE (HODNOCENI) === */
.rating-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 20px 0;
}

.page-count-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-back {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.btn-back:hover {
    color: #fff;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-login {
    background: rgba(255, 165, 0, 0.1);
    color: var(--col-primary);
    border: 1px solid rgba(255, 165, 0, 0.2);
    text-decoration: none;
}

.status-done {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.rating-stats-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 20px;
}

.stats-card {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.member-highlight {
    background: #111;
    border-left: 5px solid #dcdcdc;
    /* Default accent, logic override? no pink in image */
    /* Reference image shows pink for member card background/border */
    background: linear-gradient(135deg, #b026c9 0%, #1a1a1a 40%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: row;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
}

.member-img-large {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

.member-img-large img {
    width: 100%;
}

.stats-label {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.member-highlight .stats-label {
    color: rgba(255, 255, 255, 0.6);
}

.member-name {
    font-size: 20px;
    color: #fff;
    margin: 0;
    font-weight: 700;
}

.stat-positive {
    background: #1a1a1a;
    border-top: 2px solid #2ecc71;
}

.stat-neutral {
    background: #1a1a1a;
    border-top: 2px solid #f1c40f;
}

.stat-negative {
    background: #1a1a1a;
    border-top: 2px solid #e74c3c;
}

.stats-value {
    font-size: 32px;
    font-weight: 800;
}

.stat-positive .stats-value {
    color: #2ecc71;
}

.stat-neutral .stats-value {
    color: #f1c40f;
}

.stat-negative .stats-value {
    color: #e74c3c;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    background: #181818;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s;
}

.review-card:hover {
    border-color: rgba(255, 165, 0, 0.2);
    transform: translateY(-3px);
}

.review-avatar {
    border-radius: 4px;
    width: 40px;
    height: 40px;
}

.review-author {
    color: var(--col-primary);
    font-size: 16px;
    margin: 0;
}

.review-date {
    color: #555;
    font-size: 11px;
    margin-top: 3px;
}

.review-type-icon {
    font-size: 24px;
    opacity: 0.1;
    transition: 0.3s;
}

.review-card:hover .review-type-icon {
    opacity: 1;
}

.review-body p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 900px) {
    .rating-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .member-highlight {
        grid-column: span 2;
    }
}

/* Team Hover Overlay */
.team-item,
.team-card {
    position: relative;
    /* Ensure card is relative */
}

.team-rating-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Slightly darker */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    border-radius: 15px;
    /* Match card border radius */
    z-index: 10;
}

.team-card:hover .team-rating-overlay {
    opacity: 1;
}

.btn-rate-member {
    background: transparent;
    border: 2px solid var(--col-primary);
    color: var(--col-primary);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: scale(0.9);
    transition: 0.3s;
    letter-spacing: 1px;
}

.btn-rate-member:hover {
    background: var(--col-primary);
    color: #fff;
    transform: scale(1);
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.4);
}

/* Overlay Socials */
.overlay-socials {
    margin-top: 15px;
}

.overlay-socials .team-socials {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.overlay-socials a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.overlay-socials a:hover {
    color: #fff;
    background: var(--col-primary);
    transform: translateY(-3px);
}

/* Absence Badge */
.team-absence-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.4);
    z-index: 5;
}

.btn-admin-back {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb !important;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

.btn-admin-back:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-admin-back i {
    color: var(--col-primary);
    transition: 0.3s;
}

.btn-admin-back:hover i {
    transform: rotate(360deg);
}

/* === ADMIN PANEL STYLES === */
.admin-header-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(40, 40, 40, 0.9));
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    gap: 30px;
}

.admin-header-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.2), transparent 70%);
    pointer-events: none;
}

.admin-header-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--col-primary);
    border: 1px solid rgba(230, 126, 34, 0.3);
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.2);
}

.admin-header-text {
    flex: 1;
}

.admin-header-text .page-title {
    margin: 0 0 10px 0;
    font-size: 36px;
    text-align: left;
    background: linear-gradient(90deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.admin-header-text .subtitle {
    font-size: 16px;
    color: #888;
    margin: 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-header-text .subtitle::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--col-primary);
}

.admin-badge {
    background: rgba(230, 126, 34, 0.1);
    color: var(--col-primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    border: 1px solid rgba(230, 126, 34, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.1);
}

/* Responsive Admin Header */
@media (max-width: 768px) {
    .admin-header-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .admin-header-text .page-title {
        text-align: center;
    }

    .admin-header-text .subtitle {
        justify-content: center;
    }

    .admin-badge {
        width: 100%;
        justify-content: center;
    }
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.admin-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.admin-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.admin-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    transition: all 0.3s;
}

.admin-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-card p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
}

/* Card Color Variants */
/* Red */
.admin-card.card-red .icon-box {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.admin-card.card-red:hover .icon-box {
    background: #e74c3c;
    color: #fff;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.4);
}

.admin-card.card-red:hover {
    border-color: #e74c3c;
}

/* Blue */
.admin-card.card-blue .icon-box {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.admin-card.card-blue:hover .icon-box {
    background: #3498db;
    color: #fff;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.4);
}

.admin-card.card-blue:hover {
    border-color: #3498db;
}

/* Purple */
.admin-card.card-purple .icon-box {
    color: #9b59b6;
    background: rgba(155, 89, 182, 0.1);
}

.admin-card.card-purple:hover .icon-box {
    background: #9b59b6;
    color: #fff;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.4);
}

.admin-card.card-purple:hover {
    border-color: #9b59b6;
}

/* Orange */
.admin-card.card-orange .icon-box {
    color: #e67e22;
    background: rgba(230, 126, 34, 0.1);
}

.admin-card.card-orange:hover .icon-box {
    background: #e67e22;
    color: #fff;
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.4);
}

.admin-card.card-orange:hover {
    border-color: #e67e22;
}

/* Teal */
.admin-card.card-teal .icon-box {
    color: #1abc9c;
    background: rgba(26, 188, 156, 0.1);
}

.admin-card.card-teal:hover .icon-box {
    background: #1abc9c;
    color: #fff;
    box-shadow: 0 0 20px rgba(26, 188, 156, 0.4);
}

.admin-card.card-teal:hover {
    border-color: #1abc9c;
}

/* Green */
.admin-card.card-green .icon-box {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
}

.admin-card.card-green:hover .icon-box {
    background: #2ecc71;
    color: #fff;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
}

.admin-card.card-green:hover {
    border-color: #2ecc71;
}

/* PUNISHMENT STATUS BADGES */
.punishment-date-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align to left */
    gap: 6px;
}

.date-text {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap !important;
    /* PREVENT WRAPPING */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    min-width: 140px;
    /* Ensure uniform width if needed */
}

.status-active {
    border: 1px solid rgba(255, 165, 0, 0.4);
    background: rgba(255, 165, 0, 0.08);
    color: var(--col-primary);
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.1);
}

.status-expired {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #777;
    opacity: 0.8;
}

.status-removed {
    border: 1px solid rgba(46, 204, 113, 0.3);
    background: rgba(46, 204, 113, 0.08);
    color: #2ecc71;
}

.status-perm {
    border: 1px solid rgba(231, 76, 60, 0.3);
    background: rgba(231, 76, 60, 0.08);
    color: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.1);
}

.btn-rate-member.viewed {
    background: rgba(52, 152, 219, 0.2);
    border-color: #3498db;
    color: #3498db;
}

.btn-rate-member.viewed:hover {
    background: #3498db;
    color: #fff;
}


/* --- Sidebar Socials & Streamer --- */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.social-btn i {
    font-size: 24px;
    margin-bottom: 5px;
}

.social-tiktok {
    background: linear-gradient(45deg, #000000, #25F4EE, #FE2C55);
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}

.social-yt {
    background: linear-gradient(135deg, #cc0000, #ff0000);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

.social-ig {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    box-shadow: 0 5px 15px rgba(193, 53, 132, 0.3);
}

.social-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Streamer Card */
.streamer-card {
    background: #000;
    border: 1px solid #6441a5;
    /* Twitch Purple */
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(100, 65, 165, 0.2);
}

.streamer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #6441a5;
    box-shadow: 0 0 10px #6441a5;
}

.streamer-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #6441a5;
    padding: 3px;
    margin: 0 auto 10px;
    display: block;
}

.streamer-name {
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 5px;
    display: block;
}

.streamer-status-bagde img {
    height: 25px;
    border-radius: 4px;
}

.btn-twitch {
    background: #6441a5;
    color: #fff;
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-twitch:hover {
    background: #7d5bbe;
    box-shadow: 0 0 15px rgba(100, 65, 165, 0.6);
}


/* --- Premium Streamer Widget --- */
.streamer-card {
    background: #0d0d0d;
    border: 1px solid #6441a5;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 0 30px rgba(100, 65, 165, 0.15);
}

.streamer-bg-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(145, 70, 255, 0.15), transparent 60%),
        linear-gradient(to bottom, #090909, #111);
    z-index: 1;
}

.streamer-content-tier {
    position: relative;
    z-index: 2;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Avatar Pulse */
.streamer-avatar-wrapper {
    position: relative;
    margin-bottom: 15px;
    display: inline-block;
}

.streamer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #9146FF;
    position: relative;
    z-index: 2;
    background: #000;
}

.live-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(145, 70, 255, 0.4);
    z-index: 1;
    animation: twitch-pulse 2s infinite;
}

@keyframes twitch-pulse {
    0% {
        width: 80px;
        height: 80px;
        opacity: 0.8;
    }

    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

.streamer-name {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
}

.verified-icon-small {
    font-size: 14px;
    color: #9146FF;
}

.streamer-status-container {
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(145, 70, 255, 0.3));
}

/* Premium Twitch Button */
.btn-twitch-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #9146FF;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    padding: 5px;
    /* Inner padding for the icon box */
    width: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.3);
    overflow: hidden;
}

.twitch-icon-box {
    background: rgba(0, 0, 0, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.btn-twitch-premium .btn-text {
    flex: 1;
    text-align: center;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding-right: 10px;
}

.btn-twitch-premium:hover {
    background: #fff;
    color: #9146FF;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(145, 70, 255, 0.5);
}

.btn-twitch-premium:hover .twitch-icon-box {
    background: #9146FF;
    color: #fff;
}

/* Omluvenka Modal Styling - ULTRA PREMIUM */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Deep dark overlay */
    backdrop-filter: blur(12px);
    /* Strong blur */
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-premium {
    background: rgba(20, 20, 23, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.5),
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(255, 159, 67, 0.1);
    /* Subtle orange glow */
    border-radius: 20px;
    width: 500px;
    max-width: 90%;
    padding: 40px;
    position: relative;
    animation: modalPopPremium 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPopPremium {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header-premium {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header-premium h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal-header-premium h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #FF9F43, #ff6b6b);
    margin: 15px auto 0;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(255, 159, 67, 0.6);
}

.modal-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #555;
    background: rgba(255, 255, 255, 0.05);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    color: #fff;
    background: rgba(255, 71, 87, 0.2);
    border-color: rgba(255, 71, 87, 0.5);
    transform: rotate(90deg);
}

.form-group-premium {
    margin-bottom: 20px;
}

.form-label-premium {
    display: block;
    color: #ccc;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 5px;
}

.form-input-premium,
.form-select-premium,
.form-textarea-premium {
    width: 100%;
    padding: 15px 18px;
    background: #09090b;
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.form-input-premium:focus,
.form-select-premium:focus,
.form-textarea-premium:focus {
    outline: none;
    border-color: #FF9F43;
    /* Orange Focus */
    background: #101012;
    box-shadow: 0 0 0 4px rgba(255, 159, 67, 0.1);
}

.form-textarea-premium {
    resize: vertical;
    min-height: 100px;
}

.btn-premium-submit {
    width: 100%;
    padding: 16px;
    margin-top: 15px;
    background: linear-gradient(135deg, #FF9F43 0%, #ff6b6b 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(255, 159, 67, 0.5);
    position: relative;
    overflow: hidden;
}

.btn-premium-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-premium-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(255, 159, 67, 0.7);
}

.btn-premium-submit:hover::before {
    left: 100%;
}

/* Date input specific fix */
input[type="date"].form-input-premium {
    color-scheme: dark;
}

/* Premium Absence Overlay (Team Page) */
.team-avatar {
    position: relative;
    overflow: hidden;
    /* Ensure overlay stays within avatar bounds */
}

.absence-premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(3px) grayscale(0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s;
}

.absence-glass-card {
    background: rgba(255, 71, 87, 0.15);
    /* Red tint */
    border: 1px solid rgba(255, 71, 87, 0.4);
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.2);
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    transform: rotate(-5deg);
    /* Slanted styling */
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.team-card:hover .absence-glass-card {
    transform: rotate(0deg) scale(1.1);
    background: rgba(255, 71, 87, 0.25);
}

.absence-glass-card i {
    display: block;
    font-size: 20px;
    color: #ff4757;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 5px rgba(255, 71, 87, 0.5));
}

.absence-glass-card span {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.absence-glass-card small {
    display: block;
    font-size: 10px;
    color: #fab1a0;
    margin-top: 2px;
    font-weight: 500;
}

/* Request Deletion Button (A-Team) */
/* Request Deletion Button (A-Team) */
.punishment-row {
    position: relative;
    /* Ensure padding on right so button doesn't overlap text */
    padding-right: 60px;
}

.btn-delete-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 71, 87, 0.2);
    z-index: 50;
    font-size: 14px;
}

.btn-delete-icon:hover {
    background: #ff4757;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
    transform: translateY(-50%) scale(1.1) rotate(5deg);
}

.btn-delete-icon:active {
    transform: translateY(-50%) scale(0.95);
}

/* Banlist Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .banlist-action-row {
        flex-direction: column !important;
        gap: 15px !important;
        align-items: stretch !important;
    }

    .banlist-action-row>* {
        width: 100% !important;
        margin: 0 !important;
        flex: none !important;
    }

    .btn-mega-glow {
        justify-content: center;
        text-align: center;
    }

    /* Rules Page Mobile Fix */
    .category-banner {
        padding: 0 15px !important;
    }
}

/* Admin Stats Widget */
.admin-stats-widget {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.admin-stats-widget:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.stat-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-content span {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.stat-content strong {
    font-size: 18px;
    line-height: 1;
}

/* FAQ Page Styles - ULTRA PREMIUM MAGMA REDESIGN */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
    margin: 0 auto 80px;
    perspective: 2000px;
    /* Enhanced 3D depth */
    align-items: flex-start;
    /* Fix for stretching items */
}

@media (max-width: 900px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(25, 25, 25, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    /* Gradient Border Trick */
    padding: 1px;
    /* The border width */
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* The Gradient Border & Glow Container */
.faq-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, #1a1a1a, #333, #1a1a1a);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.5s ease;
}

/* Hover State - BEAST MODE */
.faq-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 165, 0, 0.15);
}

.faq-item:hover::before {
    background: linear-gradient(45deg, #ff4e50, #f9d423);
    /* Magma Gradient */
    opacity: 1;
}

/* Active State */
.faq-item.active {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(255, 140, 0, 0.2), 0 0 10px rgba(255, 140, 0, 0.5);
    z-index: 10;
}

.faq-item.active::before {
    background: linear-gradient(45deg, #FF416C, #FF4B2B, #ff9f43);
    /* Intense Fire */
}

/* Inner Background to cover the gradient border center */
.faq-question {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 25px 30px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
}

/* Huge Watermark Icon behind text */
.faq-item::after {
    content: '\f128';
    /* Question mark generic default, specific icons override via JS or CSS classes if added */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 150px;
    opacity: 0.03;
    transform: rotate(15deg);
    pointer-events: none;
    transition: all 0.5s ease;
    background: -webkit-linear-gradient(#fff, #000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-item:hover::after {
    opacity: 0.08;
    transform: rotate(0deg) scale(1.2);
    background: -webkit-linear-gradient(var(--col-primary), #ff4757);
    -webkit-background-clip: text;
}

.q-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.q-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.faq-item:hover .q-icon,
.faq-item.active .q-icon {
    background: linear-gradient(135deg, var(--col-primary), #ff4757);
    color: #fff;
    border-color: transparent;
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.6);
}

.faq-question span {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: #ccc;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.faq-item:hover .faq-question span,
.faq-item.active .faq-question span {
    color: #fff;
    background: linear-gradient(to right, #fff, #ffe0b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.toggle-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #666;
    transition: all 0.4s ease;
    font-size: 14px;
}

.faq-item:hover .toggle-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.faq-item.active .toggle-icon {
    background: var(--col-primary);
    color: #fff;
    transform: rotate(90deg);
    box-shadow: 0 0 15px var(--col-primary);
}

.faq-answer {
    position: relative;
    z-index: 2;
    display: none;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.answer-content {
    padding: 25px 30px;
    color: #d1d1d1;
    line-height: 1.8;
    font-size: 15px;
}

/* Custom Scrollbar for code blocks inside */
.code-block {
    background: #0f0f0f;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Fira Code', 'Consolas', monospace;
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-left: 4px solid var(--col-primary);
    margin: 15px 0;
    color: #f0f0f0;
    font-size: 13px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.code-block::before {
    content: 'CODE';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 10px;
    color: #444;
    font-weight: 700;
}

.cmm {
    background: rgba(255, 165, 0, 0.1);
    color: #ffa502;
    padding: 3px 8px;
    border-radius: 6px;
    font-family: 'Consolas', monospace;
    font-size: 13px;
    border: 1px solid rgba(255, 165, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

/* Navbar Dropdown Styles */
.dropdown-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-container:hover .dropdown-menu,
.dropdown-container.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    list-style: none;
    width: 100%;
    margin-bottom: 5px;
}

.dropdown-menu li:last-child {
    margin-bottom: 0;
}

.dropdown-menu li a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #ccc;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid transparent;
}

.dropdown-menu li a:hover {
    background: rgba(255, 165, 0, 0.1);
    color: #fff;
    border-color: rgba(255, 165, 0, 0.1);
    transform: translateX(5px);
}

.dropdown-menu li a i {
    width: 20px;
    text-align: center;
    color: var(--col-primary);
}

/* ENCHANTY PAGE STYLES - HYPER PREMIUM */

.main-wrapper.no-padding-top {
    padding-top: 0;
}

/* Hero Section */
.enchant-hero {
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(30, 10, 5, 1) 0%, #050505 100%);
    overflow: hidden;
    border-bottom: 2px solid rgba(255, 165, 0, 0.2);
    margin-bottom: -40px;
    /* Overlap effect */
    z-index: 1;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 1;
    animation: pulseGlow 5s infinitealternate;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 40px;
}

.glitch-text {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 5px;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.6);
    background: linear-gradient(to bottom, #fff, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    position: relative;
}

.hero-content p {
    color: #bbb;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Mythic Search */
.enchant-search-container.mythic-search {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 700px;
}

.search-box-legendary {
    position: relative;
    background: rgba(15, 15, 15, 0.9);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
}

.search-box-legendary:hover,
.search-box-legendary:focus-within {
    border-color: #ff9f43;
    box-shadow: 0 0 40px rgba(255, 140, 0, 0.3);
    transform: scale(1.02);
}

.search-icon-wrapper {
    background: linear-gradient(135deg, #ff9f43, #ee5253);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 0 0 8px;
    color: #fff;
    font-size: 20px;
}

.search-box-legendary input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
    outline: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.search-box-legendary input::placeholder {
    color: #555;
    font-weight: 400;
}

.clear-search {
    color: #ff4757;
    margin-right: 20px;
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.2s;
}

.clear-search:hover {
    transform: rotate(90deg) scale(1.1);
}

/* Rune Tabs */
.rune-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
    position: relative;
    z-index: 5;
}

.rune-btn {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Darker border */
    color: #777;
    padding: 15px 35px;
    border-radius: 4px;
    /* More angular, rune-like */
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
    /* Hex-like cut corners */
    display: flex;
    align-items: center;
    gap: 10px;
}

.rune-symbol {
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    color: #444;
}

.rune-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    transform: translateY(-2px);
}

.rune-btn.active {
    background: #111;
    color: #fff;
    border-color: var(--active-color, #fff);
    /* Fallback */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.rune-btn.active .rune-symbol {
    color: inherit;
    text-shadow: 0 0 10px currentColor;
}

.rune-btn:nth-child(1).active {
    color: #2ecc71;
    border-color: #2ecc71;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
}

/* I */
.rune-btn:nth-child(2).active {
    color: #3498db;
    border-color: #3498db;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
}

/* II */
.rune-btn:nth-child(3).active {
    color: #9b59b6;
    border-color: #9b59b6;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.3);
}

/* III */
.rune-btn:nth-child(4).active {
    color: #e67e22;
    border-color: #e67e22;
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.3);
}

/* IV */
.rune-btn:nth-child(5).active {
    color: #e74c3c;
    border-color: #e74c3c;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
}

/* V */
.rune-btn:nth-child(6).active {
    color: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    background: linear-gradient(to right, #2a0a0a, #000);
}

/* VI Mythic */


/* Legendary Grid */
.enchant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    perspective: 1500px;
    padding-bottom: 50px;
}

.enchant-card-legendary {
    position: relative;
    background: rgba(18, 18, 18, 0.95);
    border-radius: 12px;
    /* Slightly sharper */
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
}

.enchant-card-legendary:hover {
    transform: rotateX(5deg) translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.card-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 140px;
    opacity: 0.03;
    color: #fff;
    transform: rotate(-15deg);
    transition: all 0.5s;
    pointer-events: none;
}

.enchant-card-legendary:hover .card-bg-icon {
    opacity: 0.1;
    transform: rotate(0deg) scale(1.1);
}

.card-content-wrapper {
    padding: 30px;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(30, 30, 30, 0) 0%, rgba(10, 10, 10, 0.8) 100%);
    height: 100%;
}

.ec-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* Faint separator */
    padding-bottom: 15px;
}

.ec-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-rune {
    font-size: 9px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.05);
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.ec-desc {
    font-size: 14px;
    color: #aaa;
    line-height: 1.7;
    margin-top: auto;
    /* Pushes to bottom if flex used differently, else just margin */
}

/* Tier Specifics for Legal Cards */
.tier-1 {
    border-top: 3px solid #2ecc71;
}

.tier-1:hover {
    box-shadow: 0 20px 50px rgba(46, 204, 113, 0.15);
    border-color: #2ecc71;
}

.tier-1 h3 {
    color: #2ecc71;
}

.tier-2 {
    border-top: 3px solid #3498db;
}

.tier-2:hover {
    box-shadow: 0 20px 50px rgba(52, 152, 219, 0.15);
    border-color: #3498db;
}

.tier-2 h3 {
    color: #3498db;
}

.tier-3 {
    border-top: 3px solid #9b59b6;
}

.tier-3:hover {
    box-shadow: 0 20px 50px rgba(155, 89, 182, 0.15);
    border-color: #9b59b6;
}

.tier-3 h3 {
    color: #9b59b6;
}

.tier-4 {
    border-top: 3px solid #e67e22;
}

.tier-4:hover {
    box-shadow: 0 20px 50px rgba(230, 126, 34, 0.15);
    border-color: #e67e22;
}

.tier-4 h3 {
    color: #e67e22;
}

.tier-5 {
    border-top: 3px solid #e74c3c;
}

.tier-5:hover {
    box-shadow: 0 20px 50px rgba(231, 76, 60, 0.15);
    border-color: #e74c3c;
}

.tier-5 h3 {
    color: #e74c3c;
}

.tier-6 {
    border-top: 3px solid #ff0000;
    background: linear-gradient(160deg, #1a0505 0%, #000 100%);
}

.tier-6:hover {
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.3);
    border-color: #ff0000;
}

.tier-6 h3 {
    background: linear-gradient(to right, #ff0000, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === SKELETON LOADING === */
.skeleton-loader {
    background: #1e1e1e;
    position: relative;
    overflow: hidden;
    border-radius: inherit;
    width: 100%;
    height: 100%;
    display: block;
}

.skeleton-loader::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: skeleton-shimmer 1.5s infinite;
}

@keyframes skeleton-shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.skeleton-loader img {
    opacity: 0;
    transition: opacity 0.3s ease;
    display: block;
}

/* Loaded State */
.skeleton-loader.loaded {
    background: transparent;
}

.skeleton-loader.loaded::after {
    display: none;
}

.skeleton-loader.loaded img {
    opacity: 1;
}

/* =========================================
   MARKETPLACE PREMIUM STYLES
   ========================================= */

.mp-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.mp-header-panel {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.7), rgba(15, 15, 20, 0.85));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 20px;
    padding: 25px 35px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 2px 10px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.mp-header-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--col-primary);
}

.mp-title h1 {
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mp-title h1 i {
    color: var(--col-primary);
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.4));
}

.mp-title p {
    color: #a0aec0;
    font-size: 15px;
}

.mp-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mp-search-bar {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 15px;
    width: 300px;
    transition: all 0.3s ease;
}

.mp-search-bar:focus-within {
    border-color: var(--col-primary);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.2);
    background: rgba(0, 0, 0, 0.6);
}

.mp-search-bar i {
    color: #718096;
    margin-right: 10px;
}

.mp-search-bar input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    width: 100%;
    outline: none;
}

.mp-search-bar input::placeholder {
    color: #718096;
}

.btn-mp-primary {
    background: linear-gradient(135deg, var(--col-primary), #ff7e5f);
    color: #000;
    font-weight: 800;
    padding: 12px 25px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-mp-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.5);
}

.mp-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.mp-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mp-filter-btn:hover,
.mp-filter-btn.active {
    background: rgba(255, 165, 0, 0.15);
    border-color: var(--col-primary);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.2);
}

.mp-filter-btn i {
    color: var(--col-primary);
}

.mp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.mp-card {
    background: rgba(20, 20, 25, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.mp-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 165, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 165, 0, 0.1);
}

.mp-card-img-wrapper {
    position: relative;
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.mp-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mp-card:hover .mp-card-img {
    transform: scale(1.1);
}

.mp-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.mp-card-badge i {
    color: var(--col-primary);
}

.mp-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mp-card-title {
    font-size: 18px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.mp-card-price {
    font-size: 24px;
    font-weight: 900;
    font-family: var(--font-header);
    margin-top: auto;
    margin-bottom: 20px;
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 10px;
    color: #fff;
    background: linear-gradient(90deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(255, 140, 0, 0.2);
}

.mp-card-price i {
    /* Reset text-fill for the icon so it retains its neutral color set in PHP */
    -webkit-text-fill-color: initial;
    opacity: 0.9;
}

.mp-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    color: #718096;
}

.mp-card-seller {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font-weight: 600;
}

.mp-card-seller img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

/* Detail Page */
.mp-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.mp-detail-img-box {
    background: rgba(15, 15, 20, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 20px;
}

.mp-detail-img {
    width: 100%;
    border-radius: 14px;
    display: block;
    max-height: 500px;
    /* Keep it constrained */
    object-fit: cover;
}

.mp-info-card {
    background: linear-gradient(145deg, rgba(25, 25, 30, 0.9), rgba(15, 15, 20, 0.95));
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 20px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.mp-contact-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mp-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mp-contact-row:last-child {
    border-bottom: none;
}

.mp-contact-label {
    color: #a0aec0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mp-contact-value {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}

.btn-copy:hover {
    background: var(--col-primary);
    color: #000;
}

.mp-description {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 15px;
    margin-top: 30px;
    padding: 25px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

@media (max-width: 900px) {
    .mp-detail-wrapper {
        grid-template-columns: 1fr;
    }

    .mp-header-panel {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .mp-search-bar {
        width: 100%;
    }
}

/* ========================================= */
/* GLOBAL CHAT DRAWER                        */
/* ========================================= */
.chat-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    height: 100vh;
    background: linear-gradient(145deg, rgba(20, 20, 25, 0.98), rgba(10, 10, 15, 0.98));
    backdrop-filter: blur(15px);
    border-left: 1px solid rgba(255, 165, 0, 0.2);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
}

.chat-drawer.open {
    transform: translateX(0);
}

.chat-drawer-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-drawer-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.chat-close-btn {
    background: transparent;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.chat-close-btn:hover {
    color: #ff4757;
    transform: rotate(90deg);
}

.chat-view {
    display: none;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
}

.chat-view.active {
    display: flex;
}

/* Convo List */
.chat-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.chat-convo-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.chat-convo-item:hover {
    background: rgba(255, 165, 0, 0.05);
    border-color: rgba(255, 165, 0, 0.2);
    transform: translateY(-2px);
}

.convo-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 15px;
}

.convo-info {
    flex: 1;
    overflow: hidden;
}

.convo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.convo-header strong {
    color: #fff;
    font-size: 14px;
}

.convo-header small {
    color: #666;
    font-size: 11px;
}

.convo-last-msg {
    color: #aaa;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.convo-unread-dot {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff4757;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

/* Active Chat */
.chat-back-header {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 12px;
}

.chat-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.active-chat-user {
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.chat-context-box {
    padding: 10px 15px;
    background: rgba(52, 152, 219, 0.1);
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    word-break: break-word;
}

.chat-bubble.theirs {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border-bottom-left-radius: 2px;
}

.chat-bubble.mine {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--col-primary), #e69500);
    color: #000;
    font-weight: 500;
    border-bottom-right-radius: 2px;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.2);
}

.chat-bubble .msg-time {
    font-size: 10px;
    margin-top: 5px;
    opacity: 0.7;
    text-align: right;
}

.chat-input-area {
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input-area form {
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 10px 18px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.chat-input:focus {
    border-color: var(--col-primary);
    background: rgba(255, 255, 255, 0.08);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--col-primary);
    border: none;
    color: #000;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.4);
}

/* Chat Overlay */
.chat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.chat-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Nav Badge */
.mp-unread-badge {
    background: #ff4757;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.6);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(255, 71, 87, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

@media (max-width: 768px) {
    .chat-drawer {
        width: 100%;
    }
}

/* Floating Chat Button */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--col-primary), #ff7e5f);
    color: #000;
    font-size: 26px;
    border: none;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.4);
    cursor: pointer;
    z-index: 9997;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-chat-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 165, 0, 0.6);
}

/* Special Price Pills */
.price-pill-checkbox {
    display: none;
}

.price-pill-label {
    display: inline-block;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    white-space: nowrap;
}

.price-pill-checkbox:checked+.price-pill-label {
    background: linear-gradient(135deg, var(--col-primary), #ff7e5f);
    color: #000;
    border-color: var(--col-primary);
    box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

.price-pill-label:hover {
    background: rgba(255, 255, 255, 0.1);
}

.price-pill-checkbox:checked+.price-pill-label:hover {
    background: linear-gradient(135deg, #ff7e5f, var(--col-primary));
}

/* Image Detail Overlay */
.mp-detail-img-box:hover .mp-detail-img-overlay {
    opacity: 1;
}

.mp-detail-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    gap: 15px;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.mp-detail-img-overlay i {
    font-size: 40px;
    color: var(--col-primary);
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.5));
}

/* Lightbox Modal */
.mp-lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.mp-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    object-fit: contain;
    animation: zoomLightbox 0.3s ease;
}

@keyframes zoomLightbox {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.mp-lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.mp-lightbox-close:hover,
.mp-lightbox-close:focus {
    color: var(--col-primary);
}