@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --primary-font: "Poppins", sans-serif;
    --secondary-font: "Courier Prime", serif;
    --primary-color: #f5571d;
    --secondary-color: #62d900;
    --text-color: #ffffff;
    --secondary-text-color: #0d0f12;
    --background-color: #000000;
    --secondary-background-color: #0d0f12;
    --tertiary-background-color: #f2f2f2;
}

body {
    font-family: var(--primary-font) !important;
    background-color: var(--background-color) !important;
}

/* .spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(69, 69, 69, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-overlay.show {
    display: flex;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
} */


.header {
    background-color: var(--background-color);
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    min-height: 4.5rem;
    max-height: 4.5rem;
}

.header_left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header_right {
    display: flex;
    justify-self: center;
    align-items: center;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    width: 200px;
    pointer-events: none;
    user-select: none;
}

.logo-hidden {
    display: block;
}

.nav {
    margin-top: 1em;
    transition: all 0.3s ease-in-out;
}

.nav_list {
    display: flex;
    justify-self: center;
    align-items: center;
    gap: 30px;
    list-style: none !important;
}

.nav_item a:hover {
    color: var(--secondary-color);
}

.nav_item a.active {
    color: var(--secondary-color);
    padding: .2em;
    transition: all 0.3s ease-in-out;
}

.nav_link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.2s ease-out;
    display: flex;
    align-items: center;
}

.contact-btn button.active {
    background-color: #313131;
    color: #bebebe;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    height: .3em;
    width: 2em;
    background-color: var(--text-color);
    margin: 5px 0;
    border-radius: .5em;
    transition: all 0.3s ease-in-out;
}

.nav-open {
    transform: translate(0) !important;
}

.hamburger-open .bar:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.hamburger-open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-open .bar:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown_menu {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    background-color: #1a1a1a;
    padding: 1rem;
    border-radius: .5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 10;
}

.dropdown_menu li:not(:last-child) {
    margin-bottom: .5rem;
}

.dropdown_menu a {
    color: var(--text-color);
    text-decoration: none;
}

.dropdown:hover>.dropdown_menu {
    opacity: 1;
    visibility: visible;
    top: 120%;
}

.nav_link .fa-chevron-down {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease-in-out;
}

.nav_link.icon-rotate .fa-chevron-down {
    transform: rotate(-180deg);
}

.connect-wallet {
    width: 100%;
}

.connect-wallet-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    background-color: #f5571d65 !important;
    border-radius: 2em !important;
    color: #fff !important;
    padding: 0.75em 2em;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease 0.3s;
}

.connect-wallet-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 2em;
}

.connect-wallet-btn:hover::before {
    width: 100%;
}

.connect-wallet-btn:hover {
    color: #fff !important;
}

.wallet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    color: #fff;
    background-color: var(--primary-color);
}

.wallet-mobile-hidden {
    display: block;
}

.notification-bell {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    width: 3em;
    height: 3em;
    border: 2px solid var(--primary-color) !important;
    background-color: transparent !important;
    border-radius: 50% !important;
    color: #fff !important;
    padding: 0.75em 2em;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease 0.3s;
}

.notification-bell::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    background-color: var(--primary-color);
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 2em 2em 0 2em;
}

.notification-bell:hover::before {
    width: 100%;
    height: 100%;
    border-radius: 2em;
}

.notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    color: #fff;
}

.profile-slide-menu {
    display: flex !important;
    align-items: center;
    gap: 1.5em;
    margin: 0 auto;
    cursor: pointer;
    background: transparent;
    border: none;
}

.profile-slide-menu span {
    color: #fff;
    text-wrap: nowrap;
}

.profile-img {
    border-radius: 50%;
    width: 3em;
    height: 3em;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.slide-menu {
    position: fixed;
    top: 4.7rem;
    right: .5rem;
    background-color: rgba(88, 82, 82, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    width: 250px;
    height: auto;
    padding: 1.5rem 1.5rem;
    transform: translateX(150%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slide-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.slide-menu-nav .nav_item {
    width: 100%;
}

.slide-menu-nav .nav_link {
    display: block;
    color: #fff !important;
    text-decoration: none;
    padding: 0.75rem .8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: left;
}

.slide-menu-nav .nav_link:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    transform: translateX(5px);
}

.slide-menu-nav-open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.profile-name-hidden-mobile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.headline-container {
    position: relative;
    width: 100%;
    height: min(90vh, 900px);
    overflow: hidden;
}

/* ===== Background ===== */
.background-image-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.95;
    pointer-events: none;
    user-select: none;
}

/* ===== Hero Image ===== */
.middle-image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -40%);
    z-index: 1;
    pointer-events: none;
}

