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

@font-face {
    font-family: wurtz-display-one;
    src: url(fonts/wurtz/Wurz-display-UP-01.otf);
}
@font-face {
    font-family: synchro;
    src: url(fonts/synchro/synchro.ttf);
}

body {
    background-color: #ffffff;
    font-family:  "Helvetica", sans-serif;
    font-size: 15px;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.main-container {
    width: 880px;
    border: 1px solid #999;
    background: #ffffff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 22px;
    border-bottom: 2px solid #ff872c;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 4px;
}


.logo-text h1 {
    font-family: 'wurtz-display-one', sans-serif;
    font-size: 70px;
    margin-top: 13px;
    color: #ff872c;
    line-height: 1;
}

nav {
    display: flex;
    gap: 11px;
}

.nav-item {
    text-decoration: none;
    color: #ff872c;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    border-radius: 5px;
}

.nav-item:hover,
.nav-item.active {
    background-color: #ff872c;
    color: #ffffff;
}

.nav-item span {
    display: inline-block;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    font-family: 'synchro', serif;
}

.content-wrapper {
    position: relative;
    height: 440px;
    display: flex;
    background-color: #FFDEAD;
    overflow: hidden;
}

.right-panel {
    flex: 1;
    background-color: #FEE7B6;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(4, 1fr);
    position: relative;
}

.right-panel::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
            linear-gradient(#F5C677 2px, transparent 2px),
            linear-gradient(90deg, #F5C677 2px, transparent 2px);
    background-size: 12.5% 25%;
    pointer-events: none;
    z-index: 1;
}

.grid-cell.colored {
    background: #ff9d1c;
    z-index: 2;
}

.dot-matrix {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    width: 100%;
    height: 100%;
}

.dot {
    width: 100%;
    height: 100%;
}

.dot.on {
    background-color: #ff9d1c;
}

.whats-new-container {
    grid-column: 1 / span 2;
    grid-row: 4 / span 1;
    background: #ff9d1c;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 22px;
    gap: 11px;
}

.whats-new-container h2 {
    font-size: 20px;
    font-weight: bold;
}

.whatsnew-btn {
    background: linear-gradient(to bottom, #E85041, #ff872c);
    border: 1px solid #8B0000;
    color: white;
    font-size: 26px;
    padding: 2px 9px;
    border-radius: 26px;
    cursor: pointer;
}

.left-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 45%;
    background: white;
    z-index: 10;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
    box-shadow: 6px 0 11px rgba(0,0,0,0.5);
    border-right: 2px solid #ddd;
}

footer {
    border-top: 3px solid #ccc;
    padding: 17px;
    text-align: center;
    background: #fff;
}

.footer-links a {
    text-decoration: underline;
    color: #333;
    margin: 0 6px;
    font-family: 'synchro', serif;
}

.copyright {
    margin-top: 11px;
    font-size: 11px;
    color: #666;
}

@media (max-width: 880px) {
    .main-container {
        width: 100%;
        border: none;
    }

    header {
        flex-direction: column;
        align-items: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .left-panel {
        display: none;
    }

    .content-wrapper {
        height: auto;
    }

    .right-panel {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(8, 1fr);
    }

    .right-panel::before {
        background-size: 25% 12.5%;
    }
}