﻿:root {
    --holored: #ff0055;
    --glass-bg: rgba(255, 0, 85, 0.1);
    --text-glow: 0 0 15px rgba(255, 0, 85, 0.4);
}

.card-title {
    color: var(--holored);
    text-shadow: var(--text-glow);
    font-size: 2.5em;
    text-align: center;
    margin: 0 0 30px 0;
}

.btn-text {
    display: inline-block;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

body {
    background: #ffffff;
    min-height: 100vh;
    margin: 0;
    font-family: 'Alata', sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.watermark-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    font-size: 14vw;
    font-weight: 900;
    color: rgba(255, 0, 85, 0.03);
    z-index: 0;
    animation: watermark-float 30s infinite;
    white-space: nowrap;
    max-width: 95vw;
    letter-spacing: -0.05em;
    overflow: visible;
}

@keyframes watermark-float {
    0% { transform: translate(-50%, -50%) rotate(-3deg); }
    50% { transform: translate(-50%, -52%) rotate(3deg); }
    100% { transform: translate(-50%, -50%) rotate(-3deg); }
}

.main-wrapper {
    flex: 1;
    position: relative;
    padding: 20px 0;
}

.main-card {
    background: rgba(255,0,85,0.08);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 0, 85, 0.3);
    border-radius: 30px;
    padding: 50px;
    width: 90%;
    max-width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 80px rgba(255, 0, 85, 0.15);
    z-index: 1;
}

.input-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
    align-items: center;
}

input {
    flex: 1;
    min-width: 500px;
    padding: 20px 30px;
    background: transparent !important;
    border: 1px solid rgba(255,0,85,0.3) !important;
    border-radius: 18px;
    color: #ff0055;
    font-size: 20px;
    transition: all 0.2s ease;
}

input:hover {
    border: 2px solid var(--holored) !important;
    box-shadow: 0 0 25px rgba(255,0,85,0.5);
}

input:focus {
    border: 3px solid #ff3366 !important;
    box-shadow: 0 0 35px rgba(255,0,85,0.7);
    outline: none;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    width: 84%;
    margin: 0 auto;
}

.full-logo {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--holored);
    text-shadow: var(--text-glow);
    letter-spacing: 1px;
}

.scan-button {
    position: relative;
    padding: 20px 50px;
    background: var(--holored);
    border: none;
    border-radius: 18px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-glow {
    position: absolute;
    width: 150%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: btn-glow 2s infinite;
}

@keyframes btn-glow {
    0% { transform: translate(-100%, -50%) rotate(45deg); }
    100% { transform: translate(100%, -50%) rotate(45deg); }
}

.scan-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.3);
}

.result-panel {
    display: none;
    border-top: 2px solid rgba(255, 0, 85, 0.2);
    padding: 40px 0 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    margin: 15px 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 0, 85, 0.1);
}

.copyable {
    cursor: pointer;
    color: #ff0055;
    position: relative;
    padding-right: 25px;
}

.copyable::after {
    content: "⤴";
    position: absolute;
    right: 0;
    opacity: 0.5;
    transition: all 0.3s;
}

.copyable:hover::after {
    transform: translateY(-3px);
}

.lang-switch {
    position: relative;
    padding: 10px 25px;
    background: rgba(255, 0, 85, 0.1);
    border: 2px solid var(--holored);
    border-radius: 12px;
    color: var(--holored);
    font-weight: bold;
    transition: all 0.3s;
}

.lang-switch:hover {
    background: rgba(255, 0, 85, 0.2);
}

.global-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-top: 2px solid rgba(255, 0, 85, 0.1);
    color: #ff0055;
    font-size: 16px;
    z-index: 2;
}

.risk-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    transition: background 0.3s ease;
}

.risk-text { 
    font-weight: bold;
}

.error-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 0, 85, 0.9);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(255,0,85,0.3);
    animation: toastSlide 0.5s ease-out;
    z-index: 9999;
}

@keyframes toastSlide {
    0% { transform: translate(-50%, 100%); }
    100% { transform: translate(-50%, 0); }
}

.cf-turnstile {
    width: 100%;
    margin: 20px 0;
    min-height: 65px;
}

.risk-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.risk-value {
    font-weight: bold;
}

.risk-components {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}

.risk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.risk-item label {
    width: 80px;
    color: #666;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255,0,85,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar .progress {
    height: 100%;
    background: var(--holored);
    transition: width 0.5s ease;
}

#ipTypeValue, #nativeIpValue {
    transition: color 0.3s ease;
}

.promotion-banner {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 25px;
    margin: 30px auto;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 5px 25px rgba(255,0,85,0.1);
    display: none;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.provider-card {
    background: white;
    border: 1px solid rgba(255,0,85,0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
}

.provider-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,0,85,0.1);
}

.share-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
    flex-wrap: wrap;
    display: none;
}

.share-btn {
    background: rgba(255,0,85,0.08);
    border: 1px solid var(--holored);
    color: var(--holored);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn:hover {
    background: var(--holored);
    color: white;
}

.expert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.referral-box {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.copy-referral {
    background: var(--holored);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .watermark-bg {
        font-size: 22vw;
    }
    .full-logo {
        font-size: 2em;
    }
    .main-card {
        padding: 30px;
    }
    .input-wrapper {
        flex-direction: column;
    }
    input {
        width: 100%;
        min-width: auto;
    }
    .scan-button {
        width: 100%;
    }
    .risk-item {
        flex-wrap: wrap;
    }
}