::selection {
    background: #218ecc;
    color: #fff;
}

::-moz-selection {
    background: #218ecc;
    color: #fff;
}

body {
    background: #121212;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    overflow: visible !important;
}

html {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #121212;
}

ul li {
    list-style-type: none;
}

header,
section {
    position: relative;
}

a {
    text-decoration: none !important;
    color: inherit;
}

a,
button {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

a:hover,
a:focus,
a:visited,
a:active {
    outline: none !important;
}

/* Main Layout */
.main {
    position: relative;
    overflow: visible !important;
}

.left-side-wrapper {
    position: relative;
    z-index: 10;
}

.left-side-inner-wrapper {
    background: linear-gradient(135deg, #1a2a2d 0%, #0d1416 100%);
    padding: 60px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 3.5rem;
    margin: 0 0 10px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
}

header h1 span {
    color: #ef4200;
    text-shadow: 0 0 20px rgba(239, 66, 0, 0.4);
}

header p {
    font-weight: 400;
    color: #aaa;
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header p b {
    color: #fff;
    border-bottom-width: 2px !important;
}

/* Search Box */
.game-search-wrapper {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    padding: 0 20px;
}

.game-search-wrapper h3 {
    font-size: 0.95rem;
    text-align: center;
    margin: 0 0 15px;
    color: #ef4200;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.input-style {
    height: 70px;
    font-size: 1.1rem;
    color: #fff;
    outline: none !important;
    width: 100%;
    padding: 0 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.input-style:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ef4200;
    box-shadow: 0 0 30px rgba(239, 66, 0, 0.15);
}

.input-style::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Game Grid Section */
.right-side-wrapper {
    background: #000;
    padding: 60px 0;
}

.bottom-title h2 {
    text-align: center;
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin: 0 0 50px;
    font-weight: 900;
    text-transform: uppercase;
}

.bottom-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ef4200;
    margin: 15px auto 0;
    border-radius: 2px;
}

.item-grid-content {
    margin: 0 -10px;
}

/* Grid Item Card */
.grid-item {
    cursor: pointer;
    padding: 10px;
    margin-bottom: 20px;
}

.grid-item-inner {
    text-align: center !important;
    background: #111;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.grid-item:hover .grid-item-inner {
    transform: translateY(-8px);
    border-color: #ef4200;
    box-shadow: 0 15px 35px rgba(239, 66, 0, 0.2);
}

.grid-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.grid-item:hover img {
    transform: scale(1.08);
    opacity: 0.6;
}

.grid-item-info {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 10px;
    position: relative;
    z-index: 2;
}

.grid-item-info h4 {
    font-size: 0.85rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    line-height: 1.3;
}

/* Hover Overlay Button */
.grid-item-float-wrapper {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 80%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 5;
    pointer-events: none;
}

.grid-item-float-content {
    background: #ef4200;
    padding: 15px 10px;
    text-align: center;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.grid-item-float-content span {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.grid-item:hover .grid-item-float-wrapper {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* No Result Message */
.no-result-found-wrapper {
    text-align: center;
    padding: 100px 20px;
    display: none;
    width: 100%;
}

.no-result-found-wrapper .lnr {
    font-size: 4rem;
    color: #444;
    margin-bottom: 20px;
    display: block;
}

.no-result-found-wrapper span {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}

.no-result-found-wrapper p {
    color: #777;
    margin-top: 10px;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    header h1 {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    header h1 {
        font-size: 2.5rem;
    }

    .bottom-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .left-side-inner-wrapper {
        padding: 40px 0;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 0.85rem;
    }

    .grid-item {
        padding: 5px;
    }

    .grid-item-info {
        padding: 15px 5px;
    }

    .grid-item-info h4 {
        font-size: 0.75rem;
    }

    .item-grid-content {
        margin: 0 -5px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.6rem;
        letter-spacing: -1px;
    }

    .input-style {
        height: 60px;
        font-size: 0.95rem;
    }

    .bottom-title h2 {
        font-size: 1.4rem;
    }

    .grid-item-float-content {
        font-size: 0.65rem;
        padding: 10px 5px;
    }
}

/* Animation Delays (Used in JS/HTML if needed) */
.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}