.middle-image img {
    width: min(90vw, 500px);
    height: auto;
    user-select: none;
}

/* ===== Headline Content ===== */
.headline {
    position: relative;
    z-index: 2;
    font-family: var(--secondary-font);
    padding: 6rem 5rem;
    max-width: 1200px;
}

/* ===== Bullet Text ===== */
.headline-bullet-texts {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.headline-bullet-texts span {
    color: #fff;
    font-size: 1.5rem;
}

.headline-bullet-texts i {
    color: var(--primary-color);
    font-size: 0.5rem;
}

/* ===== Main Title ===== */
.headline-main-texts {
    display: flex;
    flex-direction: column;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    color: #fff;
    line-height: 0.9;
    margin-bottom: 2rem;
}

/* ===== Button Wrapper ===== */
.collections-btn-border {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    text-decoration: none;
}

/* Arc Base */
.collections-btn-border::before,
.collections-btn-border::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
}

/* Left Arc */
.collections-btn-border::before {
    left: -1px;
    border-right: none;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

/* Right Arc */
.collections-btn-border::after {
    right: -1px;
    border-left: none;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

/* ===== Button ===== */
.collections-btn {
    font-family: var(--primary-font);
    border-radius: 999px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 28px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 0 12px rgba(255, 98, 0, 0.6);
    transition: box-shadow 0.3s ease;
}

.collections-btn:hover {
    box-shadow: 0 0 1.5em var(--primary-color);
}

/* Arc Motion */
.collections-btn-border:hover::before {
    transform: translate(-20%, -70%);
}

.collections-btn-border:hover::after {
    transform: translate(20%, -30%);
}

.top-games-container {
    position: absolute;
    color: var(--text-color) !important;
    left: 80%;
    top: 30%;
    width: 18em;
    height: auto;
    border-radius: 15px;
    transform: translate(-80%, -40%);
    padding: 1.15em 0;
    background-color: rgba(88, 82, 82, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3;
}

/* Title fix only */
.top-games-container>span {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 15px 15px 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--tertiary-background-color);
}

.top-games-container>span h4 {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
}

.top-games-container i {
    color: var(--primary-color) !important;
    font-size: 0.6em;
    margin: 0;
}

.top-game-list-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-game-item {
    margin: 0;
}

.top-game-link {
    text-decoration: none;
    color: var(--text-color) !important;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--secondary-background-color);
    transition: background-color 0.2s ease;
}

.top-game-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.top-game-link:last-child {
    border-bottom: none;
}

.top-game-link p {
    font-size: 0.95em;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-game-img-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary-color);
}

.top-game-img-container .top-game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

#carousel {
    padding: 0 5em;
    /* overflow-x: hidden; */
}

.carousel-wrapper {
    display: flex;
    padding: 5em 2em;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 5;
}

.game-carousel-container {
    position: relative;
    width: 1200px;
    height: 480px;
    overflow: visible;
    margin: 0 auto;
}

.games {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.game-item {
    position: absolute;
    top: 10%;
    left: 50%;
    width: 340px;
    height: auto;
    padding: 1.5rem;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid transparent;
}

.game-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(245, 87, 29, 0.3);
}

.game-img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.game-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
    pointer-events: none;
    user-select: none;
}

