/* ========================================
   NEW THEME - Dark Purple & Emerald
   ======================================== */

@import "./css.css";

/* CSS Reset & Base */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

html {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: 400;
    vertical-align: middle;
}

q, blockquote {
    quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
    content: "";
    content: none;
}

a img {
    border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block;
}

/* ========================================
   NEW COLOR PALETTE
   ======================================== */

/* 
   Original Colors (for reference):
   - Primary Blue: #3498db
   - Accent Red: #e74c3c
   - Dark: #2c3e50
   - Light Gray: #ecf0f1
   - White: #fff

   NEW Colors:
   - Primary Lime: #c0c439
   - Dark Lime: #8a8c25
   - Deep Background: #c0c439
   - Dark Panel: #0f1005
   - Text: #eaeaea
   - Subtle Text: #8a9a8a
*/

/* ========================================
   TYPOGRAPHY - New Font Stack
   ======================================== */

html {
    font-size: 100%;
    line-height: 1.5em;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #eaeaea;
    font-weight: 400;
    background: #c0c439 !important;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Headers - Completely New Style */
h1, .h1 {
    font-size: 2.5em;
    line-height: 1.2em;
    margin-bottom: 0.5em;
    font-weight: 700;
    text-align: center;
    color: #fff;
    letter-spacing: -0.02em;
}

h1 a, .h1 a {
    text-decoration: none;
}

h2, .h2 {
    font-size: 1.5em;
    line-height: 1.3em;
    font-weight: 600;
    text-align: center;
    color: #fff;
    letter-spacing: 0.5px;
}

h2 a, .h2 a {
    text-decoration: none;
}

h3, .h3 {
    font-size: 1.125em;
    line-height: 1.4em;
    font-weight: 600;
    color: #fff;
}

h3 a, .h3 a {
    color: #c0c439;
    text-decoration: none;
}

h4, .h4 {
    font-size: 0.9em;
    line-height: 1.5em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a8a9a;
}

h4 a, .h4 a {
    color: #c0c439;
    text-decoration: none;
}

p {
    margin-top: 1em;
    color: #b0b0b0;
}

p.withMargin {
    margin: 0 0 1em;
}

p a {
    color: #c0c439;
    text-decoration: none;
    transition: color 0.3s ease;
}

p a:hover {
    color: #d0d459;
}

table {
    width: 100%;
}

table thead, table th {
    font-weight: 600;
    color: #fff;
}

img {
    display: block;
    max-width: 100%;
}

/* ========================================
   BUTTONS - New Style
   ======================================== */

.btn, .btn-highlight, .btn-primary, .btn-neutral, .btn-transparent {
    display: inline-block;
    box-sizing: border-box;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    color: #eaeaea;
    padding: 12px 24px;
    border: 1px solid #2a2a4e;
    border-radius: 8px;
    cursor: pointer;
    margin: 0;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn:hover, .btn-highlight:hover, .btn-primary:hover, .btn-neutral:hover, .btn-transparent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 196, 57, 0.2);
}

.btn-group .btn, .btn-group .btn-highlight, .btn-group .btn-primary, .btn-group .btn-neutral, .btn-group .btn-transparent {
    margin-left: 8px;
}

