/* === Fonts === */
@font-face {
    font-family: orbitron;
    src: url(/fonts/orbitron.ttf);
}

@font-face {
    font-family: consolas;
    src: url(/fonts/consolas.ttf);
}

/* === Base Reset === */
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    text-decoration: underline;
}

body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    font-family: Inconsolata, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
    font-size: 16px;
    color: #ffffff;
    text-align: left;
    background-color: #0c0d16;
}

/* === Layout Media Queries === */
@media all and (min-width: 769px) {
    .float-left {
        width: 49vw;
        float: left;
    }
    .float-right {
        width: 50vw;
        float: right;
    }
    #overlay {
        width: 60%;
    }
}

@media all and (max-width: 768px) {
    .float-left,
    .float-right {
        width: 100%;
    }
    .float-right {
        height: auto;
    }
    #overlay {
        width: 75%;
    }
}

@media all and (min-width: 769px) {
    .right-button {
        float: right;
    }
    .left-button {
        float: left;
    }
}

@media all and (max-width: 768px) {
    .right-button,
    .left-button {
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    .right-button {
        margin-top: 15px;
    }
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ffffff;
}

/* === Generic Fancy Button === */
.fancy-button {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: Orbitron, sans-serif;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    border: 2px solid transparent;
    transition: color 0.8s ease;
    cursor: pointer;
    font-weight: bold;
}

.fancy-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: 0;
    width: 150%;
    height: 200%;
    transform: translateX(-72%);
    transition: none;
    z-index: 0;
    pointer-events: none;
    background: transparent;
}

.fancy-button-small::before {
    transform: translateX(-80%);
}

.fancy-button:hover::before {
    transform: translateX(100%);
    transition: transform 0.8s ease;
}

/* === Background Utilities === */
.bg-black {
    background: #0c0d16;
}

.bg-cyan {
    background: #0abdc6;
}

.bg-magenta {
    background: #ea00d9;
}

.bg-yellow {
    background: #ead500;
}

/* === Border Color Utilities === */
.border-cyan {
    border-color: #0abdc6;
}

.border-magenta {
    border-color: #ea00d9;
}

.border-yellow {
    border-color: #ead500;
}

/* === Text Color Utilities === */
.text-white {
    color: #ffffff;
}

.text-black {
    color: #000000;
}

.text-cyan {
    color: #0abdc6;
}

.text-magenta {
    color: #ea00d9;
}

.text-yellow {
    color: #ead500;
}

