/* style.css */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
    color: #333;
}

/* Common Styles */
.field.foot { 
    font-size: 14px; 
    text-align: center;
    padding: 20px 0;
}

.field.desc ul > li {
    text-align: left;
    font-size: 14px;
    margin: 12px 0;
    line-height: 1.6;
}

.field.desc ul > li a {
    color: #00c250;
    cursor: pointer;
    transition: all 0.3s ease;
}

.field.desc ul > li a:hover {
    text-decoration: underline;
    color: #008c3a;
}

@media (max-width: 768px) {
    #main { padding: 0 15px; }
    .field { 
        padding: 20px;
        margin: 15px 0;
    }
    .brand { 
        font-size: 28px !important;
        flex-direction: column;
        text-align: center;
    }
    
    .brand span.flag {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 500px) {
    .field.desc ul { margin: 0 10px; }
}

ul > li { 
    list-style-type: none; 
    text-align: center; 
}

.field .title {
    margin-bottom: 20px;
    font-weight: 600;
    color: #2c3e50;
    position: relative;
    padding-bottom: 10px;
}

.field .title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #00c250;
    border-radius: 3px;
}

a, a:active, a:focus, a:hover, a:visited {
    text-decoration: none;
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.brand:hover {
    transform: scale(1.02);
}

.brand span.flag {
    color: #00c250;
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    padding: 5px 12px;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.brand span.flag:hover {
    background: #00c250;
    color: white;
}

.enter-maomi {
    width: 80%;
    text-align: center;
    line-height: 45px;
    margin: 15px auto;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.enter-maomi:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.enter-icon {
    width: 35px;
    height: 45px;
    float: left;
    background-color: #00c250;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enter-ping {
    width: 85px;
    height: 45px;
    float: right;
    background-color: #00c250;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enter-link a {
    display: block;
    padding: 0 10px;
    font-weight: 500;
}

.link-title {
    position: relative;
    display: inline-block;
    padding-left: 25px;
    color: #00c250;
    transition: color 0.3s ease;
}

.link-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2300c250" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4M12 8h.01"/></svg>') no-repeat center;
    background-size: contain;
}

.enter-maomi:hover .link-title {
    color: #008c3a;
}

.link-item-1 .link-title { color: #00c250; }
.link-item-2 .link-title { color: #00aaff; }
.link-item-3 .link-title { color: #ff6b6b; }
.link-item-4 .link-title { color: #ffa500; }
.link-item-5 .link-title { color: #8a2be2; }
.link-item-1 .link-title::before { stroke: #00c250; }
.link-item-2 .link-title::before { stroke: #00aaff; }
.link-item-3 .link-title::before { stroke: #ff6b6b; }
.link-item-4 .link-title::before { stroke: #ffa500; }
.link-item-5 .link-title::before { stroke: #8a2be2; }

.template-dark .link-title { color: #fff; }
.template-dark .link-title::before { stroke: #fff; }
.template-dark .enter-maomi:hover .link-title { color: #00c250; }

.icon {
    width: 20px;
    height: 20px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}

.icon_chain {
    width: 27px;
    height: 27px;
    vertical-align: middle;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2"><path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/></svg>');
}

.icon_arrow {
    width: 27px;
    height: 27px;
    vertical-align: middle;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2"><path d="M5 12h14M12 5l7 7-7 7"/></svg>');
}

.icon_star {
    width: 27px;
    height: 27px;
    vertical-align: middle;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2"><polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/></svg>');
}

.icon_globe {
    width: 27px;
    height: 27px;
    vertical-align: middle;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2"><circle cx="12" cy="12" r="10"/><path d="M2 12h20"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>');
}

.icon_rocket {
    width: 27px;
    height: 27px;
    vertical-align: middle;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23fff" stroke-width="2"><path d="M6 19L19 6M13 6a3 3 0 1 1 6 0 3 3 0 0 1-6 0M4.9 12.9l4-4M11.1 19.1l4-4"/></svg>');
}

.c_black { 
    color: #333; 
    line-height: 30px; 
    font-size: 12px; 
}

.c_blue { color: #00c250; }

.c_link { 
    font-size: 14px; 
    line-height: 30px; 
}

.text-white { 
    color: #fff; 
}

.template-dark .c_black { color: #bbb; }

.field {
    background: white;
    padding: 30px;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.field:hover {
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
}

.field.desc ul > li {
    position: relative;
    padding-left: 20px;
}

.field.desc ul > li::before {
    content: "•";
    color: #00c250;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
    line-height: inherit;
}