/* =========================================================
   GLOBAL
   ========================================================= */
:root {
	--white-color: #ffffff;
	--primary-color: #f8cb2e;
	--secondary-color: #fabf03;
	--section-bg-color: #f0f8ff;
	--custom-btn-bg-color: #fabf03;
	--custom-btn-bg-hover-color: #020278;
	--dark-color: #000000;
	--p-color: #717275;
	--border-color: #7fffd4;
	--link-hover-color: #b22727;

	--body-font-family: "Outfit", sans-serif;

	--h1-font-size: 4.625rem;
	--h2-font-size: 2.875rem;
	--h3-font-size: 2rem;
	--h4-font-size: 1.75rem;
	--h5-font-size: 1.5rem;
	--h6-font-size: 1.375rem;
	--p-font-size: 1.375rem;
	--btn-font-size: 0.875rem;
	--copyright-font-size: 1rem;

	--border-radius-large: 100px;
	--border-radius-medium: 20px;
	--border-radius-small: 10px;

	--font-weight-light: 300;
	--font-weight-normal: 400;
	--font-weight-bold: 700;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Outfit", sans-serif;
}

/*---------------------------------------
	TYPOGRAPHY               
  -----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
	color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: var(--font-weight-bold);
}

h1 {
	font-size: var(--h1-font-size);
}

h2 {
	font-size: var(--h2-font-size);
}

h3 {
	font-size: var(--h3-font-size);
}

h4 {
	font-size: var(--h4-font-size);
}

h5 {
	font-size: var(--h5-font-size);
}

h6 {
	font-size: var(--h6-font-size);
}

p {
	color: var(--p-color);
	font-size: var(--p-font-size);
	font-weight: var(--font-weight-light);
}

ul li {
	color: var(--p-color);
	font-size: var(--p-font-size);
	font-weight: var(--font-weight-light);
}

a,
button {
	touch-action: manipulation;
	transition: all 0.3s;
}

a {
	display: inline-block;
	color: var(--secondary-color);
	text-decoration: underline;
}

a:hover {
	color: var(--link-hover-color);
}

b,
strong {
	font-weight: var(--font-weight-bold);
}



/* =========================================================
   SHARED
   ========================================================= */

.section-divider {
    width: 3rem;
    height: 3px;
    background: var(--bs-warning);
    border-radius: 999px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero-section {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background: #000000;
    background: linear-gradient(
        156deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(9, 9, 121, 1) 79%,
        rgba(26, 3, 158, 1) 100%
    );
}

.hero-section > .container {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    letter-spacing: 0.2em;
}

.hero-flyer-wrapper {
    max-width: 480px;
    margin-inline: auto;
}

.hero-flyer {
    border-radius: 0.75rem;
    box-shadow:
        0 1.5rem 4rem rgba(0, 0, 0, 0.45);
    transform: rotate(1deg);
    transition: transform 0.3s ease;
}

.hero-flyer:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.hero-detail > i {
    font-size: 1.25rem;
    color: var(--bs-warning);
    width: 1.5rem;
    margin-top: 0.1rem;
}

.hero-detail-label {
    display: block;
    font-size: 1rem;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-overview {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-overview p:last-child {
    margin-bottom: 0;
}

.about-fact {
    padding: 2rem 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.about-fact:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
}

.about-fact-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--bs-warning-rgb), 0.12);
    color: var(--bs-warning);
    font-size: 1.5rem;
}


/* =========================================================
   REGISTRATION / ADMISSION
   ========================================================= */

.registration-card {
    padding: 3rem 2rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
    background: var(--bs-body-bg);
    box-shadow: var(--bs-box-shadow-sm);
}

.registration-fee {
    padding: 1.5rem 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    background: var(--bs-tertiary-bg);
    text-align: center;
}

.registration-fee-price {
    font-size: 1.5rem;
    font-weight: 700;
}

.venue-card {
    padding: 2.5rem 2rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1.25rem;
    background: var(--bs-body-bg);
    box-shadow: var(--bs-box-shadow-sm);
}