/* === Stripe Color Utilities === */
.stripe-cyan::before {
    background: linear-gradient(45deg, transparent 40%, #0abdc6 40%, #0abdc6 60%, transparent 60%);
}

.stripe-magenta::before {
    background: linear-gradient(45deg, transparent 40%, #ea00d9 40%, #ea00d9 60%, transparent 60%);
}

.stripe-yellow::before {
    background: linear-gradient(45deg, transparent 40%, #ead500 40%, #ead500 60%, transparent 60%);
}

.fancy-button.stripe-white:hover::before {
    transform: translateX(100%);
    transition: transform 1.0s ease;
}

.stripe-white::before {
    background: linear-gradient(45deg, transparent 40%, #ffffff 40%, #ffffff 60%, transparent 60%);
}

/* === Banner === */
.banner-minimal {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding: 1rem 2rem;
    z-index: 1;
    font-family: Orbitron, sans-serif;
    background: #0c0d16;
    pointer-events: none;
    display: block;
}

@media (max-width: 768px) {
    .banner-minimal {
        display: none;
    }
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    pointer-events: auto;
}

/* === Hero Section === */
.hero-section {
    /* Optional overrides (if needed) */
    color: #ffffff;
    min-height: 100vh;
}

.hero-section .section-inner {
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
}

.hero-text {
    flex: 1;
    min-width: 0;
    text-align: left;
    z-index: 1;
    position: relative;
}

.logo-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.bgg-rating {
    font-family: Consolas, monospace;
    font-size: 0.95rem;
    color: #aaa;
    margin-top: 1.5rem;
}

.bgg-rating a {
    color: #2ee4e4;
    text-decoration: underline;
}

.bgg-rating a:hover {
    color: #0abdc6;
}

.tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    line-height: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-cards {
    position: relative;
    max-width: 800px;
    width: 65%;
    z-index: 1;
    pointer-events: none;
    transition: all 0.3s ease;
    align-self: center;
}

.description {
    font-family: Consolas, monospace;
    font-size: 1rem;
    line-height: 1.75rem;
    margin-top: 2rem;
    font-weight: normal;
    display: block;
}

@media (max-width: 768px) {
    .description {
        display: none;
    }
}

.quote {
    font-family: Consolas, monospace;
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 2rem;
    color: #ccc;
    line-height: 1.6rem;
}

.quote-author {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: bold;
    color: #eee;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
    .hero-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .logo-image {
        margin-top: 1.5rem;
    }
    .hero-text {
        text-align: center;
    }
    .hero-cards {
        width: 90%;
        margin-top: 2rem;
    }
}

.card-carousel {
    overflow: hidden;
    background-color: #0c0d16;
    padding: 4rem 0;
    position: relative;
}

.card-track {
    display: flex;
    gap: 2rem;
    will-change: transform;
}

.carousel-card {
    flex: 0 0 auto;
    width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.carousel-card:hover {
    transform: scale(1.5);
}

.how-to-section {
    padding-top: 3rem;
    padding-bottom: 6rem;
    text-align: center;
    color: #ffffff;
}

.section-inner.column {
    flex-direction: column;
    align-items: center;
    gap: 0rem;
}

.how-to-header {
    max-width: 700px;
    margin: 0 auto;
}

.subtitle {
    font-family: Consolas, monospace;
    font-size: 1rem;
    line-height: 1.75rem;
    color: #ffffff;
    margin-top: 1rem;
}

.text-center {
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
}

.section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    padding-left: 4rem;
    padding-right: 3rem;
    padding-top: 10rem;
    padding-bottom: 6rem;
    overflow: hidden;
    position: relative;
    min-height: 90vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

/* === Shared Flex Section Layout === */
.section-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0rem;
    flex-wrap: nowrap;
}

.section-text {
    flex: 1;
    min-width: 0;
    font-family: Consolas, monospace;
    font-size: 1rem;
    line-height: 1.75rem;
    color: #ffffff;
}

.section-image {
    flex: 1.5;
    min-width: 0;
    align-self: center;
}

.section-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* === Mobile Responsive Adjustments === */
@media (max-width: 768px) {
    .section-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-text {
        text-align: center;
        padding: 2rem 0;
    }

    .section-image {
        width: 100%;
        margin: 0 auto;
    }

    .section-image img {
        max-height: 400px;
        object-fit: contain;
    }
}


.button-row {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.order-table {
    width: 100%;
    margin-top: 1rem;
}

.order-counter {
    width: 90px;
    text-align: center;
    white-space: nowrap;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding-left: 2.5vw;
        padding-right: 2.5vw;
        padding-top: 2rem;
        padding-bottom: 2rem;
        min-height: 0;
    }

    .section-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-text {
        text-align: center;
        padding: 2rem 0rem;
    }
    .section-image {
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .section-image img {
        width: auto;
        height: auto;
        max-height: 50vh;
        max-width: 100%;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

    .button-row {
        flex-direction: column;
        align-items: center;
    }

    .fixed-width {
        width: 100%;
        max-width: 300px;
    }
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 769px) {
    .mr-desktop {
        padding-right: 4rem;
    }
    .ml-desktop {
        padding-left: 4rem;
    }
}

.button {
    text-align: center;
    width: 308px;
    color: #000000;
    height: 44px;
    padding-top: 14px;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(50, 50, 93, 0.1), 0 2px 5px 0 rgba(50, 50, 93, 0.1), 0 1px 1px 0 rgba(0, 0, 0, 0.07);
}
