:root {
    --primary-red: #29B6F6;
    --primary-red-hover: #0288D1;
    --dark-bg: #151515;
    --darker-bg: #0e0e0e;
    --text-light: #ffffff;
    --text-muted: #aaaaaa;
}

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


* {
    font-family: 'Montserrat', sans-serif;
}


.fa, .fas, .far, .fal, .fab,
[class^="fa-"], [class*=" fa-"],
.fa-solid, .fa-regular, .fa-brands,
.fa-solid::before, .fa-regular::before, .fa-brands::before,
[class^="fa-"]::before, [class*=" fa-"]::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 5 Free", "Font Awesome 5 Brands", FontAwesome !important;
}

body {
    background-color: var(--darker-bg);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}




.hero-wrapper {
    position: relative;
    width: 100%;
    background-image: url('../images/hero-image.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    z-index: 2;
}

.hero-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--darker-bg));
    z-index: 2;
}

.main-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    min-height: 80vh;
}



.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    z-index: 100;
    padding: 8px 12px;
    line-height: 1;
    min-height: unset !important;
}

.top-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.top-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.top-nav li a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: 0.3s ease;
}

.top-nav li a i {
    font-size: 14px;
}

.top-nav li.active a,
.top-nav li a:hover {
    opacity: 1;
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}


.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    margin-top: 40px;
    gap: 30px;
}


.stat-block {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease;
    padding: 10px;
}

.stat-block:hover {
    transform: translateY(-3px);
}

.discord-block {
    flex-direction: row-reverse;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-text.right-align {
    text-align: right;
}

.stat-text.left-align {
    text-align: left;
}

.count {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.subtext {
    color: var(--text-light);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
}

.stat-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    background: var(--primary-red);
    color: white;
    position: relative;
}

.stat-icon.discord-bg {
    background: #5865F2; 
}

.icon-underline {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    border-radius: 2px;
}


.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: -20px;
}

.logo-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}


.content-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 3;
    width: 100%;
}




.news-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.news-section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 6px;
}

.news-section-title .accent {
    color: var(--primary-red);
}

.news-section-sub {
    color: var(--text-muted);
    font-size: 14px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
    white-space: nowrap;
}

.view-all-btn:hover {
    background: var(--primary-red);
    color: white;
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}


.news-grid-full {
    grid-template-columns: 1fr;
    max-width: 860px;
}


.news-card {
    background: var(--dark-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    border-color: rgba(41, 182, 246, 0.2);
}


.news-card-featured {
    flex-direction: row;
}

.news-card-image {
    position: relative;
    overflow: hidden;
}


.news-card:not(.news-card-featured) .news-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.news-card:not(.news-card-featured):hover .news-card-image img {
    transform: scale(1.04);
}


.news-card-featured .news-card-image {
    flex: 0 0 42%;
}

.news-card-featured .news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
    display: block;
}

.news-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-red);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-date {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card-body h3 {
    color: var(--text-light);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.news-card-body > p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.news-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-red);
    color: white;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
    align-self: flex-start;
    border: none;
    cursor: pointer;
}

.news-read-btn:hover {
    background: var(--primary-red-hover);
    transform: translateX(3px);
}


.news-card-full-text {
    display: none;
    margin-bottom: 16px;
}

.news-card-full-text p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.news-feature-list {
    list-style: none;
    margin: 10px 0 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.news-feature-list li {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-feature-list li i {
    color: var(--primary-red);
    font-size: 12px;
    flex-shrink: 0;
}

.news-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.news-toggle-btn:hover {
    background: var(--primary-red);
    color: white;
}


.news-empty-hint {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: 10px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.news-empty-hint i {
    font-size: 28px;
    color: var(--primary-red);
    opacity: 0.6;
}

.news-empty-hint a {
    color: var(--primary-red);
    text-decoration: none;
}

.news-empty-hint a:hover {
    text-decoration: underline;
}




.news-page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: flex-start;
}


.news-article-feed {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.news-article {
    background: var(--dark-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-article:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    border-color: rgba(41, 182, 246, 0.15);
}


.news-article-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
    aspect-ratio: 16/9;
}

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

.news-article:hover .news-article-image img {
    transform: scale(1.02);
}


.news-article-image .news-card-badge {
    top: 14px;
    left: 14px;
}


.news-article-body {
    padding: 28px 30px 32px;
}

.news-article-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    margin: 8px 0 16px;
    line-height: 1.3;
}

.news-article-body > p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.news-article-body > p strong {
    color: var(--primary-red);
}

.news-subheading {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-light);
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-subheading i {
    color: var(--primary-red);
    font-size: 14px;
}

.news-article-body .news-feature-list li strong {
    color: var(--text-light);
}


.news-article--compact {
    display: flex;
    flex-direction: row;
}

.news-article--compact .news-article-image {
    flex: 0 0 42%;
    max-width: 42%;
}

.news-article--compact .news-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-article--compact .news-article-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 700px) {
    .news-article--compact {
        flex-direction: column;
    }
    .news-article--compact .news-article-image {
        flex: unset;
        max-width: 100%;
    }
    .news-article--compact .news-article-image img {
        max-height: 220px;
    }
}


.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 30px;
}

