body {

    margin: 0;

    color: white;

    font-family: Arial, sans-serif;

    overflow-x: hidden;

    background:

        radial-gradient(
            circle at top left,
            rgba(88,101,242,0.30),
            transparent 35%
        ),

        radial-gradient(
            circle at bottom right,
            rgba(64,78,237,0.25),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            #0f1117 0%,
            #111214 40%,
            #181a20 100%
        );

    background-attachment: fixed;
}

/* ===== TOPBAR ===== */

.topbar {
    backdrop-filter: blur(14px);

    border-bottom:
    1px solid rgba(255,255,255,0.05);

    background:
    rgba(17,18,20,0.72);

    box-shadow:
    0 0 20px rgba(0,0,0,0.25);

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 0 20px;

    background: #111214;

    z-index: 1000;
}

.topbar h1 {

    color: #5865F2;
    font-size: 48px;
    margin: 0;
}

/* ===== MENU BUTTON ===== */

.menu-btn {

    background: #5865F2;
    border: none;

    color: white;

    width: 55px;
    height: 55px;

    border-radius: 15px;

    font-size: 28px;

    cursor: pointer;

    transition: 0.2s;
}

.menu-btn:hover {

    transform: scale(1.05);
}

/* ===== SIDEBAR ===== */

.sidebar {

    position: fixed;

    top: 80px;
    left: 0;

    width: 240px;
    height: calc(100vh - 80px);

    background:
    rgba(20,21,24,0.82);

    backdrop-filter: blur(18px);

    border-right:
    1px solid rgba(255,255,255,0.05);

    box-shadow:
    0 0 25px rgba(0,0,0,0.35);

    padding: 20px;

    box-sizing: border-box;

    transition: transform 0.25s ease;

    overflow-y: auto;

    z-index: 999;
}

.sidebar-hidden {

    transform: translateX(-260px);
}

.sidebar-title {

    text-align: center;

    font-size: 22px;

    margin-bottom: 30px;
}

.sidebar-btn {

    width: 100%;
    transition:
        0.2s ease;
    background:
    rgba(255,255,255,0.05);

    border:
    1px solid rgba(255,255,255,0.04);

    backdrop-filter: blur(8px);

    border: none;

    color: white;

    padding: 16px;

    margin-bottom: 15px;

    border-radius: 12px;

    font-size: 16px;

    cursor: pointer;

    transition: 0.2s;
}

.sidebar-btn:hover {

    background:
        linear-gradient(
            135deg,
            #5865F2,
            #404EED
        );
    
    color: white;
    transform:
        translateY(-2px);

    box-shadow:
        0 0 18px rgba(88,101,242,0.45);
}

/* ===== CONTENT ===== */

.content {

    padding-top: 120px;

    padding-left: 20px;

    padding-right: 20px;

    box-sizing: border-box;
}
/* ===== SECTIONS ===== */

.section {

    display: none;
}

.active-section {

    display: block;
}

/* ===== WELCOME ===== */

.welcome-section {

    text-align: center;

    margin-top: 80px;
}

.welcome-section h1 {

    color: #5865F2;

    font-size: 72px;

    margin-bottom: 40px;
}

.welcome-section h2 {

    font-size: 42px;

    margin-bottom: 40px;
}

.welcome-section p {

    font-size: 24px;

    opacity: 0.8;
}

/* ===== CARD ===== */

.card {

    background:

    linear-gradient(
        145deg,
        rgba(88,101,242,0.16),
        rgba(35,39,42,0.92)
    );
    box-shadow:

    0 0 30px rgba(0,0,0,0.35),

    0 0 12px rgba(88,101,242,0.08);
    backdrop-filter: blur(10px);
    border:
    1px solid rgba(88,101,242,0.18);
    width: 100%;

    max-width: 850px;

    margin: auto;

    padding: 35px;

    border-radius: 24px;

    box-sizing: border-box;

    border:
        1px solid rgba(255,255,255,0.05);

    box-shadow:
        0 0 30px rgba(0,0,0,0.35);
}
.section {

    width: 100%;

    padding-bottom: 80px;
}
.card h2 {

    text-align: center;

    margin-top: 0;
}

/* ===== INPUT ===== */

.input {

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 10px;

    box-sizing: border-box;

    font-size: 16px;
}

/* ===== BUTTONS ===== */

