@font-face {
    font-family: "STXihei";
    src: local("STXihei"), local("华文细黑"),
         url("https://db.onlinewebfonts.com/t/165fd6b4666591f4ac2765c4ed1c0b4a.woff2") format("woff2"),
         url("https://db.onlinewebfonts.com/t/165fd6b4666591f4ac2765c4ed1c0b4a.woff") format("woff"),
         url("https://db.onlinewebfonts.com/t/165fd6b4666591f4ac2765c4ed1c0b4a.ttf") format("truetype");
    font-display: swap;
}

:root {
    --primary-color: #ff5722;
    --secondary-color: #4cc988;
    --background-dark: #000;
    --background-light: #111;
    --text-light: #fff;
    --text-muted: #ddd;
    --hr-dark: #111;
    --spacing: 1rem;
    --border-radius: 12px;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    --tile-ff5722: #ff5722;
    --tile-4cc988: #4cc988;
    --tile-2196f3: #2196f3;
    --tile-fbb318: #fbb318;
    --tile-e52d8d: #e52d8d;
    --tile-8e44ad: #8e44ad; /* Vibrant Purple */
    --max-content-width: 900px;
}

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

body {
    font-family: 'Courier New', Courier, monospace;
    background: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    background: var(--background-dark);
    position: relative;
    overflow: hidden;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: var(--spacing);
    text-transform: lowercase;
    position: relative;
    z-index: 2;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: var(--spacing);
    text-align: center;
    text-transform: lowercase;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing);
    text-transform: lowercase;
}

p {
    margin: var(--spacing) auto;
    max-width: var(--max-content-width);
    color: var(--text-light);
    text-transform: lowercase;
    text-align: center;
}

hr {
    border: none;
    border-top: 2px solid var(--hr-dark);
    margin: 2rem auto;
    max-width: var(--max-content-width);
}

.header-description {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.highlight {
    color: var(--primary-color);
    font-style: italic;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
    gap: var(--spacing);
}

.card {
    padding: var(--spacing);
    background: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}

.scroll-indicator {
    animation: bounce 2s infinite;
    font-size: 2rem;
    position: absolute;
    bottom: var(--spacing);
    cursor: pointer;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tile {
    padding: var(--spacing);
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--text-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}

.tile-ff5722 { background-color: var(--tile-ff5722); }
.tile-4cc988 { background-color: var(--tile-4cc988); }
.tile-2196f3 { background-color: var(--tile-2196f3); }
.tile-fbb318 { background-color: var(--tile-fbb318); }
.tile-e52d8d { background-color: var(--tile-e52d8d); }
.tile-8e44ad { background-color: var(--tile-8e44ad); }

.site-footer {
    background-color: #222222;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: min(860px, 88vw);
    margin: 0 auto;
}

.footer-left {
    font-size: 0.8rem;
    opacity: 0.45;
    text-transform: lowercase;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: lowercase;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.header-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.ball {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    pointer-events: none;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.dynamic-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: var(--spacing);
    max-width: var(--max-content-width);
    margin: 0 auto;
}

.brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 140px;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}

.glacierr-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #d16ba5, #86a8e7, #5ffbf1, #ffb86b);
    background-size: 400% 400%;
    animation: gradientAnimation 25s ease infinite;
}

@keyframes gradientAnimation {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glacierr-blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    transform: translateZ(0);
    animation: glacierrMorph 40s ease-in-out infinite alternate;
    pointer-events: none;
}

.glacierr-blob1 {
    width: 300px;
    height: 300px;
    top: -20%;
    left: -15%;
    background: radial-gradient(circle at center, rgba(255, 150, 255, 0.4), transparent);
    box-shadow: 0 0 60px rgba(255, 150, 255, 0.3);
    filter: blur(40px);
}

.glacierr-blob2 {
    width: 200px;
    height: 200px;
    bottom: -10%;
    right: -5%;
    background: radial-gradient(circle at center, rgba(150, 255, 255, 0.3), transparent);
    filter: blur(30px);
}

.glacierr-blob3 {
    width: 250px;
    height: 250px;
    top: 10%;
    right: 5%;
    background: radial-gradient(circle at center, rgba(255, 255, 150, 0.25), transparent);
    filter: blur(35px);
}

@keyframes glacierrMorph {
    0% {
        transform: scale(1) translate(0, 0);
        border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
    }
    50% {
        transform: scale(1.15) translate(20px, -15px);
        border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
    }
    100% {
        transform: scale(1) translate(-15px, 12px);
        border-radius: 70% 30% 50% 50% / 40% 70% 30% 60%;
    }
}

.glacierr-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
    pointer-events: none;
}

.contact-btn {
    display: block;
    width: fit-content;
    margin: var(--spacing) auto 0;
    position: relative;
    overflow: hidden;
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    text-transform: lowercase;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-btn-label {
    position: relative;
    z-index: 2;
}

.contact-btn:hover {
    background: #e64a19;
    transform: translateY(-3px);
}

.glacierr-name {
    font-family: "STXihei", sans-serif;
    font-size: 4rem;
    font-weight: 550;
    color: #fff;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(255,255,255,0.8), 0 0 40px rgba(255,255,255,0.4);
    position: relative;
    z-index: 2;
}

/* =========================
   Legal pages
   ========================= */
.back-link {
    display: inline-block;
    margin: 2rem 0 0 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.back-link:hover {
    opacity: 1;
}

.section {
    padding: 3rem 2rem 4rem;
}

.section.legal {
    display: block;
    max-width: 720px;
    margin: 0 auto;
}

.legal-meta {
    font-size: 0.85rem;
    opacity: 0.45;
    margin-bottom: 2.5rem;
    text-align: left;
    text-transform: none;
}

.section.legal h2 {
    text-align: left;
    margin-bottom: 0.25rem;
}

.section.legal h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-top: 2.5rem;
    margin-bottom: 0.4rem;
    text-transform: lowercase;
}

.section.legal h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.2rem;
    text-transform: lowercase;
}

.section.legal p,
.section.legal li {
    font-size: 0.875rem;
    line-height: 1.75;
    opacity: 0.75;
    margin-top: 0;
    margin-bottom: 0.4rem;
    text-align: left;
    text-transform: none;
    max-width: none;
}

.section.legal ul {
    list-style: disc;
    margin: 0.25rem 0 0.75rem 1.5rem;
}

.section.legal em {
    font-style: normal;
    opacity: 0.55;
}

.section.legal a:link,
.section.legal a:visited {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: rgba(255, 87, 34, 0.35);
}

.section.legal a:hover {
    color: var(--secondary-color);
    text-decoration-color: rgba(76, 201, 136, 0.5);
}
