@font-face {
    font-family: FiraGO;
    src: url(../fonts/FiraGO-Medium.ttf) format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body { background: #f5f5f7; margin: 0; }

.home-card {
    width: 100%;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100vh;
    box-sizing: border-box;
}

.home-card,
.home-card * {
    font-family: FiraGO, Sylfaen, sans-serif;
}

.home-hero {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    gap: 28px;
    box-sizing: border-box;
}

.home-hero .home-logo {
    width: 340px;
    max-width: 65%;
    height: auto;
    margin-bottom: 4px;
}

.home-hero .home-divider {
    width: 56px;
    height: 2px;
    background: #d8d8d8;
    border-radius: 1px;
}

.home-hero .home-title {
    font-size: 26px;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.2px;
}

.home-hero .home-subtitle {
    font-size: 18px;
    color: #4a4a4a;
    letter-spacing: 0.3px;
}

.notfound-code {
    font-size: 96px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: 1px;
}

.notfound-text {
    font-size: 28px;
    color: #4a4a4a;
    letter-spacing: 0.3px;
}

.home-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    font-size: 14px;
    color: #8a8a8a;
    border-top: 1px solid #ececec;
    box-sizing: border-box;
}

/* Red theme — applied when body has .theme-red class */
body.theme-red { background: #D40026; }

body.theme-red .home-card {
    background: transparent;
    border-color: transparent;
}

body.theme-red .home-hero .home-divider {
    background: rgba(255, 255, 255, 0.55);
}

body.theme-red .home-hero .home-title,
body.theme-red .home-hero .home-subtitle,
body.theme-red .notfound-code,
body.theme-red .notfound-text {
    color: #ffffff;
}

body.theme-red .home-footer {
    color: rgba(255, 255, 255, 0.75);
    border-top-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 768px) {
    .home-hero .home-logo { width: 240px; }
    .home-hero .home-title { font-size: 22px; }
    .home-hero .home-subtitle { font-size: 15px; }
    .home-hero { padding: 40px 20px; gap: 22px; }
    .notfound-code { font-size: 72px; }
    .notfound-text { font-size: 22px; }
}

@media (max-width: 600px) {
    .home-footer { font-size: 12px; padding: 14px 20px; }
}
