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

:root {
    --bg: #0b0f17;
    --surface: #121a24;
    --surface2: #1a2331;
    --surface3: #202b3c;
    --text: #e5efff;
    --text2: #a3b9d2;
    --text3: #7a92b2;
    --accent: #3cbef2;
    --accent-dark: #2a9fd8;
    --accent-glow: rgba(60, 190, 242, 0.14);
    --success: #34d399;
    --error: #f87171;
    --border: rgba(60, 190, 242, 0.11);
}

html, body {
    min-height: 100%;
    background: linear-gradient(135deg, #080c14 0%, #0b0f17 100%);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" /><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.03 0"/></filter><rect width="80" height="80" filter="url(%23n)" opacity="0.028"/></svg>') repeat;
    pointer-events: none;
    z-index: -2;
    will-change: transform;
}

.top-bar {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    background: rgba(18, 26, 36, 0.72);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.4s ease;
}

.logo-wrapper img {
    display: block;
    max-height: 48px;
    width: auto;
}

.year {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.06em;
    opacity: 0.85;
}

main {
    padding: 5vh 5vw 12vh;
    max-width: 1280px;
    margin: 0 auto;
}

.prism-card {
    background: linear-gradient(148deg, #161f2c 0%, #121a24 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3.2rem 2.8rem 2.8rem;
    box-shadow: 
        0 20px 60px -20px rgba(0,0,0,0.7),
        inset 0 1px 0 rgba(255,255,255,0.03),
        inset 0 -1px 0 rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: perspective(1400px) rotateX(3deg) rotateY(-2.5deg);
    margin: 0 auto 6rem;
    max-width: 860px;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
}

.prism-card:hover {
    transform: perspective(1400px) rotateX(2deg) rotateY(-1.5deg);
}

.prism-card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: radial-gradient(circle at 25% 15%, var(--accent-glow) 0%, transparent 45%);
    opacity: 0.65;
    pointer-events: none;
    animation: glow 12s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { transform: translate(10%, 10%) scale(1.1); opacity: 0.6; }
    100% { transform: translate(-10%, -10%) scale(1.3); opacity: 0.8; }
}

.prism-card h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(90deg, #e5efff, var(--accent), #d1e5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.7rem;
    letter-spacing: -0.02em;
}

.subtitle {
    text-align: center;
    color: var(--text2);
    font-size: 1.1rem;
    margin-bottom: 2.4rem;
    font-weight: 400;
}

.input-wrapper {
    display: flex;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto;
    background: rgba(18, 26, 36, 0.8);
    border: 1px solid rgba(60, 190, 242, 0.22);
    border-radius: 16px;
    padding: 8px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.45);
    transition: border-color 0.3s;
}

.input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(60, 190, 242, 0.12);
}

#linkInput {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.05rem;
    padding: 0 1.3rem;
    outline: none;
}

#linkInput::placeholder {
    color: #64748b;
}

#verifyBtn {
    background: var(--accent);
    color: #0b1421;
    border: none;
    border-radius: 12px;
    padding: 0 1.9rem;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

#verifyBtn:hover {
    background: #5ccfff;
    transform: translateY(-1.5px);
    box-shadow: 0 8px 20px rgba(60, 190, 242, 0.3);
}

#verifyBtn:active {
    transform: translateY(0);
}

.result-box {
    min-height: 3.8rem;
    margin-top: 1.8rem;
    text-align: center;
    font-size: 1.12rem;
    font-weight: 500;
    border-radius: 12px;
    padding: 1.1rem;
    transition: all 0.35s ease;
    opacity: 0;
    transform: translateY(10px);
}

.result-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.result-box.success {
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #a7f3d0;
}

.result-box.error {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fca5a5;
}

.content-section {
    background: linear-gradient(145deg, #161f2c, #121a24);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2.8rem;
    margin: 0 auto 3.8rem;
    max-width: 920px;
    box-shadow: 0 12px 40px -10px rgba(0,0,0,0.55);
}

.content-section h2 {
    font-size: 2.15rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 55%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 3px;
}

.section-intro {
    color: var(--text2);
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.disclaimer {
    margin-top: 2.2rem;
    padding: 1.3rem 1.6rem;
    background: rgba(248, 113, 113, 0.07);
    border: 1px solid rgba(248, 113, 113, 0.25);
    border-radius: 12px;
    font-size: 0.94rem;
    color: #fca5a5;
    text-align: center;
    line-height: 1.55;
}

.mirrors-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}

.mirrors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.9rem;
    max-width: 1140px;
    margin: 0 auto;
}

.mirror-sticker {
    background: linear-gradient(135deg, #1c2635, #17212e);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem 1.7rem;
    box-shadow: 
        0 10px 30px -8px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(255,255,255,0.025);
    transform: rotate(var(--rot)) translateY(5px);
    transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
    position: relative;
}

.mirror-sticker:hover {
    transform: rotate(0deg) translateY(-8px);
    box-shadow: 0 22px 50px -12px rgba(60,190,242,0.18);
}

.sticker-content {
    word-break: break-all;
    font-family: 'Courier New', ui-monospace, monospace;
    font-size: 0.97rem;
    color: #c7d2fe;
    line-height: 1.55;
}

.meta {
    margin-top: 1.1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.84rem;
    color: var(--text3);
}

.copy-btn {
    color: var(--accent);
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: #5ccfff;
}

.notification {
    position: fixed;
    top: 28px;
    right: 28px;
    background: rgba(60, 190, 242, 0.94);
    color: #0b1421;
    padding: 14px 26px;
    border-radius: 50px 14px 50px 14px;
    z-index: 1000;
    transform: translateX(140%);
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.16);
}

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

.feature-list, .steps-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li, .steps-list li {
    padding: 0.7rem 0 0.7rem 2rem;
    position: relative;
}

.feature-list li::before, .steps-list li::before {
    content: "→";
    position: absolute;
    left: 0.4rem;
    color: var(--accent);
    font-weight: 700;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
    margin: 2.2rem 0;
}

.pros, .cons {
    background: rgba(26, 35, 49, 0.65);
    padding: 1.7rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.pros h3 { color: var(--success); margin-bottom: 1rem; font-size: 1.3rem; }
.cons h3 { color: var(--error); margin-bottom: 1rem; font-size: 1.3rem; }

@media (max-width: 768px) {
    .prism-card {
        padding: 2.4rem 1.8rem;
        transform: none;
    }
    .pros-cons {
        grid-template-columns: 1fr;
    }
    .top-bar {
        padding: 0 6vw;
    }
    main {
        padding: 4vh 6vw 10vh;
    }
}

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