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

body {
    font-family: "Bitcount Single", system-ui;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 0px, transparent 9px, rgba(255,242,223,0.1) 9px, rgba(255,242,223,0.1) 10px, transparent 10px, transparent 20px),
        linear-gradient(0deg, transparent 0px, transparent 9px, rgba(255,242,223,0.1) 9px, rgba(255,242,223,0.1) 10px, transparent 10px, transparent 20px);
    background-size: 20px 20px;
    background-position: 0 0;
    opacity: 0.53343;
    z-index: -1;
}

.bitcount-single {
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "CRSV" 0.5,
        "ELSH" 0,
        "ELXP" 0;
}

.bitcount-light {
    font-weight: 300;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 5%;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.percentage {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: 0.2rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
    color: #d63f3e;
    text-shadow: 0 0 10px rgba(164, 36, 35, 0.5);
    text-align: center;
}

.coming-soon {
    font-size: clamp(2rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
    color: #d63f3e;
    text-shadow: 0 0 10px rgba(164, 36, 35, 0.5);
}

.description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    transition: opacity 0.3s ease-in-out;
}

.description::after {
    content: '_';
    margin-left: -0.55em;
    animation: caretBlink 1s steps(1, end) infinite;
}

.description.no-cursor::after {
    display: none;
}

.description.fade-out {
    opacity: 0;
}

.description.fade-in {
    opacity: 1;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #a42423;
    color: #fff2df;
    text-decoration: none;
    border-radius: 8px;
    font-family: "Bitcount Single", system-ui;
    font-weight: 300;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.cta-button:hover {
    background: rgba(164, 36, 35, 0.05);
    color: #fff2df;
    border: 1px solid #a42423;
}

.cta-button:active {
    background: #a42423;
    color: #fff2df;
    border: 1px solid #a42423;
}

.cta-button.checking {
    background: #8a1e1d;
    color: #fff2df;
    border: 1px solid #8a1e1d;
}

.cta-button.error {
    background: #8a1e1d;
    color: #fff2df;
    border: 1px solid #8a1e1d;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 5%;
    margin-top: auto;
    color: #fff2df;
}

.footer-logo {
    width: 30px;
    height: 30px;
    margin-bottom: 1rem;
    background-image: url('https://static.brxo.net/brand-resources/b-ffffff.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.location {
    font-size: 0.9rem;
    text-align: center;
}

.cookie-notice {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 0.5rem;
    opacity: 0.7;
}

@keyframes caretBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .description::after { animation: none; opacity: 1; }
}

@media (max-width: 768px) {
    footer {
        padding: 1rem 5%;
    }
    
    .footer-logo {
        width: 30px;
        height: 30px;
    }
    
    .coming-soon {
        font-size: clamp(2rem, 10vw, 4rem);
        text-shadow: 0 0 20px rgba(164, 36, 35);
    }
    
    .description {
        font-size: 1.1rem;
        max-width: 80%;
    }
    
    main {
        padding: 1rem 2%;
    }
    
    .location {
        font-size: 0.8rem;
    }
    
    .cookie-notice {
        font-size: 0.7rem;
    }
}
