* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg:           #0b1117;
    --surface:      #141b24;
    --surface2:     #1c2530;
    --surface3:     #252f3b;
    --text-primary: #e0e9f5;
    --text-secondary:#a3b9d2;
    --text-muted:   #6f8aa9;
    --accent:       #3cbef2;
    --accent-dark:  #2a8fc5;
    --accent-glow:  rgba(60, 190, 242, 0.18);
    --glass:        rgba(20, 28, 40, 0.42);
    --glass-border: rgba(80, 140, 200, 0.22);
    --shadow-hard:  0 12px 40px rgba(0,0,0,0.65);
    --shadow-soft:  0 4px 20px rgba(0,0,0,0.45);
}

html, body {
    height: 100%;
    background: var(--bg);
    color: var(--text-primary);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.48;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.stage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 24px 16px 80px;
    background: 
        radial-gradient(ellipse at 50% 15%, #1e2a38 0%, transparent 60%),
        var(--bg);
}

.vault-header {
    text-align: center;
    padding: 48px 0 40px;
}

.logo-frame {
    margin: 0 auto 20px;
    width: 190px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f2a38, #162028);
    border-radius: 16px;
    border: 1px solid #2a3748;
    box-shadow: 
        inset 0 1px 0 #3a475c,
        0 4px 16px rgba(0,0,0,0.6);
}

.logo-frame img {
    display: block;
    max-width: 92%;
}

.main-title {
    font-size: clamp(2.1rem, 6vw, 2.8rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #f0f8ff 0%, #d0e8ff 50%, #b0d8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    margin-top: 8px;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.92;
}

.mirrors-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 56px;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.mirrors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.mirror-glass {
    perspective: 900px;
}

.glass-front {
    position: relative;
    padding: 24px 28px;
    border-radius: 18px;
    background: var(--glass);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid var(--glass-border);
    box-shadow: 
        var(--shadow-hard),
        inset 0 1.5px 0 rgba(255,255,255,0.07),
        inset 0 -1px 0 rgba(0,0,0,0.45);
    transform: rotateX(3.5deg) rotateY(2.8deg) translateZ(0);
    transition: all 0.42s cubic-bezier(0.23, 1, 0.32, 1);
    word-break: break-all;
}

.mirror-glass:hover .glass-front {
    transform: rotateX(0) rotateY(0) translateY(-10px) translateZ(12px);
    box-shadow: 
        0 28px 72px rgba(0,0,0,0.7),
        0 0 0 1.2px rgba(60,190,242,0.20);
}

.mirror-label {
    position: absolute;
    top: -11px;
    left: 22px;
    background: var(--surface3);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 12px 4px;
    border-radius: 24px;
    border: 1px solid rgba(60,190,242,0.35);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.link-url {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.96rem;
    color: #c8e0ff;
    margin: 14px 0 10px;
    cursor: pointer;
    transition: color 0.18s ease;
}

.link-url:hover {
    color: var(--accent);
}

.link-latency {
    font-size: 0.81rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.copy-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(60,190,242,0.20);
    color: var(--accent);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.26s ease;
}

.copy-btn:hover {
    background: var(--accent);
    color: #0b1e2b;
    transform: scale(1.14);
    box-shadow: 0 0 20px rgba(60,190,242,0.5);
}

.verification-panel,
.intro-panel,
.review-panel {
    background: var(--glass);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 36px 28px;
    box-shadow: var(--shadow-hard);
    margin-bottom: 48px;
}

.verification-panel h2,
.intro-panel h2,
.review-panel h2 {
    font-size: 1.7rem;
    margin-bottom: 18px;
    color: #e8f4ff;
    font-weight: 600;
}

.review-panel h3 {
    font-size: 1.32rem;
    margin: 28px 0 14px;
    color: var(--accent);
    font-weight: 600;
}

.review-panel ul {
    list-style: none;
    margin: 14px 0 24px 24px;
}

.review-panel ul li {
    position: relative;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.review-panel ul li:before {
    content: "⟶";
    color: var(--accent);
    position: absolute;
    left: -24px;
    font-weight: bold;
}

.disclaimer {
    margin-top: 36px;
    padding: 18px 22px;
    background: rgba(180,60,60,0.14);
    border: 1px solid rgba(200,80,80,0.28);
    border-radius: 14px;
    color: #ffcccc;
    font-size: 0.94rem;
    line-height: 1.5;
}

.review-panel p {
    margin-bottom: 18px;
    color: var(--text-secondary);
}

.input-wrapper {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
}

#linkInput {
    flex: 1;
    min-width: 280px;
    padding: 16px 20px;
    font-size: 1.02rem;
    font-family: ui-monospace, monospace;
    background: rgba(15,22,32,0.75);
    border: 1px solid #2c3e50;
    border-radius: 14px;
    color: #d8e8ff;
    outline: none;
    transition: all 0.2s ease;
}

#linkInput:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3.5px var(--accent-glow);
}

#verifyBtn {
    padding: 0 32px;
    background: var(--accent);
    color: #0b1f2c;
    border: none;
    border-radius: 14px;
    font-weight: 650;
    font-size: 1.02rem;
    cursor: pointer;
    transition: all 0.24s ease;
}

#verifyBtn:hover {
    background: #58c9ff;
    transform: translateY(-1.5px);
    box-shadow: 0 8px 24px rgba(60,190,242,0.4);
}

