*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

:root {
    --fs-65: 65px;
    --fs-40: 40px;
    --fs-30: 30px;
    --fs-24: 24px;
    --fs-22: 22px;
    --fs-20: 20px;
    --fs-18: 18px;
    --fs-16: 16px;
}

body {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    font-family: "Inter", "Bebas Neue", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li,
a,
p {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

p, li {
    font-size: var(--fs-18);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

/* header and footer css starts */
.margin-top {
    margin-top: 96px;
}

.site-header {
    font-family: "Bebas Neue", sans-serif;
    background: #FFF;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px; */
}

.site-branding {
    margin: 0;
}

.site-branding a {
    font-size: var(--fs-24);
    color: #1869c2;
    letter-spacing: 2px;
    display: block;
    text-transform: uppercase;
}

.site-branding a img {
    max-width: 400px;
}

.header_logo {
    width: 100%;
}

.header-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.main-navigation .menu-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.site-header li {
    font-size: 20px;
    line-height: 1.2;
    position: relative;
}

.site-header li a {
    font-size: inherit;
    color: #000;
    position: relative;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all .2s ease-in;
}

.site-header li a:hover, .menu-item.current-menu-item a {
    color: #1869c2;
}

.main-navigation .menu-list li a:hover::after {
    width: 100%;
}

.menu-item-has-children:hover .sub-menu {
    display: block;
}

.site-header li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1869c2;
    transition: all .4s ease;
}

.site-header li:hover::after {
    width: 100%;
}

.hamburger {
    top: 50%;
    width: 32px;
    height: 3px;
    background: #000;
    position: relative;
    border: none;
    transition: 0.5s;
    z-index: 1000000;
    transform: translateY(-50%);
}

.hamburger-one:before, .hamburger-one:after {
    content: '';
    position: absolute;
    left: 0;
    width: 32px;
    height: 3px;
    background: #000;
    transition: 0.5s;
}

.hamburger:before {
    top: -11px;
}

.hamburger:after {
    top: 11px;
}

.hamburger.rotate {
    background: rgba(0, 0, 0, 0);
    box-shadow: none;
}

.hamburger.rotate.hamburger-one:before {
    top: 0;
    transform: rotate(45deg);
}

.hamburger.rotate.hamburger-one::after {
    top: 0;
    transform: rotate(135deg);
}

.mobile-toggle {
    display: none;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-btn {
    padding: 10px 20px;
    display: block;
    width: fit-content;
    border: 0;
    background: #1869c2;
    color: #FFF;
    font-size: var(--fs-18);
    letter-spacing: 2px;
    border-radius: 10px;
    text-transform: uppercase;
    transition: 0.3s ease-in;
}

.main-btn:hover {
    opacity: .8;
}

/* header css ends */

/* footer css starts */
.site-footer {
    background: #000;
    font-family: "Bebas Neue", sans-serif;
    padding: 40px 0 20px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.site-footer a {
    color: #FFF;
    letter-spacing: 2px;
    transition: all .4s ease-in-out;
}

.footer-logo a img {
    max-width: 480px;
}

.footer-links ul li a:hover {
    opacity: .7;
}

.footer-logo {
    text-align: center;
}

.footer-logo a {
    font-size: var(--fs-24);
    color: #FFF;
    letter-spacing: 2px;
    display: inline-block;
}

.footer_contact_link {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 30px;
    row-gap: 20px;
}

.footer_contact_link li a {
    font-size: 18px;
}

.footer_contact_link li a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer_contact_link li a i {
    display: grid;
    width: 30px;
    height: 30px;
    background-color: #FFF;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 14px;
}

.social_media {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social_media li a {
    display: grid;
    width: 36px;
    height: 36px;
    background-color: #FFF;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: all .4s ease-in-out;
}

.social_media li a:hover {
    opacity: .7;
}

.footer-links {
    border-top: 1px solid rgb(122 122 122 / 60%);
    margin-top: 40px;
    padding-top: 20px;
}

.footer-links ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    row-gap: 10px;
    flex-wrap: wrap;
}

.copyright-block {
    border-top: 1px solid rgb(122 122 122 / 60%);
    margin-top: 20px;
    padding: 20px 0 0;
}

.copyright-block p {
    font-size: 16px;
    color: #FFF;
    line-height: 1.4;
    text-align: center;
    font-family: Inter;
}

i.fa.fa-instagram {
    width: 14px;
}

.footer-logo img {
    width: 100%;
}

/* footer css ends */


#myBtn {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 50px;
    z-index: 999;
    border: none;
    outline: none;
    cursor: pointer;
    border: none;
    border-radius: 40px;
    padding: 6px 14px;
    font-size: 16px;
    color: #FFF;
    background: #000;
    transition: all 500ms ease-in-out;
    animation: topbtnAnimate 1s infinite alternate;
}

#myBtn:hover {
    opacity: .7;
}

@keyframes topbtnAnimate {
    0% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* header and footer css ends */

#game-wrapper {
    max-width: 1160px;
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    margin: 5px auto 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.panel {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.panel-title {
    font-size: 18px;
    text-align: center;
    margin-bottom: 16px;
    color: #495057;
}

.color-selector-grid,
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.color-selector-grid input[type="button"] {
    padding: 10px 20px;
    height: 40px;
    font-size: 14px;
    line-height: 1;
    border: 2px solid #ddd;
    border-radius: 8px;
    color: #000;
    cursor: pointer;
    font-family: Inter;
    transition: all 0.2s ease-in-out;
}

.color-selector-grid input[type="button"]:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

.action-buttons input[type="button"] {
    padding: 10px 20px;
    border-radius: 8px;
    color: #FFF;
    cursor: pointer;
    border: 0;
    font-size: 14px;
    font-family: Inter;
    transition: all 0.2s ease-in-out;
}

.action-buttons input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.action-buttons input[value="P L A Y"] {
    background: #28a745;
}

.action-buttons input[value="Check"] {
    background: #007bff;
}

.action-buttons input[value="Hint"] {
    background: #f1b500;
}

.action-buttons input[value="Adjust"] {
    background: #6c757d;
}

#buttonColor {
    width: 45px !important;
    height: 45px !important;
    padding: 0 !important;
    vertical-align: middle;
    border: 1px solid #343a40 !important;
    border-radius: 50% !important;
    margin-left: 15px;
    color: #343a40;
    font-size: 15px;
    cursor: auto;
}

#buttonColor:hover {
    box-shadow: none;
    transform: none;
}

.header-info {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 10px;
    text-align: center;
}

#board-container {
    max-width: 500px;
    margin: 10px auto;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(9, 1fr);
    border: 3px solid #343a40;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #adb5bd;
    gap: 1px;
}

/* Thick borders using nth-child selectors, which is very robust */
#board-container>.button:nth-child(3n) {
    border-right: 3px solid #343a40;
}