.admission-map {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 0.75rem;
}

.admission-video {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: inline-block;
    border-radius: 0.75rem;
}


/* =========================================================
   PROGRAM
   ========================================================= */

.program-list {
    position: relative;
}

.program-list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8rem;
    width: 2px;
    background: var(--bs-border-color);
}

.program-item {
    position: relative;
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 2rem;
    padding-bottom: 1.5rem;
}

.program-item:last-child {
    padding-bottom: 0;
}

.program-time {
    position: relative;
    z-index: 2;
    padding-top: 1.25rem;
    font-weight: 700;
    text-align: right;
    color: var(--bs-warning-text-emphasis);
}

.program-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background-color: var(--bs-body-bg);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.program-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.08);
}


/* =========================================================
   TOURNAMENT FLOW
   ========================================================= */

.tournament-flow {
    background-color: var(--bs-light);
}

.tournament-timeline {
    position: relative;
}

.tournament-timeline::before {
    content: "";
    position: absolute;
    top: 4.5rem;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background-color: var(--bs-border-color);
}

.flow-step {
    position: relative;
    height: 100%;
    padding: 0 1.25rem;
    text-align: center;
}

.flow-number {
    position: relative;
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bs-warning);
    color: var(--bs-dark);
    font-size: 0.8rem;
    font-weight: 700;
}

.flow-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background-color: var(--bs-warning);
    border: 1px solid var(--bs-border-color);
    color: var(--bs-dark);
    font-size: 1.5rem;
}

.flow-step h3 {
    line-height: 1.3;
}

.flow-step p {
    line-height: 1.6;
}

.flow-note {
    padding: 1.5rem 2rem;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
}


/* =========================================================
   JUDGING CRITERIA
   ========================================================= */

.judging-section {
    background-color: var(--bs-body-bg);
}

.criteria-card {
    position: relative;
    padding: 2rem 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background-color: var(--bs-body-bg);
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.08);
}

.criteria-score {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    margin-bottom: 1.25rem;
    line-height: 1;
}

.criteria-score span {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--bs-dark);
}

.criteria-score small {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bs-warning);
}

.criteria-card h3 {
    margin-bottom: 0.75rem;
}

.criteria-card p {
    line-height: 1.65;
}

.criteria-takeaway {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    border-radius: 1rem;
    background-color: var(--bs-light);
    border: 1px solid var(--bs-border-color);
}

.criteria-takeaway-icon {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bs-warning);
    color: var(--bs-dark);
    font-size: 1.25rem;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.summary-section {
    background-color: var(--bs-light);
}

.summary-card {
    padding: 2rem 1.5rem;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.07);
}

.summary-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border-radius: 0.75rem;
    background-color: rgba(var(--bs-warning-rgb), 0.12);
    color: var(--bs-warning);
    font-size: 1.25rem;
}

.summary-card h3 {
    margin-bottom: 0.75rem;
}

.summary-card p {
    line-height: 1.7;
}

.summary-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.75rem;
    background-color: var(--bs-body-bg);
}

.summary-note > i {
    flex: 0 0 auto;
    margin-top: 0.2rem;
}


/* =========================================================
   CATEGORIES
   ========================================================= */

.category-card {
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
    background-color: var(--bs-white);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
}

.category-card-header {
    padding: 1rem 1.25rem;
    text-align: center;
}

.category-card-body {
    padding: 1.5rem 1.25rem;
    text-align: center;
}


/* =========================================================
   SPONSORS
   ========================================================= */

