
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,300;0,400;0,600;0,800;1,400;1,800&display=swap');

:root{
    font-family: 'Kanit', sans-serif;
    --fifa-pink: #7b2cbf;
    --fifa-blue: #4cc9f0;
    --fifa-lime: #b8ff52;
    --fifa-gold: #f5c80a;

    --text-main: #f4f4f4;
    --text-blue: #004d98;

    --bg-gradient: radial-gradient(circle at top right, rgba(76, 201, 240, 0.16), transparent 28%), radial-gradient(circle at left center, rgba(123, 44, 191, 0.22), transparent 32%), linear-gradient(135deg, #10101a 0%, #2a1b42 50%, #15152a 100%);
    --a-gradient: linear-gradient(90deg, var(--fifa-pink) 0%, var(--fifa-blue) 100%);

    --skew: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: #333;
    isolation: isolate;
}

.site-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    background: var(--bg-gradient);
    color: white;
    padding: 0.7rem clamp(1rem, 4vw, 4rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
}

.site-header img.logo {
    width: auto;
    height: 3.5rem;
    max-height: none;
}

.site-brand span {
    max-width: 7rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-transform: uppercase;
}

.site-brand strong {
    display: block;
    color: var(--fifa-lime);
    font-size: 1rem;
}

.site-header nav {
    min-width: 0;
    margin-left: auto;
}

.site-header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.2rem;
}

.site-header nav a {
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    border: solid 1px transparent;

    position: relative;
    display: inline-block;
    overflow: hidden;

    padding: 0.5rem 0.72rem;
    color: white;
    text-decoration: none;

    clip-path: var(--skew);

    transition: color 0.2s ease;
    z-index: 1;
}

.site-header nav a::before{
    content: "";
    position: absolute;
    inset: 0;

    background: var(--a-gradient);
    clip-path: inherit;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.1s ease;

    z-index: -1;
}

.site-header nav a:hover::before{
    transform: scaleX(1);
}

.site-header nav .nav-active {
    background: var(--a-gradient);
    clip-path: var(--skew);
}

@media (max-width: 1050px) {
    .site-header {
        gap: 1rem;
    }

    .site-brand span {
        display: none;
    }

    .site-header nav a {
        padding-inline: 0.58rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 760px) {
    .site-header {
        flex-wrap: wrap;
        gap: 0.55rem;
        padding: 0.6rem 1rem 0;
    }

    .site-header img.logo {
        height: 2.8rem;
    }

    .site-brand span {
        display: block;
        max-width: none;
    }

    .site-brand strong {
        display: inline;
        margin-left: 0.25rem;
        font-size: inherit;
    }

    .site-header nav {
        flex-basis: 100%;
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--fifa-blue) transparent;
    }

    .site-header nav ul {
        width: max-content;
        justify-content: flex-start;
        padding-bottom: 0.55rem;
    }

    .site-header nav a {
        padding: 0.42rem 0.65rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }
}

#bg-video {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    pointer-events: none;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    height: 100%;

    position: relative;
    z-index: 1;
}

main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: var(--bg-gradient);
    opacity: 0.9;
    z-index: -1;
}

.pull-tab {
    position: fixed;
    bottom: 1rem;
    right: 0;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    max-width: 300px;

    clip-path: polygon(0% 0, 100% 0, 100% 100%, 15px 100%);

    transform: translateX(calc(100% - 50px));

    transition: transform 0.3s cubic-bezier(0.2, 1, 0.3, 1), color 0.2s ease;
    z-index: 1000;

    background: var(--fifa-blue);
    border: none;
    cursor: pointer;
    text-decoration: none;

    font-size: 1.1rem;
    font-weight: 900;
    color: var(--fifa-blue);

    padding-left: 15px;
    padding-right: 15px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.pull-tab span {
    display: inline-block;
    white-space: normal;
    line-height: 1.2;
}

.tab-icon {
    height: 1.5em;
    width: auto;
    object-fit: contain;

    flex-shrink: 0;
    transition: filter 0.2s ease;
}

.pull-tab::before {
    content: "";
    position: absolute;
    inset: 0;

    clip-path: inherit;

    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.2s ease;

    z-index: -1;
}

.pull-tab:hover, .pull-tab.is-expanded {
    color: black;
    transform: translateX(0);
    text-decoration: underline;
}

.pull-tab:hover::before, .pull-tab.is-expanded::before {
    transform: scaleX(1);
}

.tab-icon {
    filter: brightness(0);
}

section {
    margin-bottom: 2rem;
}

h1, h2, h3, p, li {
    color: white;
}
h1,h2{
    font-style: italic;
}

.page-header {
    margin-bottom: 3rem;
    padding: clamp(1.5rem, 4vw, 3rem) 0 1.5rem 1.25rem;
    border-left: 0.35rem solid var(--fifa-pink);
    background: transparent;
    text-align: left;
}

.page-header h1 {
    margin: 0 0 0.6rem;
    font-size: clamp(2.8rem, 8vw, 6rem);
    font-style: italic;
    line-height: 0.9;
    text-transform: uppercase;
}

.page-eyebrow {
    margin: 0 0 0.4rem;
    color: var(--fifa-lime);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.card {
    border: 1px solid #ddd;
    padding: 1rem;
    background: var(--bg-gradient);
}

.card {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-top: 0.35rem solid var(--fifa-blue);
    border-radius: 0;
    box-shadow: none;
}

.card:nth-child(even) {
    border-top-color: var(--fifa-pink);
}

.card h2,
.card h3,
.card p,
.card li,
.card a {
    color: var(--text-main);
}

.field {
    display: grid;
    gap: 0.35rem;
}

.field label {
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-select {
    min-height: 2.75rem;
    padding: 0.55rem 2.5rem 0.55rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 0;
    background: #10101a;
    color: var(--text-main);
    font: inherit;
    font-weight: 600;
}

.form-select:focus {
    border-color: var(--fifa-lime);
    outline: 2px solid var(--fifa-lime);
    outline-offset: 2px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-main);
    font-size: 0.88rem;
}

.data-table th,
.data-table td {
    padding: 0.65rem 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
    white-space: nowrap;
}

.data-table th {
    background: #10101a;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table tbody tr:hover {
    background: rgba(184, 255, 82, 0.08);
}

.btn {
    font-weight: bold;
    position: relative;
    display: inline-block;
    overflow: hidden;

    background-color: black;

    padding: 0.1rem 1rem;
    color: white;
    text-decoration: none;

    clip-path: var(--skew);

    transition: color 0.2s ease;
    z-index: 1;
    border: none;
    cursor: pointer;
}
.btn:active {
    background-color: white;
    color: black;
}

.btn:active::before {
    background-color: white ;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;

    background: var(--fifa-lime);
    clip-path: inherit;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.1s ease;

    z-index: -1;
}

.btn:hover {
    color: black;
}

.btn:hover::before {
    transform: scaleX(1);
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    margin-top: 2rem;
}
footer p{
    font-weight: normal;
    color: #676767;
}
footer a{
    text-decoration: none;
    color: white;
}
footer a:hover{
    text-decoration: underline;
}
