/* --- Import Font from Your Screenshot --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
/* --- The exact background from your screenshot --- */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1a1a2e; /* Dark Navy/Purple Background */
    background-image:
        radial-gradient(circle at 15% 15%, rgba(224, 64, 251, 0.1) 1px, transparent 0),
        radial-gradient(circle at 85% 85%, rgba(0, 168, 255, 0.1) 1px, transparent 0);
    background-size: 40px 40px; /* Subtle dot pattern */
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* --- Header Section --- */
header {
    width: 100%;
    text-align: center; /* FIX: This centers the h1 and p inside the header */
}
h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #00a8ff; /* Bright Blue */
    text-shadow: 0 0 8px rgba(0, 168, 255, 0.5);
}
header p {
    margin-top: 0;
    margin-bottom: 25px;
    color: #a0a0b0; /* Muted subtitle color */
}
/* --- Navigation Bar --- */
nav {
    position: sticky;
    top: 0;
    background: #1f283e;
    padding: 15px;
    text-align: center;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #2a344d;
    margin-bottom: 20px;
}
nav a {
    color: #e0e0e0;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #e040fb; /* Magenta on hover */
}
/* --- Card Style with Gradient Border --- */
.card {
    background: #1f283e;
    border: 2px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to right, #00a8ff, #e040fb); /* The key gradient border */
    border-radius: 12px;
    padding: 30px;
    margin: 15px 0;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
/* --- Input Field Style --- */
input {
    padding: 15px;
    margin: 10px 0;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px;
    border: 2px solid #4a546d;
    background: #2a344d;
    color: #e0e0e0;
    font-size: 1em;
    text-align: center;
}
input:focus {
    outline: none;
    border-color: #00a8ff;
    box-shadow: 0 0 10px #00a8ff; /* Glow effect */
}
/* --- GENERAL BUTTON STYLES --- */
button {
    padding: 15px;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button:hover {
    transform: translateY(-2px);
}
/* --- Style for "SCAN IT!" and "CONNECT" --- */
.neon-btn, #connectBtn {
    background: #00a8ff;
    color: #fff;
    border: none;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.3);
}
.neon-btn:hover, #connectBtn:hover {
    box-shadow: 0 0 25px rgba(0, 168, 255, 0.6);
}
/* --- Style for "GO LIGHT, FOOL!" --- */
#themeToggleBtn {
    background: #e040fb; /* Bright Magenta */
    color: #fff;
    border: none;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(224, 64, 251, 0.3);
}
#themeToggleBtn:hover {
    box-shadow: 0 0 25px rgba(224, 64, 251, 0.6);
}
/* --- Style for Secondary Buttons --- */
#downloadCardBtn, #shareTwitterBtn, #disconnectBtn {
    background: transparent;
    color: #a0a0b0;
    border: 2px solid #4a546d;
}
#downloadCardBtn:hover, #shareTwitterBtn:hover, #disconnectBtn:hover {
    background: #2a344d;
    color: #e0e0e0;
    border-color: #6a748d;
}
/* --- Token Report Styling --- */
.report-container h2 {
    font-size: 1.3em;
    text-align: center;
    text-transform: uppercase;
    color: #e040fb; /* Magenta title */
    margin-bottom: 25px;
    font-weight: bold;
}
.report-container ul {
    list-style: none;
    padding: 0;
}
.report-container li {
    margin: 15px 0;
    font-size: 1em;
}
/* This part is for your JS to render correctly: Key: Value */
.report-container .value {
    color: #00a8ff; /* Blue value */
    font-weight: bold;
    float: right; /* Aligns the value to the right */
}
.report-container a.value {
    text-decoration: underline;
}
/* --- Loading Spinner --- */
#loading {
    display: none;
    text-align: center;
    padding: 40px;
    color: #e040fb;
}
footer {
    width: 100%;
    margin-top: 40px;
    color: #6a748d;
    text-align: center; /* FIX: This centers the text inside the footer */
}
