@font-face {
    font-family: 'VehicleBreaksDown';
    src: url('../fonts/VehicleBreaksDown-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Chancery';
    src: url('../fonts/apple-chancery.ttf') format('truetype');
}


@font-face {
    font-family: 'MineSweeper';
    src: url('../fonts/mine-sweeper.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Reactor7';
    src: url('../fonts/Reactor7.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    height: 100%;
    box-sizing: border-box;
    /* Brick pattern background for overscroll areas */
    background: url('/img/bricks.png');
    background-repeat: repeat;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/* Ensure no white backgrounds appear anywhere */
* {
    -webkit-overscroll-behavior: none;
    overscroll-behavior: none;
}

/* Additional safeguard for viewport background */
body::after {
    content: "";
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 300vh;
    background: url('/img/bricks.png');
    background-repeat: repeat;
    z-index: -999;
    pointer-events: none;
}

body {
    position: relative;
    font-family: 'Reactor7', 'Press Start 2P', 'Courier New', monospace;
    font-style: normal;
    font-weight: normal;
    line-height: 24px;
    font-size: 18px;
    color: #F5F5DC;
    width: 100%;
    min-width: 549px;
    overflow-x: hidden;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Brick pattern background */
    background: url('/img/bricks.png');
    background-repeat: repeat;
    background-attachment: fixed;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    /* Prevent white overscroll on mobile */
    overscroll-behavior: none;
    background-size: 50% 50%;
}

body.geo-blocked {
    overflow: hidden !important;
}

/* Add scanline effect for retro CRT feel */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 2px);
    pointer-events: none;
    z-index: 1;
}

a {
    text-decoration: none;
    color: #DEB887;
    /* text-shadow: 2px 2px 0px #8B4513; */
}

h2 {
    font-family: 'Chancery', monospace;
    /* font-weight: normal; */
    font-size: 24px;
    color: #ececec;
    /* text-shadow: 3px 3px 0px #8B4513, 6px 6px 0px rgba(0, 0, 0, 0.5); */
    margin-bottom: 32px;
    line-height: 32px;
    letter-spacing: 2px;
    /* text-transform: uppercase; */
}

.main {
    flex: 1;
    position: relative;
    z-index: 2;
}

.c-row {
    margin-bottom: 35px;
}

.slick-dotted.slick-slider {
    margin-bottom: 0px;
}

.carousel-container {
    width: 960px;
    border: 4px solid #2F4F4F;
    box-shadow: 0 0 20px #2F4F4F, inset 0 0 20px rgba(47, 79, 79, 0.3);
    background: rgba(0, 0, 0, 0.7);
    padding: 8px;
}

.slick-dots {
    bottom: 25px;
}

.slick-dots li button:before {
    color: #DEB887;
    font-size: 16px;
}

.slick-dots li.slick-active button:before {
    color: #1A0F0A;
}

.bg-shape-1 {
    z-index: 1;
    position: absolute;
    max-width: 100%;
    opacity: 0.3;
}

.bg-shape-footer {
    z-index: 1;
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.flex-container {
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.c-container {
    padding: 0;
    margin: 0 200px 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 0 auto;
}

.well {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.3) 0%, rgba(47, 79, 79, 0.3) 100%);
    border: 3px solid #DEB887;
    box-shadow: 0 0 15px #DEB887, inset 0 0 15px rgba(222, 184, 135, 0.3);
    padding: 16px;
}

.header {
    width: 100%;
    background: linear-gradient(90deg, #2F1B14 0%, #5D2E20 50%, #2F1B14 100%);
    border-bottom: 4px solid #2F4F4F;
    box-shadow: 0px 4px 20px rgba(47, 79, 79, 0.5), inset 0 -2px 10px rgba(139, 69, 19, 0.5);
    height: 100px;
    position: relative;
    z-index: 100;
}

/* Pixel pattern overlay for header */
.header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 255, 255, 0.05) 10px, rgba(255, 255, 255, 0.05) 20px);
    pointer-events: none;
}

.logo-container {
    display: flex;
    width: 400px;
    height: 85px;
    margin-left: 114px;
    margin-top: 10px;
    z-index: 101;
    position: relative;
}

