/* WhatIsNotMyIP - Retro Style */

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

body {
    background: #1a1a1a;
    font-family: 'Verdana', 'Arial', sans-serif;
    color: #000;
    padding: 20px;
    position: relative;
}

/* Animated background pattern */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            45deg,
            #2a2a2a,
            #2a2a2a 10px,
            #1a1a1a 10px,
            #1a1a1a 20px
        );
    z-index: 0;
    opacity: 0.5;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: #f5f5f5;
    border: 8px ridge #666;
    box-shadow: 0 0 30px rgba(0,255,0,0.3), 0 0 60px rgba(0,255,0,0.2);
    position: relative;
    z-index: 1;
}

/* Header Styles */
.header {
    background: linear-gradient(180deg, #006600 0%, #009900 50%, #006600 100%);
    border-bottom: 6px solid #000;
    position: relative;
}

.header-border-top {
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        #ffff00,
        #ffff00 20px,
        #000 20px,
        #000 40px
    );
}

marquee {
    background: #000;
    color: #00ff00;
    font-weight: bold;
    padding: 10px;
    font-size: 1.1em;
    border-bottom: 3px solid #00ff00;
    font-family: 'Courier New', monospace;
}

.logo-container {
    padding: 20px;
    text-align: center;
    background: #fff;
    border-bottom: 4px solid #000;
}

.logo {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.3));
}

.tagline {
    background: #ffff00;
    color: #000;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    font-size: 1.2em;
    border-bottom: 4px solid #000;
    text-transform: uppercase;
}

.blink {
    color: #ff0000;
    font-size: 1.4em;
    animation: blink-animation 0.8s step-start infinite;
}

@keyframes blink-animation {
    50% { opacity: 0; }
}

/* Result Box */
.result-box {
    background: linear-gradient(135deg, #003300 0%, #006600 100%);
    border: 6px solid #00ff00;
    margin: 30px;
    padding: 0;
    box-shadow:
        0 0 20px rgba(0,255,0,0.5),
        inset 0 0 20px rgba(0,0,0,0.3);
}

.result-header {
    background: #000;
    color: #00ff00;
    padding: 15px;
    text-align: center;
    border-bottom: 4px solid #00ff00;
}

.result-header h2 {
    font-size: 1.8em;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #00ff00;
    letter-spacing: 3px;
}

.ip-display {
    background: #000;
    color: #00ff00;
    font-size: 4em;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-align: center;
    padding: 30px;
    text-shadow:
        0 0 10px #00ff00,
        0 0 20px #00ff00,
        0 0 30px #00ff00;
    animation: glow-pulse 2s ease-in-out infinite;
    letter-spacing: 5px;
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow:
            0 0 10px #00ff00,
            0 0 20px #00ff00,
            0 0 30px #00ff00;
    }
    50% {
        text-shadow:
            0 0 20px #00ff00,
            0 0 30px #00ff00,
            0 0 40px #00ff00,
            0 0 50px #00ff00;
    }
}

.certainty {
    background: #ffff00;
    color: #000;
    text-align: center;
    padding: 15px;
    font-size: 1.3em;
    font-weight: bold;
    border-top: 4px solid #00ff00;
}

.percentage {
    color: #ff0000;
    font-size: 1.5em;
}

/* Info Section */
.info-section {
    padding: 20px 30px;
}

.info-box {
    background: #fff;
    border: 4px solid #000;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
}

.info-box h3 {
    background: #006600;
    color: #ffff00;
    padding: 12px;
    margin: -20px -20px 15px -20px;
    font-size: 1.4em;
    text-align: center;
    border-bottom: 4px solid #000;
    text-transform: uppercase;
}

.icon {
    font-size: 1.2em;
}

.info-box p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.stupid {
    color: #ff0000;
    font-size: 1.2em;
    background: #ffff00;
    padding: 2px 6px;
    border: 2px solid #000;
}

.highlight {
    background: #ffff00;
    padding: 2px 6px;
    font-weight: bold;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    border: 5px solid #000;
    margin: 0 30px 20px 30px;
    padding: 20px;
}

.features-section h3 {
    color: #ffff00;
    text-align: center;
    font-size: 1.6em;
    margin-bottom: 15px;
    text-shadow: 3px 3px #000;
    text-decoration: underline;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    background: rgba(255,255,255,0.9);
    color: #000;
    padding: 12px 15px;
    margin: 8px 0;
    font-weight: bold;
    font-size: 1.1em;
    border: 3px solid #000;
    box-shadow: 3px 3px 0px #000;
}

/* Stats Box */
.stats-box {
    background: #000;
    border: 5px ridge #00ff00;
    margin: 0 30px 30px 30px;
    padding: 20px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Courier New', monospace;
}

.stats-table tr {
    border-bottom: 2px solid #00ff00;
}

.stats-table tr:last-child {
    border-bottom: none;
}

.stats-table td {
    padding: 12px;
    color: #00ff00;
    font-size: 1.2em;
}

.stats-table td:first-child {
    text-align: left;
    font-weight: normal;
}

.stat-value {
    text-align: right;
    font-weight: bold;
    font-size: 1.4em;
    color: #ffff00;
    text-shadow: 0 0 10px #ffff00;
}

/* Footer */
.footer {
    background: #333;
    color: #ccc;
    padding: 20px;
    text-align: center;
    border-top: 6px solid #000;
}

.footer p {
    margin: 8px 0;
    font-size: 0.95em;
}

.badges {
    margin-top: 15px;
}

.badges img {
    border: 2px solid #666;
    margin: 5px;
    background: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        border-width: 4px;
    }

    .ip-display {
        font-size: 2.5em;
        padding: 20px;
        letter-spacing: 2px;
    }

    .result-box {
        margin: 15px;
    }

    .info-section {
        padding: 15px;
    }

    .features-section,
    .stats-box {
        margin: 0 15px 15px 15px;
    }

    .features-list li {
        font-size: 1em;
        padding: 10px;
    }

    .stats-table td {
        font-size: 1em;
        padding: 8px;
    }

    .stat-value {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .ip-display {
        font-size: 1.8em;
        padding: 15px;
    }

    .result-header h2 {
        font-size: 1.3em;
    }

    .tagline {
        font-size: 1em;
    }

    marquee {
        font-size: 0.9em;
    }

    .info-box h3 {
        font-size: 1.2em;
    }

    .info-box p {
        font-size: 1em;
    }
}
