/* style.css - Ultra Modern Dark Theme (Neon Blue / Grey / Black) */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: #000000;
    color: #e0e0e0;
    padding: 20px;
}

/* Neon Titles */
h1 {
    font-size: 38px;
    text-align: center;
    margin-bottom: 30px;
    color: #00d0ff;
    text-shadow: 0 0 5px #00d0ff, 0 0 10px #00aaff, 0 0 20px #0088cc;
}

/* Links */
a {
    color: #00aaff;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #66ccff;
    text-shadow: 0 0 5px #66ccff;
}

/* Forms */
form {
    background: linear-gradient(145deg, #111, #1a1a1a);
    padding: 25px;
    border-radius: 12px;
    max-width: 650px;
    margin: 0 auto 30px auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 170, 255, 0.3) inset;
    border: 1px solid #00aaff;
}

/* Labels */
label {
    display: block;
    margin-bottom: 12px;
    font-weight: bold;
    color: #ccc;
    text-shadow: 0 0 2px #00aaff;
}

/* Inputs */
input[type="text"] {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #222;
    color: #fff;
    margin-bottom: 20px;
    transition: 0.3s;
    box-shadow: 0 0 3px #00aaff inset;
}

input[type="text"]:focus {
    border-color: #00d0ff;
    background-color: #333;
    outline: none;
    box-shadow: 0 0 8px #00d0ff inset, 0 0 5px #00aaff;
}

/* Submit Button */
input[type="submit"] {
    background: linear-gradient(45deg, #00aaff, #0088cc);
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 0 8px #00aaff, 0 4px 8px rgba(0, 0, 0, 0.6);
}

input[type="submit"]:hover {
    background: linear-gradient(45deg, #00d0ff, #00aaff);
    transform: translateY(-2px);
    box-shadow: 0 0 12px #00d0ff, 0 6px 12px rgba(0, 0, 0, 0.7);
}

/* Result Box */
.result {
    margin-top: 25px;
    padding: 25px;
    background: linear-gradient(135deg, #111, #1c1c1c);
    border-radius: 12px;
    overflow: auto;
    box-shadow: inset 0 0 10px rgba(0, 170, 255, 0.3), 0 4px 12px rgba(0,0,0,0.5);
    border: 1px solid #00aaff;
}

.result pre {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #e0e0e0;
    text-shadow: 0 0 2px #00aaff;
}

/* Location Box */
.location-box {
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #111, #1c1c1c);
    border: 1px solid #00aaff;
    box-shadow: 0 0 15px #00d0ff, 0 0 25px rgba(0, 170, 255, 0.3) inset;
    text-align: center;
    color: #e0e0e0;
    margin-top: 20px;
}

.location-box h2 {
    font-size: 22px;
    color: #00d0ff;
    text-shadow: 0 0 5px #00d0ff, 0 0 10px #00aaff, 0 0 20px #0088cc;
    margin-bottom: 15px;
}

.location-box p {
    font-size: 16px;
    margin: 5px 0;
}

/* Neon Glow Land Vlag */
.flag {
    width: 48px;
    height: auto;
    vertical-align: middle;
    margin-left: 10px;
    border-radius: 6px;
    box-shadow: 0 0 8px #00aaff, 0 0 12px rgba(0, 170, 255, 0.3);
    transition: transform 0.2s, box-shadow 0.3s;
}

.flag:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px #00d0ff, 0 0 18px rgba(0, 210, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 26px;
    }

    input[type="text"] {
        font-size: 14px;
        padding: 12px;
    }

    input[type="submit"] {
        font-size: 14px;
        padding: 12px 20px;
    }

    .result pre {
        font-size: 11px;
    }

    .flag {
        width: 36px;
        margin-left: 6px;
    }

    .location-box h2 {
        font-size: 18px;
    }
}