.logo-text {
    font-family: 'Chancery', monospace;
    font-weight: normal;
    line-height: 28px;
    font-size: 20px;
    margin-top: 23px;
    color: #DEB887;
    text-shadow: 3px 3px 0px #8B4513, 5px 5px 0px #1A0F0A, 7px 7px 10px rgba(0, 0, 0, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.logo-text>.subtitle {
    color: #1A0F0A;
    font-size: 10px;
    text-shadow: 2px 2px 0px #8B4513;
}

.c-btn {
    padding: 12px 32px;
    font-family: 'VehicleBreaksDown', 'Press Start 2P', monospace;
    font-weight: normal;
    line-height: 16px;
    font-size: 18px;
    text-align: center;
    color: #F5F5DC;
    text-transform: uppercase;
    position: relative;
    transition: all 0.1s;
    cursor: pointer;
    border: none;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.c-btn-primary {
    background: linear-gradient(180deg, #B22222 0%, #8B0000 100%);
    border: 3px solid #DEB887;
    box-shadow: 0 6px 0 #4B0000, 0 8px 10px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.3);
    border-radius: 0;
}

.c-btn-primary:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #4B0000, 0 6px 8px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.c-btn-primary:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #4B0000, 0 2px 4px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(0, 0, 0, 0.3);
}

.c-btn-secondary {
    background: linear-gradient(180deg, #4682B4 0%, #2F4F4F 100%);
    border: 3px solid #2F4F4F;
    box-shadow: 0 6px 0 #1C3333, 0 8px 10px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.3);
    border-radius: 0;
    font-size: 14px;
    padding: 12px 32px;
}

.c-btn-secondary:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #1C3333, 0 6px 8px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.5);
    color: #F5F5DC;
}

.c-btn-secondary:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #1C3333, 0 2px 4px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(0, 0, 0, 0.3);
}

a:hover {
    color: #1A0F0A;
    text-decoration: none;
    text-shadow: 2px 2px 0px #8B4513, 0 0 10px #1A0F0A;
}

.inline-vector {
    position: relative;
    top: -2px;
    filter: drop-shadow(0 0 5px #DEB887);
}

.description {
    margin-top: 44px;
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid #8B4513;
    padding: 24px;
    box-shadow: 0 0 20px #8B4513, inset 0 0 20px rgba(139, 69, 19, 0.2);
}

.space-between {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.description>.column {
    display: inline;
    width: 380px;
}

.left {
    align-self: flex-start;
    display: inline;
}

.right {
    align-self: flex-end;
    display: inline;
}

.description h2 {
    margin-top: 0;
}

.description .column {
    align-items: flex-start;
    vertical-align: top;
}

.description .left,
.description .right {
    margin-top: 0;
    padding-top: 0;
    align-self: flex-start;
}

.col-header {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}


.calendar {
    min-width: 550px;
    background: linear-gradient(135deg, rgba(47, 27, 20, 0.95) 0%, rgba(93, 46, 32, 0.95) 100%);
    /* border: 4px solid #2F4F4F; */
    position: relative;
    font-size: 14px;
}

/* Pixel corners for calendar */
.calendar::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #8B4513 25%, transparent 25%, transparent 75%, #8B4513 75%, #8B4513),
        linear-gradient(45deg, #8B4513 25%, transparent 25%, transparent 75%, #8B4513 75%, #8B4513);
    background-size: 8px 8px;
    background-position: 0 0, 4px 4px;
    z-index: -1;
}

.card-container {
    /* padding: 20px 25px 30px 25px; */
}

.cal-table tr th {
    padding-right: 30px;
    color: #DEB887;
    font-weight: normal;
    line-height: 20px;
    font-size: 12px;
    padding-bottom: 20px;
    text-shadow: 2px 2px 0px #8B4513;
    text-transform: uppercase;
}

.cal-table tr td {
    font-weight: normal;
    line-height: 20px;
    font-size: 11px;
    color: #1A0F0A;
    padding-bottom: 12px;
    text-shadow: 1px 1px 0px #000000;
}

.cal-table tr:hover td {
    color: #F5F5DC;
    text-shadow: 0 0 10px #1A0F0A;
}

.modal .calendar {
    background: #808080 !important;
    box-shadow: none !important;
    min-width: 550px;
    position: relative;
    font-size: 14px;
}

.modal .calendar::before {
    display: none !important;
}

.modal .card-container {
    /* padding: 15px 20px 20px 20px; */
    background: #808080;
    position: relative;
    z-index: 2;
}

.modal .cal-table tr th {
    color: #FFD700;
    text-shadow: 1px 1px 0px #000000;
    padding-right: 20px;
    padding-bottom: 15px;
    font-size: 18px;
    background: #606060;
    border: 1px solid #404040;
    text-transform: uppercase;
}

.modal .cal-table tr td {
    color: #FFFFFF;
    text-shadow: none;
    padding-left: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 12px;
    font-size: 18px;
    background: #808080;
    border: 1px solid #606060;
}

.modal .cal-table tr:hover td {
    color: #FFFFFF;
    background: #909090;
    text-shadow: none;
}

#geo-blocker-overlay {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    pointer-events: all;
}

#geo-blocker-overlay:focus {
    outline: none;
}