.sponsor-institution {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.sponsor-institution:hover {
    color: inherit;
    transform: translateY(-3px);
}

.sponsor-institution img {
    max-height: 150px;
    width: auto;
}

.sponsor-institution span {
    font-weight: 600;
}

.sponsor-logo {
    min-height: 100px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.sponsor-logo:hover {
    transform: translateY(-3px);
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 85px;
    width: auto;
    height: auto;
    object-fit: contain;
}


/* =========================================================
   FAQ
   ========================================================= */

.accordion-button:not(.collapsed) {
    background-color: var(--bs-warning);
}

/* =========================================================
   PROFILES
   ========================================================= */
.profiles-thumb {
	position: relative;
	overflow: hidden;
	margin-bottom: 30px;
}

.profiles-image {
	border-radius: var(--border-radius-medium);
	display: block;
	width: 100%;
}

.profiles-thumb:hover .profiles-hover {
	transform: translateY(0);
	opacity: 1;
}

.profiles-hover {
	background-color: var(--primary-color);
	background-color: rgba(248, 203, 46, 0.75);
	border-radius: var(--border-radius-medium);
	backdrop-filter: blur(5px) saturate(180%);
	-webkit-backdrop-filter: blur(5px) saturate(180%);
	margin: 20px;
	padding: 35px;
	transition: all 0.5s ease;
	transform: translateY(100%);
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	opacity: 0;
}

.profiles-hover p strong {
	color: var(--white-color);
	display: inline-block;
	min-width: 180px;
	margin-right: 20px;
}

.profiles-hover p a {
	color: var(--secondary-color);
}

.profiles-hover p a:hover {
	color: var(--white-color);
}

.profiles-hover hr {
	margin: 1.5rem 0;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background-color: var(--bs-dark);
    position: relative;
    overflow: hidden;
    padding-bottom: 30px;
}

.site-footer-top {
    background-color: var(--bs-warning);
    margin-bottom: 70px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.site-footer-title {
    color: var(--bs-warning);
}

.site-footer-link,
.copyright-text {
    color: var(--bs-white);
}

.site-footer-link {
    text-decoration: none;
}

.site-footer-link:hover {
    color: var(--bs-warning);
}

.site-footer-bottom {
    border-top: 1px solid #1f1c1c;
    margin-top: 60px;
}

.copyright-text {
    font-size: 1rem;
}

.social-icon {
    margin: 0;
    padding: 0;
}

.social-icon-item {
    list-style: none;
    display: inline-block;
    vertical-align: top;
}

.social-icon-link {
    background: var(--bs-warning);
    border-radius: 50%;
    color: var(--bs-white);
    display: block;
    margin-right: 10px;
    text-align: center;
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 1.5rem;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.social-icon-link:hover {
    background-color: var(--bs-dark);
    color: var(--bs-warning);
    transform: translateY(-2px);
}

.social-icon-link span {
    display: block;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .hero-section {
        min-height: auto;
    }

    .hero-flyer-wrapper {
        max-width: 400px;
    }

    .tournament-timeline::before {
        top: 0;
        bottom: 0;
        left: 1.375rem;
        right: auto;
        width: 2px;
        height: auto;
    }

    .flow-step {
        min-height: 150px;
        padding: 0 0 2rem 4.5rem;
        text-align: left;
    }

    .flow-number {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
    }

    .flow-icon {
        margin: 0 0 0.75rem;
        width: 3rem;
        height: 3rem;
    }

    .flow-step-last {
        min-height: auto;
        padding-bottom: 0;
    }
}


@media (max-width: 767.98px) {

    .program-list {
        padding-left: 1.5rem;
    }

    .program-list::before {
        left: 0.35rem;
    }

    .program-item {
        display: block;
        padding-bottom: 1.5rem;
    }

    .program-time {
        padding: 0 0 0.5rem;
        text-align: left;
    }

    .criteria-card {
        padding: 1.5rem;
    }

    .criteria-takeaway {
        flex-direction: column;
    }

    .sponsor-institution img {
        max-height: 120px;
    }
}


@media (max-width: 575.98px) {

    .hero-section {
        padding-block: 2rem;
    }

    .hero-flyer {
        transform: none;
    }

    .hero-details {
        text-align: left;
        max-width: 320px;
        margin-inline: auto;
    }

    .criteria-score span {
        font-size: 3rem;
    }
}