
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #050812;
    --bg-secondary: #0a1020;
    --glass: rgba(12, 23, 43, 0.72);
    --glass-light: rgba(22, 40, 70, 0.55);
    --border: rgba(85, 165, 255, 0.18);
    --border-hover: rgba(85, 165, 255, 0.45);
    --blue: #38b6ff;
    --blue-light: #75d0ff;
    --blue-dark: #0878dc;
    --cyan: #00e5ff;
    --text: #edf6ff;
    --text-secondary: #a6bdd8;
    --text-muted: #7186a3;
    --green: #43e7a4;
    --red: #ff5277;
    --purple: #a78bfa;
    --radius: 18px;
    --radius-small: 12px;
    --shadow: 0 0 35px rgba(0, 145, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 5%, rgba(0, 113, 255, 0.13), transparent 30%),
        radial-gradient(circle at 90% 35%, rgba(0, 220, 255, 0.07), transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(25, 50, 120, 0.12), transparent 40%),
        var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        linear-gradient(rgba(65, 150, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(65, 150, 255, 0.025) 1px, transparent 1px);
    background-size: 45px 45px;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: var(--blue-light);
    text-decoration: none;
    transition: 0.25s ease;
}

a:hover {
    color: white;
}

img {
    max-width: 100%;
}

/* CONTAINER */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* NAVIGATION */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(5, 8, 18, 0.82);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 13px;
    border: 1px solid rgba(70, 160, 255, 0.3);
    box-shadow: 0 0 18px rgba(0, 145, 255, 0.2);
    animation: logoGlow 4s ease-in-out infinite;
}

/* LOGO ENERGY RING */

.logo::after {
    content: "";
    position: absolute;
    left: -4px;
    top: 50%;
    width: 53px;
    height: 53px;
    border: 1px solid rgba(56, 182, 255, 0.45);
    border-top-color: rgba(0, 229, 255, 0.95);
    border-right-color: rgba(56, 182, 255, 0.15);
    border-radius: 16px;
    transform: translateY(-50%);
    pointer-events: none;
    animation: logoRing 8s linear infinite;
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(0, 145, 255, 0.12);
        filter: brightness(0.85);
    }

    50% {
        box-shadow: 0 0 24px rgba(0, 180, 255, 0.48);
        filter: brightness(1.15);
    }
}

@keyframes logoRing {
    0% {
        transform: translateY(-50%) rotate(0deg);
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-50%) rotate(360deg);
        opacity: 0.55;
    }
}

.logo span,
.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links > a {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.nav-links > a:hover {
    color: var(--blue-light);
}

.nav-submit,
.primary-button,
.submit-button,
#submitSuggestion,
.discord-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid rgba(70, 175, 255, 0.5);
    border-radius: 12px;
    background: linear-gradient(135deg, #0878dc, #13a5ff);
    color: white;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 0 20px rgba(0, 135, 255, 0.18);
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.nav-submit:hover,
.primary-button:hover,
.submit-button:hover,
#submitSuggestion:hover,
.discord-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 145, 255, 0.4);
    color: white;
}

/* HAMBURGER BUTTON */

.mobile-menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 220, 255, 0.65);
    border-radius: 14px;
    color: white;
    background: linear-gradient(145deg, rgba(15, 50, 85, 0.95), rgba(5, 15, 30, 0.95));
    box-shadow:
        0 0 15px rgba(0, 200, 255, 0.2),
        inset 0 0 12px rgba(0, 180, 255, 0.08);
    transition: 0.25s ease;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle.active {
    border-color: var(--cyan);
    box-shadow: 0 0 22px rgba(0, 220, 255, 0.35);
}

