@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

/* ===== RESET & BASE ===== */
*,*::before,*::after{ box-sizing: border-box; }

body{
    margin: 0;
    font-family: 'Nunito', sans-serif;
    color: #272D4E;
    overflow-x: hidden;
    background: #fafbfd;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

a{ text-decoration: none; color: inherit; }
ul{ list-style: none; padding: 0; margin: 0; }
img{ max-width: 100%; }
p{ line-height: 1.5; }

.container{
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVIGATION ===== */
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    font-family: 'Nunito', sans-serif;
}

.left-nav{
    display: flex;
    align-items: center;
}

.left-nav ul{ display: flex; align-items: center; gap: 4px; padding-top: 0; }

.right-nav{ padding-top: 0; }
.right-nav a{ font-size: 15px; position: relative; z-index: 10; }

.nav-item{
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #2A398D;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s;
    text-decoration: none;
}

.nav-item:hover{
    background: rgba(42,57,141,0.08);
}

.nav-items{ padding-left: 16px; }

.logo{
    height: 60px;
    padding: 0;
}

.shape{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    opacity: 0;
}

/* ===== HEADER / HERO ===== */
header{
    background: linear-gradient(180deg, rgba(42,57,141,0.10) 0%, rgba(60,172,59,0.04) 50%, rgba(255,255,255,0) 100%);
    min-height: 90vh;
    position: relative;
}

.content{
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 24px;
}

.content .head{
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 800;
    color: #272D4E;
}

.highlight{
    color: #E61D25;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.text{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.left{
    width: 100%;
    max-width: 700px;
    padding-top: 120px;
}

.right{
    width: auto;
}

.content p{
    font-size: 18px;
    font-weight: 500;
    padding-top: 16px;
    color: #6B727B;
    max-width: 600px;
}

.ps{ color: #6B727B; }
.option .ps{ margin-right: 15px; }
.option{ display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.option2{ padding-top: 1rem; display: flex; max-height: 50px; }

.header-img{
    padding-right: 0;
    padding-top: 60px;
    position: relative;
    max-width: 600px;
    width: 100%;
    z-index: 10;
}

/* ===== BUTTONS ===== */
.explore{
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    color: #fff;
    background: #2A398D;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(42,57,141,0.25);
    text-decoration: none;
    width: auto;
}

.explore:hover{
    background: #3B4DA6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42,57,141,0.3);
}

.effect{
    font-family: 'Nunito', sans-serif;
    display: inline-block;
    padding: 14px 36px;
    margin: 21px 25px 10px 0;
    color: #fff;
    font-size: 15px;
    border-radius: 12px;
    background: #2A398D;
    border: none;
    transition: background 0.2s, transform 0.15s;
    cursor: pointer;
}

.effect:hover{
    background: #3B4DA6;
    transform: translateY(-2px);
}

.get-started{
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
    background: #2A398D;
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    margin-left: 8px;
    position: relative;
    z-index: 10;
}

.get-started:hover{
    background: #3B4DA6;
    transform: translateY(-1px);
}

.scoreboard-button{
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    color: #fff;
    font-size: 15px;
    border-radius: 12px;
    background: #2A398D;
    border: none;
    transition: background 0.2s, transform 0.15s;
    cursor: pointer;
    z-index: 10;
    filter: none;
    position: relative;
    bottom: auto;
    left: auto;
}

.scoreboard-button:hover{
    background: #3B4DA6;
    transform: translateY(-2px);
}

.underlined{
    color: #2A398D;
    border-bottom: solid #2A398D 2px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    padding-top: 20px;
    display: inline-block;
}

/* ===== PROFILE ===== */
.profile-info{ display: flex; align-items: center; gap: 8px; }

.profile-photo{
    position: relative;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 4px;
}

.prof{
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #2A398D;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s;
    position: relative;
    z-index: 10;
}

.prof:hover{
    background: rgba(42,57,141,0.08);
    color: #2A398D;
}

.buttons-profile{
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 0;
}

.login-fields{
    position: relative;
    z-index: 10;
    padding-top: 0;
}

/* ===== DROPDOWN ===== */
.dropbtn{
    color: #272D4E;
    padding: 12px 24px;
    font-size: 15px;
    border: none;
    background: transparent;
}

.dropdown{
    position: relative;
    display: inline-block;
}

.dropdown-content{
    display: none;
    position: absolute;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 100;
}

.dropdown-content a{
    color: #272D4E;
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    transition: background 0.15s;
}

.dropdown-content a:hover{
    background: #f5f5f5;
}

.dropdown:hover .dropdown-content{
    display: block;
}

/* ===== POOL PAGES ===== */
.head h1{
    padding-top: 40px;
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    color: #272D4E;
}

.head p{
    font-size: 16px;
    font-weight: 500;
    font-family: 'Nunito', sans-serif;
    color: #6B727B;
    padding-bottom: 32px;
}

.pool-container{
    position: relative;
    z-index: 10;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.pool-container h2{
    padding: 16px 20px 16px;
    font-family: 'Nunito', sans-serif;
    color: #272D4E;
    font-size: 18px;
    font-weight: 700;
}

.pool-container h3{
    color: #272D4E;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.top-pool{
    display: flex;
    gap: 32px;
}

.top-pool-left{
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    overflow: hidden;
}

.top-pool-right{
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding-left: 0;
}

.pool-paneel{
    display: flex;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin: 0 16px 16px;
    overflow: auto;
    max-height: 700px;
}

.left-paneel{ flex: 1; min-width: 280px; padding: 8px; }
.middle-paneel{ flex: 1; min-width: 280px; padding: 8px; }
.right-paneel{ flex: 1; min-width: 280px; padding: 8px; margin-left: 0; }

.pool-update{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: #2A398D;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 12px rgba(42,57,141,0.2);
    margin-bottom: 20px;
}

.pool-update:hover{
    background: #3B4DA6;
    transform: translateY(-1px);
}

.pool-update p{
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    font-family: 'Nunito', sans-serif;
}

.button-content{
    display: flex;
    align-items: center;
    gap: 8px;
}

.button-img{
    width: 18px;
    height: 18px;
    padding: 0;
}

.opties-pool{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    margin-bottom: 4px;
    color: #4a4a4a;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    transition: background 0.2s, transform 0.15s;
    background: transparent;
}

.opties-pool:hover{
    background: rgba(42,57,141,0.06);
    color: #2A398D;
    text-decoration: none;
    transform: translateX(2px);
}

.opties-pool.selected{
    background: rgba(42,57,141,0.10);
    color: #2A398D;
    font-weight: 700;
}

.optie-img{
    height: 22px;
    width: 22px;
    object-fit: contain;
    padding-right: 0;
    vertical-align: middle;
}

.cup-img{ padding-left: 0; }

/* ===== MATCH PAIRS ===== */
.paar{
    padding: 8px 0;
    width: 100%;
}

.t-paar{
    padding: 16px 0 8px;
    width: 100%;
}

.top-paar{
    display: flex;
    justify-content: space-between;
    padding: 0 8px;
    max-width: 320px;
    margin: 0 auto;
}

.top-paar h4{
    font-size: 13px;
    font-weight: 600;
    color: #272D4E;
    font-family: 'Nunito', sans-serif;
}

.bottom-paar{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 0;
}

.match-left{
    position: relative;
    z-index: 10;
    width: 100px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: none;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #272D4E;
    margin-left: 0;
    padding: 0 8px;
    transition: border-color 0.2s;
}

.match-left:focus{
    border-color: #2A398D;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42,57,141,0.1);
}

.match-left::placeholder{
    font-size: 11px;
    font-weight: 600;
    color: #aaa;
}

.match-right{
    position: relative;
    z-index: 10;
    width: 100px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: none;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #272D4E;
    padding: 0 8px;
    transition: border-color 0.2s;
}

.match-right:focus{
    border-color: #2A398D;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42,57,141,0.1);
}

.left-vlag{
    height: 28px;
    width: 36px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    object-fit: cover;
    position: static;
    left: auto;
    bottom: auto;
}

.right-vlag{
    height: 28px;
    width: 36px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    object-fit: cover;
    position: static;
    right: auto;
    bottom: auto;
}

.vs{
    padding: 0 4px;
    height: 20px;
    position: static;
}

/* ===== MIDDLE SECTION (Extra, Halve finalisten) ===== */
.middle-pool{
    padding-top: 32px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
}

.left-middle-pool{
    background: #fff;
    flex: 1;
    min-width: 300px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.top-middle{
    border-bottom: 1px solid #e5e7eb;
    padding: 0 20px;
}

.top-middle h2{
    padding: 16px 0;
    font-size: 16px;
}

.bottom-middle-pool{
    padding: 16px 24px;
}

.left-left{
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
}

.right-left{
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 16px;
    width: 100%;
}

.pair{ padding-bottom: 12px; }
.pair-top{ padding-bottom: 16px; }

.extras{
    width: 170px;
    height: 36px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: none;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    padding: 0 12px;
    transition: border-color 0.2s;
}

.extras:focus{
    border-color: #2A398D;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42,57,141,0.1);
}

/* ===== GROEPSWINNAARS ===== */
.left-middle-pool2{
    margin-top: 32px;
    margin-bottom: 60px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    width: 100%;
}

.bottom-bottom-pool{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 24px;
}

.left-bottom{
    padding-right: 32px;
}

/* ===== SELECT INPUTS ===== */
select{
    outline: none;
    padding: 6px 12px;
    color: #272D4E;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 14px;
    width: 170px;
    height: 36px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}

select:focus{
    border-color: #2A398D;
    box-shadow: 0 0 0 3px rgba(42,57,141,0.1);
}

.non-edit{
    outline: none;
    padding: 6px 12px;
    color: #272D4E;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 14px;
    width: 170px;
    height: 36px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* ===== FORMS ===== */
.form{
    padding-top: 8rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.top-form h1{
    font-family: 'Nunito', sans-serif;
    color: #272D4E;
    font-weight: 800;
    font-size: clamp(28px, 4vw, 50px);
}

.top-form{
    padding-left: 0;
}

.top-form p{
    font-family: 'Nunito', sans-serif;
    color: #6B727B;
    font-weight: 500;
    font-size: 16px;
    padding-bottom: 24px;
}

.bottom-form{
    display: flex;
    gap: 24px;
    padding-bottom: 50px;
    flex-wrap: wrap;
}

.left-form{
    background: #fff;
    flex: 1;
    min-width: 300px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 32px;
}

.left-form-info{
    background: #fff;
    flex: 1;
    min-width: 300px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 32px;
}

.left-form h2, .left-form-info h2{
    padding-top: 0;
    font-family: 'Nunito', sans-serif;
    color: #6B727B;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.right-form{
    z-index: 10;
    background: #fff;
    flex: 1;
    min-width: 300px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 32px;
}

.right-form h2{
    padding-top: 0;
    font-family: 'Nunito', sans-serif;
    color: #6B727B;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.inside-left-form{
    padding-left: 0;
}

.whole-form h3{
    padding-top: 16px;
    font-family: 'Nunito', sans-serif;
    color: #272D4E;
    font-size: 14px;
    font-weight: 600;
}

.input-button{
    width: 100%;
    height: 48px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: none;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    padding: 0 16px;
    transition: border-color 0.2s;
}

.input-button:focus{
    border-color: #2A398D;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42,57,141,0.1);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder{
    color: #aaa;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="password"]{
    color: #272D4E;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding-left: 16px;
}

button:focus, input:focus, textarea:focus{
    outline: none;
}

input:focus, textarea:focus{
    border-color: #2A398D;
    box-shadow: 0 0 0 3px rgba(42,57,141,0.1);
}

.optioneel{
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.optioneel h4{
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 12px;
    padding-top: 20px;
    color: #E61D25;
}

.labels{
    padding-top: 16px;
}

.container{
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #272D4E;
}

.package{ display: flex; gap: 24px; flex-wrap: wrap; }

input[type="file"]{ display: none; }

.custom-file-upload{
    border: 1px solid #ddd;
    background: #f8f9fa;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.custom-file-upload:hover{
    border-color: #2A398D;
}

.custom-file-upload h5{
    padding: 0;
    color: #272D4E;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
}

.input-headline{
    width: 100%;
    max-width: 280px;
    height: 120px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px 16px;
    color: #272D4E;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 14px;
    resize: none;
    box-shadow: none;
    margin-right: 0;
    transition: border-color 0.2s;
}

.input-headline:focus{
    border-color: #2A398D;
    box-shadow: 0 0 0 3px rgba(42,57,141,0.1);
}

.input-headline::placeholder{
    color: #aaa;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.input-story{
    color: #272D4E;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 14px;
    width: 100%;
    max-width: 340px;
    height: 260px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px 16px;
    resize: none;
    box-shadow: none;
    transition: border-color 0.2s;
}

.input-story:focus{
    border-color: #2A398D;
    box-shadow: 0 0 0 3px rgba(42,57,141,0.1);
}

.input-story::placeholder{
    color: #aaa;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.sign-up{
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: none;
    background: #2A398D;
    margin-top: 24px;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 12px rgba(42,57,141,0.2);
}

.sign-up:hover{
    background: #3B4DA6;
    transform: translateY(-1px);
}

form h6{
    padding-top: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #272D4E;
}

.prof-img{
    width: 70px;
    border-radius: 8px;
}

.logout{ display: flex; }

.logout-form{
    padding-top: 20px;
    padding-left: 0;
}

.logout-button{
    font-family: 'Nunito', sans-serif;
    color: #2A398D;
    font-size: 15px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.logout-button:hover{
    color: #3B4DA6;
}

.profile-sphere1, .profile-sphere2{ display: none; }

.code{ padding-top: 16px; }

/* ===== LEADERBOARD ===== */
.flip-card{
    background: transparent;
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

.flip-card-inner{
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner{
    transform: rotateX(180deg);
}

.flip-card-front, .flip-card-back{
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip-card-front{
    background: #fff;
    color: #272D4E;
}

.flip-card-back{
    background: #fff;
    color: #272D4E;
    transform: rotateX(180deg);
}

.medal{
    position: relative;
    top: 90px;
    left: 22px;
    z-index: 11;
    width: 36px;
    height: 36px;
}

.top_flip_card{
    height: 245px;
    margin: 0 auto;
    flex-direction: column;
    text-align: center;
    padding-top: 12px;
}

.bottom_flip_card{
    border-top: 1px solid #e5e7eb;
    height: 55px;
    display: flex;
}

.left_flip{
    width: 50%;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.right_flip{
    display: flex;
    width: 50%;
    height: 55px;
    border-left: 1px solid #e5e7eb;
    justify-content: center;
    align-items: center;
}

.points5{
    width: 24px;
    height: 24px;
    padding-top: 0;
}

.points2{
    width: 20px;
    height: 20px;
    padding-top: 0;
}

.name{
    font-family: 'Nunito', sans-serif;
    color: #272D4E;
    font-size: 16px;
    font-weight: 700;
}

.user_name{
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #6B727B;
    padding-top: 4px;
    padding-bottom: 16px;
}

.leader_top3{
    width: 72px;
    height: 72px;
    margin-bottom: 8px;
    border-radius: 50%;
    object-fit: cover;
}

.punten{
    border-radius: 20px;
    margin: 0 auto;
    width: 140px;
    padding: 8px 0;
    background: rgba(42,57,141,0.08);
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #2A398D;
    text-align: center;
}

.punters5, .punters2{
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #272D4E;
    padding-left: 4px;
}

.top3_leader{
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.top_leader{
    justify-content: space-between;
    display: flex;
    padding-bottom: 10px;
}

.leader_container{
    padding-top: 120px;
    position: relative;
    z-index: 10;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.back_home{
    font-family: 'Nunito', sans-serif;
    color: #6B727B;
    font-size: 13px;
    font-weight: 500;
}

.middle_top h2{
    font-family: 'Nunito', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #272D4E;
    text-align: center;
    margin-right: 0;
}

.middle_top h3{
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #6B727B;
    text-align: center;
    margin-right: 0;
}

.middle-top{ text-align: center; }
.right_top{ opacity: 0; }
.left_top{ padding-top: 15px; }

.top_back{
    height: 55px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top_back .name{ padding-top: 0; }

.headline{
    font-family: 'Nunito', sans-serif;
    color: #272D4E;
    font-size: 16px;
    font-weight: 600;
    padding-top: 8px;
}

.bottom_back{
    height: 245px;
    text-align: center;
    padding: 12px;
}

.bio{
    font-family: 'Nunito', sans-serif;
    color: #6B727B;
    font-size: 13px;
    font-weight: 500;
    padding-top: 12px;
    max-width: 260px;
    margin: 0 auto;
}

/* ===== REST OF LEADERBOARD ===== */
.rest{
    max-width: 1100px;
    width: 100%;
    background: #fff;
    margin-top: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    min-height: 72px;
}

.end{ padding-bottom: 120px; }

.left_rest{
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.full-name2{ display: flex; gap: 4px; }

.potition_rest{ display: flex; align-items: center; }

.leader_rest{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.poti{
    font-family: 'Nunito', sans-serif;
    color: #6B727B;
    font-size: 14px;
    font-weight: 500;
    padding: 0 12px 0 0;
    min-width: 24px;
    text-align: center;
}

.photo2{ padding-top: 0; }

.name_rest{
    font-family: 'Nunito', sans-serif;
    color: #6B727B;
    font-size: 13px;
    font-weight: 500;
    padding-left: 12px;
}

.full_name2{
    color: #272D4E;
    font-size: 15px;
    font-weight: 700;
}

.punten_rest{
    font-family: 'Nunito', sans-serif;
    background: rgba(42,57,141,0.08);
    border-radius: 20px;
    color: #2A398D;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 6px 20px;
    margin-left: auto;
    white-space: nowrap;
}

.points_div{
    color: #2A398D;
}

.punt5{
    display: flex;
    align-items: center;
    gap: 4px;
}

.punt2{
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 0;
}

.points5_2{
    width: 20px;
    height: 20px;
    padding: 0;
}

.points2_2{
    width: 18px;
    height: 18px;
    padding: 0;
}

.middle_rest{ flex: 1; }

.right_rest{
    display: flex;
    align-items: center;
    gap: 12px;
}

.explain{
    font-family: 'Nunito', sans-serif;
    display: flex;
    color: #6B727B;
    font-size: 13px;
    font-weight: 500;
    padding-top: 24px;
    padding-bottom: 8px;
    gap: 24px;
}

.explain1{ padding-left: 0; }
.explain2{ padding-left: 0; }
.explain3{ padding-left: 0; }
.explain4{ padding-left: 0; }

/* ===== MEMBERS ===== */
.lid{
    display: flex;
    max-width: 700px;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-radius: 12px;
    margin: 0 auto;
    margin-top: 16px;
    overflow: hidden;
}

.full-name{
    display: flex;
    justify-content: center;
    padding-bottom: 12px;
}

.profile-photo-lid{
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.lid h3{
    color: #272D4E;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Nunito', sans-serif;
}

.lid h4{
    color: #6B727B;
    font-weight: 500;
    font-size: 13px;
    font-family: 'Nunito', sans-serif;
}

.last-name-lid{ padding-left: 4px; }

.left-lid{
    width: 140px;
    text-align: center;
    margin: auto 0;
    padding: 16px 0;
    border-right: 1px solid #e5e7eb;
}

.lid h5{
    color: #272D4E;
    font-size: 22px;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    padding: 12px 0 0;
}

.lid h6{
    color: #6B727B;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Nunito', sans-serif;
    padding: 0;
}

.right-lid{
    padding: 16px;
    flex: 1;
}

.top-leden{
    text-align: center;
    padding-bottom: 24px;
}

.top-leden h1{
    color: #272D4E;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
}

.top-leden h2{
    color: #6B727B;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.leden{
    min-height: 65vh;
    position: relative;
    z-index: 10;
    padding-top: 120px;
}

/* ===== POOL SELECTOR ===== */
.pool-selector{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    background: #2A398D;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 12px rgba(42,57,141,0.2);
    width: auto;
    height: auto;
}

.pool-selector:hover{
    background: #3B4DA6;
    transform: translateY(-1px);
}

.pool-selector .button-content{
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-select{
    display: block;
    height: 20px;
    width: auto;
}

/* ===== POOL CALC BUTTON ===== */
.pool-calc{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: #2A398D;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 12px rgba(42,57,141,0.2);
}

.pool-calc:hover{
    background: #3B4DA6;
    transform: translateY(-1px);
}

/* ===== LOGIN ===== */
.login{
    background: #2A398D;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    border-radius: 12px;
}

.login:hover{
    background: #3B4DA6;
}

/* ===== KIJKEN BUTTON ===== */
.kijken{
    background: #2A398D;
    transition: background 0.2s;
}

.kijken:hover{
    background: #3B4DA6;
}

/* ===== ERROR/SUCCESS MESSAGES ===== */
.fout-melding{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.inside-fout-melding{
    padding-top: 8px;
    color: #E61D25;
    font-weight: 600;
}

.closed{
    color: #E61D25;
    font-weight: 600;
}

.open{
    color: #3CAC3B;
    font-weight: 600;
}

/* ===== MISC ===== */
.span{ color: #E61D25; }
.block{ height: 60px; }
.invic{ display: none; }
.footer-text{ color: #fff; font-size: 14px; font-weight: 700; }
.footer-sphere{ display: none; }

.head-text{
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.second-head{ padding-left: 0; }

/* ===== BOOST SECTION (unused but keep for compatibility) ===== */
.boost{ align-items: center; max-width: 1400px; margin: 0 auto; }
.top-part{ text-align: center; padding-bottom: 20px; }
h2{ font-family: 'Nunito', sans-serif; font-size: 28px; font-weight: 800; color: #272D4E; }
.info{ padding-left: 2rem; position: relative; bottom: 0; }
.boost h1{ font-family: 'Nunito', sans-serif; color: #272D4E; font-size: 28px; font-weight: 800; }
.boost p{ color: #6B727B; font-weight: 500; font-size: 16px; padding-top: 12px; }
.boost ul{ align-items: center; display: flex; flex-wrap: wrap; }
.boost ul li{ max-width: 600px; }

.type{ display: none; }

.view{
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 8px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.view:hover{
    background: rgba(255,255,255,0.15);
}

.view:focus{
    outline: none;
}


.florio-badge-sm{
    font-size: 13px !important;
    padding: 6px 16px !important;
    box-shadow: 0 3px 0 #C3763E !important;
    white-space: nowrap;
}

.florio-badge-sm:hover{
    box-shadow: 0 1px 0 #C3763E !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px){
    .pool-container{ max-width: 100%; }

    .top-pool{
        flex-direction: column;
    }

    .top-pool-right{
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

    .pool-update{
        width: auto;
        padding: 0 32px;
    }

    .pool-paneel{
        max-height: none;
    }

    .middle-pool{
        flex-direction: column;
    }

    .left-middle-pool{
        min-width: 0;
    }
}

@media (max-width: 900px){
    header{ min-height: auto; }

    .content{
        flex-direction: column;
        padding-top: 1rem;
    }

    .left{
        width: 100%;
        padding-top: 60px;
        text-align: center;
    }

    .text{
        justify-content: center;
    }

    .option{
        justify-content: center;
    }

    .header-img{
        max-width: 300px;
        padding-top: 24px;
    }

    .pool-paneel{
        flex-direction: column;
    }

    .left-paneel, .middle-paneel, .right-paneel{
        min-width: 0;
        width: 100%;
    }

    .top-pool-right{
        flex-direction: column;
        align-items: stretch;
    }

    .pool-update{
        width: 100%;
    }

    .bottom-form{
        flex-direction: column;
    }

    .left-form, .right-form, .left-form-info{
        width: 100%;
        min-width: 0;
    }

    .form{
        padding-top: 4rem;
    }

    .head h1{
        padding-top: 24px;
        font-size: 28px;
    }

    .head p{
        padding-bottom: 16px;
    }

    .leader_container{
        padding-top: 80px;
    }

    .top3_leader{
        gap: 16px;
    }

    .flip-card{
        width: 260px;
        height: 260px;
    }

    .rest{
        flex-wrap: wrap;
        gap: 8px;
    }

    .left-left, .right-left{
        flex-direction: column;
        gap: 12px;
    }

    .bottom-bottom-pool{
        flex-direction: column;
    }

    .left-bottom{
        padding-right: 0;
    }


}

@media (max-width: 600px){
    nav{ padding: 12px 16px; }
    .pool-container{ padding: 0 12px; }
    .head h1{ font-size: 24px; }

    .match-left, .match-right{
        width: 80px;
        font-size: 13px;
    }

    .left-vlag, .right-vlag{
        width: 28px;
        height: 22px;
    }

    .top-paar{
        max-width: 250px;
    }

    .top-paar h4{
        font-size: 12px;
    }

    .extras, select, .selectt, .non-edit{
        width: 100%;
        max-width: 200px;
    }

    .flip-card{
        width: 100%;
        max-width: 280px;
        height: 280px;
    }

    .rest{
        padding: 12px;
    }

    .leader_rest{
        width: 32px;
        height: 32px;
    }

    .explore{
        width: 100%;
        max-width: 300px;
    }
}