#board-container>.button:nth-child(9n) {
    border-right: none;
}

#board-container>.button:nth-child(n+19):nth-child(-n+27),
#board-container>.button:nth-child(n+46):nth-child(-n+54) {
    border-bottom: 3px solid #343a40;
}

.instructions {
    font-size: 15px;
    color: #6c757d;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-align: left;
}

/* ACCOUNT LOGIN / REGISTER CSS  */
.overlay-span {
    position: fixed;
    top: 0;
    height: 100%;
    z-index: 11000;
    width: 100%;
    left: 0;
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
}

.login-signup {
    position: fixed;
    top: 0;
    top: 50px;
    right: 50px;
    max-width: 450px;
    width: 100%;
    z-index: 12000;
    background: #ffff;
    /* padding-bottom: 15px;
    padding-right: 15px; */
    padding: 20px;
    transform: translateX(150%);
    transition: 0.3s ease-in;
}

.logo-login {
    padding: 15px 0px;
}

.logo-login img {
    margin: 0 auto;
    display: block;
}

.lgin-process {
    display: flex;
    align-items: center;
}

.login-process-start {
    width: 100%;
}

.lgin-process ul {
    padding: 0px;
    margin: 0px;
}

.lgin-process ul li {
    /* padding-left: 32px;
    padding-right: 10px; */
    /* background: #f5f7f8; */
}

.lgin-process ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    padding-top: 15px;
    border-bottom: 1px solid #adb5bd;
    width: 100%;
}

span.arow-next {
    max-width: 32px;
}

.login-link span {
    color: #0b1a31;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.login-link p {
    color: #505050;
    padding-top: 5px;
    padding-bottom: 0px;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 14px;
}

.login-process-start .forget-password {
    color: #7b7c7c;
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    width: fit-content;
    margin: 0 auto;
    margin-top: 12px;
}