.menu-icon {
    display: flex;
    width: 23px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.menu-icon span {
    display: block;
    width: 23px;
    height: 2.5px;
    min-height: 2.5px;
    border-radius: 5px;
    background: #eafaff;
    box-shadow: 0 0 7px rgba(0, 220, 255, 0.75);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu-toggle.active .menu-icon span:first-child {
    transform: translateY(7.75px) rotate(45deg);
}

.mobile-menu-toggle.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .menu-icon span:last-child {
    transform: translateY(-7.75px) rotate(-45deg);
}

/* ACCOUNT */

.account-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.discord-login-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    justify-content: center;
    border: 1px solid rgba(115, 105, 255, 0.5);
    border-radius: 12px;
    background: linear-gradient(135deg, #5865f2, #7285ff);
    color: white;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.25s;
}

.discord-login-button:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(88, 101, 242, 0.35);
}

.account-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.account-button {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 5px 10px 5px 5px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: var(--glass);
    color: white;
    transition: 0.2s;
    max-width: 100%;
}

.account-button:hover {
    border-color: var(--border-hover);
    background: var(--glass-light);
}

.account-avatar {
    display: block;
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
    max-width: 35px;
    max-height: 35px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid rgba(56, 182, 255, 0.5);
    background: transparent;
}

.account-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
}

.account-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 200px;
    padding: 8px;
    background: rgba(9, 17, 33, 0.98);
    border: 1px solid var(--border-hover);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001;
}

.account-dropdown.active {
    display: block;
}

.account-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 11px 12px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.account-dropdown button:hover {
    background: rgba(56, 182, 255, 0.1);
    color: white;
}

.account-dropdown .logout-button {
    color: var(--red);
}

/* HERO */

.hero {
    position: relative;
    padding: 100px 0 85px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    right: -130px;
    top: -100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 125, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px;
    border: 1px solid rgba(56, 182, 255, 0.24);
    border-radius: 50px;
    background: rgba(25, 100, 180, 0.08);
    color: var(--blue-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(32px, 5.5vw, 65px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
}

.hero h1 span,
.gradient-text {
    background: linear-gradient(90deg, #38b6ff, #00e5ff, #8cbaff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 620px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(14, 26, 47, 0.65);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
}

.secondary-button:hover {
    border-color: var(--border-hover);
    color: white;
    background: var(--glass-light);
}

.hero-image {
    margin-top: 45px;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 100, 255, 0.1);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px rgba(67, 231, 164, 0.5);
}

/* STATS */

.stats-section {
    padding: 20px 0 65px;
}

.stats-grid,
.stats-section .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--glass);
    backdrop-filter: blur(15px);
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.25s;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    color: var(--blue-light);
    font-size: 30px;
    font-weight: 700;
}

.stat-label {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

/* SECTION HEADINGS */

.categories-section,
.suggestions-section,
.roadmap-section,
.discord-section {
    padding: 70px 0;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 700;
    margin-bottom: 10px;
}

.section-heading p {
    color: var(--text-secondary);
    font-size: 14px;
}

.section-heading.center {
    text-align: center;
}

/* CATEGORIES */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-card {
    position: relative;
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--glass);
    overflow: hidden;
    transition: 0.25s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 0 25px rgba(0, 145, 255, 0.08);
}

.category-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    margin-bottom: 15px;
    background: rgba(56, 182, 255, 0.1);
    border: 1px solid rgba(56, 182, 255, 0.15);
    color: var(--blue-light);
    font-size: 20px;
}

.category-card h3 {
    font-size: 15px;
    margin-bottom: 7px;
}

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

/* SUGGESTIONS */

.suggestions-section {
    border-top: 1px solid rgba(85, 165, 255, 0.08);
    border-bottom: 1px solid rgba(85, 165, 255, 0.08);
    background: rgba(7, 12, 23, 0.35);
}

.suggestion-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.toolbar-left,
.toolbar-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.search-input,
.search-box input,
.suggestion-toolbar input,
.suggestion-toolbar select,
.filter-select {
    min-width: 180px;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(8, 16, 30, 0.9);
    color: white;
    outline: none;
    font-size: 13px;
}

.search-input:focus,
.search-box input:focus,
.suggestion-toolbar input:focus,
.suggestion-toolbar select:focus,
.filter-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.08);
}

select option {
    background: #0a1020;
    color: white;
}

.suggestion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.suggestion-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(13, 24, 43, 0.92), rgba(8, 14, 26, 0.94));
    transition: 0.25s;
}

.suggestion-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 25px rgba(0, 145, 255, 0.06);
}

