@import url(https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&display=swap);.ef-collect-btn,.ef-limited-badge,.loading-text,.step-label {
    text-transform: uppercase
}

.container,body {
    background: var(--bg-page)
}

.container,.header-container {
    position: relative;
    overflow: hidden
}

:root {
    --bg-page: #0a0a14;
    --bg-card: #1c1c30;
    --blue: #0088ff;
    --blue-light: #33aaff;
    --blue-btn-bg: #dce9ff;
    --yellow: #f5c400;
    --white: #ffffff;
    --black: #111111;
    --gray: #666666;
    --gray-light: #aaaaaa;
    --gray-bg: #f0f0f0;
    --red: #e02020;
    --border: #e0e0e0;
    --font: 'Noto Sans',sans-serif;
    --r-popup: 20px;
    --r-btn: 50px;
    --r-card: 14px
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none
}

body {
    font-family: var(--font)
}

.container {
    margin: 0 auto;
    max-width: 480px;
    min-height: 100vh
}

.header-container {
    width: 100%;
    height: auto
}

.ef-confirm-player-item img,.ef-done-player-item img,.ef-player-card img,.header-background {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block
}

.header-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 30%,var(--bg-page) 100%);
    pointer-events: none
}

.header-content {
    position: absolute;
    bottom: 12px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3
}

.header-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px
}

.header-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: .5px;
    line-height: 1
}

.header-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,.55);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px
}

.header-icon-svg {
    width: 11px;
    height: 11px
}

.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px 10px;
    background: #112;
    border-bottom: 1px solid rgba(255,255,255,.06)
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: .3;
    transition: opacity .3s
}

.step.active {
    opacity: 1
}

.step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.4);
    background: 0 0;
    transition: .3s
}

.step.active .step-number {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(0,136,255,.1)
}

.step-label {
    font-size: 8px;
    font-weight: 700;
    color: rgba(255,255,255,.35);
    letter-spacing: .5px
}

.step.active .step-label {
    color: var(--white)
}

.step-connector {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.1);
    margin-bottom: 14px;
    max-width: 36px
}

.ef-wrap {
    padding: 10px 12px 24px;
    max-width: 480px;
    margin: 0 auto
}

.ef-free-title {
    font-size: 20px;
    color: #fff;
    margin: 8px 0 10px;
    font-family: eFootball Stencil;
    font-style: normal;
    font-weight: 400
}

.ef-coins-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
    padding-top: 10px
}

.ef-coin-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--r-card);
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: visible;
    transition: border-color .18s,transform .14s
}

.ef-collect-btn,.ef-popup-close {
    transition: background .15s;
    cursor: pointer
}

.ef-coin-card:hover {
    border-color: var(--yellow);
    transform: translateY(-2px)
}

.ef-limited-badge {
    position: absolute;
    top: 0;
    left: 0;
    transform: none;
    background: var(--yellow);
    color: #111;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 7px;
    border-top-left-radius: 13px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,.3)
}

.ef-coin-img {
    margin-top: 18px;
    margin-bottom: 4px
}

.ef-coin-img img {
    width: 47px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(245,196,0,.3))
}

.ef-coin-amount {
    font-size: 12px;
    font-weight: 800;
    color: var(--yellow);
    text-align: center;
    margin-bottom: 2px;
    line-height: 1.2
}

.ef-coin-icon {
    font-size: 10px
}

.ef-coin-icon img {
    width: 10px;
    height: auto;
    vertical-align: top;
    margin-right: 0
}

.ef-stock {
    font-size: 8px;
    color: #ff6060;
    font-weight: 700;
    margin-bottom: 6px
}

.ef-collect-btn {
    background: var(--blue);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    border: none;
    border-radius: 20px;
    padding: 5px 10px;
    width: 100%;
    margin-bottom: 1px
}

.ef-collect-btn:hover,.ef-verif-submit-btn:hover {
    background: var(--blue-light)
}

.ef-ticker-bar {
    background: #1c1c30;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    overflow: hidden;
    padding: 7px 0;
    margin: 0
}

.ef-ticker-inner {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: 22s linear infinite tickerScroll;
    font-size: 11px;
    color: var(--yellow);
    font-weight: 600;
    will-change: transform
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(calc(var(--ticker-half,50%) * -1))
    }
}

.ef-ticker-inner img {
    width: 13px;
    height: auto;
    vertical-align: middle;
    margin-top: 0;
    margin-right: 1px
}

.ef-popup-backdrop {
    position: fixed!important;
    inset: 0!important;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99;
    background: rgba(0,0,0,.62)
}

