/* 高端像素方块风格 - 智能教育科技公司 "魔石乐思" */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 2rem;
}

.logo-container {
    text-align: center;
}

/* 像素画布 */
.pixel-canvas {
    display: grid;
    gap: 3px;
    background: transparent;
    padding: 0;
}

/* 单个像素方块 - 高端渐变风格 */
.pixel {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.pixel:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
}

.pixel.empty {
    background: transparent;
    box-shadow: none;
}

/* 高端颜色 - 精选配色 */
/* Magic 部分 */
.pixel.c-M { background: linear-gradient(135deg, #3B82F6, #1D4ED8); }  /* 蓝色 */
.pixel.c-a { background: linear-gradient(135deg, #EC4899, #BE185D); }  /* 粉红 */
.pixel.c-a2 { background: linear-gradient(135deg, #F97316, #EA580C); } /* 橙红 */
.pixel.c-g { background: linear-gradient(135deg, #10B981, #059669); }  /* 绿色 */
.pixel.c-i { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }  /* 紫色 */
.pixel.c-c { background: linear-gradient(135deg, #F59E0B, #D97706); }  /* 金橙 */

/* Marble 部分 */
.pixel.c-m2 { background: linear-gradient(135deg, #06B6D4, #0891B2); } /* 青色 */
.pixel.c-a2 { background: linear-gradient(135deg, #F97316, #EA580C); } /* 橙红 */
.pixel.c-r { background: linear-gradient(135deg, #EF4444, #DC2626); }  /* 红色 */
.pixel.c-b { background: linear-gradient(135deg, #A78BFA, #7C3AED); }  /* 浅紫 */
.pixel.c-l { background: linear-gradient(135deg, #84CC16, #65A30D); }  /* 青柠 */
.pixel.c-e { background: linear-gradient(135deg, #14B8A6, #0D9488); }  /* 青绿 */

/* 中文品牌名 */
.brand-name {
    margin-top: 2.5rem;
    font-size: 1.8rem;
    color: #1F2937;
    letter-spacing: 0.6em;
    font-weight: 500;
}

/* 标语 */
.tagline {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #6B7280;
    letter-spacing: 0.25em;
    font-weight: 400;
}

/* 底部备案 */
.footer {
    padding: 1.5rem;
    background: #F3F4F6;
    border-top: 1px solid #E5E7EB;
}

.company-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: #6B7280;
    font-size: 0.875rem;
}

.company-info p {
    margin: 0;
}

.company-info a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.company-info a:hover {
    color: #374151;
}

.company-info .logos {
    height: 16px;
    margin-right: 2px;
    vertical-align: middle;
}

/* 响应式 */
@media (max-width: 700px) {
    .pixel {
        width: 10px;
        height: 10px;
        border-radius: 2px;
    }
    .pixel-canvas {
        gap: 2px;
    }
}

@media (max-width: 500px) {
    .pixel {
        width: 8px;
        height: 8px;
        border-radius: 2px;
    }
    .pixel-canvas {
        gap: 1px;
    }
    .brand-name {
        font-size: 1.4rem;
        letter-spacing: 0.4em;
    }
    .tagline {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
    }
    .company-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 350px) {
    .pixel {
        width: 6px;
        height: 6px;
    }
}