:root {
    --bg-primary: #002f5a;
    --bg-secondary: #003d73;
    --bg-card: rgba(0, 63, 115, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a0c4e8;
    --accent: #00d4ff;
    --border: rgba(0, 212, 255, 0.3);
    --shadow: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
    --bg-primary: #f0f4f8;
    --bg-secondary: #e1e8ed;
    --bg-card: rgba(255, 255, 255, 0.8);
    --text-primary: #1a2332;
    --text-secondary: #4a5568;
    --accent: #0066cc;
    --border: rgba(0, 102, 204, 0.3);
    --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-toggle:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

.logo-container {
    text-align: center;
    margin: 40px 0 30px 0;
    animation: fadeIn 1s ease-in;
}

.logo-container img {
    max-width: 600px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 4px 12px var(--shadow));
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.02);
}

.info-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    margin: 20px 0;
    animation: slideUp 0.8s ease-out;
}

.info-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow);
}

.info-card h3 {
    color: var(--accent);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.info-card .value {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 500;
    word-break: break-word;
}

.info-card .sub-value {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.ip-display {
    font-family: 'Courier New', monospace;
    font-size: 24px;
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
    letter-spacing: 2px;
    min-height: 36px;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 24px;
    background-color: var(--accent);
    margin-left: 2px;
    animation: blink 0.7s infinite;
}

.loading {
    color: var(--text-secondary);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width: 768px) {
    .info-dashboard {
        grid-template-columns: 1fr;
    }

    .logo-container img {
        width: 90%;
    }

    .theme-toggle {
        top: 10px;
        right: 10px;
        font-size: 12px;
        padding: 6px 12px;
    }
}
