body {
    background-color: #fff;
    color: #222;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 50px;
    margin: 0;
}

.top-flag {
    width: 64px;
    height: 48px;
    margin: 0 auto 30px;
    display: block;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }
    15% {
        transform: rotate(15deg);
    }
    30% {
        transform: rotate(-10deg);
    }
    45% {
        transform: rotate(15deg);
    }
    60% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(15deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.ip-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
    font-size: 1.2em;
    max-width: 400px;
    color: #222;
}

.line {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.flag {
    width: 32px;
    height: 24px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.isp-icon {
    font-size: 1.5em;
    color: #ffa500;
    margin-right: 6px;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1em;
    background: #ffa500;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    background: #ff7f00;
}

footer {
    margin-top: 50px;
    font-size: 0.9em;
    color: #555;
}

a.social {
    color: #0088cc;
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
}

a.social:hover {
    text-decoration: underline;
}

#lang-switch {
    margin-bottom: 30px;
    cursor: pointer;
    font-weight: bold;
    color: #007bff;
}

.icon-orange {
    color: #ffa500;
    margin-right: 8px;
}