body {
    background-color: #0a2e22; 
    color: #e2e8f0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.player-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.2) 100%);
    border: 1px solid rgba(222, 184, 99, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden; 
    cursor: pointer;
}

.player-card:active {
    transform: scale(0.98);
}

.player-img {
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.4));
    transition: transform 0.5s ease;
    position: relative;
    z-index: 10; 
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float-slow 4s ease-in-out infinite;
}

.grass-shadow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 25px;
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.5) 0%, rgba(34, 197, 94, 0) 70%);
    filter: blur(6px);
    z-index: 5; 
    opacity: 0.8;
    animation: pulse-shadow 4s ease-in-out infinite;
}

@keyframes pulse-shadow {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    50% { transform: translateX(-50%) scale(0.8); opacity: 0.5; }
}

.btn-luxury {
    background: transparent;
    border: 1px solid rgba(222, 184, 99, 0.4);
    color: #fceea6;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-luxury:hover { border-color: #deb863; color: white; box-shadow: 0 0 15px rgba(222, 184, 99, 0.2); }

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0 1.5rem; 
    opacity: 0.9;
}

.section-divider::before, .section-divider::after {
    content: '';
    height: 1px;
    background: linear-gradient(90deg, transparent, #deb863, transparent);
    width: 40px; 
    margin: 0 10px;
}

.sapo-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-left: 4px solid #deb863;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#iframe-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 100001;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#iframe-modal.open {
    display: flex;
    opacity: 1;
}

.iframe-container {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    position: relative;
    background: #fff;
}

.custom-iframe {
    width: 100%;
    height: 100%;
    border: none;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.custom-iframe::-webkit-scrollbar {
    display: none;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100005;
    color: #000; 
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-size: 22px;
    touch-action: manipulation;
}

.close-btn:hover {
    background: #deb863;
    color: white;
    transform: scale(1.1);
}

.sp-sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 99999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    font-family: Arial, sans-serif;
}

.left-group {
    display: flex;
    align-items: center;
    height: 100%;
}

.sp-back-to-k14 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #007f74;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: background 0.3s;
    cursor: pointer;
}

.sp-back-to-k14:hover {
    background-color: #00665d;
}

.sp-mag-logo {
    margin-left: 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.sp-mag-logo img {
    height: 24px;
    width: auto;
    display: block;
}

.center-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none; 
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-logo img {
    height: 26px;
    width: auto;
    display: block;
}

.right-group {
    display: flex;
    align-items: center;
    padding-right: 15px;
}

.fb-custom-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.fb-custom-btn:hover {
    opacity: 1;
    text-decoration: underline;
}

.fb-custom-btn i {
    font-size: 15px; 
}

@media (max-width: 600px) {
    .center-logo {
        display: none;
    }
}