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

:root {
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ink: #0a2a55;
    --glass-top: rgba(72, 139, 219, 0.55);
    --glass-bottom: rgba(35, 91, 170, 0.65);
    --glass-edge: rgba(255, 255, 255, 0.28);
    --btn-top: #3f91ff;
    --btn-bottom: #2675ed;
    --radius-card: 24px;
    --radius-pill: 9999px;
    --color-discord: #5865f2;
    --color-discord-hover: #4752c4;
    --color-emerald: #10b981;
}

* {
    box-sizing: border-box;
}

body {
    background-image: url("assets/background.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center top;
    margin: 0;
    padding: 16px 20px;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cookie-notice { position: fixed; z-index: 1000; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 20px; width: min(540px, calc(100vw - 32px)); padding: 18px 20px; color: #172033; background: #fff; border: 1px solid #dbe3ec; border-radius: 16px; box-shadow: 0 8px 24px rgba(15, 23, 42, .16); }
.cookie-notice-copy { display: grid; gap: 4px; line-height: 1.45; }
.cookie-notice-copy strong { color: #172033; font-size: 16px; }
.cookie-notice-copy span { color: #475569; font-size: 13px; }
.cookie-notice-copy a { color: #2563a6; font-weight: 700; }
.cookie-notice-dismiss { flex: 0 0 auto; padding: 10px 16px; color: #fff; background: #287db8; border: 0; border-radius: 10px; font: 700 14px var(--font-sans); cursor: pointer; }
.cookie-notice-dismiss:hover { background: #206a9d; }
.nav-logo { filter: none; }
#nav-left a.active::after, .nav-ip-dot { box-shadow: none; }
@media (max-width: 640px) { .cookie-notice { right: 12px; bottom: 12px; gap: 12px; padding: 14px; } .cookie-notice-dismiss { padding: 9px 12px; } }



.navbar {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 16px;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo {
    height: 64px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
    transition: transform 0.25s ease;
}

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

#nav-left {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0 0 0 24px;
    padding: 0;
}

#nav-left a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 4px;
    position: relative;
    transition: color 0.2s ease, opacity 0.2s ease;
}

#nav-left a:hover {
    color: #ffffff;
    opacity: 1;
}

#nav-left a.active {
    color: #ffffff;
    font-weight: 700;
}

#nav-left a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #ffffff;
    border-radius: 99px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

#nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0 0 0 auto;
    padding: 0;
    flex-shrink: 0;
}

#ip,
.nav-ip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffffff;
    color: #0f172a;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 9999px;
    padding: 9px 18px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#ip:hover,
.nav-ip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.nav-ip-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-emerald);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--color-emerald);
}

.copy-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

#ip:hover .copy-icon,
.nav-ip:hover .copy-icon {
    opacity: 1;
}

#discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 20px;
    background-color: var(--color-discord);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#discord:hover {
    transform: translateY(-2px);
    background-color: var(--color-discord-hover);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.5);
}



.vote-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 50px 16px 80px;
    width: 100%;
    flex: 1;
}

.vote-head {
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
}

#vote {
    margin: 0 0 14px;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.vote-sub {
    margin: 0 auto;
    max-width: 620px;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
}

.vote-sub strong {
    color: #ffffff;
}



.vote-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.vote-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px 22px;
    border-radius: var(--radius-card);
    background: linear-gradient(180deg, var(--glass-top) 0%, var(--glass-bottom) 100%);
    border: 1px solid var(--glass-edge);
    box-shadow:
        0 12px 30px rgba(10, 42, 85, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vote-box:hover {
    transform: translateY(-5px);
    box-shadow:
        0 18px 40px rgba(10, 42, 85, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.site-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.site-name {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.site-note {
    margin: 0 0 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    min-height: 36px;
}

.key {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.vote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-pill);
    background: linear-gradient(180deg, var(--btn-top) 0%, var(--btn-bottom) 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(20, 100, 255, 0.35);
    transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    margin-top: auto;
}

.vote:hover {
    filter: brightness(1.1);
    box-shadow: 0 10px 22px rgba(20, 100, 255, 0.5);
    transform: translateY(-2px);
}

.vote:active {
    transform: translateY(1px);
}



@media (max-width: 900px) {
    .navbar {
        flex-wrap: wrap;
        row-gap: 12px;
    }

    #nav-left {
        margin-left: 14px;
        gap: 16px;
    }

    #nav-left a {
        font-size: 16px;
    }

    #nav-right {
        margin-left: auto;
    }

    .vote-page {
        padding: 36px 14px 60px;
    }
}

@media (max-width: 640px) {
    body {
        padding: 12px;
    }

    .nav-logo {
        height: 52px;
    }

    #nav-left {
        order: 3;
        width: 100%;
        margin-left: 0;
        justify-content: center;
        gap: 14px;
        padding-top: 6px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    #nav-left a {
        font-size: 15px;
    }

    #ip,
    .nav-ip {
        padding: 8px 14px;
        font-size: 13px;
    }

    #discord {
        height: 38px;
        padding: 0 16px;
        font-size: 14px;
    }

    .vote-list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }

    .vote-box {
        padding: 22px 14px 18px;
    }

    .site-logo {
        width: 50px;
        height: 50px;
    }

    .site-logo img {
        width: 30px;
        height: 30px;
    }

    .site-name {
        font-size: 17px;
    }

    .site-note {
        font-size: 12px;
        min-height: auto;
    }
}



footer {
    padding: 30px 10px 16px;
    text-align: center;
    margin-top: auto;
}

footer p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}


.nav-logo, .vote-head h1 { filter: none !important; text-shadow: none !important; }
#nav-left a.active::after, .nav-ip-dot { box-shadow: none !important; }
* { text-shadow: none !important; filter: none !important; box-shadow: none !important; }

.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 12px; }
.footer-links a { color: rgba(255,255,255,.88); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: #fff; }
