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

body {
    font-family: "IBM Plex Mono", monospace;
    background-color: #f0f0f0;
}

/* Row base styling */
.row {
    width: 100%;
}

/* ───────── Row 1: Header ───────── */
.row-header {
    height: 50px;
    overflow: visible;
    display: flex;
    align-items: center;
}

/* ───────── Updated Top Bar ───────── */
.top-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #333;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    position: relative;
    overflow: visible;
    height: 50px;
}

.logo-wrapper img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    position: relative;
    top: 50px; /* moves the image downwards to leak out */
    z-index: 2;
}

/* Responsive: Shrink logo on small screens */
@media (max-width: 768px) {
    .logo-wrapper img {
        max-height: 120px;
    }
}

/* ───────── Row 2: Highlight Content ───────── */
.row-highlight {
    border: 20px solid #228b22;
    background-image: url("images/pixelballbg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 40px 20px;
    //margin-top: 50px;
}

.highlight-content {
    color: #222;
    padding: 40px 20px;
    max-width: 900px;
    width: 100%;
    text-align: left;
    z-index: 1;
}

.highlight-content p {
    background: white;
    padding: 5px;
    margin: 20px 0;
    border-radius: 1px;
    box-shadow: 0 0 100px rgba(0, 0, 0, 1);
}

/* ───────── Row 3: Video + Store Link ───────── */
.row-video-store {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    background: #000;
}

.split-container {
    display: flex;
    width: 100%;
    max-width: 1600px;
    flex-direction: row;
    flex-wrap: wrap;
}

.video-side,
.store-side {
    width: 50%;
    aspect-ratio: 16 / 9;
    padding: 20px;
    box-sizing: border-box;
}

.video-side {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-side {
    background: #ffeb3b;
    display: flex;
    align-items: center; /* Vertical centering */
    justify-content: center; /* Horizontal centering */
    position: relative;
    height: auto; /* Remove conflicting height rules */
    min-height: 100%; /* Allow it to grow with content */
    padding: 20px;
    box-sizing: border-box;
}

/* Responsive iframe */
.video-side iframe,
.store-side iframe {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
}

/* ───────── Row 4: Fullscreen Gallery ───────── */
.row-gallery {
    width: 100%;
    background: #000;
    padding: 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 0;
    width: 100%;
}

.gallery-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* ───────── Row 5: Features Section ───────── */
.row-features {
    border: 20px solid #228b22;
    background-image: url("images/pxArt-7.png");
    background-size: 100px;
    background-repeat: repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.features-content {
    font-family: "IBM Plex Mono", monospace;
    background: rgba(255, 255, 255, 0.7);
    padding: 40px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    color: #222;
}

.features-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding-left: 0;
    font-size: 1.1rem;
}

.features-list li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 10px;
}

.features-list li::before {
    content: "☺︎";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: normal;
    font-family: "IBM Plex Mono", monospace;
    color: #000;
}

.footnotes {
    font-size: 0.9rem;
    margin-top: 20px;
    color: #444;
}

.transparency-note {
    margin-top: 40px;
    font-size: 1rem;
}

.transparency-note h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* ───────── Row 6: Footer (Red/Black/White Theme) ───────── */
.row-footer {
    background-color: #000; /* almost black */
    color: #fff;
    font-family: "IBM Plex Mono", monospace;
    padding: 30px 20px;
    font-style: italic;
    text-align: center;
    font-size: 1rem;
    border: 2px dashed green;
}

.row-footer a {
    color: red;
    text-decoration: none;
    font-style: normal;
    font-weight: bold;
}

.row-footer a:hover {
    color: black;
    background-color: yellow;
    padding: 10px 0px;
    font-style: italic;
    border-radius: 0px;
    border: 4px dotted black;
    text-decoration: none;
}