.ef-popup-backdrop[style*=flex] {
    display: flex!important
}

.ef-popup-box {
    background: var(--white);
    border-radius: var(--r-popup);
    width: 88%;
    max-width: 360px;
    position: relative;
    text-align: center;
    font-family: var(--font);
    color: var(--black);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,.4)
}

.ef-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e0eeff;
    border: none;
    color: var(--blue);
    font-size: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    box-shadow: none;
    margin: 0;
    z-index: 1;
    padding: 0;
    line-height: 1
}

.ef-popup-close:hover,.ef-popup-confirm-btn:hover {
    background: #c8d8ff
}

.ef-popup-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--black);
    padding: 9px 20px 0;
}

.ef-popup-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 0 0
}

.ef-popup-question {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    margin: 10px 20px 2px;
    line-height: 1.5
}

.ef-popup-coin-box {
    background: #1c1e24;
    border-radius: 16%;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px auto 12px;
    box-shadow: 0 0 8px rgb(255 231 148)
}

.ef-popup-coin-box img {
    width: 54px;
    height: auto;
    object-fit: contain
}

.ef-popup-coin-amount {
    font-size: 24px;
    font-weight: 800;
    color: #008cff;
    padding: 0 20px
}

.ef-popup-coin-label {
    font-size: 12px;
    color: #ffc200;
    margin: 0 20px
}

.ef-popup-confirm-btn {
    background: #c7ddef;
    color: #0078ff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 11px 0;
    cursor: pointer;
    letter-spacing: .3px;
    margin-top: 16px;
    border: 1px solid var(--border);
    width: 85%;
    margin-bottom: 13px
}

.ef-done-reward-label,.ef-field-label,.ef-popup-box .ef-field-label {
    text-transform: uppercase;
    letter-spacing: .5px
}

.ef-username-box {
    padding-bottom: 0
}

.ef-username-error {
    color: #ff3c32;
    text-align: center;
    font-size: 12px;
    margin: 0px 0px 8px;
    font-weight: 600
}

.ef-loading-box,.ef-verif-box {
    text-align: center;
    box-shadow: 0 16px 48px rgba(0,0,0,.4);
    font-family: var(--font);
    overflow: hidden
}

.ef-popup-box .ef-field-label {
    font-size: 11px;
    color: var(--gray);
    text-align: left;
    margin: 0 20px 4px;
    font-weight: 700
}

.ef-popup-box .ef-verif-input {
    width: calc(100% - 40px);
    margin: 0 20px 12px;
    padding: 12px 14px;
    background: var(--gray-bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--black);
    outline: 0;
    display: block;
    transition: border-color .2s
}

.ef-popup-box .ef-verif-input:focus,.ef-verif-input:focus,.ef-verif-select:focus {
    border-color: var(--blue)
}

.ef-loading-title,.ef-verif-title {
    border-bottom: 1px solid var(--border)
}

.ef-popup-box .ef-verif-input::placeholder {
    color: #bbb
}

.ef-loading-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.62);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center
}

.ef-loading-backdrop-polos {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center
}

#load-page,.ef-done-reward-img,.ef-loading-divider {
    display: none
}

.ef-loading-box {
    background: var(--white);
    border-radius: var(--r-popup);
    width: 88%;
    max-width: 300px;
    padding: 0 0 20px;
    color: var(--black)
}

.ef-loading-polos {
    background: #ffffff00;
    z-index: 999;
    position: relative;
}

.ef-loading-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--black);
    padding: 20px 20px 14px;
    margin-bottom: 20px
}

.ef-loading-icon {
    margin: 0 auto 16px;
    width: 64px;
    height: 64px;
    background: #e4e4e4;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.ef-loading-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 17px;
    border: 3px solid transparent;
    border-top-color: var(--blue);
    border-right-color: var(--blue);
    animation: 1s linear infinite efSpin
}

.loader-gif {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    margin-bottom: 15px
}

.loading-text {
    font-size: 16px;
    color: #fff
}

.ef-spin-icon {
    animation: 1.2s linear infinite efSpin
}

.ef-spin-icon circle {
    stroke: #e0e0e0
}

.ef-spin-icon path {
    stroke: var(--blue)
}

@keyframes efSpin {
    from {
        transform: rotate(0)
    }

    to {
        transform: rotate(360deg)
    }
}

.ef-loading-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 6px;
    padding: 0 20px
}

.ef-dots::after {
    content: '';
    display: inline-block;
    animation: 1.5s steps(3,end) infinite dotAnim
}

