/* ===== What is My IP — IP Hero Card Styles ===== */

.ip-hero-card {
    background: linear-gradient(135deg, #d50c2d 0%, #8a0820 100%);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(213, 12, 45, 0.3);
    position: relative;
    overflow: hidden;
}
.ip-hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.ip-hero-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
    margin-bottom: 12px;
}
.ip-hero-address {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}
.ip-hero-address .btn-copy {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
}
.ip-hero-address .btn-copy:hover {
    color: white;
}
.ip-hero-location {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 500;
    min-height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Skeleton Loader ===== */

@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

.skeleton-line {
    display: inline-block;
    border-radius: 6px;
    background: linear-gradient(90deg,
        rgba(255,255,255,0.12) 25%,
        rgba(255,255,255,0.28) 50%,
        rgba(255,255,255,0.12) 75%
    );
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
}

/* Location skeleton inside hero card */
.skeleton-location {
    width: 220px;
    height: 16px;
    margin: 2px auto 0;
}

/* Table skeleton rows */
.skeleton-table-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0;
}
.skeleton-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}
.skeleton-row:last-child {
    border-bottom: none;
}
.skeleton-label {
    width: 110px;
    height: 14px;
    background: linear-gradient(90deg, #e8e8e8 25%, #f4f4f4 50%, #e8e8e8 75%);
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
    flex-shrink: 0;
}
.skeleton-value {
    flex: 1;
    height: 14px;
    max-width: 280px;
    background: linear-gradient(90deg, #e8e8e8 25%, #f4f4f4 50%, #e8e8e8 75%);
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
    animation-delay: 0.1s;
}

/* Hero loading text (spinner icon + text during fetch) */
.hero-loading-text {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.spin {
    display: inline-block;
    animation: spin 1s linear infinite;
}
