/* --- Modern "Louck Ggood" Style --- */
:root {
    --bg-color-1: #0f0c29;
    --bg-color-2: #302b63;
    --bg-color-3: #24243e;
    --card-bg: rgba(255, 255, 255, 0.07);
    --card-border: rgba(255, 255, 255, 0.18);
    --text-color: #e0e0e0;
    --label-color: #b0b0b0;
    --primary-color: #00d4ff;
    --primary-glow: rgba(0, 212, 255, 0.5);
    --success-color: #4caf50;
    --danger-color: #f44336;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to right, var(--bg-color-1), var(--bg-color-2), var(--bg-color-3));
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 1s ease-out;
}

header h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary-color), #f0f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px var(--primary-glow);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--label-color);
    font-weight: 300;
    letter-spacing: 1px;
}

main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* --- Glassmorphism Card --- */
.card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease-out;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px 0 rgba(0, 212, 255, 0.4);
}

.card.highlight {
    border-left: 5px solid var(--primary-color);
}

.card h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- Data Items & Grid --- */
.data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-item:last-child {
    border-bottom: none;
}

.data-item .label {
    color: var(--label-color);
    font-weight: 400;
}

.data-item .value {
    color: var(--text-color);
    font-weight: 700;
    text-align: right;
    word-break: break-all;
    max-width: 60%;
}

.data-item .ua {
    font-family: monospace;
    font-size: 0.8rem;
    font-weight: 400;
    background: rgba(0,0,0,0.2);
    padding: 5px;
    border-radius: 5px;
}

.data-item.large {
    justify-content: center;
    text-align: center;
}

.data-item.large .value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-glow);
    max-width: 100%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.grid .data-item {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 10px;
}

.grid .data-item .value {
    text-align: left;
    max-width: 100%;
    margin-top: 5px;
    font-size: 0.9rem;
}

/* --- Status Colors --- */
.success { color: var(--success-color) !important; }
.danger { color: var(--danger-color) !important; }

/* --- Loading Animation --- */
.loading {
    display: inline-block;
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    animation: loading 1.5s infinite ease-in-out;
}
@keyframes loading {
    0% { left: -20px; }
    80% { left: 100%; }
    100% { left: 100%; }
}

/* --- Info Text --- */
.info-text {
    font-size: 0.9rem;
    color: var(--label-color);
    margin-bottom: 15px;
    font-style: italic;
    opacity: 0.8;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    body { padding: 15px; }
    header h1 { font-size: 2.8rem; }
    .data-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .data-item .value {
        text-align: left;
        max-width: 100%;
        margin-top: 5px;
    }
    .data-item.large .value { font-size: 2rem; }
}