
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}
body{
    font-size:14px;
    color:#ffffff;
    background: #1a1a2e;
    font-family: 'Inter', sans-serif;
     scrollbar-width:none;
     overflow-x: hidden;
     min-height: 100vh;
}
body::-webkit-scrollbar {
    display: none;
  }
  .headerfull{
    margin-top:0 !important;
    background: #1a1a2e;
    padding: 20px 40px;
  }
.header{
    width:90%;
    margin:auto;
    text-align: center;
    display:flex;
    align-items: center;
    justify-content: space-between;
}
.header h1{
    font-size:24px;
    padding-top:30px;
}
.brandsection{
    display: flex;
    align-items: center;
    gap: 20px;
}
.tagline{
    font-size: 13px;
    color: #a0a0c0;
    max-width: 400px;
    line-height: 1.5;
    font-weight: 500;
}
.headerright{
    display: flex;
    align-items: center;
    gap: 20px;
}
.search{
    position:relative;
}
.search input{
    width:300px;
    padding:12px 45px 12px 20px;
    border:1px solid #2d2d44;
    background-color: #242438;
    border-radius:12px;
    color: #ffffff;
}
.search input::placeholder{
    color: #7a7a8c;
}
.brand img{
   width:80px;
}
.search i{
    position:absolute;
    top:50%;
    transform: translateY(-50%);
    right:15px;
    color:#7a7a8c;
}
.theme-toggle{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #242438;
    cursor: pointer;
    transition: all 0.3s ease;
}
.theme-toggle:hover{
    background: rgba(0, 102, 255, 0.2);
}
.theme-toggle i{
    color: #ffb347;
    font-size: 18px;
}
.footer{
    background: #1a1a2e;
    position:fixed;
    bottom:0;
    padding:10px 0px;
    color: #ffffff;
    width:100%;
}
.footercenter{
    display:flex;
     position:relative;
    align-items: center;
    justify-content: space-between;
    width:90%;
    margin:auto;
}
.footercenter div{
    display:flex;
    flex-direction: column;
    align-items:center;
    width:20%;
    justify-content: center;
    transition: all 0.3s ease;
}
.footercenter div a{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.footer div i{
    margin-bottom:5px;
    font-size:18px;
    transition: all 0.3s ease;
}
.footer div p{
    font-size: 12px;
    font-weight: 600;
}
.active{
    color:#0066ff;
}
.footercenter div:not(.active):hover{
    opacity: 0.7;
}
.footercenter div.active * {
    color: #0066ff;
}

/* Pagination styles */
.pagination-container {
    text-align: center;
    margin: 30px 0;
    padding: 0 20px;
}
.pagination {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    justify-content: center;
}
.pagination li {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    font-weight: 600;
}
.pagination li:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.3);
}
.pagination li.active {
    background: #0066ff;
    border-color: transparent;
}
.pagination li.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.category-section {
    display: none;
}
.category-section.active {
    display: block;
}

.category-controls {
    text-align: center;
    margin: 20px 0;
}
.category-controls button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.1);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}
.category-controls button:hover {
    background: rgba(0, 102, 255, 0.2);
}
.category-controls button.active {
    background: #0066ff;
}

.category-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    margin: 20px 0;
    padding: 20px 0;
}

.category-items .app {
    flex: 0 0 calc(25% - 15px);
    min-width: 180px;
    margin: 0;
    width: auto;
}

@media (max-width: 1200px) {
    .category-items .app {
        flex: 0 0 calc(33.333% - 15px);
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .category-items .app {
        flex: 0 0 calc(50% - 10px);
        min-width: 150px;
    }
}

@media (max-width: 480px) {
    .category-items .app {
        flex: 0 0 100%;
        min-width: 100%;
    }
}
.footer a {
    color: unset;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.recommanded{
    width:100%;
    margin:auto;
    margin-top:40px;
    font-size:18px;
    margin-left:5%;
}
.recommanded i{
    margin-right:10px;
    color: #0066ff;
    font-size: 20px;
}
.recommanded span{
    font-weight: 700;
    color: #ffffff;
    font-size: 20px;
}
.recommanded .head, .top .head{
    position:relative;
}
.recommanded .head a ,.top .head a{
    position:absolute;
    right:8%;
    text-decoration: none;
    color:#0066ff;
    font-weight: 600;
    transition: all 0.3s ease;
}
.recommanded .head a:hover ,.top .head a:hover{
    color: #4da6ff;
}
.body{
    margin-top:15px;
    display:flex;
    overflow: scroll hidden;
    position: relative;
    width: fit-content;
    height: fit-content;
    max-width: 100%;
    align-items: center;
    -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none; 
}
.body::-webkit-scrollbar , .topbody::-webkit-scrollbar{
    display:none;
}
.app{
    display:flex;
    margin-right:20px;
    align-items: center;
    height: fit-content;
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 255, 0.1);
}
.app:hover{
    background: rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-2px);
}
.app .logo{

}
.app .logo img{
    width:65px;
    border-radius:12px;
}
.app .text{
    width:fit-content;
    position:relative;
    margin-left:15px;
}
.app .text span{
    font-size:15px;
    font-weight: 600;
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
}
.app .text div{
    display:flex;
    align-items: center;
    font-size:13px;
    margin-top:8px;
    color: #a0a0c0;
}
.app .text div i{
    color: #ffb347;
    margin-right: 5px;
}
.text div p{
    font-weight:600;
    color: #a0a0c0;
}