@keyframes dotAnim {
    0% {
        content: ''
    }

    33% {
        content: '.'
    }

    66% {
        content: '..'
    }

    100% {
        content: '...'
    }
}

.ef-loading-copy {
    font-size: 10px;
    color: #ccc;
    margin-top: 16px
}

.ef-verif-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.62);
    z-index: 99997;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.ef-verif-box {
    background: var(--white);
    border-radius: var(--r-popup);
    width: 100%;
    max-width: 380px;
    color: var(--black)
}

.ef-verif-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--black);
    padding: 20px 40px 14px
}

.ef-verif-greet {
    font-size: 13px;
    color: var(--gray);
    margin: 14px 20px;
    text-align: center;
    line-height: 1.5
}

.ef-done-wait,.ef-verif-name {
    color: var(--blue);
    font-weight: 700
}

.ef-field-label {
    font-size: 11px;
    color: var(--gray);
    text-align: left;
    margin: 0 20px 5px;
    font-weight: 700
}

.ef-verif-input,.ef-verif-select {
    width: calc(100% - 40px);
    margin: 0 20px 12px;
    padding: 12px 14px;
    background: var(--gray-bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    font-family: var(--font);
    color: var(--black);
    outline: 0;
    display: block;
    transition: border-color .2s
}

.ef-done-check,.ef-verif-submit-btn {
    background: var(--blue);
    color: var(--white);
    font-size: 15px;
    font-weight: 700
}

.ef-verif-input::placeholder {
    color: #bbb
}

.ef-verif-submit-btn {
    border: none;
    border-radius: var(--r-btn);
    padding: 14px 0;
    width: calc(100% - 40px);
    margin: 6px 20px 16px;
    cursor: pointer;
    display: block;
    box-shadow: 0 4px 14px rgba(0,136,255,.35);
    transition: background .15s
}

.ef-verif-btn {
    margin-top: 4px
}

form {
    padding: 0 6px;
    margin-bottom: 20px
}

.ef-done-check {
    width: 29px;
    height: auto;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px auto 14px;
    box-shadow: 0 4px 16px rgba(0,136,255,.35)
}

.ef-done-body {
    text-align: left;
    margin: 0 20px 14px
}

.ef-done-greet {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 6px
}

.ef-done-text {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 12px
}

.ef-done-reward-card {
    background: #f7f7f7;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 8px
}

.ef-done-reward-label {
    font-size: 10px;
    color: var(--gray-light);
    font-weight: 700;
    margin-bottom: 10px;
    justify-self: center
}

.ef-done-reward-row {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center
}

.ef-done-reward-img {
    width: 52px;
    height: 34px;
    object-fit: contain
}

.ef-done-reward-name {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 2px
}

.ef-done-reward-amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--black)
}

.ef-done-events-sign {
    font-size: 10px;
    color: #ccc;
    text-align: right;
    margin-top: 6px
}

#load-page {
    position: fixed!important;
    inset: 0;
    z-index: 99996
}

#done-page,#verif-page {
    position: fixed!important;
    inset: 0;
    z-index: 99995;
    display: none
}

.ef-popup-box input.ef-verif-input-username {
    width: 100%;
    margin: 10px 0;  
    padding: 7px 13px !important;
    background: #f0f0f000 !important;
    border: 1.5px solid #828282 !important;
    border-radius: 0px;
    font-size: 15px !important;
    font-weight: 600;
    color: var(--black) !important;
    display: block;
    box-sizing: border-box;
    justify-self: center !important;
    -webkit-appearance: none;  
    -webkit-box-sizing: border-box; 
}
.ef-confirm-coin-block .ef-popup-coin-box img,.ef-done-coin-box img {
    width: 68px;
    height: auto
}

@media (max-width: 600px) {
    .container {
        width:100%
    }
}

.ef-card-has-players {
    padding-bottom: 8px
}

.ef-plus-divider {
    font-size: 14px;
    font-weight: 800;
    color: rgb(255 255 255 / 98%);
    text-align: center;
    line-height: 1;
    margin: 5px 0 4px;
    letter-spacing: 0
}

.ef-player-cards {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 6px;
    width: 100%
}

.ef-player-card {
    position: relative;
    width: 42px;
    height: 59px;
    border-radius: 3px;
    overflow: hidden;
    background: #111;
    border: 1.5px solid;
    flex-shrink: 0
}

.ef-player-ovr {
    position: absolute;
    top: 2px;
    left: 2px;
    background: rgba(0,0,0,.72);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    line-height: 1.15;
    padding: 1px 3px;
    border-radius: 3px;
    text-align: center
}