.suggestion-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.suggestion-author {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.suggestion-avatar {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(56, 182, 255, 0.3);
    background: var(--bg-secondary);
}

.suggestion-author-info {
    min-width: 0;
}

.suggestion-author-name {
    display: block;
    color: white;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.suggestion-date {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
    margin-top: 2px;
}

.suggestion-category {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 30px;
    border: 1px solid rgba(56, 182, 255, 0.2);
    background: rgba(56, 182, 255, 0.07);
    color: var(--blue-light);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.suggestion-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
}

.suggestion-description {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    flex: 1;
}

.suggestion-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid rgba(85, 165, 255, 0.1);
}

.suggestion-voting {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(15, 27, 47, 0.9);
    color: var(--text-secondary);
    transition: 0.2s;
}

.vote-button:hover {
    border-color: var(--blue);
    color: var(--blue-light);
    background: rgba(56, 182, 255, 0.1);
}

.vote-button.upvote.active,
.vote-button.upvote.selected {
    color: var(--green);
    border-color: rgba(67, 231, 164, 0.4);
    background: rgba(67, 231, 164, 0.1);
}

.vote-button.downvote.active,
.vote-button.downvote.selected {
    color: var(--red);
    border-color: rgba(255, 82, 119, 0.4);
    background: rgba(255, 82, 119, 0.1);
}

.vote-score {
    min-width: 25px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: white;
}

.suggestion-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestion-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
}

.suggestion-status.approved,
.suggestion-status.completed {
    color: var(--green);
    border-color: rgba(67, 231, 164, 0.25);
    background: rgba(67, 231, 164, 0.07);
}

.suggestion-status.in-progress {
    color: var(--blue-light);
    border-color: rgba(56, 182, 255, 0.25);
    background: rgba(56, 182, 255, 0.07);
}

.suggestion-status.rejected {
    color: var(--red);
    border-color: rgba(255, 82, 119, 0.25);
    background: rgba(255, 82, 119, 0.07);
}

.delete-suggestion-button {
    padding: 7px 10px;
    border: 1px solid rgba(255, 82, 119, 0.25);
    border-radius: 9px;
    background: rgba(255, 82, 119, 0.06);
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
}

.delete-suggestion-button:hover {
    background: rgba(255, 82, 119, 0.15);
}

.empty-suggestions,
.loading-suggestions,
.error-suggestions {
    grid-column: 1 / -1;
    padding: 50px 20px;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--glass);
    color: var(--text-secondary);
}

.empty-suggestions h3 {
    color: white;
    margin-bottom: 8px;
}

.suggestion-footer {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

/* ROADMAP */

.roadmap-grid,
.roadmap-section .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.roadmap-card {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--glass);
}

.roadmap-card h3 {
    font-size: 15px;
    margin: 12px 0 8px;
}

.roadmap-card p {
    color: var(--text-secondary);
    font-size: 12px;
}

.roadmap-status,
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roadmap-status.planned {
    color: var(--purple);
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.roadmap-status.in-progress {
    color: var(--blue-light);
    background: rgba(56, 182, 255, 0.1);
    border: 1px solid rgba(56, 182, 255, 0.2);
}

.roadmap-status.completed {
    color: var(--green);
    background: rgba(67, 231, 164, 0.1);
    border: 1px solid rgba(67, 231, 164, 0.2);
}

/* DISCORD COMMUNITY */

.discord-section {
    padding: 75px 0;
}

.discord-section .container {
    position: relative;
    padding: 45px;
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(88, 101, 242, 0.12), transparent 40%),
        var(--glass);
    text-align: center;
}

.discord-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(23px, 4vw, 35px);
    margin-bottom: 12px;
}

.discord-section p {
    max-width: 600px;
    margin: 0 auto 25px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ACTIVE USERS */

.active-users-section {
    padding: 70px 0;
    border-top: 1px solid rgba(85, 165, 255, 0.08);
    border-bottom: 1px solid rgba(85, 165, 255, 0.08);
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 145, 255, 0.07), transparent 35%),
        rgba(7, 12, 23, 0.28);
}

.activity-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 17px;
    margin-bottom: 18px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: rgba(8, 17, 32, 0.8);
}

.activity-overview-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blue-light);
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.activity-live-indicator {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(67, 231, 164, 0.8);
    animation: activityPulse 1.8s ease-in-out infinite;
}

#activityLastUpdated {
    color: var(--text-muted);
    font-size: 11px;
}

.active-users-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.activity-empty-state {
    grid-column: 1 / -1;
    padding: 35px 20px;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--glass);
}