.btn.btn-block, .btn-block.btn-highlight, .btn-block.btn-primary, .btn-block.btn-neutral, .btn-block.btn-transparent {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn[disabled], [disabled].btn-highlight, [disabled].btn-primary, [disabled].btn-neutral, [disabled].btn-transparent {
    opacity: 0.5;
    cursor: not-allowed;
}

/* NEW Button Variants */
.btn-highlight {
    background: linear-gradient(135deg, #c0c439, #8a8c25);
    border-color: #c0c439;
    color: #fff;
}

.btn-primary {
    background: linear-gradient(135deg, #8a8c25, #606515);
    border-color: #2d6b1a;
    color: #fff;
}

.btn-neutral {
    background: transparent;
    border-color: #3a3a5e;
    color: #eaeaea;
}

.btn-transparent {
    background: transparent;
    border-color: transparent;
    color: #eaeaea;
}

.btn-container {
    margin: 30px 0 60px;
    text-align: center;
}

.btn-container .btn, .btn-container .btn-highlight, .btn-container .btn-primary, .btn-container .btn-neutral, .btn-container .btn-transparent {
    padding: 14px 40px;
}

/* ========================================
   HEADER - Completely Redesigned
   ======================================== */

header.main {
    position: relative;
    z-index: 101;
    background: linear-gradient(180deg, rgba(5, 8, 5, 0.98), rgba(192, 196, 57, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(192, 196, 57, 0.2);
}

header.main .main-section {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header.main .menuHolder {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

header.main .menuHolder label[for="navigationTrigger"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid #2a2a4e;
    cursor: pointer;
    transition: all 0.3s ease;
}

header.main .menuHolder label[for="navigationTrigger"]:hover {
    background: linear-gradient(135deg, #2d4d2d, #1a2d1a);
    border-color: #c0c439;
}

header.main .menuHolder label[for="navigationTrigger"] svg {
    height: 24px;
    fill: #eaeaea;
}

header.main .menuHolder nav.main {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 9999;
    float: none;
    margin: 0;
    isolation: isolate;
    background: linear-gradient(145deg, #0f1005, #050805);
    border-radius: 16px;
    border: 1px solid rgba(192, 196, 57, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 280px;
}

header.main .menuHolder nav.main ul > li a {
    white-space: nowrap;
    color: #b0b0b0;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

header.main .menuHolder nav.main ul > li a:hover {
    background: rgba(192, 196, 57, 0.1);
    color: #c0c439;
}

header.main .menuHolder nav.main ul.tile-list {
    margin-bottom: 20px;
}

header.main .menuHolder nav.main ul.tile-list a {
    white-space: normal;
}

header.main .menuHolder nav.main ul.tile-list a img, 
header.main .menuHolder nav.main ul.tile-list a svg {
    margin: 0 auto 8px;
    float: none;
    width: 36px;
    filter: brightness(0) invert(1);
}

header.main .menuHolder nav.main ul.tile-list a header,
header.main .menuHolder nav.main ul.tile-list a p {
    margin-left: 0;
    text-align: center;
}

header.main .menuHolder nav.main ul.tile-list a header {
    font-weight: 600;
    font-size: 13px;
    color: #fff;
}

header.main .menuHolder nav.main ul.tile-list a p {
    font-weight: 400;
    font-size: 11px;
    color: #8a8a9a;
}

header.main .menuHolder #navigationTrigger {
    position: absolute;
    top: 0;
    right: 0;
    clip: rect(0, 0, 0, 0);
}

header.main .menuHolder #navigationTrigger:checked ~ nav.main {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header.main .logo {
    display: block;
    text-align: center;
    padding: 20px 0;
}

header.main .logo svg {
    width: 280px;
    margin: 0 auto;
    filter: drop-shadow(0 4px 20px rgba(192, 196, 57, 0.3));
}

/* ========================================
   NAVIGATION SIDEBAR - New Style
   ======================================== */

nav.main {
    box-sizing: border-box;
    float: left;
    width: 260px;
    min-height: 400px;
    margin-top: 30px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(13, 26, 13, 0.8), rgba(10, 15, 10, 0.9));
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

nav.main ul > li a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    padding: 14px 16px;
    margin-bottom: 6px;
    border-radius: 10px;
    color: #b0b0b0;
    transition: all 0.3s ease;
}

nav.main ul > li a i {
    font-size: 1.3em;
    width: 24px;
    text-align: center;
}

nav.main ul > li a:hover {
    background: rgba(192, 196, 57, 0.1);
    color: #c0c439;
}

nav.main ul > li a:hover::before {
    display: none;
}

nav.main ul > li a::before {
    content: '';
    display: none;
}

nav.main ul > li a.active {
    background: linear-gradient(135deg, rgba(192, 196, 57, 0.2), rgba(192, 196, 57, 0.1));
    color: #c0c439;
    border: 1px solid rgba(192, 196, 57, 0.3);
}

nav.main ul > li a.active::before {
    display: none;
}

nav.main ul > li:last-child a {
    border: none;
}

nav.meta {
    padding: 30px;
}

nav.meta ul {
    padding: 0;
    margin: 0;
}

nav.meta li {
    margin: 0 16px 16px 0;
}

nav.meta li:last-child {
    margin-right: 0;
}

nav.meta a {
    text-decoration: none;
    color: #8a8a9a;
}

/* ========================================
   LANGUAGE SELECTOR - New Style
   ======================================== */

.language-select {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 56px;
    overflow: hidden;
    border-radius: 10px;
}

.language-select .value {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 10px;
    font-size: 13px;
    line-height: 20px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid #2a2a4e;
    border-radius: 10px;
    cursor: pointer;
    color: #eaeaea;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-select .value:hover {
    border-color: #e94560;
}

.language-select .value:before {
    content: '';
    position: absolute;
    top: 50%;
    margin-top: -4px;
    right: 10px;
    height: 0;
    width: 0;
    border: 5px solid transparent;
    border-top: 6px solid #8a8a9a;
    transition: border-color 0.3s ease;
}

.language-select .value:hover:before {
    border-top-color: #e94560;
}

.language-select select {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 40px;
    width: 100%;
    opacity: 0;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #fff;
}

/* ========================================
   FOOTER - Completely New Design
   ======================================== */

footer.main {
    margin-top: 60px;
    padding: 50px 0;
    background: linear-gradient(180deg, rgba(192, 196, 57, 0.95), #c0c439);
    border-top: 1px solid rgba(192, 196, 57, 0.2);
    color: #eaeaea;
}

footer.main a {
    color: #c0c439;
    transition: color 0.3s ease;
}

footer.main a:hover {
    color: #d0d459;
}

footer.main .footer-content {
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
    min-width: 320px;
    min-height: 200px;
    font-weight: lighter;
}

footer.main .footer-content section.tags nav.main {
    background: none;
    float: none;
    width: auto;
    min-height: 0;
    margin-top: 0;
    padding: 0;
    border: none;
}

footer.main .footer-content section.tags nav.main ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

footer.main .footer-content section.tags nav.main ul li {
    padding: 0;
}

footer.main .footer-content section.tags nav.main ul li a {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid #2a2a4e;
    border-radius: 20px;
    padding: 8px 18px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #eaeaea;
    transition: all 0.3s ease;
}

footer.main .footer-content section.tags nav.main ul li a:hover {
    background: linear-gradient(135deg, #c0c439, #8a8c25);
    border-color: #c0c439;
    transform: translateY(-2px);
}

footer.main .footer-content section.tags nav.main .tile-list li {
    width: auto;
}

footer.main .footer-content section.tags nav.main .tile-list li a {
    margin-bottom: 0;
}

footer.main .footer-content nav.meta {
    padding: 0;
    text-align: center;
}

footer.main .footer-content nav.meta a {
    text-decoration: none;
    color: #8a8a9a;
    font-size: 14px;
}

footer.main .footer-content nav.meta a:hover {
    color: #c0c439;
}

footer.main .footer-content ul.social {
    float: right;
    list-style: none;
    width: 240px;
    margin-right: 40px;
}

footer.main .footer-content ul.social li {
    display: flex;
    align-items: center;
    padding: 16px;
    margin: 12px 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 12px;
    border: 1px solid #2a2a4e;
    overflow: hidden;
    transition: all 0.3s ease;
}

footer.main .footer-content ul.social li:hover {
    border-color: #e94560;
    transform: translateX(-4px);
}

footer.main .copyright {
    margin: 30px 0 20px;
    text-align: center;
    color: #8a8a9a;
    font-size: 13px;
}

footer.main .powered-by-famobi {
    text-align: center;
    font-size: 12px;
    color: #8a8a9a;
}

footer.main .powered-by-famobi svg {
    display: block;
    margin: 12px auto;
    width: 60px;
    fill: #8a8a9a;
}

/* ========================================
   GAME LISTINGS - Card Style
   ======================================== */

ul.games {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

ul.games:before, ul.games:after {
    content: none;
}

ul.games:last-child {
    margin-bottom: 0;
}

ul.games li {
    position: relative;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    width: 100% !important;
    float: none !important;
}

ul.games li a {
    display: block;
    text-decoration: none;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s ease;
}

ul.games li a:hover {
    transform: translateY(-8px);
    border-color: rgba(192, 196, 57, 0.4);
    box-shadow: 0 20px 40px rgba(192, 196, 57, 0.15);
}

ul.games li .icon {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    padding-bottom: 65%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

ul.games li .icon img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

ul.games li a:hover .icon img {
    transform: scale(1.1);
}

ul.games li .name-container {
    display: flex;
    height: auto;
    min-height: 50px;
    padding: 16px;
    align-items: center;
    justify-content: center;
}

ul.games li .name {
    color: #eaeaea;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

ul.games li .btn-block {
    height: 44px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1), rgba(233, 69, 96, 0.2));
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 0 0 16px 16px;
    color: #e94560;
    font-weight: 600;
    transition: all 0.3s ease;
}

ul.games li a:hover .btn-block {
    background: linear-gradient(135deg, #c0c439, #8a8c25);
    color: #fff;
}

/* ========================================
   TILES - New Style
   ======================================== */

.tile, .tile-highlight, .tile-primary, .tile-info, .tile-neutral {
    display: block;
    padding: 24px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    margin-bottom: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.tile .hint, .tile-highlight .hint, .tile-primary .hint, .tile-info .hint, .tile-neutral .hint {
    height: 0;
    margin-top: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tile p, .tile-highlight p, .tile-primary p, .tile-info p, .tile-neutral p {
    text-align: center;
    color: #b0b0b0;
}

.tile.withSpacing, .withSpacing.tile-highlight, .withSpacing.tile-primary, .withSpacing.tile-info, .withSpacing.tile-neutral {
    margin-top: 40px;
}

.tile.active, .active.tile-highlight, .active.tile-primary, .active.tile-info, .active.tile-neutral {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tile.active .hint, .active.tile-highlight .hint, .active.tile-primary .hint, .active.tile-info .hint, .active.tile-neutral .hint {
    margin-top: 20px;
}

.tile.teaser, .teaser.tile-highlight, .teaser.tile-primary, .teaser.tile-info, .teaser.tile-neutral {
    padding: 16px;
    min-height: 80px;
    text-decoration: none;
}

.tile.teaser img, .teaser.tile-highlight img, .teaser.tile-primary img, .teaser.tile-info img, .teaser.tile-neutral img,
.tile.teaser svg, .teaser.tile-highlight svg, .teaser.tile-primary svg, .teaser.tile-info svg, .teaser.tile-neutral svg {
    float: left;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.tile.teaser header, .teaser.tile-highlight header, .teaser.tile-primary header, .teaser.tile-info header, .teaser.tile-neutral header {
    margin-left: 64px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.tile.teaser p, .teaser.tile-highlight p, .teaser.tile-primary p, .teaser.tile-info p, .teaser.tile-neutral p {
    margin: 6px 0 0 64px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    color: #8a8a9a;
}

/* Tile Variants - NEW Colors */
.tile-highlight {
    background: linear-gradient(135deg, #c0c439, #8a8c25);
    border-color: #c0c439;
    color: #fff;
}

.tile-primary {
    background: linear-gradient(135deg, #8a8c25, #606515);
    border-color: #2d6b1a;
    color: #fff;
}

.tile-info {
    margin-top: -20px;
    background: linear-gradient(135deg, #8a8c25, #606515);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.tile-neutral {
    background: rgba(26, 26, 46, 0.8);
    color: #eaeaea;
}

/* ========================================
   TILE LIST - Grid Layout
   ======================================== */

.tile-list {
    list-style: none;
    margin: -12px;
    margin-top: 20px;
}

.tile-list:before, .tile-list:after {
    content: none;
}

.tile-list li {
    box-sizing: border-box;
    padding: 12px;
    float: left;
    width: 50%;
}

.tile-list li .tile-neutral {
    margin-bottom: 0;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
}

nav.main .tile-list {
    margin: 0;
    margin-top: 20px;
}

nav.main .tile-list li {
    padding: 0;
    float: none;
    width: 100%;
}

nav.main .tile-list li .tile-neutral {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

nav.main .tile-list li:last-child .tile-neutral {
    margin-bottom: 0;
}

/* ========================================
   INPUT & TEXTAREA - New Style
   ======================================== */

input, textarea {
    box-sizing: border-box;
    margin-top: 20px;
    border: 1px solid #2a2a4e;
    border-radius: 10px;
    outline: none;
    font-size: 1em;
    padding: 14px 16px;
    background: rgba(26, 26, 46, 0.8);
    color: #eaeaea;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #c0c439;
    box-shadow: 0 0 0 3px rgba(192, 196, 57, 0.1);
}

textarea {
    width: 100%;
    resize: none;
    line-height: 1.5em;
}

/* ========================================
   MAIN CONTAINER & LAYOUT
   ======================================== */

* {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

.app-container {
    width: 100%;
    overflow: hidden;
}

#app {
    position: relative;
}

.main-section {
    margin: 0 auto;
    width: 1100px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 24px;
}

.content {
    background: transparent;
}

.content .main-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.content p a.highlight {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #c0c439, #8a8c25);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
}

/* ========================================
   EXTERNAL TEASER - New Style
   ======================================== */

section.externalTeaser {
    margin: 0 0 40px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

section.externalTeaser .main-section {
    margin: 0 auto;
}

section.externalTeaser ul {
    display: block;
}

section.externalTeaser ul li {
    width: 100%;
}

section.externalTeaser ul li a {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100%;
    padding: 24px 16px;
    color: #eaeaea;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

section.externalTeaser ul li a:hover {
    background: rgba(233, 69, 96, 0.05);
}

section.externalTeaser ul li a .btn-highlight {
    margin: 20px 0 0;
    white-space: nowrap;
    align-self: center;
}

section.externalTeaser ul li a .btn-highlight svg {
    width: 24px;
    fill: #fff;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

section.externalTeaser ul li + li a {
    margin-top: 12px;
}

/* ========================================
   GAME DETAIL PAGE
   ======================================== */

.game header {
    margin-bottom: 40px;
}

.game header .background {
    position: relative;
    background-size: cover;
    overflow: hidden;
    background-position: center center;
    text-align: center;
    border-radius: 20px;
}

.game header .background .backgroundDarken {
    padding: 50px 0;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.7), rgba(26, 26, 46, 0.9));
}

.game header .background .backgroundDarken .main-section {
    margin-top: 0;
    margin-bottom: 0;
}

.game header .icon {
    display: block;
    width: 160px;
    max-width: 100%;
    margin: 0 auto 24px;
    border: 3px solid rgba(192, 196, 57, 0.5);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.game header h1 {
    color: #fff;
    margin-bottom: 0;
    font-size: 2em;
}

.game .play-btn-container {
    position: relative;
    height: 56px;
    margin: 24px 0 0;
}

.game .play-btn-container .play-btn {
    display: block;
    margin: 0 auto;
    width: 50%;
    max-width: 300px;
    height: 56px;
    font-size: 18px;
    font-weight: 600;
    line-height: 56px;
    background: linear-gradient(135deg, #c0c439, #8a8c25);
    border: none;
    border-radius: 28px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(192, 196, 57, 0.4);
}

.game .play-btn-container .play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(192, 196, 57, 0.5);
}

.game .game-infos {
    margin-left: -12px;
    margin-right: -12px;
}

.game .game-description {
    box-sizing: border-box;
    padding: 1px 12px;
    margin-bottom: 40px;
}

.game .game-description p {
    margin: 0;
    text-align: center;
    color: #b0b0b0;
    line-height: 1.6;
}

.game .game-categories {
    margin-top: 40px;
}

.game .game-categories ul {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.game .game-categories ul li {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid #2a2a4e;
    border-radius: 20px;
    margin: 0;
    transition: all 0.3s ease;
}

.game .game-categories ul li:hover {
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.1);
}

.game .game-categories ul li a {
    display: block;
    padding: 6px 16px 4px;
    text-decoration: none;
    color: #b0b0b0;
    font-size: 13px;
    font-weight: 500;
}

.game .game-categories ul li:hover a {
    color: #c0c439;
}

.game .game-languages {
    margin-top: 40px;
}

.game .game-languages ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 16px -6px 0;
}

.game .game-languages ul li {
    text-align: center;
    padding: 6px;
    max-width: 60px;
}

.game .game-languages ul li a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.game .for-companies {
    margin: 40px 0;
    text-align: center;
}

.game .for-companies .btn-primary {
    display: inline-block;
    margin-top: 16px;
}

.game .icon-downloads {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.game .icon-downloads figure {
    position: relative;
    overflow: hidden;
    height: 180px;
    margin-right: 24px;
    border-radius: 16px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game .icon-downloads figure:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 24px;
    background: transparent;
    z-index: 1;
}

.game .icon-downloads figure img {
    position: absolute;
    box-sizing: border-box;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 24px;
    border: 3px solid rgba(192, 196, 57, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.game .icon-downloads figure figcaption {
    position: absolute;
    font-family: 'Segoe UI', sans-serif;
    right: 0;
    bottom: 0;
    left: 0;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 12px;
    color: #8a8a9a;
}

.game .more-info-btn {
    display: block;
    width: 160px;
    margin: 0 auto;
}

.game .textarea-autogrow {
    position: relative;
    margin-top: 20px;
}

.game .textarea-autogrow .aff-iliate-link, .game .textarea-autogrow .shadow {
    margin: 0;
    padding: 14px;
    font-size: 14px;
    line-height: 1.4em;
    font-weight: 400;
    font-family: 'Segoe UI', sans-serif;
    word-break: break-all;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid #2a2a4e;
    border-radius: 10px;
    color: #eaeaea;
}

.game .textarea-autogrow .shadow {
    opacity: 0;
}

.game .textarea-autogrow .aff-iliate-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
}

.game .similarGames {
    margin: 50px 0;
}

.game .similarGames h2 {
    margin-bottom: 24px;
    font-size: 1.5em;
}

/* ========================================
   STATIC PAGES
   ======================================== */

.static .content ul {
    list-style: disc;
    padding-left: 20px;
    color: #b0b0b0;
}

.static .content a {
    color: #c0c439;
}

/* ========================================
   PREVIEW TEASER - New Style
   ======================================== */

section.previewTeaser {
    border: 1px solid rgba(192, 196, 57, 0.3);
    padding: 4px;
    margin-bottom: 40px;
    display: none;
    border-radius: 16px;
    background: linear-gradient(145deg, #0f1005, #050805);
}

section.previewTeaser a {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    text-decoration: none;
    color: #fff;
    background: transparent;
    border-radius: 12px;
}

section.previewTeaser a img {
    width: 25%;
    max-width: 140px;
    margin-right: 20px;
    border-radius: 12px;
}

section.previewTeaser a .details h2 {
    text-align: left;
}

section.previewTeaser a .details h2 em {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #c0c439, #8a8c25);
    border-radius: 12px;
    margin-right: 8px;
    color: #fff;
    text-transform: uppercase;
    font-size: 60%;
    font-weight: 600;
    vertical-align: bottom;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media only screen and (max-width: 750px) {
    html {
        font-size: 95%;
    }

    h1, .h1 {
        font-size: 1.8em;
    }

    h2, .h2 {
        font-size: 1.3em;
    }

    .main-section {
        width: 100%;
        padding: 0 16px;
    }

    .content .main-section {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    header.main .menuHolder {
        left: 12px;
    }

    header.main .logo svg {
        width: 200px;
    }

    .language-select {
        top: 50%;
        right: 12px;
    }

    nav.main {
        float: none;
        width: 100%;
        margin-top: 20px;
        padding: 16px;
        min-height: auto;
    }

    ul.games {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    ul.games li {
        margin-top: 0;
    }

    .tile-list {
        margin: 0;
        margin-bottom: 20px;
    }

    .tile-list li {
        padding: 8px;
        float: none;
        width: 100%;
    }

    .tile-list li .teaser.tile-neutral {
        min-height: 60px;
    }

    .tile-list li .teaser {
        margin-bottom: 12px;
    }

    .content .tile-list li .teaser header {
        margin-bottom: 8px;
    }

    footer.main .footer-content section.tags nav.main ul li {
        padding: 0;
    }

    footer.main .footer-content section.tags nav.main ul li a {
        font-size: 11px;
        padding: 6px 12px;
    }

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

    section.previewTeaser a .details h2 {
        text-align: center;
    }

    section.previewTeaser a img {
        margin-bottom: 12px;
        width: auto;
        min-width: 0;
        height: 100px;
    }

    .game header .icon {
        width: 120px;
    }

    .game .play-btn-container .play-btn {
        width: 70%;
        font-size: 16px;
        height: 48px;
        line-height: 48px;
    }
}

@media only screen and (max-width: 400px) {
    ul.games {
        grid-template-columns: 1fr;
    }

    .game .play-btn-container .play-btn {
        width: 85%;
    }
}

@media only screen and (min-width: 751px) and (max-width: 1000px) {
    .main-section {
        width: 100%;
        padding: 0 20px;
    }

    nav.main .tile-neutral {
        margin-bottom: 12px;
    }

    .tile-list {
        margin-bottom: 20px;
    }

    .tile-list li {
        float: none;
        width: auto;
    }

    .tile-list li .teaser.tile-neutral {
        min-height: 60px;
    }
}