.game-info {
    color: white;
    text-align: center;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.game-description {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 1rem;
    line-height: 1.4;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.game-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.game-rating {
    font-size: 0.9rem;
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.game-item-nav {
    position: relative;
    overflow: hidden;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid var(--primary-color);
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, border-color 0.3s ease;
    transform: translate(0%, -50%);
}

.game-item-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--primary-color);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    border-radius: 50%;
}

.game-item-nav:hover::before {
    transform: scale(1);
}

.game-item-nav i {
    position: relative;
    z-index: 1;
}

.game-item-nav.prev::before {
    transform-origin: bottom left;
}

.game-item-nav.next::before {
    transform-origin: bottom right;
}

.game-item-nav {
    position: absolute;
    top: 65%;
    left: 50%;
}

.game-item-nav.prev {
    transform: translateX(calc(-50% - 50px));
}

.game-item-nav.next {
    transform: translateX(calc(-50% + 50px));
}

/* GAME CARD */
.game-card-container {
    width: 100%;
    overflow: hidden;
    padding: 0 0 5em 0;
    display: flex;
    justify-content: center;
}

.game-card-track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    position: relative;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
}

/* card */
.game-card {
    margin: 0;
    padding: .2em;
    width: 230px;
    height: 420px;
    border-radius: 18px;
    clip-path: polygon(25% 0%, 95% 0%,
            100% 8%, 100% 92%,
            75% 100%, 5% 100%,
            0% 92%, 0% 8%);
    background: var(--tertiary-background-color);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    transition: all 0.5s ease;
    cursor: pointer;
}

/* image container */
.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    border-radius: 18px;
    clip-path: polygon(25% 0%, 95% 0%,
            100% 8%, 100% 92%,
            75% 100%, 5% 100%,
            0% 92%, 0% 8%);
}

/* Gradient overlay with button */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.3) 50%,
            rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card:hover .gradient-overlay {
    opacity: 1;
}

.view-button {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.8rem;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    opacity: 0;
}

.game-card:hover .view-button {
    transform: translateY(0);
    opacity: 1;
}

.view-button:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* title */
.game-card .title {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    color: #fff;
    z-index: 1;
    transition: all 0.3s ease;
}

.game-card:hover .title {
    display: block;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(255, 102, 0, 0.3) 50%,
            rgba(255, 102, 0, 0.7) 100%);
}

.section-title {
    padding: 3em;
    text-align: center;
}

.section-title>span {
    font-size: 3em;
    font-weight: 700;
    color: var(--tertiary-background-color);
    display: block;
    margin-bottom: 10px;
}

.section-title>.horizontal-line {
    border-bottom: 2px solid var(--primary-color);
    width: 100%;
    margin: 0 auto;
}

.section-card-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 3em;
}

.section-card {
    width: auto;
    height: auto;
    border: 2px solid var(--tertiary-background-color);
    padding: 2em;
}

.section-card-header {
    color: var(--primary-color);
    font-size: 1.8em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1em;
}

.section-card-body {
    color: var(--text-color);
    text-align: justify;
}

.footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 3em 0 0 0;
    margin: 0;
}

.empty {
    border-top: 2px solid #c9c9c975;
}

.footer-col-1 {
    border-top: 2px solid #c9c9c975;
    border-right: 2px solid #c9c9c975;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 3em;
}


.footer-col-1 .logo-1 {
    width: 120px;
}

.footer-col-1 .logo-2 {
    width: 250px;
    margin-left: 10px;
}

.footer-col-2 {
    border-top: 2px solid #c9c9c975;
    border-right: 2px solid #c9c9c975;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 3em;
}


.footer-col-2 span {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1em;
}

.footer-col-2 ul {
    padding: 0;
    margin: 0;
}

.footer-col-2 ul li {
    list-style: none;
    margin-bottom: 1em;
}

.footer-col-2 ul li a {
    position: relative;
    text-decoration: none;
    color: var(--tertiary-background-color);
    display: inline-flex;
    align-items: center;
    gap: .4em;
    padding-left: 1.4em;
    transition: color .3s ease;
}

.footer-col-2 ul li a::before {
    content: "➜";
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .3s ease, transform .3s ease;
    color: var(--primary-color);
}

.footer-col-2 ul li a:hover {
    color: var(--primary-color);
}

.footer-col-2 ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.disclaimer-container {
    font-family: var(--secondary-font);
    border-top: 2px solid #c9c9c975;
    text-align: end;
    background-color: var(--secondary-background-color);
    padding: 1em;
    color: var(--tertiary-background-color);
}

.disclaimer-container a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all .3s ease-in-out;
}

.disclaimer-container a:hover {
    opacity: .8;
}

.invert {
    filter: invert(1);
}