:root {
    --bg: #000000;
    --fg: #ffffff;
    --border: #333333;
    /* Alterado para asset local */
    --logo-url: url('assets/logo.png');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--fg);
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
    overflow-x: hidden;
}

/* BACKGROUND DOTS */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle, #222 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
    z-index: -2;
    pointer-events: none;
}

/* VIGNETTE */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, transparent 20%, #000 110%);
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 480px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
}

/* --- LOGO SECTION --- */
.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-wrapper {
    position: relative;
    width: 170px;
    height: 170px;
    cursor: pointer;
    user-select: none;
    isolation: isolate;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.25));
    transition: transform 0.1s;
}

.logo-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
    background: 
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%),
        radial-gradient(circle, #000 1.5px, transparent 1.5px);
    background-size: 100% 200%, 6px 6px;
    background-repeat: no-repeat, repeat;
    background-position: 0% -100%, 0 0;
    -webkit-mask-image: var(--logo-url);
    mask-image: var(--logo-url);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    mix-blend-mode: overlay; 
}

.logo-wrapper:hover .logo-overlay {
    opacity: 1;
    animation: scan 1.2s linear infinite;
}

.logo-wrapper:active .logo-img {
    transform: scale(0.95);
}

@keyframes scan {
    0% { background-position: 0% -100%, 0 0; }
    100% { background-position: 0% 200%, 0 0; }
}

/* TYPOGRAPHY */
.brand h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -3px;
    line-height: 1;
    margin: 0;
}

.brand p {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* BUTTONS */
.actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.btn {
    position: relative;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.2s;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.btn:hover::before { opacity: 0.15; }
.btn span { position: relative; z-index: 1; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: #fff; color: #000; border-color: #fff; }
.btn-primary:hover { background: #dcdcdc; }

.btn-secondary { background: #000; color: #fff; border-color: #333; }
.btn-secondary:hover { border-color: #fff; background: #111; }

.btn-primary.success { background: #000; color: #fff; border-color: #fff; }

/* FOOTER */
.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.divider { height: 1px; background: #222; width: 100%; }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #050505;
    border: 1px solid #222;
    text-decoration: none;
    color: #888;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

.status-pill:hover { border-color: #666; color: #fff; background: #111; }

.discord-inline { display: inline-block; opacity: 0.5; transition: 0.2s; }
.discord-inline:hover { opacity: 1; transform: scale(1.1); }

/* SECRET NOTIFICATION */
.secret-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #000;
    border: 1px solid #fff;
    color: #fff;
    padding: 15px 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    pointer-events: none;
}

.secret-toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.code-pill {
    background: #222;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Inter', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    color: #fff;
    border: 1px solid #444;
}