.activity-empty-state h3 {
    color: white;
    font-size: 15px;
    margin-bottom: 6px;
}

.activity-empty-state p {
    color: var(--text-muted);
    font-size: 12px;
}

.activity-user-card {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(13, 24, 43, 0.92), rgba(8, 14, 26, 0.94));
    transition: 0.25s;
}

.activity-user-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: 0 0 22px rgba(0, 145, 255, 0.08);
}

.activity-user-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border: 2px solid rgba(56, 182, 255, 0.35);
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-secondary);
}

.activity-user-details {
    min-width: 0;
    flex: 1;
}

.activity-user-name {
    display: block;
    overflow: hidden;
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-user-platform {
    display: block;
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 10px;
}

.activity-user-game {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: var(--blue-light);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-user-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 10px;
    text-transform: capitalize;
}

.activity-user-status::before {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #66758a;
    animation: statusGlow 2.8s ease-in-out infinite;
}

.activity-user-status.online::before {
    background: #43e7a4;
    box-shadow: 0 0 5px rgba(67, 231, 164, 0.35);
    animation-name: onlineGlow;
}

.activity-user-status.idle::before {
    background: #f0b84b;
    animation-name: idleGlow;
}

.activity-user-status.dnd::before {
    background: #ff5277;
    animation-name: dndGlow;
}

.activity-user-status.offline::before {
    background: #66758a;
    animation-name: offlineGlow;
}

@keyframes onlineGlow {
    0%, 100% {
        background: #176b4c;
        box-shadow: 0 0 3px rgba(67, 231, 164, 0.15);
    }

    50% {
        background: #43e7a4;
        box-shadow: 0 0 12px rgba(67, 231, 164, 0.8);
    }
}

@keyframes idleGlow {
    0%, 100% {
        background: #795b21;
        box-shadow: 0 0 3px rgba(240, 184, 75, 0.15);
    }

    50% {
        background: #f0b84b;
        box-shadow: 0 0 12px rgba(240, 184, 75, 0.65);
    }
}

@keyframes dndGlow {
    0%, 100% {
        background: #842c44;
        box-shadow: 0 0 3px rgba(255, 82, 119, 0.15);
    }

    50% {
        background: #ff5277;
        box-shadow: 0 0 12px rgba(255, 82, 119, 0.65);
    }
}

@keyframes offlineGlow {
    0%, 100% {
        background: #3c485a;
        box-shadow: 0 0 2px rgba(102, 117, 138, 0.1);
    }

    50% {
        background: #8493a8;
        box-shadow: 0 0 7px rgba(102, 117, 138, 0.35);
    }
}

@keyframes statusGlow {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.activity-sharing-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--glass);
}

.activity-sharing-info {
    min-width: 0;
}

.activity-sharing-info h3 {
    color: white;
    font-size: 14px;
    margin-bottom: 5px;
}

.activity-sharing-info p {
    max-width: 600px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.7;
}

.activity-toggle {
    position: relative;
    display: inline-flex;
    width: 54px;
    height: 30px;
    min-width: 54px;
    margin: 0;
    cursor: pointer;
}

.activity-toggle input {
    width: 0;
    height: 0;
    opacity: 0;
}

.activity-toggle-slider {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(113, 134, 163, 0.4);
    border-radius: 30px;
    background: #182338;
    transition: 0.25s;
}

.activity-toggle-slider::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #a6bdd8;
    transition: 0.25s;
}

.activity-toggle input:checked + .activity-toggle-slider {
    border-color: var(--blue);
    background: rgba(8, 120, 220, 0.45);
    box-shadow: 0 0 14px rgba(56, 182, 255, 0.2);
}

.activity-toggle input:checked + .activity-toggle-slider::before {
    transform: translateX(24px);
    background: white;
    box-shadow: 0 0 10px rgba(56, 182, 255, 0.6);
}

.activity-toggle input:disabled + .activity-toggle-slider {
    opacity: 0.45;
    cursor: not-allowed;
}

.activity-toggle input:focus-visible + .activity-toggle-slider {
    outline: 2px solid var(--blue-light);
    outline-offset: 4px;
}

.activity-privacy-note {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 11px;
}

@keyframes activityPulse {
    0%, 100% {
        opacity: 0.45;
        box-shadow: 0 0 4px rgba(67, 231, 164, 0.25);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 13px rgba(67, 231, 164, 0.85);
    }
}