.geo-blocker-modal {
    max-width: 600px;
    width: 100%;
    padding: 32px;
    background: #C0C0C0;
    border-top: 2px solid #E0E0E0;
    border-left: 2px solid #E0E0E0;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    text-align: center;
    color: #000000;
    font-family: 'Reactor7', 'Press Start 2P', monospace;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.6);
}

.geo-blocker-modal h1 {
    font-family: 'VehicleBreaksDown', 'Press Start 2P', monospace;
    font-size: 32px;
    margin-bottom: 20px;
    color: #B22222;
    text-transform: uppercase;
}

.geo-blocker-modal p {
    margin: 12px 0;
    color: #000000;
    line-height: 1.5;
}

.geo-blocker-location {
    font-size: 14px;
    color: #333333;
}

#geo-blocker-toggle {
    margin-top: 20px;
    padding: 12px 20px;
    background: #606060;
    border: 2px solid #404040;
    color: #FFFFFF;
    font-family: 'Reactor7', 'Press Start 2P', monospace;
    cursor: pointer;
    text-transform: uppercase;
}

#geo-blocker-toggle:hover {
    background: #707070;
}

#geo-blocker-details {
    margin-top: 20px;
    text-align: left;
    background: #F0F0F0;
    color: #000000;
    padding: 20px;
    border: 2px solid #808080;
    max-height: 300px;
    overflow-y: auto;
}

#geo-blocker-details h2 {
    margin-top: 0;
    font-size: 18px;
    color: #B22222;
}

#geo-blocker-details ul {
    margin: 0;
    padding-left: 20px;
}

#geo-blocker-details li+li {
    margin-top: 6px;
}

/* Override any remaining calendar table styles for modal */
.modal .cal-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 1px;
}

.launch {
    position: relative;
    top: 5px;
    filter: drop-shadow(0 0 5px #DEB887);
}

/* SNES-style launch button in modals */
.modal .launch {
    filter: none;
    top: 3px;
}

.links {
    position: absolute;
    right: 100px;
    top: 15px;
    z-index: 50;
}

.links a {
    color: #DEB887;
    font-size: 10px;
    text-transform: uppercase;
}

.company-info {
    position: absolute;
    right: 300px;
    top: 15px;
    color: #1A0F0A;
    font-size: 10px;
    text-shadow: 1px 1px 0px #8B4513;
    z-index: 50;
}

a:focus {
    text-decoration: none;
    color: #F5F5DC;
    outline: 2px solid #DEB887;
    outline-offset: 2px;
}

.links-list {
    list-style: none;
}

.links-list li::before {
    content: "▸ ";
    color: #8B4513;
}

/*
 * Calendar End
 */

/*
 * Partners Start - Updated for Brick Theme
 */
.partners-top {
    height: 12px;
    background: linear-gradient(90deg, #228B22 0%, #2F4F4F 50%, #228B22 100%);
    box-shadow: 0 2px 10px rgba(34, 139, 34, 0.5);
}

.partners-header {
    color: #228B22;
    text-shadow: 2px 2px 0px #2F4F4F, 4px 4px 0px rgba(0, 0, 0, 0.5);
}

.partners {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(13, 25, 13, 0.8) 100%);
    margin-left: 32px;
    flex-grow: 2;
    box-shadow: 0px 8px 0 #003300, 0px 10px 20px rgba(0, 0, 0, 0.8);
    border: 4px solid #228B22;
    position: relative;
}

.partners::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(34, 139, 34, 0.1) 20px, rgba(34, 139, 34, 0.1) 40px);
    pointer-events: none;
}

