@charset "UTF-8";

/***************************************************************
* Template Name: IP-Checker Dark Theme v4.1.0
* Updated: 15.01.2026 
* Author: Panter
* Copyright: https://hosting-panter.eu
****************************************************************/
:root {
    --bg-color: #0a1425;
    --bg-secondary: #0f1a2f;
    --bg-card: #13203d;
    --text-color: #f1f5f9;
    --text-secondary: #cbd5e1;
    --primary-color: #4f46e5;
    --primary-hover: #6366f1;
    --accent-color: #00d4aa;
    --border-color: #334155;
    --red-color: #ff0000;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    --glow: 0 0 30px rgba(79, 70, 229, 0.2);
}

body {
    background: linear-gradient(135deg, var(--bg-color) 0%, #0c1f3a 100%);
    color: var(--text-color);
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 20px;
}

.container {
    background: var(--bg-card);
    width: 95%;
    max-width: 650px;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    box-shadow: var(--shadow);
}

h1 {
    text-align: center;
    font-weight: 800;
    font-size: 2.2rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent-color) 50%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

/* IP Karten Design */
.result-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.copyable { cursor: pointer; }

.copyable:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--glow);
    background: rgba(99, 102, 241, 0.05);
}

.copyable:active { transform: scale(0.98); }

.type-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--bg-color);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    pointer-events: none;
}

.label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}

.value {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 700;
    word-break: break-all;
}

.meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 15px;
    padding-top: 15px;
    line-height: 1.6;
}

.copy-feedback {
    position: absolute;
    bottom: 20px;
    right: 25px;
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Footer Styling */

.main-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85em;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #00d4aa;
}

.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9em;
    width: 100%;
}

/* Optimierung für Handys */
@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.content-section {
    margin-top: 40px;
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.6;
}
.content-section h2 { color: var(--primary-color); margin-top: 0; }
.api-box {
    background: #0a0e14;
    padding: 15px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9em;
    margin: 10px 0;
    border-left: 4px solid var(--primary-color);
    overflow-x: auto;
}
code { color: #00d4aa; }
.language-switch { text-align: right; margin-bottom: 15px; font-family: sans-serif; }
.language-switch a { color: #fff; text-decoration: none; font-size: 0.9em; opacity: 0.5; transition: opacity 0.3s; }
.language-switch a:hover { opacity: 1; color: #00d4aa; }
.language-switch strong { color: #00d4aa; font-size: 0.9em; }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); border-radius: 6px; }
::-webkit-scrollbar-thumb { background: rgba(79, 70, 229, 0.3); border-radius: 6px; border: 2px solid var(--bg-secondary); }
::-webkit-scrollbar-thumb:hover { background: rgba(79, 70, 229, 0.5); }
html { scrollbar-width: thin; scrollbar-color: rgba(79, 70, 229, 0.3) var(--bg-secondary); }