/* Roboto WOFF2 Embedding */
@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-regular.woff2') format('woff2');
    font-weight: 400;
}
@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-bold.woff2') format('woff2');
    font-weight: 700;
}
@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
}

:root {
    --bg-black: #000000;
    --win-grey-1: #0c0c0c; 
    --win-grey-2: #181818; 
    --win-tile: #222222;   
    --win-border: #333333;
    --win-accent: #0078d7;
}

body {
    background-color: var(--bg-black);
    color: #e0e0e0; /* Off-white for better readability in dark mode */
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.roboto-bold { font-weight: 700; }
.roboto-italic { font-style: italic; }

/* --- LOGO BLENDING --- */
.win-blend {
    mix-blend-mode: screen; 
    filter: contrast(140%) brightness(110%);
}

.header-corner { position: absolute; top: 0; left: 0; padding: 20px; z-index: 10; }
.logo-top { width: 260px; }
.logo-footer { width: 420px; }

/* --- MAIN LAYOUT --- */
.main-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 140px; 
}

/* --- THE FIRST TILE (HERO) --- */
.top-stats-card {
    background-color: #111111;
    border: 1px solid var(--win-border);
    width: 90%;
    max-width: 850px;
    padding: 60px 40px;
    margin-bottom: 80px;
    text-align: center;
}

.top-stats-card h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.welcome-msg {
    font-size: 1.6rem;
    margin: 25px 0;
    color: #ffffff;
}

/* --- SECTION STRIPS --- */
.tonality-strip {
    width: 100%;
    padding: 60px 0;
    display: flex;
    justify-content: center;
}
.tone-dark { background-color: var(--win-grey-1); }
.tone-light { background-color: var(--win-grey-2); }

/* --- BOX GRID (6 BOXES EACH) --- */
.box-grid {
    display: grid;
    /* Fixed 3-column layout on PC to prevent stretching */
    grid-template-columns: repeat(3, 340px); 
    gap: 30px;
}

.tile {
    background-color: var(--win-tile);
    border: 1px solid var(--win-border);
    min-height: 380px; 
    padding: 35px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.tile:hover {
    border-color: var(--win-accent);
    background-color: #2a2a2a;
}

.tile h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.description {
    font-size: 1rem;
    color: #b0b0b0;
}

/* --- FOOTER --- */
.footer {
    background-color: #000;
    padding: 120px 20px;
    border-top: 1px solid var(--win-border);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-block { flex: 1; }
.about-block h2 { font-size: 2rem; margin-bottom: 20px; }

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .box-grid { grid-template-columns: repeat(2, 340px); }
    .logo-top { width: 200px; }
}

@media (max-width: 768px) {
    .box-grid { grid-template-columns: 1fr; width: 90%; max-width: 400px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .logo-footer { width: 300px; }
    .top-stats-card { padding: 40px 20px; }
}