:root {
    --main-content-text-color: #161f19;
    --main-content-background-color: #fcfcfc;
    --main-contnent-header-color: #0a2811;
    --game-box-focus-color: #161f19;
    --game-box-border-color: #161f19;
    --card-front-color: #303030;
    --card-title-color: #CCFF00;
    
    

}
/*
===================================================================================
PROPERTY OF ERODED SLOOM STUIDO LTD
Asset: Custom Branding Font (WOFF2 Web Format)
Creator / Author: Jonathan Brown
Copyright: © 2026 Eroded Sloom Studio Ltd. All Rights Reserved.
Licence: Authorised exclusively for use on official company digital assets.
Unauthorised distribution, replication, or extraction is strictly prohibited.
===================================================================================
*/
@font-face {
    font-family: 'Eroded Sloom Font';
    src: url(../fonts/eroded-sloom-font.woff2) format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Eroded Sloom Font';
    src: url(../fonts/ErodedSloomFont-Bold.woff2) format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Eroded Sloom Font';
    src: url(../fonts/ErodedSloomFont-BoldItalic.woff2) format('woff2');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Eroded Sloom Font';
    src: url(../fonts/ErodedSloomFont-Italic.woff2) format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}



* {
    font-family: 'Eroded Sloom Font', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
}

html, body {
    
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--main-content-background-color);
    color: #2d3748;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
    
    line-height: 1.6;
    
}

/*
==============================================================================
TOP NAVIGATION HEADER STYLES
==============================================================================
*/
.site-header {
    background-color: #303030;
    border-bottom: 1px solid #3c3b3b;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 15;
    
}

.header-logo-img{
    width: 130px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.header-brand {
    
    margin-bottom: 20px;
    transition: transform 0.2s ease;


}

.header-brand:hover {
    transform: scale(1.02);
}


.header-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    Padding: 0;
}

.header-nav a {
    color: #facc15;
    display: inline-block;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight:600;
    padding: 10px 20px;
    transition: color o.2s ease;
    
}

.header-nav a:hover,
.header-nav a.active {
    color:  #fcfcfc;
    background-color: #3d3d3d;
}



/*
==============================================================================
MAIN CONTENT STYLES
==============================================================================
*/

.main-content {
    flex: 1;
    width: 100%;
    max-width: 800px;
    margin: 60px auto;
    padding: 0 1.25rem 1.25rem;
    text-align: left;
}

.main-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    
    
}

.main-content h2 {
    font-size: 2rem;
    
   
}

.main-content h3 {
    font-size: 1.5rem;
    
    
}

.main-content h1,.main-content h2,.main-content h3 {
    color: var(--main-contnent-header-color);
    
    font-weight: bold;

}

.main-content p{
    font-size: 1.25rem;
    line-height: 1.7;
    
    margin-bottom: 1.5rem;
    color: var(--main-content-text-color);
}

.main-content ol,.main-content ul {
    font-size: 1.125rem;
    line-height: 1.7;
    
    padding-left: 2.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: var(--main-content-text-color);

}

.main-content a[href^="mailto:"] {
    word-break: break-all;
    overflow-wrap: break-word;
    font-size: clamp(1.20rem, 1vw + 1rem, 1.125rem);

}

/*
==============================================================================
FLIP CARD STYLES
==============================================================================
*/
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.games-box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3.5rem 2.5rem;
    justify-content: center;
    align-content: center;
    width: 100%;
    margin: 0 auto 4rem auto;

}

.game-box-wrapper {
    display:flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    justify-content: flex-start;
}

.get-game-dropdown {
    position:relative;
    width: 200px;
    margin-top: 1.5rem;
    align-self: center;
}