.partner-images {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.partner-images img {
    filter: drop-shadow(0 0 10px #228B22);
    transition: transform 0.2s;
}

.partner-images img:hover {
    transform: scale(1.1) rotate(5deg);
}

.inline {
    display: inline;
}

/*
 * Auth Pages - SNES Style
 */

.auth-container {
    display: flex;
    align-items: center;
    padding: 20px 0;
    min-height: calc(100vh - 210px);
    /* Subtract header and footer height */
}

.auth-card {
    background: #C0C0C0;
    border-top: 2px solid #E0E0E0;
    border-left: 2px solid #E0E0E0;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    box-shadow: none;
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 50px;
    position: relative;
    border-radius: 0;
    font-family: 'Reactor7', 'Press Start 2P', monospace;
}

.auth-header {
    background: #C0C0C0;
    border-top: 2px solid #E0E0E0;
    border-left: 2px solid #E0E0E0;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #E0E0E0;
    color: #000000;
    padding: 20px;
    text-align: center;
    position: relative;
}

.auth-header h1 {
    margin: 0;
    font-family: 'VehicleBreaksDown', 'Press Start 2P', monospace;
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFD700;
    text-shadow: 1px 1px 0px #000000;
    position: relative;
    z-index: 1;
}

.auth-body {
    padding: 25px;
    background: #808080;
    border-top: 2px solid #606060;
    border-left: 2px solid #606060;
    border-bottom: 2px solid #A0A0A0;
    border-right: 2px solid #A0A0A0;
}

.auth-form-group {
    margin-bottom: 16px;
}

.code-button {
    margin-bottom: 0;
}

#signupform-phone_number {
    width: 100% !important;
}

.auth-form-control {
    border-top: 2px solid #404040;
    border-left: 2px solid #404040;
    border-bottom: 2px solid #C0C0C0;
    border-right: 2px solid #C0C0C0;
    border-radius: 0;
    padding: 10px 12px;
    font-size: 12px;
    font-family: 'Reactor7', 'Press Start 2P', monospace;
    transition: all 0.2s ease;
    background: #606060;
    color: #FFFFFF;
    width: 100%;
    box-shadow: none;
}

.auth-form-control::placeholder {
    color: #C0C0C0;
    font-family: 'Reactor7', 'Press Start 2P', monospace;
}

.auth-form-control:focus {
    border-top: 2px solid #303030;
    border-left: 2px solid #303030;
    border-bottom: 2px solid #D0D0D0;
    border-right: 2px solid #D0D0D0;
    background: #505050;
    outline: none;
}

.auth-btn-primary {
    background: #C0C0C0;
    border-top: 2px solid #E0E0E0;
    border-left: 2px solid #E0E0E0;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    box-shadow: none;
    border-radius: 0;
    padding: 12px 20px;
    font-size: 14px;
    font-family: 'VehicleBreaksDown', 'Press Start 2P', monospace;
    font-weight: normal;
    width: 100%;
    transition: all 0.1s;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000000;
    cursor: pointer;
    text-shadow: none;
}

.auth-btn-primary:hover {
    background: #D0D0D0;
    border-top: 2px solid #F0F0F0;
    border-left: 2px solid #F0F0F0;
    border-bottom: 2px solid #909090;
    border-right: 2px solid #909090;
}

.auth-btn-primary:active {
    background: #A0A0A0;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #C0C0C0;
    border-right: 2px solid #C0C0C0;
}

.auth-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #A0A0A0;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #C0C0C0;
    border-right: 2px solid #C0C0C0;
}

.auth-forgot-password {
    text-align: center;
    margin: 16px 0;
    font-size: 10px;
    color: #FFFFFF;
    font-family: 'Reactor7', 'Press Start 2P', monospace;
}

.auth-forgot-password a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: normal;
    text-shadow: none;
}

.auth-forgot-password a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #A0A0A0;
}

.auth-divider span {
    background: #808080;
    padding: 0 12px;
    color: #FFFFFF;
    font-size: 10px;
    font-family: 'Reactor7', 'Press Start 2P', monospace;
    font-weight: normal;
    text-shadow: none;
}

