html {
	--game-dock-height: 66px;
	scroll-behavior: smooth;

}

body {
	padding: 0 0 calc(var(--game-dock-height) + 20px + env(safe-area-inset-bottom));
	margin: 0;
	background-color: #2c2c2c;
	font-family: Arial, sans-serif;
	font-weight: bold;
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center center;
} 

#background-video { 
	background-size:cover; 
	background-attachment: fixed; 
	background-repeat: no-repeat; 
	background-position: center center; 
	width: 100%; 
	height: 100%; 
	object-fit: cover; 
	position: fixed;  
	right: 0; 
	top: 0; 
	bottom: 0; 
	z-index:0} 
            
* {
    cursor: url("../img/cursor.png"), auto;
}

img {
    max-width: 100%;
}

.presentation-languages {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(316px, 90%);
    margin-inline: auto 5%;
    padding-block: 8px;
}

@media (min-width: 1800px) {
    .presentation-languages {
        position: fixed;
        top: 0;
        right: 5%;
        margin: 0;
    }
}

.presentation-languages a {
    display: grid;
    min-height: 44px;
    min-width: 0;
    place-items: center;
    padding: 8px 6px;
    border: 1px solid #987047;
    border-radius: 6px;
    background: linear-gradient(180deg, #302016, #1c130d);
    color: #ffe7c2;
    font: 700 15px/1.2 Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.presentation-languages a[aria-current="page"] {
    border-color: #d4aa73;
    background: linear-gradient(180deg, #654329, #3a2517);
}

.presentation-languages a:hover,
.presentation-languages a:focus-visible {
    border-color: #ffe3b7;
    color: #fff3de;
    text-decoration: none;
}

.presentation-languages a:focus-visible {
    outline: 2px solid #ffe3b7;
    outline-offset: 2px;
}

.game-dock {
    position: fixed;
    z-index: 1000;
    inset: auto 0 0;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid #805634;
    background: linear-gradient(90deg, transparent, #e0b77f, transparent) center top / min(100%, 1120px) 1px no-repeat,
        linear-gradient(180deg, #261a12, #130d09 65%);
    box-shadow: 0 -5px 24px rgba(10, 5, 2, 0.6);
    color: #f9dfb4;
}

.game-dock__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(8px, 1.5vw, 22px);
    width: min(100%, 1120px);
    min-height: calc(var(--game-dock-height) - 1px);
    margin-inline: auto;
    padding-inline: clamp(8px, 2vw, 20px);
}

.launch-countdown {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.4vw, 18px);
    padding-right: clamp(10px, 1.5vw, 22px);
    border-right: 1px solid #67492e;
    white-space: nowrap;
}

.launch-countdown__heading {
    line-height: 1.25;
}

.launch-countdown__status {
    margin: 0 0 3px;
    color: #edc68e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.launch-countdown__date {
    display: block;
    color: #d8b790;
    font-size: 14px;
    font-weight: 600;
}

.launch-countdown__units {
    display: grid;
    grid-template-columns: repeat(4, minmax(28px, auto));
    gap: clamp(6px, 0.7vw, 9px);
    text-align: center;
}

.launch-countdown__number {
    display: block;
    color: #ffe9c6;
    font: 700 23px/1 Arial, sans-serif;
    font-variant-numeric: lining-nums tabular-nums;
}

.launch-countdown__unit-label {
    display: block;
    margin-top: 3px;
    color: #d8b790;
    font-size: 11px;
    line-height: 1;
}

.bottom-menu {
    display: flex;
    align-items: center;
    gap: clamp(1px, 0.5vw, 7px);
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #a67943 transparent;
}

.bottom-menu .bottom-menu__item {
    position: relative;
    display: grid;
    flex: 1 0 auto;
    min-height: 44px;
    place-items: center;
    padding: 0 clamp(2px, 0.4vw, 5px);
    border: 1px solid transparent;
    border-radius: 5px;
    background: transparent;
    color: #f9dfb4;
    font: 700 15px/1.2 Arial, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.bottom-menu .bottom-menu__item--primary {
    border-color: #94613b;
    background: linear-gradient(180deg, #51311e, #311c12);
    box-shadow: inset 0 1px rgba(255, 222, 170, 0.16);
}

.bottom-menu .bottom-menu__item::after {
    content: "";
    position: absolute;
    right: 18%;
    bottom: 6px;
    left: 18%;
    height: 1px;
    background: #f5ca85;
    box-shadow: 0 0 6px #e2a860;
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 180ms ease, transform 180ms ease;
}

.bottom-menu .bottom-menu__item:hover,
.bottom-menu .bottom-menu__item:focus-visible,
.bottom-menu .bottom-menu__item[aria-pressed="true"] {
    background: #3e291b;
    color: #fff4df;
    box-shadow: inset 0 0 12px rgba(255, 195, 119, 0.17);
}

.bottom-menu .bottom-menu__item:focus-visible {
    outline: 2px solid #ffe5b3;
    outline-offset: -3px;
}

.bottom-menu .bottom-menu__item:hover::after,
.bottom-menu .bottom-menu__item:focus-visible::after,
.bottom-menu .bottom-menu__item[aria-pressed="true"]::after {
    opacity: 1;
    transform: scaleX(1);
}

@media (max-width: 1080px) {
    html {
        --game-dock-height: 99px;
    }

    .game-dock__inner {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 48px 1fr;
        gap: 0;
    }

    .launch-countdown {
        justify-content: center;
        height: 100%;
        padding: 0;
        border-right: 0;
        border-bottom: 1px solid #4d3523;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .anim-frame .col-lg-12::before,
    .anim-frame .col-lg-12::after {
        animation: none;
    }

    .bottom-menu .bottom-menu__item,
    .bottom-menu .bottom-menu__item::after {
        transition: none;
    }
}

.bottom-menu #silk-prices-trigger {
    color: #ffd58e;
}

@media (max-width: 660px) {
    html {
        --game-dock-height: 146px;
    }

    .game-dock__inner {
        padding-inline: 5px;
    }

    .bottom-menu {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 3px;
    }

    .bottom-menu .bottom-menu__item {
        padding-inline: 2px;
        font-size: 13px;
        white-space: normal;
        text-align: center;
    }
}

.silk-prices,
.announcement-popup {
    position: fixed;
    inset: 0;
    width: min(460px, calc(100% - 24px));
    max-height: calc(100% - 24px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #8c643e;
    border-radius: 10px;
    background: #19110c;
    color: #f4dfc2;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.75), 0 0 28px rgba(156, 99, 51, 0.2);
}

.silk-prices[open],
.announcement-popup[open] {
    animation: silk-prices-in 180ms ease-out;
}

.silk-prices::backdrop,
.announcement-popup::backdrop {
    background: rgba(9, 6, 4, 0.77);
    backdrop-filter: blur(3px);
}

@keyframes silk-prices-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.silk-prices__header,
.announcement-popup__header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px clamp(12px, 4vw, 22px);
    border-bottom: 1px solid #7a5130;
    background: linear-gradient(155deg, #3c281a, #241810);
}

.silk-prices__brand {
    margin: 0 0 4px;
    color: #deb47e;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.silk-prices__header h2 {
    margin: 0;
    color: #ffe6be;
    font: 700 clamp(25px, 6vw, 30px)/1.2 Georgia, serif;
}

.dialog-close {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #8c643e;
    border-radius: 5px;
    background: #24170f;
    color: #f4dfc2;
    font-size: 14px;
    cursor: pointer;
}

.dialog-close:hover,
.dialog-close:focus-visible {
    background: #4b301d;
    color: #fff4df;
}

.dialog-close:focus-visible {
    outline: 2px solid #ffd58e;
    outline-offset: 2px;
}

.silk-prices__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.silk-prices .silk-prices__table th,
.silk-prices .silk-prices__table td {
    padding: 9px clamp(12px, 4vw, 22px);
    border-bottom: 1px solid #3e2b1e;
    text-align: left;
}

.silk-prices .silk-prices__table :is(th, td):last-child {
    text-align: right;
}

.silk-prices__table thead {
    background: #291c13;
    color: #edc490;
    font-size: 14px;
}

.silk-prices__table tbody tr:nth-child(even) {
    background: #211710;
}

.silk-prices__table tbody td {
    color: #ffdb9f;
    font-weight: 700;
}

.silk-prices .silk-prices__table tbody tr:last-child > * {
    border-bottom: 0;
}

.announcement-popup {
    width: min(760px, calc(100% - 24px));
    width: min(760px, calc(100% - 24px), max(240px, calc(100dvh - 90px)));
}

.announcement-popup__header {
    padding: 6px 12px;
}

.announcement-popup__header h2 {
    margin: 0;
    color: #ffe6be;
    font: 700 clamp(16px, 3vw, 20px)/1.2 Arial, sans-serif;
}

.announcement-popup__image {
    display: block;
    width: 100%;
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
    .silk-prices[open],
    .announcement-popup[open] {
        animation: none;
    }
}

.sag_menu_container {
    z-index: 999;
    width: 217px;
    position: fixed;
    right: 5%;
    top: max(64px, 5vh);
    max-height: calc(100vh - max(64px, 5vh) - var(--game-dock-height) - 8px - env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden auto;
    scrollbar-width: none;
}

.sag_menu_container > div {
    flex-shrink: 0;
}

.menu_ust {
    width: 217px;
    height: 105px;
    background: url("../img/menu_bas.png") no-repeat center bottom;
    background-size: 100% 100%;
	border-radius: 15px 15px 0px 0px;
}

.menu_orta {
    width: 217px;
    background: url("../img/menu_orta.png") repeat-y center top;
    background-size: 100% auto;
    padding: 0 10px !important;
    box-sizing: border-box;
    z-index: 2;
}

.menu_alt {
    width: 217px;
    height: 110px;
    background: url("../img/menu_son.png") no-repeat center top;
    background-size: 100% 100%;
    margin-top: -7px;
    z-index: 1;
	border-radius: 0 0 15px 15px;
	
}

.menu_orta ul {
    list-style: none;
    margin: -40px 0 -34px 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 1px;
    position: relative;
    z-index: 100;
}

.menu_orta ul li a {
    color: #ffe5b3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 6px rgba(255, 229, 179, 0.22);
    text-decoration: none;
    font-weight: bold;
    background: url("../img/menu_arka.png") no-repeat;
    background-size: 100% 100%;
    display: block;
    width: 100%;
    height: 24px;
    padding: 0 11px;
    font-size: 13px;
    line-height: 24px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.2s;
}

.menu_orta ul li a:hover {
    filter: brightness(1.8);
	transition: 300ms;
}

.anim-frame.container {
    position: relative;
    display: block;
    width: min(960px, 80%) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-inline: 5px solid #3f2c17;
    border-bottom: 1px solid #3f2c17;
    border-radius: 0 0 10px 10px;
    box-shadow: -10px 0 24px -10px rgba(49, 34, 19, 0.45),
        10px 0 24px -10px rgba(49, 34, 19, 0.45);
}

.anim-frame > .row {
    margin-inline: 0;
}

.anim-frame .col-lg-12 > img:last-child {
    border-radius: 0 0 8px 8px;
}

.anim-frame .col-lg-12 {
    isolation: isolate;
    padding-inline: 0;
}

/* Kayan neonlar gorsellerin kenarinda, gorsel katmaninin arkasinda kalir. */
.anim-frame .col-lg-12::before,
.anim-frame .col-lg-12::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 13px;
    pointer-events: none;
    z-index: -1;
    background-image: radial-gradient(
        ellipse 11px 92px at center,
        #5c4023 0%,
        #4d361e 16%,
        rgba(63, 44, 23, 0.7) 35%,
        rgba(63, 44, 23, 0.18) 65%,
        transparent 100%
    );
    background-repeat: repeat-y;
    background-size: 100% 340px;
    filter: drop-shadow(0 0 8px #3f2c17)
            drop-shadow(0 0 17px rgba(49, 34, 19, 0.45));
    will-change: background-position;
}

/* Sol: yukaridan asagi */
.anim-frame .col-lg-12::before {
    left: 0;
    transform: translateX(-50%);
    animation: neonAsagi 3s linear infinite;
}

/* Sag: asagidan yukari */
.anim-frame .col-lg-12::after {
    right: 0;
    transform: translateX(50%);
    animation: neonYukari 3s linear infinite;
}

@keyframes neonAsagi {
    from { background-position: center 0; }
    to   { background-position: center 340px; }
}

@keyframes neonYukari {
    from { background-position: center 0; }
    to   { background-position: center -340px; }
}

.anim-frame img,
.anim-frame video {
    display: block;
    width: 950px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .anim-frame.container {
        width: calc(100% - 16px) !important;
        border-inline: 0;
    }
}

@media (max-width: 1365px) {
    .m-d-n {
        display: none;
        overflow: hidden;
    }
}

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