* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: #2a2a2a;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.3);
    text-align: center;
    max-width: 700px;
    width: 100%;
    border: 1px solid rgba(0, 150, 255, 0.2);
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

h1 {
    color: #00ccff;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 600;
    letter-spacing: 1px;
}

.ip-display {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.ip-box {
    background-color: #3a3a3a;
    border: 2px solid #00ccff;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.ip-box:hover {
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
    transform: translateY(-5px);
}

.ip-label {
	font-size: 0.9em;
	color: #FFF;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: bold;
}

.ip-value {
    font-size: 1.6em;
    font-weight: bold;
    word-break: break-all;
    color: #00ff00;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ipv4-box .ip-value {
    color: #00cc00;
}

.ipv6-box .ip-value {
    color: #00aaff;
}

button {
    background: linear-gradient(135deg, #0099ff 0%, #0077cc 100%);
    color: #fff;
    border: none;
    padding: 14px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 150, 255, 0.3);
}

button:hover {
    background: linear-gradient(135deg, #0088ff 0%, #0066bb 100%);
    box-shadow: 0 6px 20px rgba(0, 150, 255, 0.5);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.details {
    text-align: left;
    border-top: 1px solid #444;
    padding-top: 20px;
    background-color: #323232;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.details p {
    font-size: 1.05em;
    margin: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details strong {
    color: #00ccff;
    font-weight: 600;
}

.details span {
    color: #e0e0e0;
    text-align: right;
    flex: 1;
    margin-left: 15px;
}

@media (max-width: 768px) {
    .container {
        padding: 25px;
    }

    h1 {
        font-size: 1.8em;
    }

    .ip-display {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ip-box {
        padding: 20px;
    }

    .ip-value {
        font-size: 1.3em;
        min-height: 50px;
    }

    button {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }

    .details p {
        flex-direction: column;
        align-items: flex-start;
    }

    .details span {
        text-align: left;
        margin-left: 0;
        margin-top: 5px;
    }

    .logo {
        max-width: 200px;
    }
}