.auth-signup-link,
.auth-login-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    background: #606060;
    border-top: 2px solid #404040;
    border-left: 2px solid #404040;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    padding: 12px;
    text-decoration: none;
    transition: all 0.1s;
    color: #FFFFFF;
    font-family: 'Reactor7', 'Press Start 2P', monospace;
    font-size: 14px;
    font-weight: normal;
    text-shadow: none;
}

.auth-signup-link:hover,
.auth-login-link:hover {
    background: #707070;
    border-top: 2px solid #505050;
    border-left: 2px solid #505050;
    border-bottom: 2px solid #909090;
    border-right: 2px solid #909090;
    text-decoration: none;
    color: #FFD700;
}

.auth-signup-link:active,
.auth-login-link:active {
    background: #505050;
    border-top: 2px solid #303030;
    border-left: 2px solid #303030;
    border-bottom: 2px solid #707070;
    border-right: 2px solid #707070;
}

.auth-checkbox {
    margin: 12px 0;
}

.auth-checkbox label {
    font-size: 10px;
    color: #FFFFFF;
    margin-left: 8px;
    font-family: 'Reactor7', 'Press Start 2P', monospace;
    text-shadow: none;
}

.auth-checkbox input[type="checkbox"] {
    transform: scale(1.2);
    accent-color: #C0C0C0;
}

.auth-help-text {
    font-size: 18px;
    color: #C0C0C0;
    margin-top: 4px;
    font-family: 'Reactor7', 'Press Start 2P', monospace;
    text-shadow: none;
}

.auth-help-text.success {
    color: #90EE90;
    text-shadow: none;
}

.auth-help-text.error {
    color: #FFA0A0;
    text-shadow: none;
}

/* Field validation states */
.auth-form-control.success {
    border-top: 2px solid #228B22;
    border-left: 2px solid #228B22;
    border-bottom: 2px solid #90EE90;
    border-right: 2px solid #90EE90;
    background: #506050;
}

.auth-form-control.error {
    border-top: 2px solid #B22222;
    border-left: 2px solid #B22222;
    border-bottom: 2px solid #FFA0A0;
    border-right: 2px solid #FFA0A0;
    background: #605050;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    .auth-container {
        padding: 10px;
        min-height: calc(100vh - 150px);
    }

    .auth-card {
        margin: 10px;
        max-width: 100%;
    }

    .auth-header {
        padding: 20px 15px 15px;
    }

    .auth-header h1 {
        font-size: 18px;
    }

    .auth-body {
        padding: 20px 15px;
    }

    .auth-form-control {
        padding: 10px 12px;
        font-size: 12px;
    }

    .auth-btn-primary {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/*
 * Footer Start - Updated for Brick Theme
 */

footer {
    flex-shrink: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 110px;
    width: 100%;
    background: linear-gradient(90deg, #2F1B14 0%, #5D2E20 50%, #2F1B14 100%);
    border-top: 4px solid #DEB887;
    box-shadow: 0 -4px 20px rgba(222, 184, 135, 0.5), inset 0 2px 10px rgba(139, 69, 19, 0.3);
    margin-top: auto;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255, 255, 255, 0.05) 50px, rgba(255, 255, 255, 0.05) 100px);
    pointer-events: none;
}