.top{
    width: 90%;
    margin:auto;
    background: #0066ff;
    color:white;
    padding:25px 20px;
    border-radius: 25px;
    width: fit-content;
    max-width: 100%;
    margin-left:15px;
}
.tophead{
    display: flex;
    align-items: center;
    gap: 10px;
}
.tophead i{
    font-size: 20px;
}
.topbody{
    overflow: scroll hidden;
    position: relative;
    width: fit-content;
    height: fit-content;
    padding-left: 16px;
    max-width: 100%;
    display:flex;
}
.topbody .topapp{
   display:flex;
  flex-direction: column;
  margin-top:20px;
  padding-right:20px;
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.topapp:hover{
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}
.topapp .logo img{
    width:90px;
    border-radius:20px;
}
.toptext div{
    display:flex;
    padding-top:5px;
}
.toptext div i{
    color: #ffb347;
}
.topapp .text div p {
    color: #ffffff;
}
.tophead{
    font-size:18px;
    padding-left: 16px;
    font-weight: 700;
}
.space{
    margin-bottom:100px;
}
.bg{
    background: transparent;
    margin-top:20px;
    padding-top:0;
}

.instructions-section{
    width: 90%;
    margin: 30px auto;
    display: flex;
    justify-content: center;
}

.text-instructions-btn{
    background: #0066ff;
    color: white;
    padding: 15px 50px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.text-instructions-btn:hover{
    transform: translateY(-3px);
}

/* Instructions Modal */
.instructions-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.instructions-modal.active {
    display: flex;
    animation: zoomIn 0.3s ease-out;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #1A202C;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    z-index: 1;
}

.modal-content h2 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
    color: #ffffff;
    text-transform: uppercase;
}

.modal-content ol {
    list-style-position: inside;
    margin-bottom: 30px;
}

.modal-content ol li {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #ffffff;
}

.modal-close-btn {
    width: 100%;
    background: #0066ff;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Welcome & Important Pop-ups */
.welcome-popup, .important-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.3s ease-out;
}

.welcome-popup.active, .important-popup.active {
    display: flex;
}

.popup-content {
    background: #1A202C;
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    z-index: 1;
    text-align: center;
}

.popup-content h2, .popup-content h3 {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 20px;
}

.popup-content h2 {
    font-size: 36px;
}

.popup-content p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.important-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.important-header i {
    color: #0066ff;
    font-size: 32px;
}

.important-header h3 {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.continue-btn {
    width: 100%;
    background: #0066ff;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}
.search input:focus{
    border-color:#0066ff;
    outline:0;
}

.searchsection{
    position:fixed;
    top:0;
    left:0;
    height:100vh;
    width:100%;
    background: #1a1a2e;
    opacity: 1;
    display:none;
    z-index: 9999;
}
.searchhead{
    display:flex;
    width:90%;
    margin:auto;
    justify-content: space-between;
    align-items: center;
    margin-top:20px;
}
.searchhead i{
    font-size:24px;
    color: #ffffff;
    cursor: pointer;
}
.searchinput{
    position:relative;
    width:80%;
}
.searchinput i{
    position:absolute;
    right:15%;
    top:20%;
    font-size:18px;
    color:#7a7a8c;
}
.searchinput input{
    padding:12px 45px 12px 20px;
    width:80%;
    border: 1px solid #2d2d44;
    background-color: #242438;
    border-radius:12px;
    color: #ffffff;
}
.searchinput input::placeholder{
    color: #7a7a8c;
}
.searchinput input:focus{
    border-color:#0066ff;
    outline:0;
}
.topapp:last-child{
    padding-right:60px;
}
.app:last-child{
    padding-right:20px;
}
.topapp .text span{
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
}
.topapp .text div{
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tagline{
        display: none;
    }
    .search input{
        width: 200px;
    }
}

@media (max-width: 768px) {
    .header{
        flex-direction: column;
        gap: 20px;
    }
    .brandsection{
        width: 100%;
        justify-content: center;
    }
    .headerright{
        width: 100%;
        justify-content: center;
    }
    .search input{
        width: 100%;
    }
    .recommanded{
        margin-left: 3%;
    }
    .modal-content {
        padding: 20px;
    }
    .modal-content h2 {
        font-size: 24px;
    }
    .modal-content ol li {
        font-size: 15px;
    }
    .game-title {
        font-size: 28px;
    }
    .popup-content {
        padding: 25px;
    }
    .popup-content h2 {
        font-size: 28px;
    }
    .popup-content p {
        font-size: 14px;
    }
    .important-header h3 {
        font-size: 18px;
    }
    .important-header i {
        font-size: 24px;
    }
}