html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: scroll;
}

.section-ip-content {
    flex: 1 0 auto;
    padding-top: 20px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.section-ip-content .container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.section-ip-content .container.centered-mode {
    justify-content: center;
    padding-bottom: 60px;
}

.footer {
    flex-shrink: 0;
    margin-top: 0 !important;
    width: 100%;
}

.ipcheck-header {
    flex-shrink: 0;
    min-height: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-bottom: 20px;
    padding-top: 20px;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .ipcheck-header {
        padding-top: 60px;
    }

    .section-ip-content .container.centered-mode {
        justify-content: flex-start;
        padding-top: 40px;
    }
}

.ip-status-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.status-protected {
    border-color: rgba(46, 213, 115, 0.4);
    background: radial-gradient(circle at top, rgba(46, 213, 115, 0.15) 0%, var(--bg-card) 70%);
}

.status-unprotected {
    border-color: rgba(255, 71, 87, 0.4);
    background: radial-gradient(circle at top, rgba(255, 71, 87, 0.15) 0%, var(--bg-card) 70%);
}

.status-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.status-protected .status-icon {
    color: #2ed573;
    filter: drop-shadow(0 0 20px rgba(46, 213, 115, 0.5));
}

.status-unprotected .status-icon {
    color: #ff4757;
    filter: drop-shadow(0 0 20px rgba(255, 71, 87, 0.5));
}

.status-text h2 {
    margin: 0 0 5px 0;
    font-size: 2rem;
    color: #fff;
    letter-spacing: -0.5px;
}

.status-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.ip-details-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.detail-item {
    flex: 1;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(91, 77, 255, 0.4);
    transform: translateY(-5px);
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 700;
}

.detail-value-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.flag-img {
    width: 24px;
    height: auto;
    border-radius: 3px;
    display: block;
}

.flag-logo {
    width: 24px;
    border-radius: 0;
}

.blur-sensitive {
    cursor: pointer;
    transition: filter 0.4s ease, opacity 0.4s ease;
    will-change: filter;
}

.blur-sensitive.is-blurred {
    filter: blur(12px);
    opacity: 0.5;
    user-select: none;
}

.blur-sensitive:hover {
    filter: blur(6px);
    opacity: 0.8;
}

.blur-sensitive:not(.is-blurred) {
    filter: blur(0);
    opacity: 1;
}

.promo-block {
    text-align: center;
    background: linear-gradient(180deg, rgba(91, 77, 255, 0.1) 0%, transparent 100%);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: 30px;
    margin-top: 40px;
    animation: fadeIn 1s ease;
}

.promo-block h3 {
    margin-bottom: 10px;
    color: #fff;
}

.promo-block p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .ip-details-row {
        flex-direction: column;
        gap: 10px;
    }

    .detail-item {
        width: 100%;
    }
}