.social-svg {
    fill: #1A0F0A;
    margin-right: 10px;
    margin-left: 10px;
    filter: drop-shadow(0 0 5px #1A0F0A);
    transition: all 0.2s;
}

.social-svg:hover {
    fill: #DEB887;
    filter: drop-shadow(0 0 10px #DEB887);
    transform: scale(1.2);
}

/* For embedded calendar table sizing */
@media only all and (max-width: 1348px) {
    .tokens-table-container {
        margin-top: 10px;
    }
}

@media screen and (max-width: 1266px) {
    footer {
        justify-content: normal;
    }
}

@media screen and (max-width: 800px) {
    .company-info {
        display: none;
    }
}

@media only all and (max-width: 980px) {
    .row {
        margin-bottom: 10px;
    }

    .carousel-container {
        width: 85vw;
    }

    .carousel-item img {
        height: auto;
        width: 100%;
    }

    body {
        overflow-x: scroll;
    }

    .container {
        margin: 0 0 0 0;
    }

    .description {
        flex-direction: column;
        justify-content: unset;
        width: 360px;
    }

    .column {
        align-self: baseline;
    }

    .howtoplay {
        margin-top: 0px;
    }

    .panels {
        display: block;
    }

    .btn {
        display: block;
        margin: 10px 0 10px 0;
    }

    .partners {
        margin-left: 0px;
    }
}

/*
    JQuery Modal - SNES Style with Beveled Edges
 */

.blocker {
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75) !important;
}

.modal {
    background: #C0C0C0;
    border-top: 2px solid #E0E0E0;
    border-left: 2px solid #E0E0E0;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    box-shadow: none;
    overflow-x: auto;
    border-radius: 0 !important;
    color: #000000;
    position: relative;
    font-family: 'Reactor7', 'Press Start 2P', monospace;
}

/* Remove unnecessary inner bevel */

/* Modal text styling for clean SNES look */
.modal p,
.modal li,
.modal td,
.modal th {
    color: #FFFFFF;
    text-shadow: none;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.modal h1,
.modal h2,
.modal h3 {
    color: #FFD700;
    text-shadow: 1px 1px 0px #000000;
    position: relative;
    z-index: 2;
}

.modal a {
    color: #FFFFFF;
    text-shadow: none;
    position: relative;
    z-index: 2;
}

.modal a:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Handle inline-styled modal headings - Clean SNES Style */
.modal h1[style*="orange"] {
    color: #FFD700 !important;
    text-shadow: 1px 1px 0px #000000 !important;
}

/* Modal lists styling - SNES Style */
.modal ol,
.modal ul {
    color: #FFFFFF;
    text-shadow: none;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
    z-index: 2;
}

.modal ol li,
.modal ul li {
    margin-bottom: 8px;
    color: #FFFFFF;
}

.modal ol li::marker {
    color: #FFFFFF;
    font-weight: bold;
}

/* Modal button styling - Clean SNES Style */
.modal .btn,
.modal button,
.modal a.btn {
    display: inline-block;
    padding: 8px 16px;
    background: #C0C0C0;
    border-top: 2px solid #E0E0E0;
    border-left: 2px solid #E0E0E0;
    border-bottom: 2px solid #808080;
    border-right: 2px solid #808080;
    color: #000000;
    text-decoration: none;
    font-family: 'Reactor7', 'Press Start 2P', monospace;
    font-size: 12px;
    text-transform: uppercase;
    text-shadow: none;
    cursor: pointer;
    transition: all 0.1s;
    border-radius: 0;
    position: relative;
}

.modal .btn:hover,
.modal button:hover,
.modal a.btn:hover {
    background: #D0D0D0;
    border-top: 2px solid #F0F0F0;
    border-left: 2px solid #F0F0F0;
    border-bottom: 2px solid #909090;
    border-right: 2px solid #909090;
    color: #000000;
    text-decoration: none;
}

.modal .btn:active,
.modal button:active,
.modal a.btn:active {
    background: #A0A0A0;
    border-top: 2px solid #808080;
    border-left: 2px solid #808080;
    border-bottom: 2px solid #C0C0C0;
    border-right: 2px solid #C0C0C0;
}

/* Tournament table styling - Clean SNES Style */
.tournament-view table {
    background: #808080;
    border-top: 2px solid #606060;
    border-left: 2px solid #606060;
    border-bottom: 2px solid #A0A0A0;
    border-right: 2px solid #A0A0A0;
}

.tournament-view>div>div>div>table>tbody>tr>th,
.tournament-view>div>div>div>table>tbody>tr>td {
    border: 1px solid #606060;
    color: #FFFFFF;
    text-shadow: none;
    padding: 6px 10px;
    background: #808080;
}

.tournament-view>div>div>div>table>tbody>tr>th {
    background: #606060;
    border: 1px solid #404040;
    color: #FFD700;
    text-shadow: 1px 1px 0px #000000;
    font-weight: bold;
    text-transform: uppercase;
}

.tournament-anchor>td:hover,
.tournament-view>div>div>div>table>tbody>tr:hover>td {
    background: #909090;
    color: #FFFFFF;
}

.tournament-anchor>td>img {
    position: relative;
    top: -2px;
    filter: drop-shadow(0 0 5px #DEB887);
}

/* Add retro button sound effect styling */
button,
.c-btn,
a {
    position: relative;
}

button::after,
.c-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s;
    pointer-events: none;
}

button:active::after,
.c-btn:active::after {
    opacity: 1;
    transform: scale(1);
}

/* Pixel art pattern background option */
.pixel-bg {
    background-image:
        repeating-linear-gradient(0deg, rgba(139, 69, 19, 0.1) 0px, transparent 1px, transparent 2px, rgba(139, 69, 19, 0.1) 3px),
        repeating-linear-gradient(90deg, rgba(47, 79, 79, 0.1) 0px, transparent 1px, transparent 2px, rgba(47, 79, 79, 0.1) 3px);
    background-size: 3px 3px;
}

/* Ensure carousel container maintains 16:9 aspect ratio */
.carousel-container {
    width: 960px;
    aspect-ratio: 16 / 9;
    /* This creates the 16:9 ratio */
    border: 4px solid #2F4F4F;
    box-shadow: 0 0 20px #2F4F4F, inset 0 0 20px rgba(47, 79, 79, 0.3);
    background: rgba(0, 0, 0, 0.7);
    padding: 8px;
    overflow: hidden;
    /* Prevents any image overflow */
}

/* Style the carousel items to fill the container */
.carousel-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make the square image cover the 16:9 container */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This ensures the square image covers the entire 16:9 area */
    object-position: center;
    /* Centers the image within the container */
}

/* Update mobile responsive rules */
@media only all and (max-width: 980px) {
    .carousel-container {
        width: 85vw;
        aspect-ratio: 16 / 9;
        /* Maintain 16:9 on mobile too */
    }

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/*
 * Full-Screen Game Menu Styles - 16-bit SNES Style
 */

.fullscreen-game-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    overflow: hidden;
}

.fullscreen-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.game-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(1px);
}

