@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Kalam:wght@300;400;700&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

* {
    margin: 0px;
    padding: 0px;
    scroll-behavior: smooth;
}



/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
    border: 3px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}





/* Add smooth scrolling to the page */
html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family: "Chakra Petch", serif;
    /* background-color: #333; */
    scroll-behavior: smooth;
    background-color: #121212;
    color: #ffffff;
}

nav {
    background-color: #333;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem;
    flex-wrap: wrap;
    /* Allow wrapping for responsive design */
}

.brand-name {
    color: #00ffff;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-left: 1.5rem;
    flex: 1;
    /* Allow brand name to take available space */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    transition: max-height 0.3s ease;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2.5px;
    bottom: 0;
    left: 0;
    background-color: #00ffff;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

nav ul li a:hover {
    color: #00ffff;
}

.toggle-button {
    display: none;
    flex-direction: column;
    cursor: pointer;
    /* margin-right: 1rem; */
}

.toggle-button div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
}



/* ////////////////////////////////////////
/////////////// Home Page /////////////// */

body {
    font-family: "Chakra Petch", serif;
    font-size: 16px;
}

.intro{
    font-size: 20px;
    color: #c9d1d9;
    font-family: "Roboto";
}

.clear {
    clear: both;
}

img {
    max-width: 100%;
    border: 0px;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    outline: none;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
}

a:focus,
a:active,
a:visited,
a:hover {
    text-decoration: none;
    outline: none;
}

a:hover {
    color: #e73700;
}

h2 {
    margin-bottom: 48px;
    padding-bottom: 16px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    position: relative;
    text-transform: capitalize;
}

h3 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 36px;
}

button {
    outline: none !important;
}

/******* Common Element CSS End *********/

/* -------- title style ------- */
.line-title {
    position: relative;
    width: 400px;
}

.line-title::before,
.line-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    border-radius: 2px;
}

.line-title::before {
    width: 100%;
    background: #f2f2f2;
}

.line-title::after {
    width: 32px;
    background: #e73700;
}

/******* Middle section CSS Start ******/
/* -------- Landing page ------- */
.game-section {
    padding: 30px 50px;
}

.game-section .owl-stage {
    margin: 15px 0;
    display: flex;
    display: -webkit-flex;
}

.game-section .item {
    margin: 0 15px 60px;
    width: 320px;
    height: 400px;
    display: flex;
    display: -webkit-flex;
    align-items: flex-end;
    -webkit-align-items: flex-end;
    background: #343434 no-repeat center center / cover;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.game-section .item.active {
    width: 500px;
    box-shadow: 12px 40px 40px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 12px 40px 40px rgba(0, 0, 0, 0.25);
}

