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

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(145deg, #f9f5ff 0%, #f1ecfe 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #1e0f3d;
    line-height: 1.5;
}

.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 1rem 0 1rem 0;
}

.logo-wrap {
    display: flex;
    justify-content: center;
}

.site-logo {
    max-height: 72px;
    width: auto;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 4px 12px rgba(106, 42, 189, 0.15));
}
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem 0 1rem 0;
}

.brand-badge {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.5rem 1.5rem;
    border-radius: 60px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: #4a1d8c;
    box-shadow: 0 4px 12px rgba(157, 90, 242, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #2b0b5c, #7b2eda);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.subhead {
    font-size: 1.2rem;
    color: #4b3b6b;
    text-align: center;
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 400;
    background: rgba(255,255,255,0.4);
    padding: 0.5rem 2rem;
    border-radius: 60px;
    backdrop-filter: blur(4px);
}

.candy-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 56px;
    box-shadow: 0 30px 50px -20px rgba(106, 42, 189, 0.3), 0 0 0 1px rgba(255,255,255,0.7) inset;
    padding: 2.5rem 3rem;
    max-width: 700px;
    width: 100%;
    margin: 0 auto 2rem auto;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.candy-card:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 40px 60px -18px #8f5de3, 0 0 0 2px #fff inset;
    background: rgba(255, 255, 255, 0.85);
}

.candy-card:active {
    transform: scale(0.98);
}

.candy-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.candy-icon {
    font-size: 2.8rem;
    line-height: 1;
    filter: drop-shadow(0 6px 10px #f2b6e0);
    animation: subtleWiggle 3s infinite ease-in-out;
}

.candy-label {
    background: #ffd7b5;
    background: linear-gradient(112deg, #fcc8b0, #f9ddf5);
    padding: 0.5rem 2rem;
    border-radius: 60px;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #4f267b;
    box-shadow: 0 6px 0 #d7a1c9;
    border: 2px solid #fff;
    text-transform: uppercase;
    font-style: italic;
}

.code-display {
    font-size: 4.2rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 6px;
    color: #2d0d4f;
    background: linear-gradient(145deg, #f4e9ff, #ffffff);
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    margin: 1.2rem 0 0.8rem 0;
    border: 2px dashed #c7adff;
    box-shadow: inset 0 2px 8px rgba(167, 98, 243, 0.15);
    word-break: break-word;
}

.code-display span {
    background: #f0e6ff;
    padding: 0.1rem 1rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: #5d2ea6;
    letter-spacing: 1px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.action-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #3f2662;
    background: rgba(237, 222, 255, 0.6);
    padding: 0.8rem 1.8rem;
    border-radius: 60px;
    backdrop-filter: blur(4px);
    border: 1px solid white;
}

.action-hint .arrow {
    font-size: 1.5rem;
}

.trust-badge {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0 2.5rem 0;
    color: #5b408a;
    font-weight: 400;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.4);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    backdrop-filter: blur(5px);
    font-size: 0.95rem;
}

.latest-articles {
    background: rgba(40, 20, 70, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 48px 48px 32px 32px;
    padding: 2.5rem 2rem;
    margin-top: 2rem;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 10px 30px -10px rgba(119, 67, 190, 0.2);
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.articles-title {
    font-size: 1.9rem;
    font-weight: 600;
    color: #2f1752;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 12px solid #b68bfa;
    letter-spacing: -0.01em;
}

.article-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    list-style: none;
}

.article-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 28px;
    padding: 1.5rem 1.2rem;
    transition: all 0.25s;
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 8px 14px -8px rgba(80, 47, 137, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    overflow: hidden;
}

.article-item:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-6px);
    border-color: #cbb2ff;
}

.article-item a {
    text-decoration: none;
    color: #2d1152;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-date {
    color: #735da8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border-top: 2px dotted #d0bdf4;
    padding-top: 0.8rem;
    margin-top: 0.5rem;
}

.footer-note {
    text-align: center;
    margin-top: 2rem;
    color: #5f4a8b;
    font-size: 0.95rem;
    opacity: 0.8;
}

.copy-toast {
    position: fixed;
    bottom: 169px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #2f1155;
    color: white;
    padding: 0.2rem 2rem;
    border-radius: 60px;
    font-weight: 500;
    box-shadow: 0 20px 40px -10px #572e9e;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid #e3c9ff;
    z-index: 999;
    transition: transform 0.4s cubic-bezier(0.2, 1.2, 0.3, 1);
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
}

.copy-toast .toast-icon {
    font-size: 1.7rem;
}

@keyframes subtleWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(6deg) scale(1.05); }
    50% { transform: rotate(-4deg) scale(1.02); }
    75% { transform: rotate(2deg); }
}

@media (max-width: 640px) {
    .candy-card {
        padding: 1.8rem 1.5rem;
        border-radius: 40px;
    }
    .candy-label {
        font-size: 1.4rem;
        padding: 0.3rem 1.2rem;
    }
    .code-display {
        font-size: 2.8rem;
        letter-spacing: 3px;
    }
    .action-hint {
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
    }
    .trust-item {
        padding: 0.3rem 1rem;
        font-size: 0.85rem;
    }
    .articles-title {
        font-size: 1.7rem;
    }
      .copy-toast {
        padding: 0.7rem 1.5rem;
        font-size: 0.68rem;
        gap: 8px;
        bottom: 110px;
        max-width: 92vw;
    }
    .copy-toast .toast-icon {
        font-size: 1.4rem;
    }
        .site-logo {
        max-height: 52px;
    }
}

@media (max-width: 600px) {
    .article-list {
        grid-template-columns: 1fr;
    }
    .article-item {
        min-height: auto;
    }
}

@media (max-width: 400px) {
    .code-display {
        font-size: 2.2rem;
    }
}