.validator__result {
    margin-top: 20px;
    padding: 16px 22px;
    border-radius: 14px;
    font-weight: 550;
    min-height: 58px;
    line-height: 1.5;
}

.validator__result.success {
    background: rgba(50,180,130,0.20);
    color: #90e8c0;
    border: 1px solid rgba(90,220,170,0.35);
}

.validator__result.error {
    background: rgba(200,70,70,0.18);
    color: #ffbbbd;
    border: 1px solid rgba(220,100,100,0.35);
}

.notification {
    position: fixed;
    top: 28px;
    right: 28px;
    background: var(--accent);
    color: #0a1f2b;
    padding: 16px 28px;
    border-radius: 48px 12px 48px 12px;
    z-index: 9999;
    transform: translateX(140%);
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    font-weight: 650;
    box-shadow: 0 12px 40px rgba(0,0,0,0.7), 0 0 0 1.5px rgba(60,190,242,0.45);
    max-width: 340px;
    word-break: break-word;
}

.notification.show {
    transform: translateX(0);
}

.vault-footer {
    margin-top: auto;
    padding-top: 72px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.vault-footer strong {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 640px) {
    .stage { padding: 20px 12px 100px; }
    .vault-header { padding: 40px 0 32px; }
    .main-title { font-size: clamp(1.9rem, 7vw, 2.4rem); }
    .mirrors-grid { grid-template-columns: 1fr; gap: 20px; }
    .verification-panel,
    .intro-panel,
    .review-panel { padding: 28px 22px; }
    .copy-btn { width: 38px; height: 38px; }
}

.mirrors-panel {
    background: var(--glass);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 36px 28px;
    box-shadow: var(--shadow-hard);
    margin-bottom: 48px;
}

.mirrors-panel h2 {
    font-size: 1.68rem;
    margin-bottom: 20px;
    color: #e8f4ff;
}

.update-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

.faq-panel {
    background: var(--glass);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 36px 28px;
    box-shadow: var(--shadow-hard);
}

.faq-panel h2 {
    font-size: 1.68rem;
    margin-bottom: 28px;
    color: #e8f4ff;
}

.faq-item {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(80,140,200,0.15);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
    color: var(--accent);
    font-weight: 600;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.55;
}

#torzon-market-link {
    scroll-margin-top: 100px;
}

.logo-frame {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.logo-frame:hover {
    transform: scale(1.04);
    box-shadow: 
        inset 0 1px 0 #3a475c,
        0 8px 24px rgba(0,0,0,0.5);
}

main.mirrors-section {
    gap: 64px;
}

@media (max-width: 480px) {
    .vault-header {
        padding: 36px 0 28px;
    }

    .main-title {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
    }

    .verification-panel,
    .intro-panel,
    .review-panel,
    .mirrors-panel,
    .faq-panel {
        padding: 24px 18px;
    }

    .input-wrapper {
        flex-direction: column;
    }

    #verifyBtn {
        width: 100%;
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .mirror-glass:hover .glass-front,
    .logo-frame:hover {
        transform: none;
    }
}