.game-section .item:after {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.game-section .item-desc {
    padding: 0 24px 12px;
    color: #fff;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transform: translateY(calc(100% - 54px));
    -webkit-transform: translateY(calc(100% - 54px));
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
}

.game-section .item.active .item-desc {
    transform: none;
    -webkit-transform: none;
}

.game-section .item-desc p {
    opacity: 0;
    -webkit-transform: translateY(32px);
    transform: translateY(32px);
    transition: all 0.4s ease-in-out 0.2s;
    -webkit-transition: all 0.4s ease-in-out 0.2s;
}

.game-section .item.active .item-desc p {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.game-section .owl-theme.custom-carousel .owl-dots {
    margin-top: -20px;
    position: relative;
    z-index: 5;
}

.slider-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f5f5;
}

.custom-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 2 columns */
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.item {
    position: relative;
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.item-desc {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    text-align: center;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.item:hover .item-desc {
    transform: translateY(0);
}

.item-desc h3 {
    margin: 10px 0 10px;
    font-size: 24px;
}

.item-desc p {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
}


.game-section {
    background-color: #1e1e1e;
}

.line-title {
    color: #ffffff;
    font-size: 35px;
    letter-spacing: 1px;
}

.line-title::before {
    background: #333333;
}

.line-title::after {
    background: #00ffff;
    width: 45px;
}

.item {
    background-color: #2d2d2d;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.item.active {
    box-shadow: 12px 40px 40px rgba(0, 0, 0, 0.5);
}





/* Improved Animations */
.item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.item:hover {
    transform: translateY(-8px) scale(1.02);
}

.item-desc {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}






/* ////////////////////////////////////////////////////
///////////////// Time Line //////////////////////// */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Kalam:wght@300;400;700&display=swap');

body {
    font-family: "Chakra Petch", serif;
    padding: 0;
    -webkit-font-smoothing: antialiased;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #3D4351;
    margin-top: 0;
}

a {
    color: #FF6B6B;
}

a:hover {
    color: #ff9a9a;
    text-decoration: none;
}

.example-header {
    background: #3D4351;
    color: #FFF;
    font-weight: 300;
    padding: 1em 1em;
    margin: 1em 1em;
    text-align: center;
    margin-bottom: 3em;
    font-size: 30px;
    border-radius: 10px;
}

.read {
    color: rgb(255, 60, 0);
    text-decoration: none;
}

.example-header h1 {
    color: #FFF;
    font-weight: 300;
    margin-bottom: 20px;
    font-size: 30px;
}

.example-header p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.container-fluid .row {
    padding: 0 0 4em 0;
}

.container-fluid .row:nth-child(even) {
    background: #F1F4F5;
}

.example-title {
    text-align: center;
    margin-bottom: 60px;
    padding: 3em 0;
    border-bottom: 1px solid #E4EAEC;
}

.example-title p {
    margin: 0 auto;
    font-size: 16px;
    max-width: 400px;
}

/*==================================
      TIMELINE
  ==================================*/
/*-- GENERAL STYLES
  ------------------------------*/
.timeline {
    line-height: 1.4em;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.timeline h1,
.timeline h2,
.timeline h3,
.timeline h4,
.timeline h5,
.timeline h6 {
    line-height: inherit;
    letter-spacing: 1px;
}

/*----- TIMELINE ITEM -----*/
.timeline-item {
    padding-left: 40px;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/*----- TIMELINE INFO -----*/
.timeline-info {
    font-size: 20px;
    font-weight: 700;
    color: #00ffff;
    font-weight: bold;
    margin: 0 0 0.5em 0;
}

/*----- TIMELINE MARKER -----*/
.timeline-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15px;
}

.timeline-marker:before {
    background: #FF6B6B;
    border: 3px solid transparent;
    border-radius: 100%;
    content: "";
    display: block;
    height: 15px;
    position: absolute;
    top: 4px;
    left: 0;
    width: 15px;
    transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}

.timeline-marker:after {
    content: "";
    width: 3px;
    background: #CCD5DB;
    display: block;
    position: absolute;
    top: 24px;
    bottom: 0;
    left: 6px;
}

.timeline-item:last-child .timeline-marker:after {
    content: none;
}

.timeline-item:not(.period):hover .timeline-marker:before {
    background: transparent;
    border: 3px solid #FF6B6B;
}

/*----- TIMELINE CONTENT -----*/
.timeline-content {
    padding-bottom: 40px;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

.timeline-content p {
    font-size: 19px;
}

.timeline-content .timeline-title {
    font-size: 25px;
}

/*----- TIMELINE PERIOD -----*/
.period {
    padding: 0;
}

.period .timeline-info {
    display: none;
}

.period .timeline-marker:before {
    background: transparent;
    content: "";
    width: 15px;
    height: auto;
    border: none;
    border-radius: 0;
    top: 0;
    bottom: 30px;
    position: absolute;
    border-top: 3px solid #CCD5DB;
    border-bottom: 3px solid #CCD5DB;
}

.period .timeline-marker:after {
    content: "";
    height: 32px;
    top: auto;
}

.period .timeline-content {
    padding: 40px 0 70px;
}

.period .timeline-title {
    margin: 0;
    font-size: 30px;
    color: rgb(251, 255, 0);
    line-height: 30px;
}


.marker-outline .timeline-marker:before {
    background: transparent;
    border-color: #FF6B6B;
}

.marker-outline .timeline-item:hover .timeline-marker:before {
    background: #FF6B6B;
}





/* ///////////////////////////////////////////
/////////////// For Time Line Dark Theme ////////////////// */

/* Dark Theme Styles */
body {
    color: #c9d1d9;
    background: #0d1117;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #e6edf3;
}

a {
    color: #58a6ff;
}

a:hover {
    color: #79c0ff;
}

.example-header {
    background: #161b22;
}

.example-header h1 {
    color: #e6edf3;
}

.container-fluid .row:nth-child(even) {
    background: #161b22;
}

.example-title {
    border-bottom-color: #30363d;
}


.timeline-marker:before {
    background: #58a6ff;
}

.timeline-marker:after {
    background: #30363d;
}

.marker-outline .timeline-marker:before {
    border-color: #58a6ff;
}

.marker-outline .timeline-item:hover .timeline-marker:before {
    background: #58a6ff;
}

.read {
    color: #58a6ff;
}

.read:hover {
    color: #79c0ff;
}