.primary-btn,
.btn-enable,
.btn-disable,
.danger-btn {

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 10px;

    color: white;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

.primary-btn {

    background: #5865F2;
}

.btn-enable {

    background: #57F287;
}

.btn-disable,
.danger-btn {

    background: #ED4245;
}

.primary-btn:hover,
.btn-enable:hover,
.btn-disable:hover,
.danger-btn:hover {

    transform: scale(1.02);
}

/* ===== STATUS ===== */

.status-on,
.status-off {

    padding: 16px;

    border-radius: 12px;

    text-align: center;

    font-weight: bold;
}

.status-on {

    background: #1f6f3d;
}

.status-off {

    background: #7a1d1d;
}

/* ===== STATS ===== */

.stats-box {

    transition: 0.2s;

    background:

    linear-gradient(
        135deg,
        rgba(88,101,242,0.12),
        rgba(255,255,255,0.03)
    );

    padding: 10px 18px;

    min-height: 28px;

    display: flex;

    align-items: center;

    border-radius: 16px;

    border:
        1px solid rgba(255,255,255,0.05);

    backdrop-filter: blur(6px);

    margin-bottom: 10px;
}
.stats-box:hover {

    transform:
        translateY(-2px);

    background:

        linear-gradient(
            135deg,
            rgba(88,101,242,0.22),
            rgba(255,255,255,0.05)
        );

    border:
        1px solid rgba(88,101,242,0.30);

    box-shadow:
        0 0 18px rgba(88,101,242,0.20);
}
/* ===== MOBILE ===== */

@media (max-width: 768px) {

    .topbar h1 {

        font-size: 34px;
    }

    .welcome-section h1 {

        font-size: 48px;
    }

    .welcome-section h2 {

        font-size: 30px;
    }

    .welcome-section p {

        font-size: 18px;
    }

    .card {

        width: 95%;
    }

    .sidebar {

        width: 220px;
    }
}

.discord-bg {

    min-height: 100vh;

    background:
        radial-gradient(circle at top left, #5865F2 0%, transparent 35%),
        radial-gradient(circle at bottom right, #404EED 0%, transparent 35%),
        #0f1117;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;
    padding-top: 80px;

    text-align: center;

    padding: 40px;

    box-sizing: border-box;
}

.landing-title {

    font-size: 82px;

    margin-bottom: 15px;

    color: white;

    font-weight: 900;

    text-shadow:
        0 0 20px rgba(88,101,242,0.7);

    animation: glow 3s infinite ease-in-out;
}

.discord-login-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    background: #5865F2;

    color: white;

    border: none;

    padding: 20px 40px;

    border-radius: 20px;

    font-size: 24px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.25s;

    box-shadow: 0 0 25px rgba(88, 101, 242, 0.5);
}

.discord-login-btn:hover {

    transform: scale(1.05);

    background: #6b77ff;
}

.user-avatar {

    width: 150px;

    height: 150px;

    border-radius: 50%;

    margin: 35px 0;

    border: 5px solid #5865F2;

    box-shadow:
        0 0 25px rgba(88,101,242,0.6);

    transition: 0.25s;
}

.user-avatar:hover {

    transform: scale(1.05);
}

.guild-list {

    width: 100%;

    max-width: 500px;

    margin-top: 40px;
}

.guild-card {

    background:
        rgba(30,31,34,0.8);

    backdrop-filter: blur(10px);

    padding: 30px;

    margin-bottom: 25px;

    border-radius: 22px;

    transition: 0.25s;

    cursor: pointer;

    text-decoration: none;

    color: white;

    display: block;

    font-size: 28px;

    font-weight: bold;

    box-shadow:
        0 0 20px rgba(0,0,0,0.35);

    border:
        1px solid rgba(255,255,255,0.05);
}

.guild-card:hover {

    transform:
        translateY(-6px)
        scale(1.02);

    background:
        rgba(43,45,49,0.95);

    box-shadow:
        0 0 30px rgba(88,101,242,0.35);
}
@keyframes glow {

    0% {

        text-shadow:
            0 0 15px rgba(88,101,242,0.5);
    }

    50% {

        text-shadow:
            0 0 35px rgba(88,101,242,0.9);
    }

    100% {

        text-shadow:
            0 0 15px rgba(88,101,242,0.5);
    }
}
.landing-subtitle {

    font-size: 24px;

    opacity: 0.8;

    margin-bottom: 40px;

    max-width: 700px;
}
.automod-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}


.automod-item form {

    margin: 0;
}

.automod-item .danger-btn {

    width: auto;

    padding: 10px 14px;
}
.toggle-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 20px;

    margin-bottom: 30px;
}

.toggle-grid .stats-box {

    text-align: center;
}

.toggle-grid button {

    margin-top: 15px;
}
.btn-enable {

    background: #2ecc71;

    color: white;

    border: none;

    border-radius: 12px;

    padding: 12px 20px;

    font-weight: bold;

    cursor: pointer;

    width: 100%;
}

.btn-disable {

    background: #e74c3c;

    color: white;

    border: none;

    border-radius: 12px;

    padding: 12px 20px;

    font-weight: bold;

    cursor: pointer;

    width: 100%;
}
.section {

    width: 100%;

    display: none;
}

.active-section {

    display: block;
}

.sidebar-title {

    cursor: pointer;

    transition: 0.2s;
}

.sidebar-title:hover {

    color: #5865F2;

    transform: translateX(2px);
}
.automod-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 18px 22px;

    margin-bottom: 18px;

    border-radius: 18px;

    background:

        linear-gradient(
            135deg,
            rgba(88,101,242,0.14),
            rgba(255,255,255,0.03)
        );

    border:
        1px solid rgba(88,101,242,0.12);
}

.toggle-btn {

    border: none;

    padding: 10px 18px;

    border-radius: 12px;

    font-weight: bold;

    color: white;

    cursor: pointer;

    transition: 0.2s;

    min-width: 90px;
}

.toggle-btn.enabled {

    background:
        linear-gradient(
            135deg,
            #43b581,
            #2ecc71
        );
}

.toggle-btn.disabled {

    background:
        linear-gradient(
            135deg,
            #f04747,
            #d63031
        );
}

.toggle-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 0 14px rgba(255,255,255,0.12);
}
.safe-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}

.safe-item form {

    margin: 0;
}