/* Top Menu Bar */
.game-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: linear-gradient(90deg, rgba(47, 27, 20, 0.9) 0%, rgba(93, 46, 32, 0.9) 50%, rgba(47, 27, 20, 0.9) 100%);
    border-bottom: 4px solid #DEB887;
    box-shadow: 0 4px 20px rgba(222, 184, 135, 0.5);
}

.game-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.game-logo-img {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 0 10px #DEB887);
}

.game-logo-text {
    display: flex;
    flex-direction: column;
}

.game-title {
    font-family: 'VehicleBreaksDown', 'Press Start 2P', monospace;
    font-size: 24px;
    color: #DEB887;
    text-shadow: 3px 3px 0px #8B4513, 5px 5px 0px #1A0F0A;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.game-subtitle {
    font-family: 'Reactor7', 'Press Start 2P', monospace;
    font-size: 12px;
    color: #1A0F0A;
    text-shadow: 1px 1px 0px #8B4513;
    margin-top: 5px;
}

.game-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.game-username {
    font-family: 'Reactor7', 'Press Start 2P', monospace;
    font-size: 14px;
    color: #DEB887;
    text-shadow: 2px 2px 0px #8B4513;
}

.game-logout-btn {
    font-family: 'Reactor7', 'Press Start 2P', monospace;
    font-size: 12px;
    color: #B22222;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid #B22222;
    background: rgba(178, 34, 34, 0.1);
    text-shadow: 1px 1px 0px #000000;
    transition: all 0.2s;
}

.game-logout-btn:hover {
    background: rgba(178, 34, 34, 0.3);
    color: #FF4444;
    text-shadow: 0 0 10px #FF4444;
    transform: scale(1.05);
}

/* Main Menu */
.game-menu-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px;
}

.game-menu-title h1 {
    font-family: 'Chancery', serif;
    font-size: 56px;
    color: #DEB887;
    text-shadow: 3px 3px 0px #8B4513, 6px 6px 0px #1A0F0A, 9px 9px 15px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    margin: 0;
    text-align: center;
    animation: pulse 3s ease-in-out infinite;
    font-style: italic;
}

.game-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    min-width: 400px;
}

.game-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 32px;
    font-weight: bold;
    font-family: 'Reactor7', 'Press Start 2P', monospace;
    font-size: 24px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid;
    transition: all 0.1s;
    cursor: pointer;
    position: relative;
    width: 100%;
    min-height: 50px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 4px rgba(0, 0, 0, 0.3);
}