.ef-player-ovr span {
    display: block;
    font-size: 7px;
    color: #f5c400;
    font-weight: 700
}

.ef-confirm-items-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 4px 16px 8px;
    flex-wrap: nowrap
}

.ef-confirm-coin-block,.ef-done-coin-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 88px
}

.ef-confirm-coin-block .ef-popup-coin-box {
    width: 91px;
    height: 120px;
    border-radius: 8px;
    margin: 0 0 6px;
    display: flex;
    flex-direction: column
}

.ef-confirm-coin-block .ef-popup-coin-amount {
    font-size: 18px;
    font-weight: 800;
    color: #008cff;
    padding: 0;
    line-height: 1.2
}

.ef-confirm-coin-block .ef-popup-coin-label {
    font-size: 10px;
    color: #ffc200;
    margin: 2px 0 0
}

.ef-confirm-plus,.ef-done-plus {
    font-size: 20px;
    font-weight: 800;
    color: #999;
    flex-shrink: 0;
    line-height: 1;
    margin-top: -14px
}

.ef-confirm-players-wrap,.ef-done-players-wrap {
    display: flex;
    align-items: center;
    gap: 6px
}

.ef-confirm-players,.ef-done-players-row {
    display: flex;
    gap: 6px;
    align-items: flex-start
}

.ef-confirm-player-wrapper,.ef-done-player-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px
}

.ef-confirm-player-item {
    position: relative;
    width: 88px;
    height: 132px;
    border-radius: 8px;
    overflow: hidden;
    background: #1c1c2e;
    border: 1.5px solid rgba(0,0,0,.2);
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,.3)
}

.ef-confirm-player-name,.ef-done-player-name {
    font-size: 10px;
    font-weight: 700;
    color: var(--gray);
    text-align: center;
    max-width: 88px;
    line-height: 1.3;
    word-break: break-word
}

.ef-cpi-ovr,.ef-dpi-ovr {
    position: absolute;
    top: 3px;
    left: 3px;
    background: rgba(0,0,0,.78);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    padding: 2px 4px;
    border-radius: 4px;
    text-align: center
}

.ef-cpi-ovr span,.ef-dpi-ovr span {
    display: block;
    font-size: 8px;
    color: #f5c400;
    font-weight: 700
}

.ef-done-items-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: nowrap
}

.ef-done-coin-box {
    width: 91px;
    height: 120px;
    border-radius: 8px;
    background: #1c1e24;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 8px 6px 6px
}

.ef-done-coin-box img {
    object-fit: contain;
    flex-shrink: 0
}

.ef-done-coin-box .ef-done-reward-amount {
    font-size: 11px;
    font-weight: 800;
    color: #008cff;
    padding: 0;
    line-height: 1.2;
    margin-top: 4px
}

.ef-done-coin-box .ef-done-reward-name {
    font-size: 9px;
    color: #ffc200;
    margin: 2px 0 0;
    text-align: center;
    line-height: 1.3
}

.ef-done-player-item {
    position: relative;
    width: 88px;
    height: 124px;
    border-radius: 8px;
    overflow: hidden;
    background: #1c1c2e;
    border: 1.5px solid rgba(0,136,255,.2);
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,.25)
}

.ef-coin-amount,.ef-coin-card,.ef-collect-btn,.ef-free-title,.ef-limited-badge,.ef-popup-close,.ef-popup-confirm-btn,.ef-stock,.ef-ticker-bar,.ef-verif-submit-btn,.header-content,.stepper {
    user-select: none;
    -webkit-user-select: none
}

button:focus,button:focus-visible {
    outline: 0
}

.ef-username-box {
    padding: 24px 20px 20px;
}

.ef-username-btn-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.ef-username-cancel-btn, .ef-username-search-btn {
    flex: 1;
    padding: 14px;
    border-radius: 11px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

/* Cancel — biru muda seperti di gambar */
.ef-username-cancel-btn {
    background: #c7ddef;
    color: #0078ff;
}

.ef-username-cancel-btn:hover {
    background: #c8dcff;
}

/* Search — disabled: abu, enabled: biru */
.ef-username-search-btn:disabled {
    background: #e8e8e8;
    color: #aaa;
    cursor: not-allowed;
}

.ef-username-search-btn:not(:disabled) {
    background: #c7ddef;
    color: #097cfe;
}

.ef-username-search-btn:not(:disabled):hover {
    background: #c8dcff;
}