/* .login-img {
    width: 200px;
    height: 200px;
}
.login-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.login-process-poup {
    position: fixed;
    top: 50px;
    right: 50px;
    z-index: 12500;
    background: #ffff;
    max-width: 550px;
    width: 100%;
    transform: translateX(150%);
    transition: 0.3s ease-in;
    padding: 25px;
}

span.close-poup {
    position: absolute;
    top: 15px;
    left: 15px;
    cursor: pointer;
    color: red;
    font-size: 25px;
}

.main-logo {
    max-width: 260px;
    width: 100%;
}

.login-process-poup .main-logo {
    display: block;
    margin: 0 auto;
}

.fs-20 {
    font-size: var(--fs-20);
    font-weight: 600;
    padding-bottom: 10px;
}

.login-process-poup .fs-20 {
    margin-top: 30px;
    padding-bottom: 0px;
}

.login-process {
    padding-top: 20px;
}

.login-prcess {
    margin-bottom: 15px;
    width: 100%;
}

.login-prcess label {
    font-size: var(--fs-16);
    line-height: 2;
}

.type-of-rgisterration {
    margin-bottom: 10px;
}

.type-of-rgisterration .fs-18 {
    font-size: 18px;
    font-weight: 400;
}

.login-prcess select, .login-prcess input {
    border: 1px solid #c4c4c4;
    padding: 10px 15px;
    outline: none;
    height: 45px;
    font-size: 15px;
    font-family: Inter;
}

.forget-passwrd a {
    color: #000;
    display: block;
    width: fit-content;
    margin-bottom: 20px;
}

.universal-anchor {
    max-width: 230px;
    width: 100%;
}

.login-process-poup.register {
    max-width: 900px;
}

.input-full-details {
    display: flex;
    gap: 15px;
}

.login-prcess input {
    width: 100%;
}

.universal-anchor button,
.universal-anchor input[type="submit"] {
    padding: 10px 20px;
    display: block;
    width: fit-content;
    border: 0;
    background: #1869c2;
    color: #FFF;
    font-size: var(--fs-18);
    border-radius: 8px;
    font-family: Inter;
    cursor: pointer;
    transition: 0.3s ease-in;
}

.universal-anchor {
    margin-top: 10px;
}


/* Subscription page css start */
.subscription-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 100px 0;
}

.subscription-title {
    font-size: 40px;
    text-align: center;
    font-weight: 700;
    color: #1f2937;
}

.subscription-subtitle {
    font-size: 18px;
    text-align: center;
    font-weight: 400;
    color: #4b5563;
    margin-top: 16px;
}

.plan-header {
    margin-bottom: 50px;
}

.plan-benifits li svg {
    color: #22c55e;
    width: 24px;
    margin-right: 12px;
}

.sub-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.pricing-card {
    max-width: 360px;
    width: 100%;
    background: #FFF;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.plan-footer {
    text-align: center;
    margin-top: 60px;
}

.price-title {
    font-size: 24px;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
}

.pricing-card p {
    color: #6b7280;
    margin-top: 8px;
    font-size: 16px;
}

.mt-6 {
    margin-top: 24px;
}

.plan-rate {
    font-size: 40px;
    font-weight: 700;
    color: #000;
}

.plan-duration {
    font-size: 16px;
    color: #6b7280;
}

.plan-benifits {
    margin: 32px 0;
}

.plan-benifits li {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #374151;
}

.plan-benifits li:not(:first-child) {
    margin-top: 16px;
}

.c-btn {
    width: 100%;
    padding: 10px;
    height: 48px;
    font-size: 18px;
    background: #1869c2;
    border: 0;
    border-radius: 8px;
    color: #FFF;
    cursor: pointer;
    transition: all .4s ease;
}

.c-btn:hover {
    background: #0f54a1;
}

.plan-footer a {
    color: #0000EE;
}

/* Subscription page css ends */


/* Profile page css start */
.profile-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f6f7f9, #eef2f7 60%);
}

.title.fs-25 {
    font-size: var(--fs-30);
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 2px;
    color: #1f2937;
    margin-bottom: 20px;
}

.user-details {
    margin-top: 40px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    border: 1px solid #c4c4c4;
    width: 100%;
    border-collapse: collapse;
}

.table-responsive table tr {
    border-top: 1px solid #c4c4c4;
    cursor: pointer;
}

table.table.table-bordered tr th,
table.table.table-bordered tr td {
    padding: 15px;
    border: 1px solid #c4c4c4;
    text-align: left;
    background-color: #FFF;
}

/* Contact Page  */

.contact-wrapper {
    margin: 40px auto 80px;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    gap: 40px;
}

.contact-form, .contact-info {
    width: 50%;
}

.section-title {
    font-size: var(--fs-30);
    color: #343a40;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

.contact-form p, .contact-info p {
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.login-prcess select {
    width: 100%;
}
.login-prcess textarea {
    width: 100%;
    border: 1px solid #c4c4c4;
    padding: 10px 15px;
    outline: none;
    height: 100px;
    font-size: 15px;
    font-family: Inter;
}
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-item {
    display: flex;
    align-items: start;
    margin-bottom: 25px;
}
.info-item .icon {
    font-size: 1.5rem;
    margin-right: 20px;
    color: #007bff;
    text-align: center;
}
.info-item .text-content .label {
    font-weight: 600;
    color: #343a40;
    font-size: 1.1rem;
}
.info-item .text-content span {
    display: block;
}
.info-item .text-content .value {
    color: #6c757d;
    font-size: 1rem;
}