/* MODALS */

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2, 5, 12, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow-y: auto;
}

.modal.active,
.modal.show,
.modal[style*="display: flex"] {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px;
    border: 1px solid var(--border-hover);
    border-radius: 22px;
    background: linear-gradient(145deg, #0d192d, #080e1b);
    box-shadow: 0 0 50px rgba(0, 120, 255, 0.12);
    animation: modalEnter 0.2s ease-out;
}

@keyframes modalEnter {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    margin-bottom: 8px;
}

.modal-content > p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 22px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(15, 27, 47, 0.8);
    color: var(--text-secondary);
    font-size: 19px;
    transition: 0.2s;
}

.modal-close:hover {
    color: white;
    border-color: var(--border-hover);
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal label {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 7px;
}

.modal input,
.modal textarea,
.modal select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(3, 9, 19, 0.8);
    color: white;
    outline: none;
    font-size: 13px;
    transition: 0.2s;
}

.modal input:focus,
.modal textarea:focus,
.modal select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.08);
}

.modal textarea {
    min-height: 120px;
    resize: vertical;
}

.modal input::placeholder,
.modal textarea::placeholder {
    color: #536780;
}

.modal .submit-button,
.modal form button[type="submit"] {
    width: 100%;
    margin-top: 5px;
}

.form-group {
    width: 100%;
}

/* ANONYMOUS OPTION */

.anonymous-option,
#anonymousOptionContainer {
    margin: 5px 0;
}

.anonymous-option {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(56, 182, 255, 0.04);
    cursor: pointer;
}

.anonymous-option input[type="checkbox"] {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    accent-color: var(--blue);
    margin-top: 3px;
}

.anonymous-option span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.5;
}

.anonymous-option small {
    color: var(--text-muted);
    font-size: 11px;
}

/* PROFILE MODAL */

.profile-modal-content {
    max-width: 450px;
}

.profile-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.profile-preview img {
    display: block;
    width: 76px;
    height: 76px;
    min-width: 76px;
    min-height: 76px;
    max-width: 76px;
    max-height: 76px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid var(--blue);
    box-shadow: 0 0 25px rgba(56, 182, 255, 0.2);
    background: transparent;
}

.profile-preview span {
    color: var(--text-muted);
    font-size: 12px;
    text-align: center;
    overflow-wrap: anywhere;
}

/* TERMS PAGE */

.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 20px;
}

.terms-header {
    margin-bottom: 35px;
}

.terms-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 12px;
}

.terms-header p {
    color: var(--text-secondary);
    font-size: 13px;
}

.terms-content {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--glass);
}

.terms-content section {
    margin-bottom: 30px;
}

.terms-content section:last-child {
    margin-bottom: 0;
}

.terms-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--blue-light);
}

.terms-content h3 {
    font-size: 14px;
    margin: 15px 0 8px;
}

.terms-content p,
.terms-content li {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.9;
}

.terms-content ul {
    padding-left: 20px;
    margin-top: 10px;
}

.terms-content li {
    margin-bottom: 5px;
}

/* FOOTER */

footer,
.footer {
    padding: 35px 0;
    border-top: 1px solid var(--border);
    background: rgba(3, 7, 15, 0.65);
}

footer .container,
.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

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

footer a,
.footer a {
    color: var(--text-secondary);
    font-size: 12px;
}

footer a:hover,
.footer a:hover {
    color: var(--blue-light);
}

/* NOTIFICATIONS */

.toast,
.notification {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 3000;
    max-width: calc(100vw - 40px);
    padding: 14px 18px;
    border: 1px solid var(--border-hover);
    border-radius: 13px;
    background: rgba(10, 20, 38, 0.96);
    color: white;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    font-size: 13px;
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #050812;
}

::-webkit-scrollbar-thumb {
    background: #163557;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: #267ac1;
}

/* RESPONSIVE TABLET */

