/* ─── 0) Load Gotham ─── */
@font-face {
  font-family: 'Gotham';
  src: url('/fonts/Gotham-Book.woff2') format('woff2'),
       url('/fonts/Gotham-Book.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham';
  src: url('/fonts/Gotham-Bold.woff2') format('woff2'),
       url('/fonts/Gotham-Bold.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
}

/* 全局样式 */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/*=============================================================================
  LOGO BAR
=============================================================================*/
.site-logo {
  background-color: var(--bg-dark);
  border-bottom: 1px solid #222;
  text-align: center;
  padding: 0.5rem 1rem;
}
.site-logo img {
  max-height: 25px;
  width: auto;
  display: inline-block;
}


/* ─── 2) Then your body font-family ─── */
body {
  font-family: 'Gotham', sans-serif;
  line-height: 1;
  /* …the rest of your body rules… */
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    min-height: var(--viewport-height);
    min-width: 300px;
    overflow-x: hidden;
    word-wrap: break-word;
    background-color: #000 ;
}

header {
    width: 100%;
    padding: 10px 0;
    background-color: transparent;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-logo {
    width: 500px;
    height: auto;
    margin-bottom: 10px;
}

.header-title {
    font-size: 24px;
    font-weight: bold;
    color: #ffff;
    text-transform: uppercase;
}

.header-title a {
    color: #000000;
    text-decoration: none;
}

.header-title a:hover {
    color: #CCCCCC;
}

:root {
    --background-height: 100vh;
    --viewport-height: 100vh;
}

html {
    font-size: 18pt;
}

#wrapper {
    -webkit-overflow-scrolling: touch;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: var(--viewport-height);
    overflow: hidden;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    background-color: transparent !important;
}

#main {
    --alignment: center;
    --flex-alignment: center;
    --border-radius-tl: 2rem;
    --border-radius-tr: 2rem;
    --border-radius-br: 2rem;
    --border-radius-bl: 2rem;
    align-items: center;
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    justify-content: center;
    max-width: 100%;
    position: relative;
    text-align: var(--alignment);
    z-index: 1;
    background-color: transparent !important;
    border-radius: var(--border-radius-tl) var(--border-radius-tr) var(--border-radius-br) var(--border-radius-bl);
    transition: opacity 1s ease 0s, transform 1s ease 0s;
}

#main > .inner {
    --padding-horizontal: 0rem;
    --padding-vertical: 1rem;
    --spacing: 0rem;
    --width: 100%;
    border-radius: var(--border-radius-tl) var(--border-radius-tr) var(--border-radius-br) var(--border-radius-bl);
    max-width: 100%;
    position: relative;
    width: var(--width);
    z-index: 1;
    padding: var(--padding-vertical) var(--padding-horizontal);
    background-color: transparent !important;
}

#main > .inner > * {
    margin-top: var(--spacing);
    margin-bottom: var(--spacing);
}

#main > .inner > :first-child {
    margin-top: -38px !important;
}

#main > .inner > :last-child {
    margin-bottom: 0 !important;
}

body.is-loading #main {
    opacity: 0;
    transform: translateY(0.6375rem);
}

/* 卡片网格样式 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 120px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    justify-items: center;
    align-items: center;
    background-color: transparent !important;
    margin: 0 auto;
}

.card {
    background-color: transparent !important;
    border: none;
    border-radius: 50%;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
    width: 200px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.card .logo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: rgba(255, 255, 255, 0.3) 0px 0px 5px 0px;
    animation: blinker 2s infinite;
}

.card .logo-border {
    width: 180px;
    padding: 8px; /* 对称内边距，确保垂直居中 */
    background: linear-gradient(to bottom, #ffb04b, #f7971d);
    border: 0px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.card .card-link {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    line-height: 16px; /* 与字体大小一致，确保垂直居中 */
    margin: 0; /* 移除所有外边距 */
}

.card .card-link:hover {
    color: #fff;
}

.card .blinking-text {
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    color: #FFFFFF;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes blinker {
    0%, 100% {
        box-shadow: rgba(255, 255, 255, 0.3) 0px 0px 5px 0px;
    }
    50% {
        box-shadow: rgba(255, 255, 255, 0.7) 0px 0px 15px 0px;
    }
}

/* 移动端调整尺寸，不改变列数 */
@media (max-width: 736px) {
    html {
        font-size: 12pt;
    }

    #wrapper {
        padding: 1rem 0;
    }

    #main > .inner {
        --padding-horizontal: 0rem;
        --padding-vertical: 0.5rem;
    }

    .card-grid {
        gap: 60px 90px;
    }

    .card {
        width: 150px;
        min-height: 190px;
    }

    .card .logo {
        width: 150px;
        height: 150px;
    }

    .card .logo-border {
        width: 100px;
        padding: 6px;
    }

    .card .card-link {
        font-size: 16px;
        line-height: 16px;
    }

    .card .blinking-text {
        font-size: 12px;
    }

    .header-logo {
        width: 300px;
    }

    .header-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    #wrapper {
        padding: 0.5rem 0;
    }

    #main > .inner {
        --padding-horizontal: 0rem;
        --padding-vertical: 0.25rem;
    }

    .card-grid {
        gap: 0px 60px;
    }

    .card {
        width: 130px;
        min-height: 170px;
    }

    .card .logo {
        width: 130px;
        height: 130px;
    }

    .card .logo-border {
        width: 140px;
    }

    .header-logo {
        width: 300px;
    }

    .header-title {
        font-size: 20px;
    }
}

/* ==== SITE FOOTER ==== */
.site-footer {
  background: #1e1e1e;       /* black footer background */
  padding: 2rem 1rem;
}

/* ==== Footer Buttons Layout ==== */
.footer-buttons {
  display: flex;
  flex-direction: column;   /* stack items vertically */
  align-items: center;      /* center each item */
  gap: 2rem;                /* space between each item */
}

.footer-item {
  text-align: center;
}

.footer-label {
  color: #fff;              /* white labels */
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ==== Footer Pill Buttons ==== */
.site-footer .footer-btn {
  display: inline-block !important;
  background: #f7971d !important;  /* orange pill */
  color: #000 !important;           /* black text */
  padding: 0.5rem 1rem !important;
  border-radius: 999px !important;  /* full pill shape */
  font-weight: 700 !important;
  text-decoration: none !important;
  border: none !important;
  transition: background 0.2s ease, transform 0.1s ease !important;
}

.site-footer .footer-btn:hover,
.site-footer .footer-btn:focus {
  background: #e68a00 !important;   /* lighter orange on hover/focus */
  transform: translateY(-2px) !important;
}

.site-footer .footer-btn:active {
  background: #ffb300 !important;   /* even lighter when clicked */
}


