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

:root {
    --bm-red: #b81922;
    --bm-red-dark: #8f1118;
    --bm-black: #2c2a28;
    --bm-grey: #6d6762;
    --bm-border: #ead7d7;
    --bm-bg: #fff8f6;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 18%, rgba(184, 25, 34, 0.18), transparent 30%),
        radial-gradient(circle at 85% 78%, rgba(44, 42, 40, 0.18), transparent 32%),
        linear-gradient(135deg, #fff7f4 0%, #f4e6e2 45%, #e8d7d0 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
}

body::before {
    width: 430px;
    height: 430px;
    left: -160px;
    top: -160px;
    background: rgba(184, 25, 34, 0.12);
}

body::after {
    width: 360px;
    height: 360px;
    right: -130px;
    bottom: -130px;
    background: rgba(44, 42, 40, 0.13);
}

.default-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.topbar {
    width: 100%;
    padding: 16px 35px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 25, 34, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(44, 42, 40, 0.08);
}

.brand-title {
    color: var(--bm-black);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.4px;
    position: relative;
    padding-left: 16px;
}

.brand-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 28px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--bm-red), var(--bm-red-dark));
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 20px;
}

.start-card {
    width: 100%;
    max-width: 620px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(184, 25, 34, 0.18);
    border-radius: 28px;
    padding: 30px 34px 30px;
    text-align: center;
    box-shadow: 0 28px 70px rgba(44, 42, 40, 0.24);
    position: relative;
    overflow: hidden;
}

.start-card::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    background: rgba(184, 25, 34, 0.07);
    border-radius: 50%;
    top: -130px;
    right: -115px;
}

.start-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 7px;
    background: linear-gradient(90deg, var(--bm-black) 0%, var(--bm-red) 45%, var(--bm-red-dark) 100%);
}

.start-logo-box {
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
}

.start-logo-box img {
    width: 100%;
    max-width: 300px;
    background: #ffffff;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(184, 25, 34, 0.18);
    box-shadow: 0 18px 42px rgba(44, 42, 40, 0.16);
}

.start-loading-circle {
    width: 56px;
    height: 56px;
    border: 6px solid #f0dfdc;
    border-top: 6px solid var(--bm-red);
    border-right: 6px solid var(--bm-red-dark);
    border-radius: 50%;
    margin: 22px auto 14px;
    animation: spin 1s linear infinite;
}

.start-loading-text {
    color: var(--bm-black);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.start-loading-subtext {
    margin-top: 10px;
    color: var(--bm-grey);
    font-size: 14px;
    font-weight: 600;
}

.footer {
    width: 100%;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(184, 25, 34, 0.15);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer p {
    margin: 0;
    color: var(--bm-grey);
    font-size: 13px;
    font-weight: 600;
}

.footer a {
    color: var(--bm-red);
    text-decoration: none;
    font-weight: 800;
}

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

.alert.fixed {
    position: fixed;
    right: 20px;
    top: 30px;
    width: 320px;
    text-align: center;
    z-index: 99999;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: slideInRight 0.4s ease;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

@media(max-width: 768px) {
    .topbar { padding: 15px 20px; }
    .brand-title { font-size: 18px; }
    .start-card { padding: 35px 22px; border-radius: 22px; }
    .start-logo-box img { max-width: 260px; padding: 10px; }
    .start-loading-text { font-size: 19px; }
    .footer-content { flex-direction: column; text-align: center; }
}

@media(max-width: 576px) {
    .main-content { padding: 30px 12px; }
    .alert.fixed { width: calc(100% - 30px); right: 15px; left: 15px; top: 15px; }
    .start-loading-circle { width: 50px; height: 50px; }
    .start-loading-text { font-size: 18px; }
    .start-loading-subtext { font-size: 13px; }
    .start-logo-box img { max-width: 230px; }
}