.dropdown-trigger {
    width: 100%;
    padding: 0.65rem 1rem;
    background-color: var(--card-front-color);
    color: #CCFF00;
    border: 2px solid transparent;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.dropdown-trigger:hover, .get-game-dropdown:focus-within .dropdown-trigger {
    color:  #fcfcfc;
    background-color: #3d3d3d;
    border-color: #fcfcfc;
}

.game-box-heading {
    display: block;
    margin: 0;
    color: #CCFF00;
    font-size: clamp(1.35rem, 3vw + 1.5rem, 1.8rem);
    line-height: 1.1;
    
}

.main-content ul.dropdown-menu{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0 0 0 0;
    padding: 0.5rem;
    padding-left: 0.5rem;
    list-style: none;
    background-color: #141414;
    border: 2px solid var(--card-title-color);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    z-index: 100;

    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.main-content ul.dropdown-menu.is-open {
    opacity: 1;
    visibility: visible;
}


.dropdown-menu li {
    color: #b5b5b5;
}
.dropdown-menu a {
    display: block;
    padding: 0.5rem;
    color: #facc15;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    color:  #CCFF00;
    background-color: #141414;
    font-weight: bold;
}

.game-box-physical-space {
    width: 240px;
    
    height: 392px;
    perspective: 1200px;
    margin: 0 auto;
    transform-style: preserve-3d;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.game-box-physical-space:hover {
    transform: scale(1.05);
    z-index: 10;
}

.game-box-physical-space:hover .card-face{
    box-shadow: 0 20px 35px rgba(0,0,0,0.6);
}

.game-box {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: none;
    
    border: none;
    padding: 0;
    outline: none;
}

.game-box:focus-visible {
    outline: 4px dashed var(--game-box-focus-color);
    outline-offset: 8px;
}

.game-box.is-flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    top: 0;
    
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 4px;
    box-sizing:border-box;
    border: 4px solid var(--game-box-border-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
/* less accessible inside button
.card-face h3, .card-face h2, .card-face h1 {
    margin: 0;
    color: #CCFF00;
    font-size: clamp(1.35rem, 3vw + 1.5rem, 1.8rem);
    line-height: 1.1;
}
*/
.card-face p {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #fcfcfc;
}

.card-front {
    background-color: var(--card-front-color);
    color: var(--card-title-color);
    display: flex;
    flex-direction: column;
    padding: 12px;
    transform: rotateY(0deg) translateZ(30px); 

}

.box-corner-badge {
    position: absolute;
    z-index: 5;
    width: 30px;
    height: auto;

    bottom: 16px;
    right: 16px;

    transform: rotate(-5deg);
}

.box-side {
    position: absolute;
    top: 0;
    height: 100%;
    width: 60px;
    background-color: #1a1a1a;
    border: 4px solid var(--game-box-border-color);
    box-sizing: border-box;
    backface-visibility: visible;
    transition: background-color 1.8s cubic-bezier(0.4, 0, 0.2, 1);

    
    
}

.box-side-left {
    left: -30px;
    transform: rotateY(-90deg);

    display: flex;
    justify-content: center;
    align-items: center;

    writing-mode: vertical-rl;

    transform: rotateY(-90deg) rotateZ(180deg);
}

.spine-text{
    color: #CCFF00;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
    white-space: nowrap;
}

.box-side-right {
    right: -30px;
    transform: rotateY(90deg);
}

.game-box.is-flipped .box-side-left{
    background-color: #555555;
}

.game-box.is-flipped .box-side-right{
    background-color: #111111;
}

.card-back {
    background-color: var(--card-front-color);
    color: #fcfcfc;
    transform: rotateY(180deg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;
    justify-content: space-between;
    transform: rotateY(180deg) translateZ(30px)
}

.box-art-frame {
    height: 66%;
    width: 100%;
    overflow: hidden;
    border: 4px solid var(--game-box-border-color);
    background-color: #000000;

    display: block;

}

.game-box-art-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    min-height: 100%;
}

.game-box-title-area {
    height: 34%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 8px;

}



/*
==============================================================================
BRAND AND FOOTER STYLES
==============================================================================
*/

.site-footer {
    background-color: #222222;
    padding: 50px 20px;
    border-top: 1px solid #3d3d3d;
    color: #b5b5b5;
    font-size: 0.85rem;
    line-height: 1.6;
    width: 100%;
    

}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-column .footer-title {
    color: #CCFF00;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    display:block;
}

.footer-column ul{
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #facc15;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #fcfcfc;
}

.footer-logo-img {
    width: 130px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 0 15px 0;
}

.company-legal-info {
    margin-bottom: 20px;
}



.footer-brand {
    display: inline-block;
    margin-bottom: 20px;
    transition: transform 0.2s ease;

}

.footer-brand:hover {
    transform: scale(1.02);
}



.hamburger-btn{
    display: none;
    width: auto;
    height: auto;
}

@media (prefers-reduced-motion: reduce){
    .game-box {
        transition: none !important;
    }
}

@media (prefers-color-scheme: dark){
    :root {
        --main-content-text-color: #fcfcfc;
        --main-content-background-color: #222222;
        --main-contnent-header-color: #CCFF00;
        --game-box-focus-color: #facc15;
        --game-box-border-color: #b5b5b5;
        --card-front-color: #303030;
        --card-title-color: #CCFF00;
        
    }

    .main-content a {
        color: #facc15;
    }

    .main-content strong, .main-content b {
        
        color: #CCFF00;
    }
}



/*--- MOBILE RESPONSIVE MEDIA QUERY ---*/
@media (max-width: 768px){

    .main-content p, ol, ul {
        font-size: 1.25rem;
        line-height: 1.6;
    }

    

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        position: relative;
    }

    .header-brand {
        display: block;
        flex-shrink: 0;
        
    }

    .header-logo-img{
        margin: 0;
        
    }

    

    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 110;
        width: 44px;
        height: 44px;
    }

    .hamburger-btn .bar {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #fcfcfc;
        border-radius: 2px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .header-nav {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        position: absolute;
        top: 100%;
        left: 0%;
        width: 100%;
        background-color: #303030;
        border-bottom: 1px solid #3c3b3b;
        padding: 10px 0;
        z-index: 105;
        
    }

    .header-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        list-style-type: none;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .header-nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }

    .header-nav a.active {
        border-bottom: none;
        background-color: transparent;
    }

    .header-container.menu-open .header-nav {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        transition: transform 0.3s ease-in-out;
        
        
    }

    /* FOOTER MOBILE */

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 35px;
        text-align: center;
    }

    .footer-column:first-child {
        order: 3;
    }

    .footer-brand {
        flex-shrink: 0;
        margin-bottom: 10px;
    }

    .footer-logo-img {
        margin: 0 auto 15px auto;
    }




}