.game-btn-primary {
    background: linear-gradient(180deg, #32CD32 0%, #228B22 100%);
    border-color: #90EE90;
    color: #003300;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.4);
    font-size: 28px;
    padding: 24px 40px;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 20px rgba(50, 205, 50, 0.3);
    animation: pulse-glow 2s ease-in-out infinite;
}

.game-btn-primary:hover {
    background: linear-gradient(180deg, #3ADF3A 0%, #2E8B2E 100%);
    color: #001100;
    border-color: #98FB98;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), 0 6px 12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(50, 205, 50, 0.5);
    transform: translateY(-1px);
}

.game-btn-primary:active {
    background: linear-gradient(180deg, #228B22 0%, #006400 100%);
    color: #000000;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
    animation: none;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 20px rgba(50, 205, 50, 0.3);
    }

    50% {
        box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.3), 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 30px rgba(50, 205, 50, 0.6);
    }
}

.game-btn-secondary {
    background: linear-gradient(180deg, #C8C8C8 0%, #A0A0A0 100%);
    border-color: #707070;
    color: #2C2C2C;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.6);
    font-size: 18px;
    padding: 14px 28px;
    margin-bottom: 8px;
    opacity: 1;
}

.game-btn-secondary:hover {
    background: linear-gradient(180deg, #D8D8D8 0%, #B8B8B8 100%);
    border-color: #909090;
    color: #1A1A1A;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
    opacity: 1;
}

.game-btn-secondary:active {
    background: linear-gradient(180deg, #909090 0%, #707070 100%);
    color: #000000;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

/* Social Links */
.game-menu-social {
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(90deg, rgba(47, 27, 20, 0.8) 0%, rgba(93, 46, 32, 0.8) 50%, rgba(47, 27, 20, 0.8) 100%);
    border-top: 2px solid #8B4513;
}

.game-social-btn {
    font-family: 'Reactor7', 'Press Start 2P', monospace;
    font-size: 12px;
    color: #DEB887;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid #8B4513;
    background: rgba(139, 69, 19, 0.3);
    text-shadow: 1px 1px 0px #000000;
    transition: all 0.2s;
    text-transform: uppercase;
}

.game-social-btn:hover {
    background: rgba(139, 69, 19, 0.6);
    color: #F5F5DC;
    text-shadow: 0 0 10px #DEB887;
    transform: scale(1.1);
    border-color: #DEB887;
}

/* Modal Enhancements - Clean SNES Style */
.modal-header {
    background: #C0C0C0;
    color: #000000;
    padding: 16px;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    border-bottom: 0;
}

/* Remove unnecessary header inner bevel */

.modal-header h1 {
    font-family: 'Chancery', monospace;
    font-size: 28px;
    margin: 0;
    color: #FFD700;
    text-shadow: 1px 1px 0px #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.modal-content {
    padding: 20px;
    background: #808080;
    position: relative;
    z-index: 2;
    border-radius: 0;
    border-top: 4px solid #404040;
    border-left: 4px solid #404040;
    border-bottom: 6px solid #c2c2c2;
    border-right: 6px solid #c2c2c2;
    border-radius: 0;
}

.instructions-section {
    margin-bottom: 20px;
    padding: 16px;
    background: #606060;

    border-radius: 0;
    position: relative;
}

.instructions-section h2 {
    color: #FFD700;
    margin-top: 0;
    font-size: 18px;
    position: relative;
    z-index: 2;
}

.instructions-section p {
    color: #FFFFFF;
    line-height: 1.6;
    text-shadow: none;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.instructions-section strong {
    color: #FFD700;
    text-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-menu-top {
        flex-direction: column;
        gap: 20px;
        padding: 15px 20px;
    }

    .game-logo {
        flex-direction: column;
        text-align: center;
    }

    .game-menu-title h1 {
        font-size: 32px;
    }

    .game-menu-buttons {
        min-width: 90%;
    }

    .game-menu-btn {
        font-size: 16px;
        padding: 12px 24px;
    }

    .game-menu-social {
        gap: 15px;
        flex-wrap: wrap;
    }
}

.close-modal {
    display: none !important;
}