:root {
    --gold: #b38f00;
    --gold-light: #ffeb99;
    --neon-gold: linear-gradient(135deg, #fff 0%, #ffeb99 20%, #b38f00 60%, #fff 100%);
    --neon-color: linear-gradient(to right, #ff0000, #ff7f00, #b38f00, #00ff00, #0000ff, #4b0082, #ff0000);
    --bg-gradient: linear-gradient(135deg, #ffffff 0%, #fff8e1 50%, #f4e1d2 100%);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-gradient);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 0 4px 100px;
}

.header-area {
    text-align: center;
    padding: 24px 8px 16px;
}

.main-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    font-weight: 900;
    background: var(--neon-gold);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-breathe 4s ease-in-out infinite, shine 5s linear infinite;
    margin-bottom: 0;
    line-height: 1.25;
    word-break: break-word;
}

@keyframes title-breathe {
    0%,
    100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes shine {
    to { background-position: 400% center; }
}

.slider-box {
    width: 96%;
    margin: 0 auto 18px;
    position: relative;
    padding: 3px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(179, 143, 0, 0.2);
    display: block;
    text-decoration: none;
}

.slider-box::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(#fff, var(--gold), transparent 25%, #fff 50%, var(--gold), transparent 75%, #fff 100%);
    animation: rotate 3s linear infinite;
    top: -50%;
    left: -50%;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.slider {
    width: 100%;
    overflow: hidden;
    border-radius: 9px;
    position: relative;
    z-index: 2;
    background: #fff;
}

.slider img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-box {
    position: relative;
    margin: 10px 10px 20px;
    padding: 1.5px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(179, 143, 0, 0.15);
}

.contact-box::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--gold), transparent 30%);
    animation: rotate 2.5s linear infinite;
    top: -50%;
    left: -50%;
}

.contact-content {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 50px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 10px;
    z-index: 1;
}

.wave-text {
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    background-color: transparent;
    background-image: var(--neon-color);
    background-size: 400% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 5s linear infinite, wave 1.5s ease-in-out infinite;
    text-align: center;
    max-width: 48%;
    word-break: break-word;
    cursor: pointer;
    border: 0;
    padding: 0;
    font-family: inherit;
    appearance: none;
}

.wave-text.plain {
    max-width: 100%;
    display: block;
}

@keyframes wave {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.label {
    text-align: center;
    font-size: 12px;
    color: var(--gold);
    margin: 22px 0 12px;
    font-weight: bold;
}

.grid {
    padding: 0 8px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(179, 143, 0, 0.16);
    padding: 8px 8px 14px;
}

.feature-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.jump-btn {
    display: block;
    margin: 12px auto 2px;
    width: 72%;
    text-align: center;
    padding: 11px 0;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--gold-light), #cca300);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    font-size: 15px;
    box-shadow: 0 6px 16px rgba(179, 143, 0, 0.28);
}

.jump-btn:active {
    transform: scale(0.98);
}

.tool-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px 4px;
}

.tool-card {
    background: linear-gradient(135deg, #333, #000);
    padding: 15px 10px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    color: inherit;
}

.tool-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    margin-right: 12px;
    border: 1px solid #555;
    background: #222;
    object-fit: cover;
    flex-shrink: 0;
}

.tool-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tool-title {
    font-size: 13px;
    font-weight: 900;
    background: var(--neon-color);
    background-size: 400% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 5s linear infinite, wave 1.8s ease-in-out infinite;
}

.tool-hint {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-card::after {
    content: "GO >";
    position: absolute;
    bottom: 4px;
    right: 6px;
    font-size: 7px;
    color: var(--gold-light);
    opacity: 0.6;
}

.site-footer {
    text-align: center;
    padding: 32px 12px 24px;
    font-size: 10px;
    color: rgba(0, 0, 0, 0.38);
    letter-spacing: 0.5px;
    line-height: 1.85;
}

.footer-extra {
    display: block;
    margin-top: 10px;
    white-space: pre-wrap;
    word-break: break-word;
    color: rgba(0, 0, 0, 0.42);
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 88px;
    transform: translateX(-50%) translateY(12px);
    background: rgba(28, 22, 8, 0.92);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (min-width: 768px) {
    .jump-btn {
        width: 56%;
        font-size: 16px;
    }
}
