@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Pathway+Extreme:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');

html {
  position: relative;
  min-height: 100%;
}

body {
    font-size: var(--body);
    background-image: linear-gradient(#234DD6, #2040BB, #18217C);
    font-family: "Inter", sans-serif;
    letter-spacing: -0.16px;
}

/* Variables */
:root {
    --dark-primary-color: #00085B;
    --primary-color: #1E42C2;
    --primary-color-400: #304FFE;
    --primary-color-200: #0098D1;
    --secondary-color: #FF3900;
    --tertiary-color: #F4FF3F;
    --success-color: #1F8D22;
    --light-yellow-color: #ECFFD2;
    --green-color: #00D933;
    --yellow-color: #FFFC00;
    --red-color: #D00000;
    --text-color-700: #636363;
    --base-color-600: #C6C6C6;
    --base-color-500: #BFBFBF;
    --base-color-400: #D5D5D5;
    --base-color-300: #EBEBEB;
    --base-color-200: #F2F2F2;
    --base-color-100: #F9F9F9;
    --title-1: 60px;
    --title-3: 30px;
    --title-4: 26px;
    --title-6: 20px;
    --sub-title: 18px;
    --body: 16px;
    --caption: 13.5px;
    --tiny: 12px;
}

@media screen and (max-width: 1024px) {
    :root {
        --title-1: 48px;
        --title-3: 26px;
        --title-4: 22px;
        --title-6: 18px;
        --sub-title: 16px;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --title-1: 32px;
        --title-3: 24px;
        --title-4: 20px;
    }
}

@media screen and (max-width: 520px) {
    :root {
        --title-3: 22px;
        --title-4: 18px;
        --title-6: 16px;
        --body: 15px;
    }
}

/* General */
ul {
    padding: 0;
    margin: 0;
}

ul li {
    list-style: none;
}

button {
    border: 0;
    font-size: var(--sub-title);
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 10px;
    border: 1px solid #fff;
}

/* List */
ul.list {
    padding-left: 32px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

ul.list li {
    list-style: disc;
}

@media screen and (max-width: 520px) {
    ul.list {
        padding-left: 28px;
    }
}

/* Button */
.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-tertiary {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
}

.btn-success {
    background-color: var(--success-color);
    color: #fff;
}

.btn-gray {
    background-color: var(--base-color-600);
    color: var(--text-color-700);
}

.btn-white {
    background-color: #fff;
    color: var(--dark-primary-color);
    font-weight: 600;
    border-radius: 24px;
    padding: 6px 24px;
}

.btn-white:hover {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-icon {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.btn-icon.btn-icon-sm {
    background-color: #e1e3ff;
    width: 26px;
    min-width: 26px;
    height: 26px;
}

.btn-icon.bg-none {
    background-color: transparent;
    border: 0;
    width: auto;
    min-width: auto;
    height: auto;
}

.btn-menu {
    background-color: transparent;
    border: 1px solid var(--base-color-300);
    border-radius: 6px;
    width: 28px;
    min-width: 28px;
    height: 28px;
    padding: 0; 
}

.btn-menu svg {
    position: relative;
    top: -1px;
}

@media screen and (max-width: 520px) {
    .btn-icon {
        width: 32px;
        min-width: 32px;
        height: 32px;
    }
}

/* Margin */
.mt-1 {
    margin-top: 3px !important;
}

.mb-1 {
    margin-bottom: 3px !important;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media screen and (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}


/* Flex */
.flex {
    display: flex;
    flex-direction: row;
}

.flex-1 {
    flex: 1 1 auto !important;
}

.flex-column {
    flex-direction: column;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.align-items-end {
    align-items: flex-end;
}

.column-gap-xxs {
    column-gap: 4px;
}

.column-gap-xs {
    column-gap: 6px;
}

.column-gap-sm {
    column-gap: 10px;
}

.column-gap-md {
    column-gap: 20px;
}

.column-gap-lg {
    column-gap: 32px;
}

.column-gap-xl {
    column-gap: 48px;
}

.column-gap-xxl {
    column-gap: 56px;
}

.row-gap-xxs {
    row-gap: 2px;
}

.row-gap-xs {
    row-gap: 6px;
}

.row-gap-sm {
    row-gap: 8px;
}

.row-gap-md {
    row-gap: 24px;
}

.row-gap-lg {
    row-gap: 32px;
}

.row-gap-xl {
    row-gap: 48px;
}

@media screen and (max-width: 768px) {
    .column-gap-md {
        column-gap: 20px;
    }

    .column-gap-xl {
        column-gap: 32px;
    }

    .column-gap-lg-sm-tablet {
        column-gap: 32px !important;
    }

    .row-gap-lg {
        row-gap: 24px;
    }

    .row-gap-xl {
        row-gap: 32px;
    }
}

@media screen and (max-width: 520px) {
    .flex-column-mobile {
        flex-direction: column;
    }

    .order-1-mobile {
        order: 1;
    }

    .order-2-mobile {
        order: 2;
    }

    .order-3-mobile {
        order: 3;
    }

    .column-gap-md {
        column-gap: 12px;
    }

    .column-gap-xxl {
        column-gap: 32px;
    }

    .row-gap-sm {
        row-gap: 6px;
    }
}

@media screen and (max-width: 360px) {
    .flex-column-sm-mobile {
        flex-direction: column;
    }
}

/* Container */
.body-container {
    background-image: url("../img/bg-2.png");
    background-size: 1500px auto;
    background-repeat: no-repeat;
    background-position: center 300px;
    min-height: 713px;
}

.container-fluid {
    max-width: 1600px;
    width: 100%;
    padding: 0 24px;
}

.main-container-fluid {
    max-width: 1150px;
    width: 100%;
    padding: 0 24px;
    margin: 0 auto;
}

.sub-main-container-fluid {
    max-width: 880px;
    width: 100%;
    padding: 0 24px;
    margin: 0 auto;
}

.w-full {
    width: 100% !important;
}

@media screen and (max-width: 1024px) {
    .body-container {
        background-size: 1000px auto;
        background-position: center 150px;
    }
}

@media screen and (max-width: 520px) {
    .body-container {
        background-size: 640px auto;
        background-position: center 150px;
    }

    .container-fluid, .main-container-fluid {
        padding: 0 16px;
    }

    .sub-main-container-fluid {
        padding: 0;
    }
}

/* Title */
.title-1 {
    font-family: "Pathway Extreme", sans-serif;
    font-size: var(--title-1);
    font-weight: 900;
    line-height: 1.0;
}

.title-3 {
    font-size: var(--title-3);
    font-weight: 600;
}

.title-4 {
    font-size: var(--title-4);
    font-weight: 700;
}

.title-6 {
    font-size: var(--title-6);
    font-weight: 700;
}

.sub-title {
    font-size: var(--sub-title);
    line-height: 1.24;
    font-weight: 600;
}

.sub-title-bold {
    font-size: var(--sub-title);
    line-height: 1.24;
    font-weight: 700;
}

.body {
    font-size: var(--body);
    font-weight: 400;
}

.body-bold {
    font-size: var(--body);
    font-weight: 600;
}

.caption {
    font-size: var(--caption);
    line-height: 1.24;
}

.caption-bold {
    font-size: var(--caption);
    line-height: 1.24;
    font-weight: 600;
}

.tiny {
    font-size: var(--tiny);
    color: var(--text-color-700);
}

.tiny-bold {
    font-size: var(--tiny);
    font-weight: 600;
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 0.24px;
}

.nowrap {
    white-space: nowrap;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.white-text {
    color: #fff;
}

.light-white-text {
    color: rgba(255, 255, 255, 0.85);
}

.light-yellow-text {
    color: var(--light-yellow-color);
}

.white-text {
    color: #fff;
}

.primary-text {
    color: var(--primary-color);
}

.tertiary-text {
    color: var(--tertiary-color);
}

.link {
    color: #0df2fd !important;
    position: relative;
    text-decoration: none;
}

.link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #0df2fd;
    bottom: 0;
    left: 0;
}

.link.white-text {
    color: #fff !important;
}

.link.white-text::before {
    background-color: #fff;
}

@media screen and (max-width: 520px) {
    .text-center-mobile {
        text-align: center !important;
    }
}

/* Display */
.hidden {
    display: none !important; 
}

.visible {
    display: block !important;
}

.visible-flex {
    display: flex !important;
}

.visible-tablet {
    display: none;
}

.visible-flex-tablet {
    display: none;
}

.visible-mobile {
    display: none;
}

.visible-flex-mobile {
    display: none;
}

.visible-xs-mobile {
    display: none;
}

.visible-sm-mobile {
    display: none;
}

.visible-flex-sm-mobile {
    display: none;
}

@media screen and (max-width: 1024px) {
    .visible-tablet {
        display: block;
    }

    .visible-flex-tablet {
        display: flex;
    }

    .hidden-tablet {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .visible-mobile {
        display: block;
    }

    .visible-flex-mobile {
        display: flex;
    }

    .hidden-mobile {
        display: none;
    }
}

@media screen and (max-width: 570px) {
    .visible-sm-mobile {
        display: block;
    }

    .visible-flex-sm-mobile {
        display: flex;
    }
}

@media screen and (max-width: 420px) {
    .visible-xs-mobile {
        display: block;
    }
}


/* Line */
.line-x {
    width: 100%;
    height: 1px;
    background-color: var(--base-color-400);
}

.line-x.white {
    background-color: rgba(255, 255, 255, 0.16);
}

.line-y {
    width: 1px;
    height: 24px;
    background-color: var(--base-color-400);
}

/* Tag */
.tag {
    padding: 4px 24px;
    font-size: var(--tiny);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag.gray {
    background-color: var(--base-color-200);
}

.tag.gray span {
    color: var(--text-color-700);
}

/* Dot */
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot.green {
    background-color: var(--green-color);
}

.dot.yellow {
    background-color: var(--yellow-color);   
}

.dot.red {
    background-color: var(--red-color);
}

.dot.gray {
    background-color: var(--base-color-400);
}

.dot span {
    white-space: nowrap;
}

/* Image */
.img-guide {
    border-radius: 24px;
    outline: 1px solid rgba(255, 255, 255, 0.3);
    margin: 10px 0;
}

.img-topRating {
    width: 100%;
    max-width: 560px;
}

.img-flag {
    border: 1px solid var(--base-color-400);
}

.avatar {
    border-radius: 50%;
}

/* Navigation */
.nav-item .nav-link {
    display: flex;
    align-items: center;
    column-gap: 8px;
    color: var(--text-color-700);
    padding: 2px 0;
    line-height: 1.24;
}

.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border-radius: 10px;
    padding: 6px 16px;
    margin-top: 8px;
    display: none;
    flex-direction: column;
    gap: 2px;
}

.nav-item.dropdown .dropdown-menu.show {
    display: flex;
}

.nav-item.dropdown .dropdown-menu .nav-link {
    transition: 0.2s;
    padding: 8px 0;
    border-radius: 6px;
    color: var(--text-color-700);
    white-space: nowrap;
    cursor: pointer;
    font-size: var(--caption);
}

.nav-item.dropdown .dropdown-menu .nav-link:hover {
    color: var(--primary-color);
}

.nav-item.dropdown .dropdown-menu li:not(:last-child) .nav-link {
    border-bottom: 1px solid var(--base-color-300);
}

.main-navbar-nav {
    background-image: url("../img/bg-1.png");
    background-size: 100% 100px;
    background-repeat: no-repeat;
    background-position: top center;
    padding-top: 25px;
}

.main-navbar-nav .navbar-nav {
    width: 100%;
}

.main-navbar-nav .nav-item {
    width: 100%;
}

.main-navbar-nav .nav-item .nav-link {
    background-color: #fff;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: var(--sub-title);
    font-weight: 700;
    color: var(--dark-primary-color);
    border: 3px solid #fff;
    padding: 6px;
    box-sizing: border-box;
    text-align: center;
    line-height: 1.24;
}

.main-navbar-nav .nav-item .nav-link.active {
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
}

.menu ul li .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

@media screen and (max-width: 1024px) {
    .main-navbar-nav {
        background-image: url("../img/bg-1-tablet.jpg");
        background-size: 100% 100px;
        padding-top: 25px;
    }

    .main-navbar-nav .navbar-nav {
        position: fixed;
        width: 100dvw;
        bottom: 0;
        column-gap: 0;
        z-index: 100;
        box-shadow: 0 -2px 24px rgba(24,33,124,0.4);
        align-items: stretch !important;
    }

    .main-navbar-nav .nav-item .nav-link {
        padding: 16px 4px;
        border-radius: 0;
        border: 0;
        height: 100%;
        white-space: nowrap;
        position: relative;
    }

    .main-navbar-nav .nav-item:not(:last-child) .nav-link::before {
        content: '';
        position: absolute;
        width: 1px;
        height: 20px;
        background-color: var(--base-color-300);
        top: 50%;
        right: 0;
        transform: translateY(-50%);
    }

    .main-navbar-nav .nav-item .nav-link.active {
        box-shadow: none;
    }

    .menu {
        display: none;
        position: absolute;
        background-color: #fff;
        top: 100%;
        left: 16px;
        border-radius: 10px;
        padding: 6px 16px;
        border: 1px solid var(--base-color-400);
    }

    .menu.show {
        display: block;
    }

    .menu ul {
        flex-direction: column;
        align-items: flex-start !important;
        justify-content: flex-start;
    }

    .menu ul li .nav-link {
        padding: 10px 0;
    }

    .menu ul li:not(:last-child) .nav-link {
        border-bottom: 1px solid var(--base-color-300);
    }

    .menu ul li.line-y {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    .wc-logo {
        width: 100px;
    }

    .tn-logo {
        width: 120px;
    }

    .main-navbar-nav {
        background-image: url("../img/bg-1-mobile.png");
        background-size: 100% 100px;
        padding-top: 24px;
    }
}

@media screen and (max-width: 520px) {
    .wc-logo {
        width: 72px;
    }

    .tn-logo {
        width: 100px;
    }

    .main-navbar-nav {
        background-image: url("../img/bg-1-mobile.png");
        background-size: auto 80px;
        padding-top: 25px;
    }

    .nav-item .nav-link {
        font-size: var(--caption);
    }
}

/* Event Name */
.event-name {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-sponsor {
    position: absolute;
    left: 92%;
    top: 20px;
}

@media screen and (max-width: 1600px) {
    .event-sponsor {
        left: 86%;
    }
}

@media screen and (max-width: 1360px) {
    .event-sponsor {
        left: 86%;
    }

    .event-sponsor .sub-title {
        font-size: var(--body);
    }

    .event-sponsor .sponsors-logo {
        width: 148px;
    }
}

@media screen and (max-width: 1280px) {
    .event-sponsor {
        left: 82%;
    }
}

@media screen and (max-width: 1024px) {
    .event-sponsor {
        position: static;
    }
}

@media screen and (max-width: 520px) {
    .event-sponsor .sub-title {
        font-size: var(--caption);
    }

    .event-sponsor .sponsors-logo {
        width: 120px;
    }
}

/* Tabs */
.tab li {
    font-size: var(--sub-title);
    font-weight: 700;
    color: #fff;
    padding: 4px 10px;
    border-bottom: 4px solid transparent;
    text-align: center;
    line-height: 1.24;
    cursor: pointer;
}

.tab li.active {
    border-color: var(--tertiary-color);
    color: var(--tertiary-color);
}

.tab-2 li {
    font-size: var(--caption);
    padding: 10px;
    border: 1px solid var(--primary-color-200);
    text-align: center;
    line-height: 1.24;
    border-radius: 10px;
    cursor: pointer;
}

.tab-2 li.active {
    background-color: var(--primary-color-400);
    color: #fff;
    font-weight: 600;
    border-color: var(--primary-color-400);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-horizontal {
    display: flex;
    gap: 16px;
    align-items: center;
}

.tab-horizontal ul {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-horizontal ul::-webkit-scrollbar {
    height: 0;
}

.tab-horizontal ul::-webkit-scrollbar-track {
    background: #2244c4;
    border-radius: 20px;
}

.tab-horizontal ul::-webkit-scrollbar-thumb {
    background: #2244c4;
    border-radius: 20px;
}

.tab-horizontal ul::-webkit-scrollbar-thumb:hover {
    background: #2244c4;
}

.tab-horizontal ul li {
    display: inline-block;
    border-radius: 16px;
    font-size: var(--sub-title);
    font-weight: 600;
    color: #fff;
    border: 2px solid #fff;
    padding: 6px 24px;
    min-width: 150px;
    text-align: center;
    cursor: pointer;
}

.tab-horizontal ul li.active {
    background-color: #fff;
    color: var(--primary-color);
    font-weight: 700;
}

.tab-horizontal li:not(:last-child) {
    margin-right: 10px;
}

.tab-horizontal .btn-prev,
.tab-horizontal .btn-next {
    touch-action: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.tab-horizontal .btn-prev:disabled,
.tab-horizontal .btn-next:disabled {
    opacity: 0.4;
    pointer-events: none;
}

.tab-horizontal .btn-prev:disabled svg path,
.tab-horizontal .btn-next:disabled svg path {
    fill: #fff;
}

.tab-horizontal-2 {
    gap: 8px;
}

.tab-horizontal-2 ul {
    display: block;
}

.tab-horizontal-2 ul li {
    display: inline-block;
    font-size: var(--caption);
    font-weight: 400;
    color: var(--text-color-700);
    padding: 0 !important;
    min-width: auto !important;
    cursor: pointer;
}

.tab-horizontal-2 ul li.active {
    color: var(--primary-color-400);
}

.tab-horizontal-2 .btn-prev:disabled svg path, .tab-horizontal-2 .btn-next:disabled svg path {
    fill: #1E42C2;
    opacity: 0.4;   
}

.tab-dropdown {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.tab-dropdown li {
    background-color: #fff;
    padding: 8px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 24px;
    width: 100%;
    max-width: 236px;
    text-align: center;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    cursor: pointer;
}

.tab-dropdown li.active {
    background-color: var(--secondary-color);
    color: #fff;
}

.tab-dropdown li span {
    padding-left: 16px;
}

.tab-dropdown li .btn-dropdown {
    width: 100%;
    justify-content: center;
}

.tab-dropdown li.dropdown svg path {
    stroke: var(--primary-color);
}

.tab-dropdown li.dropdown.active svg path {
    stroke: #fff;
}

.tab-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border-radius: 16px;
    padding: 8px;
    margin-top: 8px;
    display: none;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.tab-dropdown .dropdown-menu.show {
    display: flex;
}

.tab-dropdown .dropdown-menu li {
    transition: 0.2s;
}

.tab-dropdown .dropdown-menu li:hover {
    background-color: #e7eaff;
}

.tab-dropdown .dropdown-menu li.active {
    background-color: var(--primary-color);
}

@media screen and (max-width: 520px) {
    .tab-horizontal {
        gap: 10px;
    }

    .tab-horizontal ul {
        gap: 0;
    }

    .tab-horizontal ul li {
        padding: 4px 16px;
        min-width: 120px;
    }

    .tab-dropdown {
        gap: 16px;
    }
}

/* Card */
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-radius: 16px;
    padding: 12px 20px 0;
    margin-bottom: 16px;
}

.card:has(.btn-accordion) {
    margin-bottom: 36px;
}

.card .card-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.card .card-title.active .active-hidden {
    display: none;
}

.card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
}

.card .card-content.open {
    max-height: 5000px;
    margin: 4px 0 16px;
}

.card .card-content .stepper button {
    background-color: var(--base-color-500);
    padding: 0;
    border-radius: 4px;
    width: 24px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .card-content .stepper input {
    color: var(--primary-color);
    font-size: var(--title-3);
    font-weight: 700;
    width: 52px;
    height: 58px;
    text-align: center;
    border: 1px solid var(--base-color-500);
    border-radius: 6px;
}

.card .card-content .option-group {
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    width: 100%;
}

.card .card-content .option-group li {
    border: 1px solid var(--base-color-400);
    padding: 6px 12px;
    border-radius: 6px;
    text-align: center;
    color: var(--text-color-700);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.36;
    cursor: pointer;
}

.card .card-content .option-group li.active {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 600;
    border-color: var(--primary-color);
}

.card .btn-accordion {
    position: relative;
    top: 20px;
    width: 168px;
    margin-top: -16px;
}

@media screen and (max-width: 520px) {
    .card {
        padding: 12px 12px 0;
    }

    .card .card-content .stepper input {
        width: 44px;
    }

    .card .card-content .option-group {
        gap: 8px;
    }
}

/* Point */
.tops-point {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: normal;
}

.tops-point .tops-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 160px;
    padding: 12px 20px 32px;
    outline: 5px solid rgba(255, 255, 255, 0.2);
    max-width: 188px;
}

.tops-point .tops-item.bg-1 {
    background-image: linear-gradient(#F0D060, #C68E41);
}

.tops-point .tops-item.bg-2 {
    background-image: linear-gradient(#A1ADBD, #646F82);
}

.tops-point .tops-item.bg-3 {
    background-image: linear-gradient(#F9B08C, #8B480E);
}

.tops-point .tops-item .avatar {
    position: relative;
}

.tops-point .tops-item .avatar img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    background-image: url(../img/avatar-default.jpg);
    background-size: 100%;
}

.tops-point .tops-item .avatar .number {
    position: absolute;
    color: #fff;
    font-weight: 800;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0;
    bottom: 12px;
}

.tops-point .tops-item .title-3 {
    font-weight: 700;
}

.points-item {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    max-width: 386px;
    width: 100%;
    padding: 4px 20px;
    border-radius: 24px;
    margin-top: 4px;
}

.points-item .points-title {
    display: flex;
    gap: 12px;
    align-items: center;
}

.points-item .points-title img {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    background-image: url(../img/avatar-default.jpg);
    background-size: 100%;
}

.points-item .points-number {
    white-space: nowrap;
}

.points-item .points-name {
    line-height: 1.24;
}

@media screen and (max-width: 768px) {
    .tops-point {
        gap: 24px;
    }

    .tops-point .tops-item {
        max-width: 142px;
    }

    .tops-point .tops-item .avatar img {
        width: 110px;
        height: 110px;
    }
}

@media screen and (max-width: 520px) {
    .tops-point {
        padding-top: 268px;
        position: relative;
    }

    .tops-point .tops-item.order-1-mobile {
        position: absolute;
        top: 0;
    }

    .tops-point .tops-item {
        margin: 0 !important;
    }
}

@media screen and (max-width: 360px) {
    .tops-point {
        padding-top: 258px;
    }

    .tops-point .tops-item {
        max-width: 132px;
        padding: 8px 8px 20px;
    }

    .tops-point .tops-item .avatar img {
        width: 100px;
        height: 100px;
    }

    .points-item .points-title img {
        width: 32px;
        height: 32px;
    }
}

/* Schedule */
.schedule-match-container {
    background-color: #fff;
    background-image: none;
}

.schedule-match-container .main-container-fluid {
    max-width: 1280px;
}

.schedule-match {
    width: calc(100% - 340px);
    display: flex;
    flex-direction: column;
    gap: 24px;
    float: left;
    padding-right: 28px;
    padding-bottom: 40px;
}

.schedule-title {
    font-size: var(--title-3);
    font-weight: 600;
    color: #fff;
    margin-bottom: 0;
    text-align: center;
    background-image: url("../img/bg-schedule.png");
    background-size: auto 100px;
    background-repeat: no-repeat;
    background-position: top center;
    padding: 24px;
}

.schedule-match-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 14px 12px 12px;
    border-radius: 8px;
    border: 1px solid var(--base-color-300);
}

.schedule-match-item img {
    width: 24px;
    border: 1px solid var(--base-color-400);
}

.schedule-match-item .score {
    position: relative;
}

.schedule-match-item .score-penalty {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 10px;
    color: var(--text-color-700);
}

.schedule-result {
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 40px;
    float: right;
}

.schedule-result-board {
    width: 100%;
}

.schedule-result-board th, .schedule-result-board td {
    font-size: var(--tiny);
    padding: 7px;
}

.schedule-result-board th:first-child, .schedule-result-board td:first-child {
    padding-left: 12px;
}

.schedule-result-board th {
    background-image: linear-gradient(#234DD6, #18217C);
    color: #fff;
}

.schedule-result-board tbody tr:first-child td:first-child::before, .schedule-result-board tbody tr:nth-child(2) td:first-child::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 76%;
    background-color: var(--primary-color-400);
    left: 0;
    top: 12%;
}

.schedule-result-board tbody tr:nth-child(3) td:first-child::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 76%;
    background-color: var(--yellow-color);
    left: 0;
    top: 12%;
}

.schedule-result-board tbody tr {
    height: 100%;
    border-bottom: 1px solid var(--base-color-300);
    border-left: 1px solid var(--base-color-300);
    border-right: 1px solid var(--base-color-300);
    vertical-align: middle;
}

.schedule-result-board td {
    position: relative;
}

.schedule-result-board td img {
    width: 16px;
}

@media screen and (max-width: 1024px) {
    .schedule-match {
        width: 100%;
        float: none;
        padding-right: 0;
        padding-bottom: 32px;
    }
    .schedule-result {
        width: 100%;
        float: none;
        padding-bottom: 32px;
    }
}

@media screen and (max-width: 420px) {
    .schedule-title {
        background-image: url("../img/bg-schedule-2.png");
        background-size: auto 100%;
        background-repeat: no-repeat;
        background-position: top center;
        padding: 16px;
    }
}

/* Bracket */
.bracket-container {
    position: relative;
    background-color: var(--base-color-100);
    padding: 0 10px 20px;
}

.bracket-slider {
    overflow: hidden;
    position: relative;
}

.bracket-content {
    justify-content: center;
    align-items: flex-start;
    white-space: nowrap;
    position: relative;
}

.bracket-content h4 {
    font-size: var(--caption);
    color: var(--text-color-700);
    padding: 10px 16px;
    text-align: center;
}

.bracket-list {
    position: relative;
    float: left;
    width: calc(33.33% - 16px);
    padding: 0 12px;
}

.bracket-list.round-2, .bracket-list.round-3 {
    margin-left: 24px;
}

.bracket-list.round-2 .bracket-item {
    margin-top: 116px;
}

.bracket-list.round-2 .date-group:nth-child(2) .bracket-item:first-child {
    margin-top: 66px;
}

.bracket-list.round-3 .bracket-item {
    margin-top: 317px;
}

.bracket-list.round-3 .date-group:nth-child(2) .bracket-item:first-child {
    margin-top: 160px;
}

.bracket-list.round-3:last-child .bracket-item {
    margin-top: 120px;
    position: relative;
}

.bracket-list.round-3:last-child .date-group:last-child .bracket-item::before {
    content: 'Tranh hạng 3';
    position: absolute;
    top: -28px;
    left: 0;
    bottom: auto;
    right: auto;
    width: 100%;
    opacity: 1;
    height: auto;
    background-color: transparent;
    font-size: var(--caption);
    text-align: center;
    font-family: "Inter", sans-serif;
}

.bracket-item {
    margin-top: 16px;
    position: relative;
}

.bracket-item img {
    width: 24px;
    border: 1px solid var(--base-color-400);
}

.bracket-item b {
    color: #000;
}

.bracket-item.line::before {
    content: '';
    position: absolute;
    right: -24px;
    bottom: calc(50% - 16px);
    width: 2px;
    height: calc(100% + 18px);
    background: #999;
    z-index: 1;
}

.bracket-list.round-2 .bracket-item.line::before {
    height: calc(100% + 118px);
}

.bracket-list.round-3 .bracket-item.line::before {
    opacity: 0;
}

.bracket-item.line::after {
    content: '';
    position: absolute;
    right: -48px;
    top: 4px;
    width: 24px;
    height: 2px;
    background: #999;
    z-index: 1;
}

.bracket-list.round-2 .bracket-item.line::after {
    top: -50px;
}

.bracket-list.round-3 .bracket-item.line::after {
    opacity: 0;
}

.bracket-item .bracket-match {
    background-color: #fff;
    padding: 6px 12px;
    border: 1px solid var(--base-color-300);
    border-radius: 8px;
    margin-top: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bracket-item .bracket-match::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    width: 24px;
    height: 2px;
    background: #999;
    z-index: 1;
}

.bracket-list.round-3 .bracket-item .bracket-match::after {
    opacity: 0;
}

.bracket-item .bracket-match span, .bracket-item .bracket-match b {
    font-size: var(--caption);
}

.bracket-item .bracket-match .tiny {
    font-size: 10px;
    width: 12px;
    display: inline-block;
    text-align: center;
    margin-right: 6px;
}

.bracket-item .bracket-match .penalty-text {
    position: relative;
}

.bracket-item .bracket-match .penalty-text::before {
    content: 'PK';
    position: absolute;
    top: -11px;
    left: 0;
    width: 12px;
    font-size: 8px;
    text-align: center;
    font-family: "Inter", sans-serif;
    color: var(--text-color-700);
}

.bracket-control {
    position: absolute;
    width: 100%;
    height: 36px;
    background-color: var(--base-color-200);
    left: 0;
}

.bracket-container .btn-prev, .bracket-container .btn-next {
    background-color: transparent;
    border: 0;
    padding: 4px 16px;
    z-index: 2;
}

.bracket-container .btn-prev:not(:disabled):hover svg path, .bracket-container .btn-next:not(:disabled):hover svg path {
    fill: var(--primary-color-400);
}

.bracket-container .btn-prev:disabled, .bracket-container .btn-next:disabled {
    opacity: 0.4;
}

.bracket-container .btn-prev {
    position: absolute;
    left: 0;
    top: 0;
}

.bracket-container .btn-next {
    position: absolute;
    right: 0;
    top: 0;
}

@media screen and (max-width: 1280px) {
    .bracket-list.round-2 .bracket-item.line::before, .bracket-list.round-2 .bracket-item.line::after, .bracket-list.round-2 .bracket-item .bracket-match::after {
        opacity: 0;
    }

    .bracket-list {
        width: calc(50% - 16px);
    }
}

@media screen and (max-width: 1024px) {
    .bracket-list.round-2 .bracket-item.line::before, .bracket-list.round-2 .bracket-item.line::after, .bracket-list.round-2 .bracket-item .bracket-match::after {
        opacity: 1;
    }

    .bracket-list {
        width: calc(33.33% - 16px);
    }
}

@media screen and (max-width: 768px) {
    .bracket-list.round-2 .bracket-item.line::before, .bracket-list.round-2 .bracket-item.line::after, .bracket-list.round-2 .bracket-item .bracket-match::after {
        opacity: 0;
    }

    .bracket-list {
        width: calc(50% - 16px);
    }
}

@media screen and (max-width: 520px) {
    .bracket-list.round-1 .bracket-item.line::before, .bracket-list.round-1 .bracket-item.line::after, .bracket-list.round-1 .bracket-item .bracket-match::after {
        opacity: 0;
    }

    .bracket-list {
        width: calc(100%);
        padding: 0 6px;
    }
}

/* Pop-up */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-container {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    width: 90%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.popup-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 8px;
}

.popup-title {
    font-size: var(--title-4);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

.popup-caption {
    display: flex;
    gap: 2px 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 4px 0;
}

.popup-caption span {
    font-size: var(--caption);
    color: var(--success-color);
    font-weight: 700;
    position: relative;
}

.popup-caption span:not(:last-child)::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: var(--success-color);
    top: 10px;
    right: -10px;
}

.popup-desc {
    text-align: center;
    color: var(--text-color-700);
    font-size: var(--caption);
    line-height: 1.4;
    margin-bottom: 0;
}

.popup-actions {
    display: flex;
    gap: 16px;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.popup-actions .btn-action {
    font-size: var(--body);
    font-weight: 600;
    width: 100%;
    max-width: 162px;
    padding: 8px 16px;
}

.popup-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.popup-success.active {
    display: flex;
}

.popup-success-text {
    font-size: 15px;
    font-weight: 500;
    color: #27500A;
    margin-bottom: 0;
}

.check-circle {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
}

.check-tick {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
}

.popup-success.active .check-circle {
    animation: draw-circle 0.4s ease forwards;
}

.popup-success.active .check-tick {
    animation: draw-tick 0.3s ease 0.4s forwards;
}

@keyframes draw-circle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes draw-tick {
    to {
        stroke-dashoffset: 0;
    }
}

.popup-warning {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 0;
    max-width: 320px;
}

.popup-warning.active {
    display: flex;
}

.popup-warning-text {
    font-size: 15px;
    font-weight: 500;
    color: #e57800;
    margin-bottom: 0;
    text-align: center;
}

.popup-warning.active svg {
    animation: warningShake 0.8s ease-in-out;
}

@keyframes warningShake {
    0%, 100% {
        transform: rotate(0deg);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: rotate(-8deg);
    }

    20%, 40%, 60%, 80% {
        transform: rotate(8deg);
    }
}

.popup-warning.active .warning-circle {
    animation: warningPulse 2s infinite;
}

@keyframes warningPulse {
    0%, 100% {
        stroke-opacity: 1;
    }

    50% {
        stroke-opacity: 0.7;
    }
}

@media screen and (max-width: 520px) {
    .popup-caption {
        flex-direction: column;
        gap: 2px;
        align-items: center;
        justify-content: center;
        margin: 6px 0;
    }

    .popup-caption span::before {
        display: none;
    }
}

/* Footer */
footer {
    background-color: var(--dark-primary-color);
    padding: 32px 0;
}

@media screen and (max-width: 1024px) {
    footer {
        padding-bottom: 80px;
    }

    footer .tn-logo {
        width: 200px;
    }

    footer .sponsors-logo {
        width: 120px;
    }
}

@media screen and (max-width: 520px) {
    footer {
        padding-bottom: 80px;
    }

        footer .tn-logo {
            width: 160px;
        }

        footer .sponsors-logo {
            width: 100px;
        }
}

/* Toast */
.toast {
    border-radius: 10px;
}

.toast-header {
    color: #fff;
    border: 0;
    padding-bottom: 0;
    background-color: transparent;
}

.toast-header .btn-close {
    background: transparent var(--bs-btn-close-bg) center / 0.85em auto no-repeat;
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 1;
}

.toast-body {
    padding-top: 8px;
}

/* 404 page */
.notfound-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 40px 0;
}

.notfound-content .title-1 {
    font-size: 214px;
    font-weight: 600;
    letter-spacing: -0.05em;
}

.notfound-content-header {
    display: flex;
    align-items: flex-end;
}

.notfound-content-header .img-1 {
    width: 200px;
}

.notfound-content-header .img-2 {
    width: 164px;
}

.notfound-content-header .title-4 {
    font-weight: 600;
}

@media screen and (max-width: 1024px) {
    .notfound-content .title-1 {
        font-size: 160px;
    }

    .notfound-content-header .img-1 {
        width: 180px;
    }

    .notfound-content-header .img-2 {
        width: 144px;
    }
}

@media screen and (max-width: 768px) {
    .notfound-content .title-1 {
        font-size: 130px;
    }

    .notfound-content-header .img-1 {
        width: 150px;
    }

    .notfound-content-header .img-2 {
        width: 124px;
    }
}

@media screen and (max-width: 520px) {
    .notfound-content .title-1 {
        font-size: 100px;
    }

    .notfound-content-header .img-1 {
        width: 130px;
    }

    .notfound-content-header .img-2 {
        width: 104px;
    }

    .notfound-content p {
        font-size: var(--caption);
    }
}

@media screen and (max-width: 420px) {
    .notfound-content-header .img-1, .notfound-content-header .img-2 {
        display: none;
    }
}