@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary: #00ff88;
    --secondary: #00b4db;
    --accent: #7303c0;
    --dark: #1a1a2e;
    --light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.25);
    --neon-glow: 0 0 7px rgba(0, 255, 136, 0.6),
                 0 0 10px rgba(0, 255, 136, 0.4),
                 0 0 21px rgba(0, 255, 136, 0.2),
                 0 0 42px rgba(0, 180, 219, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: var(--dark);
    color: var(--light);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Cyberpunk Container */
.container {
    max-width: 800px;
    width: 90%;
    padding: 2.5rem;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 20px;
    box-shadow: var(--neon-glow);
    position: relative;
    z-index: 1;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Glitch Effect für Überschrift */
h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-shadow: var(--neon-glow);
    position: relative;
    animation: glitch 5s infinite;
}

.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Futuristischer Quote Box */
.quote-box {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.quote-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(0, 255, 136, 0.1) 45%,
        rgba(0, 255, 136, 0.2) 50%,
        rgba(0, 255, 136, 0.1) 55%,
        transparent 100%
    );
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

.quote {
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--light);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
    position: relative;
    z-index: 1;
}

/* Neon Category Badge */
.category {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--dark);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--neon-glow);
    position: relative;
    overflow: hidden;
}

/* Holographic Date Display */
.date {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 1rem 0;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
    position: relative;
}

/* Animated Background */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(transparent 0%, rgba(0, 255, 136, 0.2) 2%, transparent 3%) 0 0 / 100% 50px,
        linear-gradient(90deg, transparent 0%, rgba(0, 255, 136, 0.2) 2%, transparent 3%) 0 0 / 50px 100%;
    animation: grid-move 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

/* Animations */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    20% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

@keyframes grid-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* Hover Effects */
.quote-box:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.category:hover {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 1.5rem;
        margin: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    h1 {
        font-size: 2rem;
    }

    .quote {
        font-size: 1.4rem;
    }
}

/* High Contrast & Accessibility */
@media (prefers-contrast: high) {
    :root {
        --primary: #00ff00;
        --neon-glow: none;
    }
    
    .quote-box {
        background: rgba(0, 0, 0, 0.9);
        border: 2px solid var(--primary);
    }
}

/* IP Particle Highlight */
.ip-particle {
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    font-family: 'Consolas', monospace;
}

/* Tooltip Animation */
@keyframes tooltipGlow {
    0% { box-shadow: 0 0 5px rgba(0, 255, 136, 0.5); }
    50% { box-shadow: 0 0 15px rgba(0, 255, 136, 0.8); }
    100% { box-shadow: 0 0 5px rgba(0, 255, 136, 0.5); }
}

#ip-tooltip {
    animation: tooltipGlow 2s infinite;
}

/* Share Button Styles */
.share-container,
.share-btn,
.share-popup,
.share-option,
.copy-feedback {
    display: none;
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 1.5rem;
        margin: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .quote {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .quote-box {
        padding: 1.2rem;
        margin: 1rem 0;
    }

    .category {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .date {
        font-size: 1rem;
    }

    /* Reduziere Partikel-Effekte auf Mobile */
    #particles-js {
        opacity: 0.5;
    }

    /* Deaktiviere einige Animationen für bessere Performance */
    .glow-effect,
    .quote-decoration,
    .cyber-grid {
        display: none;
    }

    /* Verbessere Touch-Interaktion */
    .share-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .share-popup {
        width: 180px;
    }

    .share-option {
        padding: 12px;
    }

    /* Verbessere Lesbarkeit des Tooltips */
    #ip-tooltip {
        padding: 10px 15px;
        font-size: 16px;
    }
}

/* Spezielle Anpassungen für sehr kleine Bildschirme */
@media (max-width: 380px) {
    h1 {
        font-size: 1.5rem;
    }

    .quote {
        font-size: 1.1rem;
    }

    .container {
        padding: 0.8rem;
    }
} 