/* ========================================
   MODERN GLASS AUTH BUTTONS - HEADER
   ======================================== */

.modern-auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modern-auth-btn {
    position: relative;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.modern-auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modern-auth-btn:hover::before {
    opacity: 1;
}

.modern-auth-btn:active {
    transform: scale(0.97);
}

/* Glow Effect */
.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.modern-auth-btn:hover .btn-glow {
    opacity: 1;
}

/* Button Content */
.btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.modern-auth-btn:hover .btn-icon {
    transform: translateX(2px) scale(1.05);
}

.btn-text {
    line-height: 1;
    white-space: nowrap;
}

/* Login Button - Blue Glass */
.modern-auth-btn-login {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.25) 0%, 
        rgba(37, 99, 235, 0.2) 100%);
    border: 1px solid rgba(96, 165, 250, 0.4);
    color: #E0F2FE;
    box-shadow: 
        0 4px 16px rgba(59, 130, 246, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.modern-auth-btn-login:hover {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.35) 0%, 
        rgba(37, 99, 235, 0.3) 100%);
    border-color: rgba(96, 165, 250, 0.6);
    box-shadow: 
        0 6px 24px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    color: #FFF;
}

.modern-auth-btn-login .btn-icon {
    filter: drop-shadow(0 0 4px rgba(96, 165, 250, 0.5));
}

/* Register Button - Emerald Glass */
.modern-auth-btn-register {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.25) 0%, 
        rgba(5, 150, 105, 0.2) 100%);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #D1FAE5;
    box-shadow: 
        0 4px 16px rgba(16, 185, 129, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.modern-auth-btn-register:hover {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.35) 0%, 
        rgba(5, 150, 105, 0.3) 100%);
    border-color: rgba(52, 211, 153, 0.6);
    box-shadow: 
        0 6px 24px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
    color: #FFF;
}

.modern-auth-btn-register .btn-icon {
    filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.5));
}

/* ========================================
   GAME MODAL AUTH BUTTONS
   ======================================== */

.game-login-required {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
    gap: 24px;
}

.lock-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.15) 0%, 
        rgba(99, 102, 241, 0.1) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(167, 139, 250, 0.3);
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(139, 92, 246, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 8px 40px rgba(139, 92, 246, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

.lock-icon {
    width: 40px;
    height: 40px;
    stroke: #C4B5FD;
    stroke-width: 2;
    filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.4));
}

.game-lock-text {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.game-auth-buttons {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 380px;
    margin-top: 8px;
}

.game-auth-btn {
    position: relative;
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 14px;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.game-auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.game-auth-btn:hover::before {
    opacity: 1;
}

.game-auth-btn:active {
    transform: scale(0.97);
}

/* Game Button Glow */
.game-btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.game-auth-btn:hover .game-btn-glow {
    opacity: 1;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Game Button Content */
.game-btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.game-btn-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.game-auth-btn:hover .game-btn-icon {
    transform: translateX(3px) scale(1.1);
}

.game-btn-text {
    line-height: 1;
    white-space: nowrap;
}

/* Game Login Button - Blue Gradient Glass */
.game-auth-btn-login {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.3) 0%, 
        rgba(37, 99, 235, 0.25) 50%,
        rgba(29, 78, 216, 0.2) 100%);
    border: 1.5px solid rgba(96, 165, 250, 0.45);
    color: #E0F2FE;
    box-shadow: 
        0 8px 24px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.game-auth-btn-login:hover {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.45) 0%, 
        rgba(37, 99, 235, 0.4) 50%,
        rgba(29, 78, 216, 0.35) 100%);
    border-color: rgba(96, 165, 250, 0.7);
    box-shadow: 
        0 12px 36px rgba(59, 130, 246, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    color: #FFF;
}

.game-auth-btn-login .game-btn-icon {
    filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.6));
}

/* Game Register Button - Emerald Gradient Glass */
.game-auth-btn-register {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.3) 0%, 
        rgba(5, 150, 105, 0.25) 50%,
        rgba(4, 120, 87, 0.2) 100%);
    border: 1.5px solid rgba(52, 211, 153, 0.45);
    color: #D1FAE5;
    box-shadow: 
        0 8px 24px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.game-auth-btn-register:hover {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.45) 0%, 
        rgba(5, 150, 105, 0.4) 50%,
        rgba(4, 120, 87, 0.35) 100%);
    border-color: rgba(52, 211, 153, 0.7);
    box-shadow: 
        0 12px 36px rgba(16, 185, 129, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    color: #FFF;
}

.game-auth-btn-register .game-btn-icon {
    filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.6));
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .modern-auth-buttons {
        gap: 8px;
    }
    
    .modern-auth-btn {
        padding: 9px 16px;
        font-size: 12px;
    }
    
    .btn-icon {
        width: 14px;
        height: 14px;
    }
    
    .btn-text {
        /* Mobilde de göster */
        display: inline;
        font-size: 12px;
    }
    
    .modern-auth-btn:hover .btn-icon {
        transform: translateX(2px) scale(1.05);
    }
    
    .game-login-required {
        padding: 40px 24px;
        gap: 20px;
    }
    
    .lock-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .lock-icon {
        width: 35px;
        height: 35px;
    }
    
    .game-lock-text {
        font-size: 15px;
    }
    
    .game-auth-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .game-auth-btn {
        padding: 14px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .modern-auth-btn {
        padding: 8px 14px;
        font-size: 11px;
    }
    
    .btn-icon {
        width: 14px;
        height: 14px;
    }
    
    .btn-text {
        font-size: 11px;
    }
    
    .lock-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .lock-icon {
        width: 30px;
        height: 30px;
    }
    
    .game-lock-text {
        font-size: 14px;
    }
}