.news-sidebar-card {
    background: var(--dark-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 22px;
}

.news-sidebar-card h3 {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-sidebar-card h3 i {
    color: var(--primary-red);
}

.news-sidebar-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s ease;
}

.news-discord-btn:hover {
    background: var(--primary-red-hover);
    transform: translateY(-2px);
}

.news-ip-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-light);
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.news-ip-btn:hover {
    background: rgba(41, 182, 246, 0.1);
    border-color: var(--primary-red);
    color: var(--primary-red);
}


@media (max-width: 860px) {
    .news-page-layout {
        grid-template-columns: 1fr;
    }
    .news-sidebar {
        position: static;
    }
}


.site-footer {

    background-color: var(--darker-bg);
    padding-top: 60px;
    position: relative;
    z-index: 3;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.footer-col h3 {
    color: var(--text-light);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.red-dash {
    display: inline-block;
    width: 15px;
    height: 4px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dark-btn {
    background-color: #1a1a1a;
    color: var(--text-light);
    border: 1px solid #333;
}

.dark-btn:hover {
    background-color: #2a2a2a;
}

.red-btn {
    background-color: var(--primary-red);
    color: white;
}

.red-btn:hover {
    background-color: var(--primary-red-hover);
}

.footer-bottom {
    border-top: 1px solid #1a1a1a;
    padding: 25px 20px;
    background-color: var(--darker-bg);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-bottom .mojang-notice {
    color: #666;
    font-size: 12px;
}


.firestudio-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #555;
    font-size: 12px;
    flex-shrink: 0;
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.firestudio-credit:hover {
    color: var(--text-muted);
    opacity: 1;
}

.firestudio-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 8px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.firestudio-credit:hover .firestudio-logo {
    opacity: 1;
}

.firestudio-credit strong {
    color: var(--text-muted);
    font-weight: 600;
}


@media (max-width: 600px) {
    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}


.page-header {
    position: relative;
    width: 100%;
    min-height: 320px;
    background-image: url('../images/hero-image.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


.page-header .hero-overlay {
    background: rgba(0, 0, 0, 0.40);
}

.rules-layout {
    max-width: 1300px;
    margin: 40px auto 80px;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 3;
    align-items: flex-start;
}


.rules-sidebar {
    width: 250px;
    background: var(--dark-bg);
    border-radius: 8px;
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.02);
    position: sticky;
    top: 40px;
}

.sidebar-title {
    color: var(--primary-red);
    font-size: 18px;
    font-weight: 800;
    padding: 0 25px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 10px;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 12px 25px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav li a:hover {
    color: var(--text-light);
    background: rgba(255,255,255,0.02);
}

.sidebar-nav li a.active {
    color: var(--primary-red);
    border-left: 3px solid var(--primary-red);
    background: rgba(41, 182, 246, 0.05);
}


.rules-content {
    flex: 1;
    background: var(--dark-bg);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.02);
}

.rules-header {
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.rules-header h1 {
    font-size: 32px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.last-updated {
    font-style: italic;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 25px;
}

.intro-text {
    text-align: left;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.intro-text p {
    margin-bottom: 15px;
}

.discord-btn {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s ease;
}

.discord-btn:hover {
    background: var(--primary-red-hover);
    transform: translateY(-2px);
}

.section-title {
    font-size: 28px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.rule-intro-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.rule-intro-card strong {
    color: #4da6ff;
}


.accordion {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-light);
    font-weight: 700;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255,255,255,0.02);
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-toggle {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.accordion.active .icon-toggle {
    transform: rotate(180deg);
}


.badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.badge-blue { background: rgba(77, 166, 255, 0.15); color: #4da6ff; }
.badge-green { background: rgba(77, 255, 136, 0.15); color: #4dff88; }
.badge-yellow { background: rgba(255, 204, 77, 0.15); color: #ffcc4d; }
.badge-orange { background: rgba(255, 136, 77, 0.15); color: #ff884d; }
.badge-purple { background: rgba(166, 77, 255, 0.15); color: #a64dff; }
.badge-red { background: rgba(41, 182, 246, 0.15); color: #29B6F6; }
.badge-gray { background: rgba(160, 160, 160, 0.15); color: #aaaaaa; }

.border-green h4 { color: #4ade80; }

.rule-general-note {
    color: var(--text-muted);
    font-size: 14px;
    font-style: italic;
    margin: 0;
}


.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion.active .accordion-content {
    padding: 0 20px 20px;
}


.rule-card {
    background: var(--darker-bg);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 10px;
}

.rule-card:last-child {
    margin-bottom: 0;
}

.rule-card h4 {
    color: #4da6ff;
    font-size: 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rule-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.rule-list {
    list-style: disc inside;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.rule-list strong {
    color: var(--text-light);
}

.border-red h4 {
    color: var(--primary-red);
}


.staff-section {
    max-width: 1100px;
    margin: 50px auto 100px;
    padding: 0 20px;
}

.staff-intro {
    text-align: center;
    margin-bottom: 55px;
}

.staff-main-title {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 12px;
}

.staff-main-title .accent {
    color: var(--primary-red);
}

.staff-main-sub {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}


.staff-rank-group {
    margin-bottom: 50px;
}

.staff-rank-title {
    text-align: center;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    padding: 8px 24px;
    border-radius: 50px;
}


.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
}


.staff-grid-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.staff-grid-center .staff-card {
    flex: 0 0 220px;
    width: 220px;
    max-width: 220px;
}


.staff-grid-wide {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    justify-content: center;
}


.staff-card {
    background: #151515;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
    border-color: rgba(41,182,246,0.25);
}


.staff-avatar {
    width: 100%;
    height: 220px;
    background: #151515;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
    border-radius: 0;
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    display: block;
}


.api-skin {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    background: transparent;
}


.staff-avatar.avatar-placeholder {
    background: #151515;
}

.staff-avatar.avatar-placeholder::after {
    content: '';
    display: block;
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(255,255,255,0.18)'%3E%3Cpath d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E");
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
}


.staff-name {
    width: 100%;
    padding: 12px 14px 14px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    word-break: break-word;
    font-family: 'Poppins', sans-serif;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #151515;
}






.rank-owner         { background: rgba(255,197,0,0.12); color: #FFD700; border: 1px solid rgba(255,197,0,0.3); }
.rank-owner-tag     { background: rgba(255,197,0,0.15); color: #FFD700; }


.rank-manager       { background: rgba(41,182,246,0.12); color: #29B6F6; border: 1px solid rgba(41,182,246,0.3); }
.rank-manager-tag   { background: rgba(41,182,246,0.15); color: #29B6F6; }


.rank-cm            { background: rgba(171,71,188,0.12); color: #CE93D8; border: 1px solid rgba(171,71,188,0.3); }
.rank-cm-tag        { background: rgba(171,71,188,0.15); color: #CE93D8; }


.rank-admin         { background: rgba(239,83,80,0.12); color: #EF5350; border: 1px solid rgba(239,83,80,0.3); }
.rank-admin-tag     { background: rgba(239,83,80,0.15); color: #EF5350; }


.rank-dev           { background: rgba(102,187,106,0.12); color: #66BB6A; border: 1px solid rgba(102,187,106,0.3); }
.rank-dev-tag       { background: rgba(102,187,106,0.15); color: #66BB6A; }


.rank-headmod       { background: rgba(255,152,0,0.12); color: #FFA726; border: 1px solid rgba(255,152,0,0.3); }
.rank-headmod-tag   { background: rgba(255,152,0,0.15); color: #FFA726; }


.rank-srmod         { background: rgba(92,107,192,0.12); color: #7986CB; border: 1px solid rgba(92,107,192,0.3); }
.rank-srmod-tag     { background: rgba(92,107,192,0.15); color: #7986CB; }


.rank-mod           { background: rgba(38,198,218,0.12); color: #26C6DA; border: 1px solid rgba(38,198,218,0.3); }
.rank-mod-tag       { background: rgba(38,198,218,0.15); color: #26C6DA; }


.rank-helper        { background: rgba(158,158,158,0.12); color: #BDBDBD; border: 1px solid rgba(158,158,158,0.3); }
.rank-helper-tag    { background: rgba(158,158,158,0.15); color: #BDBDBD; }




.vote-section {
    max-width: 1100px;
    margin: 60px auto 100px;
    padding: 0 20px;
}


.vote-hero {
    text-align: center;
    margin-bottom: 60px;
}

.vote-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(41, 182, 246, 0.12);
    border: 1px solid rgba(41, 182, 246, 0.3);
    color: var(--primary-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.vote-title {
    font-size: clamp(36px, 6vw, 58px);
    font-weight: 800;
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.1;
    margin-bottom: 18px;
}

.vote-title-accent {
    background: linear-gradient(135deg, var(--primary-red), #BAE6FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vote-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.vote-subtitle strong {
    color: var(--text-light);
}


.vote-rewards-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.reward-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 50px;
    transition: 0.3s ease;
}

.reward-pill i {
    color: var(--primary-red);
}

.reward-pill:hover {
    background: rgba(41, 182, 246, 0.08);
    border-color: rgba(41, 182, 246, 0.25);
    color: var(--text-light);
    transform: translateY(-2px);
}


.vote-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.vote-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: var(--primary-red);
    border: none;
    border-radius: 14px;
    padding: 26px 32px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 6px 20px rgba(41, 182, 246, 0.35);
    position: relative;
    overflow: hidden;
}

.vote-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.vote-card:hover {
    background: #0277BD;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(41, 182, 246, 0.5);
}

.vote-card:hover::before {
    opacity: 1;
}

.vote-card:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(41, 182, 246, 0.3);
}

.vote-card i {
    font-size: 16px;
    opacity: 0.9;
}


.vote-card-glow,
.vote-card-number,
.vote-card-body,
.vote-card-icon,
.vote-card-info,
.vote-card-footer,
.vote-btn-text {
    display: none;
}


.vote-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    padding: 16px 24px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 8px;
}

.vote-note i {
    color: #4da6ff;
    margin-right: 6px;
}

.vote-note strong {
    color: var(--text-light);
}


@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        gap: 50px;
    }
    .hero-logo {
        order: -1;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .news-post {
        flex-direction: column;
    }
    .news-image {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
    }
    .vote-grid {
        grid-template-columns: 1fr;
    }
    .rules-layout {
        flex-direction: column;
    }
    .rules-sidebar {
        width: 100%;
        position: static;
    }
}

@media (max-width: 600px) {
    .vote-grid {
        grid-template-columns: 1fr;
    }
    .vote-title {
        font-size: 32px;
    }
}





img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn, .footer-btn, .discord-btn, .news-read-btn, .news-discord-btn, .news-ip-btn, .view-all-btn, .vote-card {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



@media (max-width: 1024px) {
    .hero-wrapper {
        min-height: 80svh;
    }
}







@media (max-width: 768px) {
    
    .hamburger-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 22px;
        right: 20px;
        min-height: unset !important;
    }

    .top-nav {
        position: relative;
        justify-content: flex-start;
        padding: 10px 20px 0;
        margin-top: 10px;
    }

    
    .top-nav ul {
        display: none !important;
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        position: absolute;
        top: 55px;
        left: 0;
        background: rgba(14, 14, 14, 0.97);
        padding: 10px 0 20px;
        z-index: 999;
        box-shadow: 0 12px 24px rgba(0,0,0,0.7);
        border-top: 1px solid rgba(255,255,255,0.07);
        backdrop-filter: blur(12px);
    }

    
    .top-nav ul.open {
        display: flex !important;
    }

    .top-nav ul li {
        width: 100%;
        text-align: center;
    }

    .top-nav li a {
        padding: 13px 20px;
        font-size: 15px;
        justify-content: center;
        opacity: 0.9;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        gap: 10px;
    }

    
    .top-nav li a i {
        font-size: 15px !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-width: 18px;
    }

    
    .staff-grid,
    .staff-grid-wide {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    
    .staff-grid-wide {
        grid-template-columns: repeat(3, 1fr);
    }

    .staff-grid-center .staff-card {
        flex: 0 0 160px;
        width: 160px;
        max-width: 160px;
    }

    .staff-card {
        width: 100% !important;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-wrapper {
        min-height: 60svh;
    }

    
    .staff-grid,
    .staff-grid-wide {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .staff-grid-center .staff-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .staff-card {
        width: 100% !important;
        padding: 1.2rem;
    }

    .rank-badge {
        font-size: 13px;
        padding: 6px 16px;
    }
}

@media (max-width: 320px) {
    .top-nav li a {
        font-size: 13px;
        padding: 12px 10px;
    }
    .staff-grid,
    .staff-grid-wide,
    .staff-grid-center {
        grid-template-columns: 1fr;
    }
}


.apply-page-section {
    max-width: 1100px;
    margin: 50px auto 100px;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}


.requirements-card {
    background: rgba(41,182,246,0.06);
    border: 1px solid rgba(41,182,246,0.2);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 36px;
}
.requirements-card h3 {
    color: #29B6F6;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.requirements-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.requirements-card li { display: flex; align-items: flex-start; gap: 10px; color: #ccc; font-size: 14px; line-height: 1.5; }
.requirements-card li span { flex: 1; line-height: 1.6; }

.req-x { color: #ef4444; margin-top: 2px; flex-shrink: 0; }
.req-check { color: #4ade80; margin-top: 2px; flex-shrink: 0; }


.apply-intro { text-align: center; margin-bottom: 40px; }
.apply-main-title { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.apply-main-title .accent { color: #ef4444; }
.apply-main-sub { font-family: 'Poppins', sans-serif; color: rgba(255,255,255,0.55); font-size: 1rem; max-width: 520px; margin: 0 auto; line-height: 1.7; }


.apply-type-preview, .apply-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.apply-type-card {
    background: var(--dark-bg);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.apply-type-card.clickable { cursor: pointer; }
.apply-type-card.clickable:hover {
    transform: translateY(-6px);
    border-color: rgba(41,182,246,0.3);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.apply-type-card > i { font-size: 1.8rem; color: #29B6F6; display: block; margin-bottom: 12px; }
.apply-type-label { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.apply-type-desc { font-family: 'Poppins', sans-serif; font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.6; flex: 1; }
.apply-now-tag { display: inline-flex; align-items: center; gap: 8px; color: #29B6F6; font-size: 12px; font-weight: 700; margin-top: 14px; background: rgba(41,182,246,0.1); border: 1px solid rgba(41,182,246,0.25); padding: 6px 14px; border-radius: 50px; }
.apply-now-tag i { color: inherit; font-size: 11px; }
.coming-soon-tag { background: rgba(255,255,255,0.1); color: #aaa; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 50px; margin-left: 6px; }
.locked-card { opacity: 0.45; cursor: not-allowed; }
.locked-card i { color: #666; }


.card-accepted-locked {
    cursor: not-allowed !important;
    border-color: rgba(74,222,128,0.3) !important;
    background: rgba(74,222,128,0.04) !important;
}
.card-accepted-locked .apply-now-tag {
    color: #4ade80 !important;
}
.card-pending-locked {
    cursor: not-allowed !important;
    border-color: rgba(251,191,36,0.3) !important;
    background: rgba(251,191,36,0.04) !important;
}
.card-pending-locked .apply-now-tag {
    color: #fbbf24 !important;
}
.card-rejected-locked {
    cursor: not-allowed !important;
    border-color: rgba(239,68,68,0.3) !important;
    background: rgba(239,68,68,0.04) !important;
}
.card-rejected-locked .apply-now-tag {
    color: #ef4444 !important;
}
.card-blocked-locked {
    cursor: not-allowed !important;
    opacity: 0.4;
}
.card-blocked-locked .apply-now-tag {
    color: #666 !important;
}

.card-reject-note {
    font-size: 11px;
    color: #ef4444;
    margin-top: 10px;
    line-height: 1.5;
    background: rgba(239,68,68,0.08);
    border-radius: 6px;
    padding: 6px 10px;
}


.login-cta { text-align: center; }
.discord-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #5865F2;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 6px 24px rgba(88,101,242,0.35);
}
.discord-login-btn:hover { background: #4752c4; transform: translateY(-3px); box-shadow: 0 10px 32px rgba(88,101,242,0.45); }


.user-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--dark-bg);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 14px;
}
.user-bar-left { display: flex; align-items: center; gap: 14px; }
.user-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(41,182,246,0.4); }
.user-greeting { display: block; font-size: 12px; color: #777; font-family: 'Poppins', sans-serif; }
.user-name { display: block; font-size: 15px; color: #fff; font-weight: 700; font-family: 'Montserrat', sans-serif; }
.user-bar-right { display: flex; align-items: center; gap: 12px; }
.admin-panel-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(41,182,246,0.12); border: 1px solid rgba(41,182,246,0.35);
    color: #29B6F6; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700;
    padding: 8px 18px; border-radius: 8px; text-decoration: none; transition: 0.25s ease;
}
.admin-panel-btn:hover { background: rgba(41,182,246,0.25); }
.logout-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 1px solid rgba(255,255,255,0.1);
    color: #aaa; font-family: 'Poppins', sans-serif; font-size: 13px;
    padding: 8px 16px; border-radius: 8px; cursor: pointer; transition: 0.25s ease;
}
.logout-btn:hover { border-color: rgba(255,255,255,0.2); color: #fff; }


.dashboard-block { margin-bottom: 48px; }
.dashboard-title { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.dashboard-title i { color: #29B6F6; }
.dashboard-sub { color: #777; font-size: 14px; margin-bottom: 20px; }


.app-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    background: var(--dark-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 12px;
}
.app-type-badge { font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.app-date { font-size: 12px; color: #666; display: flex; align-items: center; gap: 6px; }
.app-status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
}
.status-pending  { background: rgba(251,191,36,0.12); color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }
.status-accepted { background: rgba(74,222,128,0.12); color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }
.status-rejected { background: rgba(239,68,68,0.12);  color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.rejection-reason { width: 100%; background: rgba(239,68,68,0.06); border-left: 3px solid #ef4444; padding: 10px 14px; border-radius: 4px; color: #ccc; font-size: 13px; }
.no-apps-msg { text-align: center; padding: 40px; color: #555; }
.no-apps-msg i { font-size: 40px; display: block; margin-bottom: 14px; }
.no-apps-msg p { font-size: 15px; }
.loading-placeholder { color: #555; font-size: 14px; padding: 30px; text-align: center; }


.form-page-section {
    max-width: 780px;
    margin: 40px auto 100px;
    padding: 0 20px;
}


.form-progress-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; margin-bottom: 8px; }
.form-progress-fill { height: 100%; background: #29B6F6; border-radius: 2px; transition: width 0.4s ease; }
.form-progress-labels { display: flex; justify-content: space-between; font-size: 12px; color: #666; margin-bottom: 32px; }
.form-progress-labels #form-title-tag { color: #29B6F6; font-weight: 700; }


.form-step { display: none; }
.form-step.active { display: block; }
.step-heading { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.step-sub { color: #888; font-size: 14px; margin-bottom: 28px; }


.form-group { margin-bottom: 24px; }
.form-label { display: block; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; color: #ddd; margin-bottom: 10px; line-height: 1.5; }
.req-star { color: #29B6F6; }
.form-hint { color: #666; font-size: 12px; font-weight: 400; }
.form-hint-link { color: #5865F2; font-size: 12px; margin-left: 8px; text-decoration: none; }
.form-hint-link:hover { text-decoration: underline; }
.form-input {
    width: 100%; background: var(--dark-bg); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px; padding: 12px 16px; color: #fff; font-family: 'Poppins', sans-serif;
    font-size: 14px; transition: border-color 0.25s ease; box-sizing: border-box;
}
.form-input:focus { outline: none; border-color: rgba(41,182,246,0.5); }
.form-textarea {
    width: 100%; background: var(--dark-bg); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px; padding: 12px 16px; color: #fff; font-family: 'Poppins', sans-serif;
    font-size: 14px; resize: vertical; transition: border-color 0.25s ease; box-sizing: border-box;
}
.form-textarea:focus { outline: none; border-color: rgba(41,182,246,0.5); }
.form-req-card { margin-bottom: 24px; }


.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-option {
    display: flex; align-items: center; gap: 10px;
    background: var(--dark-bg); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px; padding: 10px 16px; cursor: pointer; color: #ccc;
    font-size: 14px; transition: border-color 0.2s ease;
}
.radio-option:hover { border-color: rgba(41,182,246,0.3); }
.radio-option input[type="radio"] { accent-color: #29B6F6; width: 16px; height: 16px; }


.scale-group { background: var(--dark-bg); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 16px; }
.scale-labels { display: flex; justify-content: space-between; color: #666; font-size: 12px; margin-bottom: 8px; }
.scale-radios { flex-direction: row !important; justify-content: space-between; }
.scale-option { background: none !important; border: none !important; padding: 8px 4px !important; }
.scale-option input { accent-color: #29B6F6; width: 20px; height: 20px; }


.checkbox-label { display: flex; align-items: flex-start; gap: 12px; color: #ccc; font-size: 14px; cursor: pointer; margin-bottom: 16px; line-height: 1.5; }
.checkbox-label input[type="checkbox"] { accent-color: #29B6F6; width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.declaration-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }


.form-nav-btns { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.form-nav-btns button {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--dark-bg); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700;
    padding: 12px 24px; border-radius: 8px; cursor: pointer; transition: 0.25s ease;
}
.form-nav-btns button:hover { border-color: rgba(41,182,246,0.4); }
.btn-submit-final { background: #29B6F6 !important; border-color: #29B6F6 !important; }
.btn-submit-final:hover { background: #dc2626 !important; }


.form-error-msg { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #ef4444; padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-top: 16px; }
.form-success-msg { background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3); color: #4ade80; padding: 16px 20px; border-radius: 8px; font-size: 15px; display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.form-success-msg a { color: #4ade80; font-weight: 700; }


.admin-section { max-width: 1200px; margin: 40px auto 100px; padding: 0 20px; }
.admin-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 32px; }
.admin-header h1 { font-family: 'Montserrat', sans-serif; font-size: 26px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 12px; }
.admin-header h1 i { color: #ef4444; }
.admin-user-tag { color: #666; font-size: 13px; margin-top: 4px; }


.admin-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.admin-stat-card { background: var(--dark-bg); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 16px 22px; text-align: center; min-width: 90px; }
.admin-stat-card span { display: block; font-family: 'Montserrat', sans-serif; font-size: 26px; font-weight: 800; color: #fff; }
.admin-stat-card label { display: block; font-size: 11px; color: #666; margin-top: 4px; font-weight: 700; text-transform: uppercase; }
.admin-stat-card.pending span { color: #fbbf24; }
.admin-stat-card.accepted span { color: #4ade80; }
.admin-stat-card.rejected span { color: #ef4444; }


.admin-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }
.admin-select { background: var(--dark-bg); border: 1px solid rgba(255,255,255,0.1); color: #ccc; padding: 10px 14px; border-radius: 8px; font-family: 'Poppins', sans-serif; font-size: 13px; cursor: pointer; }
.admin-refresh-btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid rgba(255,255,255,0.1); color: #aaa; font-size: 13px; padding: 10px 16px; border-radius: 8px; cursor: pointer; transition: 0.2s ease; }
.admin-refresh-btn:hover { border-color: rgba(41,182,246,0.3); color: #29B6F6; }


.apps-toggle-btn { display: inline-flex; align-items: center; gap: 8px; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; padding: 8px 18px; border-radius: 8px; cursor: pointer; border: 1px solid; transition: 0.25s ease; margin-top: 8px; }
.apps-toggle-btn.apps-open { background: rgba(74,222,128,0.1); border-color: rgba(74,222,128,0.35); color: #4ade80; }
.apps-toggle-btn.apps-open:hover { background: rgba(74,222,128,0.2); }
.apps-toggle-btn.apps-closed { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.35); color: #ef4444; }
.apps-toggle-btn.apps-closed:hover { background: rgba(239,68,68,0.2); }


.admin-delete-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #ef4444; font-size: 13px; font-weight: 700; padding: 10px 16px; border-radius: 8px; cursor: pointer; transition: 0.2s ease; margin-left: auto; }
.admin-delete-btn:hover { background: rgba(239,68,68,0.2); }


.admin-table th:first-child, .admin-table td:first-child { width: 40px; text-align: center; padding: 14px 8px; }
.admin-table input[type="checkbox"] { accent-color: #29B6F6; width: 15px; height: 15px; cursor: pointer; }


.admin-table-wrapper { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--dark-bg); border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.admin-table thead { background: rgba(255,255,255,0.03); }
.admin-table th { text-align: left; padding: 14px 18px; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.admin-table td { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,0.03); color: #ccc; font-size: 14px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.01); }
.loading-cell { text-align: center; color: #555; padding: 40px !important; }
.player-cell { display: flex; align-items: center; gap: 12px; }
.table-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.table-avatar-placeholder { width: 36px; height: 36px; border-radius: 50%; background: #222; display: flex; align-items: center; justify-content: center; color: #555; }
.player-name { font-weight: 600; color: #fff; font-size: 14px; }
.player-ign { font-size: 12px; color: #666; }
.table-view-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: #ccc; font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 6px; cursor: pointer; transition: 0.2s; }
.table-view-btn:hover { border-color: rgba(239,68,68,0.4); color: #ef4444; }


.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-box { background: #111; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; width: 100%; max-width: 680px; max-height: 85vh; display: flex; flex-direction: column; overflow: hidden; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.modal-header h3 { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; color: #fff; }
.modal-close { background: none; border: none; color: #666; font-size: 18px; cursor: pointer; transition: color 0.2s; }
.modal-close:hover { color: #fff; }
.modal-body { padding: 20px 24px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.modal-qa { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04); border-radius: 8px; padding: 12px 16px; }
.modal-q { font-size: 12px; color: #666; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 6px; }
.modal-a { font-size: 14px; color: #ccc; line-height: 1.7; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
.modal-footer { display: flex; gap: 12px; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.btn-accept { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3); color: #4ade80; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; padding: 12px; border-radius: 8px; cursor: pointer; transition: 0.25s; }
.btn-accept:hover { background: rgba(74,222,128,0.2); }
.btn-reject { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #ef4444; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; padding: 12px; border-radius: 8px; cursor: pointer; transition: 0.25s; }
.btn-reject:hover { background: rgba(239,68,68,0.2); }


@media (max-width: 768px) {
    .apply-type-preview, .apply-type-grid { grid-template-columns: 1fr; }
    .user-bar { flex-direction: column; align-items: flex-start; }
    .admin-header { flex-direction: column; }
    .admin-stats { gap: 10px; }
    .modal-box { max-height: 95vh; }
}
@media (max-width: 480px) {
    .scale-radios { gap: 2px; }
    .form-nav-btns { flex-direction: column; }
    .form-nav-btns button { width: 100%; justify-content: center; }
}


@media (max-width: 600px) {
    .form-page-section { padding: 0 12px 60px; }
    .apply-page-section { padding: 0 12px; }
    .apply-type-grid { grid-template-columns: 1fr; gap: 12px; }
    .admin-section { padding: 20px 14px; }
    .admin-filters { flex-direction: column; gap: 8px; }
    .admin-filters select, .admin-filters button { width: 100%; }
    .admin-table { font-size: 12px; }
    .admin-table th, .admin-table td { padding: 10px 6px; }
    .admin-table th:first-child, .admin-table td:first-child { width: 28px; padding: 10px 4px; }
    .player-cell { flex-direction: column; gap: 4px; }
    .table-avatar { width: 28px; height: 28px; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .admin-header-left h1 { font-size: 1.4rem; }
    .modal-box { width: 95vw; }
    .apps-toggle-btn { width: 100%; justify-content: center; }
    .user-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
    .user-bar-right { width: 100%; display: flex; gap: 10px; }
    .form-step { padding: 0 4px; }
    .scale-labels, .scale-radios { gap: 2px; }
    .checkbox-label { font-size: 13px; }
}