@media (max-width: 1000px) {
    .navbar .container {
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links > a {
        font-size: 12px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .roadmap-grid,
    .roadmap-section .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE NAVIGATION */

@media (max-width: 760px) {
    .navbar .container {
        min-height: 70px;
        position: relative;
    }

    .logo span,
    .logo h1 {
        font-size: 13px;
    }

    .logo img {
        width: 39px;
        height: 39px;
    }

    .logo::after {
        width: 47px;
        height: 47px;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--border);
        border-top: none;
        border-radius: 0 0 18px 18px;
        background: rgba(5, 10, 20, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
        overflow: visible;
        overscroll-behavior: auto;
        z-index: 1002;
    }

    .nav-links.open,
    .nav-links.active {
        display: flex;
    }

    .nav-links > a {
        display: block;
        padding: 13px;
        border-radius: 10px;
        font-size: 14px;
    }

    .nav-links > a:hover {
        background: rgba(56, 182, 255, 0.08);
    }

    .nav-submit {
        width: 100%;
        margin-top: 8px;
    }

    .account-controls {
        width: 100%;
        padding: 12px 8px 5px;
        border-top: 1px solid var(--border);
        margin-top: 5px;
        justify-content: flex-start;
    }

    .account-menu {
        width: 100%;
    }

    .account-button {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
    }

    .account-avatar {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        max-width: 32px;
        max-height: 32px;
    }

    .account-name {
        max-width: calc(100% - 55px);
    }

    .account-dropdown {
        top: calc(100% + 8px);
        left: 0;
        right: auto;
        width: 100%;
        min-width: 0;
    }

    .hero {
        padding: 65px 0 50px;
    }

    .hero h1 {
        font-size: clamp(30px, 9vw, 46px);
    }

    .hero p {
        font-size: 14px;
    }

    .hero-actions {
        gap: 10px;
    }

    .hero-actions a,
    .hero-actions button {
        flex: 1;
        min-width: 140px;
    }

    .stats-section .container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .stat-card {
        padding: 17px 10px;
    }

    .stat-number {
        font-size: 23px;
    }

    .stat-label {
        font-size: 10px;
    }

    .categories-section,
    .suggestions-section,
    .roadmap-section,
    .discord-section,
    .active-users-section {
        padding: 50px 0;
    }

    .suggestion-grid {
        grid-template-columns: 1fr;
    }

    .suggestion-toolbar {
        align-items: stretch;
    }

    .toolbar-left,
    .toolbar-right {
        width: 100%;
    }

    .toolbar-left input,
    .toolbar-right select,
    .search-input,
    .filter-select {
        width: 100%;
        min-width: 0;
    }

    .discord-section .container {
        padding: 30px 20px;
    }

    .modal-content {
        padding: 25px 20px;
    }

    .terms-container {
        padding: 45px 15px;
    }

    .terms-content {
        padding: 22px 18px;
    }

    .active-users-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .activity-user-card {
        padding: 13px;
        gap: 10px;
    }

    .activity-user-avatar {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .activity-sharing-panel {
        padding: 16px;
    }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
    .container {
        width: calc(100% - 28px);
    }

    .logo span,
    .logo h1 {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .hero {
        padding-top: 50px;
    }

    .hero h1 {
        letter-spacing: -0.8px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions a,
    .hero-actions button {
        width: 100%;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .category-card {
        padding: 16px;
    }

    .category-card h3 {
        font-size: 13px;
    }

    .category-card p {
        font-size: 11px;
    }

    .category-icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

    .suggestion-card {
        padding: 17px;
    }

    .suggestion-title {
        font-size: 15px;
    }

    .suggestion-description {
        font-size: 12px;
    }

    .suggestion-card-footer {
        align-items: flex-start;
    }

    .suggestion-actions {
        width: 100%;
        justify-content: space-between;
    }

    .roadmap-grid,
    .roadmap-section .container {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    footer .container,
    .footer .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        gap: 12px;
    }

    .account-name {
        max-width: 95px;
    }

    .profile-preview img {
        width: 70px;
        height: 70px;
        min-width: 70px;
        min-height: 70px;
        max-width: 70px;
        max-height: 70px;
    }

    .modal {
        padding: 12px;
    }

    .modal-content {
        max-height: calc(100vh - 24px);
        border-radius: 17px;
    }

    .active-users-grid {
        grid-template-columns: 1fr;
    }

    .activity-overview {
        align-items: flex-start;
        flex-direction: column;
    }

    .activity-sharing-panel {
        align-items: flex-start;
        gap: 14px;
    }

    .activity-sharing-info {
        flex: 1;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
